Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
张东亮
/
DoubleLineClient_3D
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 3351fb59
由
张东亮
编写于
2022-08-05 13:45:45 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
右侧提升机入空料架,正好右侧有出满料的。提升机不上升问题
1 个父辈
14e65b13
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
6 行增加
和
5 行删除
source/DeviceLibrary/agvClient/AgvClient_Dbline.cs
source/DeviceLibrary/packageLine/LineAGVProcess.cs
source/DeviceLibrary/packageLine/PackageLine_BenQInShelf.cs
source/DeviceLibrary/agvClient/AgvClient_Dbline.cs
查看文件 @
3351fb5
...
@@ -131,7 +131,6 @@ namespace OnlineStore.DeviceLibrary
...
@@ -131,7 +131,6 @@ namespace OnlineStore.DeviceLibrary
}
}
else
if
(
name
.
Equals
(
"A6"
))
else
if
(
name
.
Equals
(
"A6"
))
{
{
A6_InProcess
=
true
;
A6_ReadyEnter
=
true
;
A6_ReadyEnter
=
true
;
}
}
LogUtil
.
info
(
"收到 AgvClient_ReadyEnter ["
+
name
+
"]"
);
LogUtil
.
info
(
"收到 AgvClient_ReadyEnter ["
+
name
+
"]"
);
...
@@ -146,7 +145,6 @@ namespace OnlineStore.DeviceLibrary
...
@@ -146,7 +145,6 @@ namespace OnlineStore.DeviceLibrary
//SetStatus(name, "", ClientAction.ReadyLeave);
//SetStatus(name, "", ClientAction.ReadyLeave);
if
(
name
.
Equals
(
"A6"
))
if
(
name
.
Equals
(
"A6"
))
{
{
A6_InProcess
=
true
;
A6_ReadyLeave
=
true
;
A6_ReadyLeave
=
true
;
}
}
LogUtil
.
info
(
"收到 AgvClient_ReadyLeave ["
+
name
+
"] "
);
LogUtil
.
info
(
"收到 AgvClient_ReadyLeave ["
+
name
+
"] "
);
...
@@ -196,7 +194,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -196,7 +194,7 @@ namespace OnlineStore.DeviceLibrary
/// <summary>
/// <summary>
/// 右侧料架可以出去
/// 右侧料架可以出去
/// </summary>
/// </summary>
public
bool
A6_ReadyLeave
{
private
set
;
get
;
}
public
bool
A6_ReadyLeave
{
set
;
get
;
}
public
void
MayEnter
(
string
name
)
public
void
MayEnter
(
string
name
)
{
{
SetStatus
(
name
,
""
,
ClientAction
.
MayEnter
);
SetStatus
(
name
,
""
,
ClientAction
.
MayEnter
);
...
@@ -207,6 +205,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -207,6 +205,7 @@ namespace OnlineStore.DeviceLibrary
else
if
(
name
.
Equals
(
"A6"
))
else
if
(
name
.
Equals
(
"A6"
))
{
{
A6_ReadyEnter
=
false
;
A6_ReadyEnter
=
false
;
A6_InProcess
=
true
;
}
}
}
}
...
@@ -216,6 +215,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -216,6 +215,7 @@ namespace OnlineStore.DeviceLibrary
if
(
name
.
Equals
(
"A6"
))
if
(
name
.
Equals
(
"A6"
))
{
{
A6_ReadyLeave
=
false
;
A6_ReadyLeave
=
false
;
A6_InProcess
=
true
;
}
}
}
}
...
...
source/DeviceLibrary/packageLine/LineAGVProcess.cs
查看文件 @
3351fb5
...
@@ -312,6 +312,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -312,6 +312,7 @@ namespace OnlineStore.DeviceLibrary
if
(
isRightUpdownDown
&&
noShelfLeft
&&
noShelfRight
)
if
(
isRightUpdownDown
&&
noShelfLeft
&&
noShelfRight
)
{
{
benQOutStep
.
ToNextStep
(
BenQ_OUT_STEP
.
SHELF_TO_UPDOWN
);
benQOutStep
.
ToNextStep
(
BenQ_OUT_STEP
.
SHELF_TO_UPDOWN
);
agvClient_Dbline
.
MayLeave
(
"A6"
);
benQOutStep
.
AddIoWait
(
IO_Type
.
R_StopCylinder2
,
IO_VALUE
.
HIGH
);
benQOutStep
.
AddIoWait
(
IO_Type
.
R_StopCylinder2
,
IO_VALUE
.
HIGH
);
benQOutStep
.
AddIoWait
(
IO_Type
.
R_RightStopCheck
,
IO_VALUE
.
HIGH
);
benQOutStep
.
AddIoWait
(
IO_Type
.
R_RightStopCheck
,
IO_VALUE
.
HIGH
);
KeepLineRun
(
IO_Type
.
R_LineRun
);
KeepLineRun
(
IO_Type
.
R_LineRun
);
...
@@ -321,12 +322,12 @@ namespace OnlineStore.DeviceLibrary
...
@@ -321,12 +322,12 @@ namespace OnlineStore.DeviceLibrary
IOMove
(
IO_Type
.
R_OutLineRun
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
R_OutLineRun
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
R_StopCylinder2
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
R_StopCylinder2
,
IO_VALUE
.
HIGH
);
benQOutStep
.
Msg
=
"AGV已到达出料口, 打开链条,准备送出料架["
+
agvClient_Dbline
.
A6_RFID
+
"]"
;
benQOutStep
.
Msg
=
"AGV已到达出料口, 打开链条,准备送出料架["
+
agvClient_Dbline
.
A6_RFID
+
"]"
;
agvClient_Dbline
.
MayLeave
(
"A6"
);
}
}
else
else
{
{
benQOutStep
.
Msg
=
"右侧升降机不在下方/提升机上有料,暂不送出"
;
benQOutStep
.
Msg
=
"右侧升降机不在下方/提升机上有料,暂不送出"
;
agvClient_Dbline
.
A6_ReadyLeave
=
false
;
benQOutStep
.
ToNextStep
(
BenQ_OUT_STEP
.
WAIT_AGV
);
benQOutStep
.
ToNextStep
(
BenQ_OUT_STEP
.
WAIT_AGV
);
}
}
}
}
...
...
source/DeviceLibrary/packageLine/PackageLine_BenQInShelf.cs
查看文件 @
3351fb5
...
@@ -86,7 +86,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -86,7 +86,7 @@ namespace OnlineStore.DeviceLibrary
// IOMove(IO_Type.R_OutLineBackRun, IO_VALUE.HIGH);
// IOMove(IO_Type.R_OutLineBackRun, IO_VALUE.HIGH);
//}
//}
//else
//else
if
(
hasShelfRight
&&
!
noShelfLeft
&&
benQOutStep
.
GetCurStep
()
<
BenQ_OUT_STEP
.
WAIT_AGV
&&
chainNoRun
&&
!
agvClient_Dbline
.
A6_InProcess
)
//准备送满料,但提升机上有架子
if
(
hasShelfRight
&&
!
noShelfLeft
&&
benQOutStep
.
GetCurStep
()
<
=
BenQ_OUT_STEP
.
WAIT_AGV
&&
chainNoRun
&&
!
agvClient_Dbline
.
A6_InProcess
)
//准备送满料,但提升机上有架子
{
{
benQInFromOutStep
.
ToNextStep
(
BenQ_IN_FROM_OUT_STEP
.
SHELF_TO_UPDOWN
);
benQInFromOutStep
.
ToNextStep
(
BenQ_IN_FROM_OUT_STEP
.
SHELF_TO_UPDOWN
);
benQInFromOutStep
.
Msg
=
"检测到右侧提升机有料架,提升机上升"
;
benQInFromOutStep
.
Msg
=
"检测到右侧提升机有料架,提升机上升"
;
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论