Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC1250-AssemblyLine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit fda20f11
由
LN
编写于
2020-03-10 13:46:53 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
皮带线3NG料bug修改
1 个父辈
4c471de1
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
20 行增加
和
9 行删除
source/DeviceLibrary/assemblyLine/DischargeLine_Partial.cs
source/DeviceLibrary/assemblyLine/LineBean_Partial.cs
source/DeviceLibrary/model/StoreStep.cs
source/DeviceLibrary/assemblyLine/DischargeLine_Partial.cs
查看文件 @
fda20f1
...
@@ -183,23 +183,31 @@ namespace OnlineStore.DeviceLibrary
...
@@ -183,23 +183,31 @@ namespace OnlineStore.DeviceLibrary
else
else
{
{
//NG料
//NG料
if
(
TrayProcessCanStartLine
())
{
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
DO_11_NGToNextStation
);
if
(
DeviceID
.
Equals
(
301
))
if
(
DeviceID
.
Equals
(
301
))
{
{
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
DO_10_StopSeparateLine
);
LogUtil
.
info
(
hengyiName
+
"扫码NG料, 先转动NG料到扫码后一个工位,需要停止接驳台皮带线"
);
LogUtil
.
info
(
hengyiName
+
"扫码NG料, 先转动NG料到扫码后一个工位,需要停止接驳台皮带线"
);
SeparateStopRun
(
MoveInfo
);
SeparateStopRun
(
MoveInfo
);
}
}
else
else
if
(
TrayProcessCanStartLine
())
{
{
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
DO_11_NGToNextStation
);
LogUtil
.
info
(
hengyiName
+
"扫码NG料, 先转动NG料到扫码后一个工位"
);
LogUtil
.
info
(
hengyiName
+
"扫码NG料, 先转动NG料到扫码后一个工位"
);
}
Line3Turn
.
StartLineRun
(
IO_Type
.
DLine_Run3
,
IO_Type
.
Location_Check3
,
Line3EndProcess
);
Line3Turn
.
StartLineRun
(
IO_Type
.
DLine_Run3
,
IO_Type
.
Location_Check3
,
Line3EndProcess
);
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
3000
));
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
3000
));
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
Location_Check3
,
IO_VALUE
.
HIGH
));
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
Location_Check3
,
IO_VALUE
.
HIGH
));
}
}
}
}
else
if
(
MoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
DO_10_StopSeparateLine
))
{
if
(
TrayProcessCanStartLine
())
{
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
DO_11_NGToNextStation
);
LogUtil
.
info
(
hengyiName
+
"扫码NG料, 先转动NG料到扫码后一个工位"
);
Line3Turn
.
StartLineRun
(
IO_Type
.
DLine_Run3
,
IO_Type
.
Location_Check3
,
Line3EndProcess
);
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
3000
));
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
Location_Check3
,
IO_VALUE
.
HIGH
));
}
}
}
}
else
if
(
MoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
DO_04_SUpDownMove
))
else
if
(
MoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
DO_04_SUpDownMove
))
...
...
source/DeviceLibrary/assemblyLine/LineBean_Partial.cs
查看文件 @
fda20f1
...
@@ -253,7 +253,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -253,7 +253,7 @@ namespace OnlineStore.DeviceLibrary
else
else
{
{
SW23WaitTrayNum
=
trayNum
;
SW23WaitTrayNum
=
trayNum
;
Log
Info
(
"Equip_TrayPEndEvent【"
+
swNum
+
"】【"
+
trayNum
+
"】失败,SW23_MoveInfo 忙碌中,记录 SW23WaitTrayNum="
+
SW23WaitTrayNum
);
Log
Util
.
debug
(
Name
+
"Equip_TrayPEndEvent【"
+
swNum
+
"】【"
+
trayNum
+
"】失败,SW23_MoveInfo 忙碌中,记录 SW23WaitTrayNum="
+
SW23WaitTrayNum
);
}
}
}
}
else
if
(
swNum
.
Equals
(
4
))
else
if
(
swNum
.
Equals
(
4
))
...
@@ -272,7 +272,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -272,7 +272,7 @@ namespace OnlineStore.DeviceLibrary
else
else
{
{
SW41WaitTrayNum
=
trayNum
;
SW41WaitTrayNum
=
trayNum
;
Log
Info
(
"Equip_TrayPEndEvent【"
+
swNum
+
"】【"
+
trayNum
+
"】失败,SW41_MoveInfo 忙碌中,记录 SW41WaitTrayNum ="
+
SW41WaitTrayNum
);
Log
Util
.
debug
(
Name
+
"Equip_TrayPEndEvent【"
+
swNum
+
"】【"
+
trayNum
+
"】失败,SW41_MoveInfo 忙碌中,记录 SW41WaitTrayNum ="
+
SW41WaitTrayNum
);
}
}
}
}
}
}
...
...
source/DeviceLibrary/model/StoreStep.cs
查看文件 @
fda20f1
...
@@ -1009,7 +1009,10 @@ namespace OnlineStore.DeviceLibrary
...
@@ -1009,7 +1009,10 @@ namespace OnlineStore.DeviceLibrary
/// 出料皮带线开始扫码送出料盘,到达后再转动500
/// 出料皮带线开始扫码送出料盘,到达后再转动500
/// </summary>
/// </summary>
DO_08_CRun
=
30208
,
DO_08_CRun
=
30208
,
/// <summary>
/// 停止接驳台皮带线
/// </summary>
DO_10_StopSeparateLine
=
30210
,
/// <summary>
/// <summary>
/// 出料皮带线获取尺寸NG,先转动料盘到扫码的下一个工位
/// 出料皮带线获取尺寸NG,先转动料盘到扫码的下一个工位
/// </summary>
/// </summary>
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论