Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
RC1271-DUOStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 7935ab36
由
LN
编写于
2020-10-29 09:01:25 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
复位bug修改
1 个父辈
141fe8a5
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
13 行增加
和
4 行删除
source/DeviceLibrary/duoStore/DUOStoreBean.cs
source/DeviceLibrary/duoStore/DUOStoreBean_Partial.cs
source/DeviceLibrary/duoStore/DUOStoreBean.cs
查看文件 @
7935ab3
...
@@ -128,6 +128,10 @@ namespace OnlineStore.DeviceLibrary
...
@@ -128,6 +128,10 @@ namespace OnlineStore.DeviceLibrary
}
}
else
else
{
{
if
(!
OpenAllAxis
(
true
))
{
return
false
;
}
LogUtil
.
info
(
Name
+
"开始启动 ,启动时间:"
+
StartTime
.
ToString
());
LogUtil
.
info
(
Name
+
"开始启动 ,启动时间:"
+
StartTime
.
ToString
());
runStatus
=
StoreRunStatus
.
HomeMoving
;
runStatus
=
StoreRunStatus
.
HomeMoving
;
StartTime
=
DateTime
.
Now
;
StartTime
=
DateTime
.
Now
;
...
@@ -149,6 +153,11 @@ namespace OnlineStore.DeviceLibrary
...
@@ -149,6 +153,11 @@ namespace OnlineStore.DeviceLibrary
//停止运动
//停止运动
MoveInfo
.
EndMove
();
MoveInfo
.
EndMove
();
if
(!
OpenAllAxis
(
true
))
{
LogInfo
(
"复位时打开轴失败,需要再次复位,直接报警停止复位"
);
return
;
}
runStatus
=
StoreRunStatus
.
Reset
;
runStatus
=
StoreRunStatus
.
Reset
;
StartResetMove
();
StartResetMove
();
...
...
source/DeviceLibrary/duoStore/DUOStoreBean_Partial.cs
查看文件 @
7935ab3
...
@@ -482,9 +482,9 @@ namespace OnlineStore.DeviceLibrary
...
@@ -482,9 +482,9 @@ namespace OnlineStore.DeviceLibrary
else
if
(
IOValue
(
IO_Type
.
Line_WaitCheck
).
Equals
(
IO_VALUE
.
HIGH
))
else
if
(
IOValue
(
IO_Type
.
Line_WaitCheck
).
Equals
(
IO_VALUE
.
HIGH
))
{
{
MoveInfo
.
NextMoveStep
(
StoreMoveStep
.
LI_04_LineStart
);
MoveInfo
.
NextMoveStep
(
StoreMoveStep
.
LI_04_LineStart
);
InOutStoreLog
(
"入料检测: 上料等待区有料架 ,阻挡1下降
5
00,阻挡2上升,流水线转动 ,等待料架到达上料区"
);
InOutStoreLog
(
"入料检测: 上料等待区有料架 ,阻挡1下降
20
00,阻挡2上升,流水线转动 ,等待料架到达上料区"
);
IOMove
(
IO_Type
.
Line_Stop1_Wait
,
IO_VALUE
.
HIGH
,
false
,
5
00
);
//进料阻挡下降
IOMove
(
IO_Type
.
Line_Stop1_Wait
,
IO_VALUE
.
HIGH
,
false
,
20
00
);
//进料阻挡下降
IOMove
(
IO_Type
.
Line_Stop2_Work
,
IO_VALUE
.
LOW
);
//缓冲阻挡前进1000
IOMove
(
IO_Type
.
Line_Stop2_Work
,
IO_VALUE
.
LOW
);
//缓冲阻挡前进1000
LineRun
(
MoveInfo
);
LineRun
(
MoveInfo
);
//等待指定时间
//等待指定时间
...
@@ -794,9 +794,9 @@ namespace OnlineStore.DeviceLibrary
...
@@ -794,9 +794,9 @@ namespace OnlineStore.DeviceLibrary
MoveInfo
.
NextMoveStep
(
StoreMoveStep
.
LI_34_WorkStopDown
);
MoveInfo
.
NextMoveStep
(
StoreMoveStep
.
LI_34_WorkStopDown
);
InOutStoreLog
(
"送出料架["
+
InstoreEndSendShelf
+
"]:上料阻挡下降1秒,流水线开始转动"
);
InOutStoreLog
(
"送出料架["
+
InstoreEndSendShelf
+
"]:上料阻挡下降1秒,流水线开始转动"
);
UpdateShelfNum
(-
1
,
-
1
);
UpdateShelfNum
(-
1
,
-
1
);
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
15
00
));
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
20
00
));
LineRun
(
MoveInfo
);
LineRun
(
MoveInfo
);
IOMove
(
IO_Type
.
Line_Stop2_Work
,
IO_VALUE
.
HIGH
,
false
,
15
00
);
IOMove
(
IO_Type
.
Line_Stop2_Work
,
IO_VALUE
.
HIGH
,
false
,
20
00
);
}
}
else
else
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论