Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC1250-AssemblyLine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 3590c838
由
LN
编写于
2021-01-04 09:05:30 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
NG口转到皮带线内侧。
1 个父辈
bdc854e7
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
23 行增加
和
3 行删除
source/DeviceLibrary/assemblyLine/OutTrayLineBean.cs
source/DeviceLibrary/assemblyLine/OutTrayLineBean.cs
查看文件 @
3590c83
...
...
@@ -10,10 +10,11 @@ using System.Threading.Tasks;
namespace
OnlineStore.DeviceLibrary
{
/// <summary>
/// 出料皮带线
/// 出料皮带线
,皮带线5=NG线,NG料在内侧,紧急出料在外侧
/// </summary>
public
class
OutTrayLineBean
{
private
bool
NgInReverseSide
=
false
;
public
int
MaxPosition
=
5
;
private
int
equipBeanId
=
301
;
private
string
Line3_TrayCheck
=
""
;
...
...
@@ -165,8 +166,18 @@ namespace OnlineStore.DeviceLibrary
else
if
(
MoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
DLO_05_TrayIsOk
))
{
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
DLO_06_WaitTime
);
LogUtil
.
info
(
Name
+
"送料【"
+
posId
+
"】:"
+
MoveInfo
.
SLog
+
"盘已放,等待2000"
);
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
2000
));
//判断ng气缸是否需要前进
if
(
MoveInfo
.
MoveParam
.
InStoreNg
&&
NgInReverseSide
)
{
LogUtil
.
info
(
Name
+
"送料【"
+
posId
+
"】:"
+
MoveInfo
.
SLog
+
"盘已放,等待2000,NG气缸前进"
);
equipBean
.
CylinderMove
(
MoveInfo
,
IO_Type
.
NGCylinder_After
,
IO_Type
.
NGCylinder_Before
);
}
else
{
LogUtil
.
info
(
Name
+
"送料【"
+
posId
+
"】:"
+
MoveInfo
.
SLog
+
"盘已放,等待2000"
);
}
}
else
if
(
MoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
DLO_06_WaitTime
))
{
...
...
@@ -197,7 +208,16 @@ namespace OnlineStore.DeviceLibrary
{
if
(
LineTurnIsStop
())
{
if
(
MoveInfo
.
MoveParam
.
InStoreNg
||
MoveInfo
.
MoveParam
.
urgentReel
)
if
(
MoveInfo
.
MoveParam
.
InStoreNg
&&
NgInReverseSide
)
{
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
DLO_09_NGAfter
);
LastTrayPosition
++;
LogUtil
.
info
(
Name
+
"送料【"
+
posId
+
"】:"
+
MoveInfo
.
SLog
+
" ["
+
LastTrayPosition
+
"],NG气缸后退"
);
equipBean
.
CylinderMove
(
MoveInfo
,
IO_Type
.
NGCylinder_Before
,
IO_Type
.
NGCylinder_After
);
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
2000
));
}
else
if
(
MoveInfo
.
MoveParam
.
urgentReel
||
MoveInfo
.
MoveParam
.
InStoreNg
)
{
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
DLO_08_NGBefore
);
LogUtil
.
info
(
Name
+
"送料【"
+
posId
+
"】:"
+
MoveInfo
.
SLog
+
"NG气缸前进"
);
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论