Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC1250-AssemblyLine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit f9d5f91d
由
LN
编写于
2021-04-13 11:54:54 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
入库取料失败(升降气缸下降超)时禁用托盘
1 个父辈
3c40c3b3
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
30 行增加
和
3 行删除
source/AssemblyLineClient/FrmMoveEquip.Designer.cs
source/DeviceLibrary/assemblyLine/MoveEquip_Partial.cs
source/DeviceLibrary/model/StoreStep.cs
source/AssemblyLineClient/FrmMoveEquip.Designer.cs
查看文件 @
f9d5f91
此文件的差异被折叠,
点击展开。
source/DeviceLibrary/assemblyLine/MoveEquip_Partial.cs
查看文件 @
f9d5f91
...
@@ -253,7 +253,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -253,7 +253,7 @@ namespace OnlineStore.DeviceLibrary
}
}
#
endregion
#
endregion
}
}
private
void
MO_55_CylinderUp
()
private
void
MO_55_CylinderUp
()
{
{
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_55_CylinderUp
);
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_55_CylinderUp
);
...
@@ -327,11 +327,31 @@ namespace OnlineStore.DeviceLibrary
...
@@ -327,11 +327,31 @@ namespace OnlineStore.DeviceLibrary
{
{
CheckWait
(
SecondMoveInfo
);
CheckWait
(
SecondMoveInfo
);
}
}
string
posId
=
MoveInfo
.
MoveParam
!=
null
?
MoveInfo
.
MoveParam
.
PosId
:
""
;
if
(
MoveInfo
.
IsInWait
)
if
(
MoveInfo
.
IsInWait
)
{
{
if
(!
UseAxis
)
{
if
(
MoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MI_03_CylinderDown
)&&
MoveInfo
.
IsTimeOut
(
20
))
{
//顶升气缸上升到位,升降气缸下降不到位
if
(
CylinderIsOk
(
IO_Type
.
TopCylinder_Down
,
IO_Type
.
TopCylinder_UP
)&&
IOValue
(
IO_Type
.
UpDownCylinder_Up
).
Equals
(
IO_VALUE
.
LOW
)
&&
IOValue
(
IO_Type
.
UpDownCylinder_Down
).
Equals
(
IO_VALUE
.
LOW
))
{
LogUtil
.
error
(
Name
+
"入库 ["
+
posId
+
"],升降气缸下降到托盘["
+
currTrayNum
+
"]取料失败,升降轴上升,禁用托盘,同时放行托盘"
);
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
MI_18_UpdownUp
);
LogInfo
(
"入库 ["
+
posId
+
"]"
+
MoveInfo
.
SLog
+
": 升降轴上升,禁用托盘,同时放行托盘,顶升气缸1下降"
);
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
300
));
CylinderMove
(
MoveInfo
,
IO_Type
.
UpDownCylinder_Down
,
IO_Type
.
UpDownCylinder_Up
);
TrayDisableManager
.
AddDisable
(
currTrayNum
,
Name
,
"入库取料失败"
);
SecondMoveInfo
.
NextMoveStep
(
LineMoveStep
.
MO_14_TopDown
);
CylinderMove
(
SecondMoveInfo
,
IO_Type
.
TopCylinder_UP
,
IO_Type
.
TopCylinder_Down
);
}
}
}
return
;
return
;
}
}
string
posId
=
MoveInfo
.
MoveParam
!=
null
?
MoveInfo
.
MoveParam
.
PosId
:
""
;
if
(
MoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MI_02_ToLineUp
))
if
(
MoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MI_02_ToLineUp
))
{
{
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
MI_03_CylinderDown
);
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
MI_03_CylinderDown
);
...
@@ -482,6 +502,10 @@ namespace OnlineStore.DeviceLibrary
...
@@ -482,6 +502,10 @@ namespace OnlineStore.DeviceLibrary
{
{
LogInfo
(
"入库【"
+
posId
+
"】处理(移栽)全部完成!"
);
LogInfo
(
"入库【"
+
posId
+
"】处理(移栽)全部完成!"
);
MoveEndS
();
MoveEndS
();
}
else
if
(
MoveInfo
.
MoveStep
.
Equals
(
LineMoveStep
.
MI_18_UpdownUp
))
{
LogInfo
(
"入库【"
+
posId
+
"】失败,自动复位完成"
);
MoveEndS
();
}
}
}
}
...
...
source/DeviceLibrary/model/StoreStep.cs
查看文件 @
f9d5f91
...
@@ -260,7 +260,10 @@ namespace OnlineStore.DeviceLibrary
...
@@ -260,7 +260,10 @@ namespace OnlineStore.DeviceLibrary
/// </summary>
/// </summary>
MI_16_SendEnd
=
3016
,
MI_16_SendEnd
=
3016
,
/// <summary>
///入库:升降轴下降取料盘失败,升降轴上升,托盘禁用,托盘放行
/// </summary>
MI_18_UpdownUp
=
3018
,
#
endregion
#
endregion
#
region
移栽装置出入库共同模块
3080
-
3100
#
region
移栽装置出入库共同模块
3080
-
3100
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论