Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
SO664-AssemblyLine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit e1469e0c
由
LN
编写于
2021-04-25 09:19:32 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
高度44以上的料盘入库时横移到仓门口再放行托盘
1 个父辈
192808dc
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
11 行增加
和
3 行删除
source/DeviceLibrary/assemblyLine/MoveEquip_Partial.cs
source/DeviceLibrary/assemblyLine/MoveEquip_Partial.cs
查看文件 @
e1469e0
...
@@ -364,15 +364,17 @@ namespace OnlineStore.DeviceLibrary
...
@@ -364,15 +364,17 @@ namespace OnlineStore.DeviceLibrary
{
{
int
num
=
MoveInfo
.
MoveParam
.
TrayNumber
;
int
num
=
MoveInfo
.
MoveParam
.
TrayNumber
;
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
MI_10_WaitBox
);
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
MI_10_WaitBox
);
LogInfo
(
"入库【"
+
posId
+
"】 "
+
MoveInfo
.
SLog
+
": 物品已移走,更新托盘【"
+
num
+
"】为空盘,删除入库任务"
);
LogInfo
(
"入库【"
+
posId
+
"】 "
+
MoveInfo
.
SLog
+
": 物品
(高"
+
MoveInfo
.
MoveParam
.
PlateH
+
")
已移走,更新托盘【"
+
num
+
"】为空盘,删除入库任务"
);
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitBoxCanReviceTray
());
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitBoxCanReviceTray
());
TrayManager
.
UpdateTrayInfo
(
num
);
TrayManager
.
UpdateTrayInfo
(
num
);
RemoveInStore
(
MoveInfo
.
MoveParam
);
RemoveInStore
(
MoveInfo
.
MoveParam
);
if
(
MoveInfo
.
MoveParam
.
PlateH
<
44
)
{
InLog
(
"放托盘(放开阻挡): "
+
MoveInfo
.
SLog
+
" 物品已移走,顶升气缸1下降"
);
InLog
(
"放托盘(放开阻挡): "
+
MoveInfo
.
SLog
+
" 物品已移走,顶升气缸1下降"
);
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_14_TopDown
);
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_14_TopDown
);
CylinderMove
(
SecondMoveInfo
,
IO_Type
.
TopCylinder_Up
,
IO_Type
.
TopCylinder_Down
);
CylinderMove
(
SecondMoveInfo
,
IO_Type
.
TopCylinder_Up
,
IO_Type
.
TopCylinder_Down
);
}
}
}
else
if
(
MoveInfo
.
IsStep
(
LineMoveStep
.
MI_10_WaitBox
))
else
if
(
MoveInfo
.
IsStep
(
LineMoveStep
.
MI_10_WaitBox
))
{
{
if
(
UpdownIsUp
())
if
(
UpdownIsUp
())
...
@@ -392,6 +394,12 @@ namespace OnlineStore.DeviceLibrary
...
@@ -392,6 +394,12 @@ namespace OnlineStore.DeviceLibrary
{
{
if
(
CylinderIsOk
(
IO_Type
.
BeforeAfterCylinder_After
,
IO_Type
.
BeforeAfterCylinder_Before
))
if
(
CylinderIsOk
(
IO_Type
.
BeforeAfterCylinder_After
,
IO_Type
.
BeforeAfterCylinder_Before
))
{
{
if
(
MoveInfo
.
MoveParam
.
PlateH
>=
44
)
{
InLog
(
"放托盘(放开阻挡): "
+
MoveInfo
.
SLog
+
" 物品已移走,顶升气缸1下降"
);
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_14_TopDown
);
CylinderMove
(
SecondMoveInfo
,
IO_Type
.
TopCylinder_Up
,
IO_Type
.
TopCylinder_Down
);
}
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
MI_11_CylinderDown
);
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
MI_11_CylinderDown
);
InLog
(
"入库 "
+
MoveInfo
.
SLog
+
" ,上下气缸下降"
);
InLog
(
"入库 "
+
MoveInfo
.
SLog
+
" ,上下气缸下降"
);
UpdownDownP3Move
(
MoveInfo
.
MoveParam
.
PlateH
,
MoveInfo
.
MoveParam
.
PlateW
);
UpdownDownP3Move
(
MoveInfo
.
MoveParam
.
PlateH
,
MoveInfo
.
MoveParam
.
PlateW
);
...
@@ -457,7 +465,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -457,7 +465,7 @@ namespace OnlineStore.DeviceLibrary
if
(
sendCount
>=
3
)
if
(
sendCount
>=
3
)
{
{
WarnMsg
=
MoveInfo
.
Name
+
"["
+
MoveInfo
.
MoveStep
+
"] "
+
" 等待BOX开始入库超时 已发送"
+
sendCount
+
"次"
;
WarnMsg
=
MoveInfo
.
Name
+
"["
+
MoveInfo
.
MoveStep
+
"] "
+
" 等待BOX开始入库超时 已发送"
+
sendCount
+
"次"
;
LogUtil
.
error
(
WarnMsg
);
LogUtil
.
error
(
WarnMsg
);
Alarm
(
LineAlarmType
.
IoSingleTimeOut
);
Alarm
(
LineAlarmType
.
IoSingleTimeOut
);
}
}
}
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论