Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
ACSingleStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 1160cf15
由
LN
编写于
2019-09-19 15:18:11 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
20190918更新:压紧轴原点返回, 超时时间为2分钟
1 个父辈
a88261c6
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
9 行增加
和
2 行删除
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean.cs
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean_Partial.cs
source/DeviceLibrary/store/model/StoreMoveInfo.cs
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean.cs
查看文件 @
1160cf1
...
...
@@ -385,6 +385,7 @@ namespace OnlineStore.DeviceLibrary
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
BOX_H_OtherAxisBack
);
if
(
IsHasCompress_Axis
)
{
StoreMove
.
TimeOutSeconds
=
120
;
StoreMove
.
WaitList
.
Add
(
WaitResultInfo
.
WaitShuoKe
(
Config
.
CompressAxis_Slv
,
0
,
true
));
ShuoKeControls
.
HomeMove
(
Config
.
CompressAxis_Slv
,
1
);
Thread
.
Sleep
(
60
);
...
...
@@ -422,6 +423,7 @@ namespace OnlineStore.DeviceLibrary
LogUtil
.
info
(
LOGGER
,
StoreName
+
"到待机状态,压紧轴回原点,关闭舱门"
);
if
(
IsHasCompress_Axis
)
{
StoreMove
.
TimeOutSeconds
=
120
;
StoreMove
.
WaitList
.
Add
(
WaitResultInfo
.
WaitShuoKe
(
Config
.
CompressAxis_Slv
,
1
,
true
));
ShuoKeControls
.
HomeMove
(
Config
.
CompressAxis_Slv
,
1
);
}
...
...
@@ -625,6 +627,7 @@ namespace OnlineStore.DeviceLibrary
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
BOX_H_OtherAxisBack
);
if
(
IsHasCompress_Axis
)
{
StoreMove
.
TimeOutSeconds
=
120
;
StoreMove
.
WaitList
.
Add
(
WaitResultInfo
.
WaitShuoKe
(
Config
.
CompressAxis_Slv
,
0
,
true
));
ShuoKeControls
.
HomeMove
(
Config
.
CompressAxis_Slv
,
1
);
Thread
.
Sleep
(
60
);
...
...
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean_Partial.cs
查看文件 @
1160cf1
...
...
@@ -365,9 +365,10 @@ namespace OnlineStore.DeviceLibrary
{
if
(
Config
.
Box_ResetCCount
<
CurrInOutCCount
&&
IsHasCompress_Axis
)
{
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
SI_021_CompAxisHome
);
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
SI_021_CompAxisHome
);
OutStoreLog
(
"出库:SI_021 已出入库"
+
CurrInOutCCount
+
"次,压紧轴需要原点返回"
);
CurrInOutCCount
=
0
;
StoreMove
.
TimeOutSeconds
=
120
;
StoreMove
.
WaitList
.
Add
(
WaitResultInfo
.
WaitShuoKe
(
Config
.
CompressAxis_Slv
,
0
,
true
));
ShuoKeControls
.
HomeMove
(
Config
.
CompressAxis_Slv
,
1
);
}
...
...
@@ -629,7 +630,8 @@ namespace OnlineStore.DeviceLibrary
{
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
SO_021_CompAxisHome
);
OutStoreLog
(
"出库:SO_021 已出入库"
+
CurrInOutCCount
+
"次,压紧轴需要原点返回"
);
CurrInOutCCount
=
0
;
CurrInOutCCount
=
0
;
StoreMove
.
TimeOutSeconds
=
120
;
StoreMove
.
WaitList
.
Add
(
WaitResultInfo
.
WaitShuoKe
(
Config
.
CompressAxis_Slv
,
0
,
true
));
ShuoKeControls
.
HomeMove
(
Config
.
CompressAxis_Slv
,
1
);
}
...
...
@@ -742,6 +744,7 @@ namespace OnlineStore.DeviceLibrary
{
StoreMove
.
NextMoveStep
(
StoreMoveStep
.
SO_091_WaitNoTray
);
OutStoreLog
(
"出库:SO_091 打开仓门,等待门口无料盘 "
);
StoreMove
.
TimeOutSeconds
=
120
;
StoreMove
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
TrayCheck_Door
,
IO_VALUE
.
LOW
));
StoreMove
.
WaitList
.
Add
(
WaitResultInfo
.
WaitHeight
(
0
));
OpenDoorAndWait
();
...
...
source/DeviceLibrary/store/model/StoreMoveInfo.cs
查看文件 @
1160cf1
...
...
@@ -82,6 +82,7 @@ namespace OnlineStore.DeviceLibrary
public
void
NextMoveStep
(
StoreMoveStep
step
)
{
TimeOutSeconds
=
60
;
PreMoveStep
=
moveStep
;
moveStep
=
step
;
LastSetpTime
=
DateTime
.
Now
;
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论