Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
SO1057_XLC_Store
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 26fc9f81
由
刘韬
编写于
2025-08-21 08:55:56 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
优化一些提示
1 个父辈
ae271905
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
12 行增加
和
8 行删除
DeviceLibrary/theMachine/AxisBean.cs
DeviceLibrary/theMachine/InOutDevice_OUT.cs
DeviceLibrary/theMachine/MainMachine _Store.cs
DeviceLibrary/theMachine/MainMachine.cs
DeviceLibrary/theMachine/AxisBean.cs
查看文件 @
26fc9f8
...
@@ -230,6 +230,9 @@ namespace DeviceLibrary
...
@@ -230,6 +230,9 @@ namespace DeviceLibrary
LogUtil
.
error
(
msg
);
LogUtil
.
error
(
msg
);
}
}
}
}
bool
isOk
=
AxisManager
.
GetBusyStatus
(
axis
.
DeviceName
,
axis
.
GetAxisValue
()).
Equals
(
0
);
if
(!
isOk
)
MoveInfo
.
LastSetpTime
=
DateTime
.
Now
;
return
false
;
return
false
;
}
}
...
...
DeviceLibrary/theMachine/InOutDevice_OUT.cs
查看文件 @
26fc9f8
...
@@ -108,7 +108,7 @@ namespace DeviceLibrary
...
@@ -108,7 +108,7 @@ namespace DeviceLibrary
MoveInfo
.
log
(
$
"等待agv接走周转箱"
);
MoveInfo
.
log
(
$
"等待agv接走周转箱"
);
break
;
break
;
case
MoveStep
.
OutWaitAgv
:
case
MoveStep
.
OutWaitAgv
:
Msg
.
add
(
"等待
AGV接
走周转箱"
+
MoveInfo
.
MoveParam
.
WareCode
,
MsgLevel
.
info
);
Msg
.
add
(
"等待
取
走周转箱"
+
MoveInfo
.
MoveParam
.
WareCode
,
MsgLevel
.
info
);
if
(
IOValue
(
IO_AgvOut_Req
).
Equals
(
IO_VALUE
.
HIGH
))
if
(
IOValue
(
IO_AgvOut_Req
).
Equals
(
IO_VALUE
.
HIGH
))
{
{
MoveInfo
.
NextMoveStep
(
MoveStep
.
Out08
);
MoveInfo
.
NextMoveStep
(
MoveStep
.
Out08
);
...
@@ -123,11 +123,11 @@ namespace DeviceLibrary
...
@@ -123,11 +123,11 @@ namespace DeviceLibrary
RobotManage
.
mainMachine
.
IsClearWarnMsg
=
true
;
RobotManage
.
mainMachine
.
IsClearWarnMsg
=
true
;
MoveInfo
.
EndMove
();
MoveInfo
.
EndMove
();
}
}
else
if
(
MoveInfo
.
IsTimeOut
(
60
*
ConfigHelper
.
Config
.
Get
(
"OutWaitAgvLeaveTimeout"
,
5
)))
//
else if (MoveInfo.IsTimeOut(60 * ConfigHelper.Config.Get("OutWaitAgvLeaveTimeout", 5)))
{
//
{
Msg
.
add
(
$
"出口料箱未下降
"
,
MsgLevel
.
warning
);
//等待周转箱[{MoveInfo.MoveParam.WareCode}]离开超时
// Msg.add($"等待取走周转箱
", MsgLevel.warning);//等待周转箱[{MoveInfo.MoveParam.WareCode}]离开超时
RobotManage
.
mainMachine
.
IsClearWarnMsg
=
false
;
//
RobotManage.mainMachine.IsClearWarnMsg = false;
}
//
}
break
;
break
;
case
MoveStep
.
Out08
:
case
MoveStep
.
Out08
:
if
(
IOValue
(
IO_F_Stop_Out
).
Equals
(
IO_VALUE
.
LOW
)
if
(
IOValue
(
IO_F_Stop_Out
).
Equals
(
IO_VALUE
.
LOW
)
...
...
DeviceLibrary/theMachine/MainMachine _Store.cs
查看文件 @
26fc9f8
...
@@ -129,7 +129,7 @@ namespace DeviceLibrary
...
@@ -129,7 +129,7 @@ namespace DeviceLibrary
}
}
else
else
{
{
Msg
.
add
(
$
"{
CurrentSide
}:出料线等待周转箱到达"
,
MsgLevel
.
info
);
Msg
.
add
(
$
"{
(CurrentSide== InOutSideE.Left?"
左侧
": "
右侧
")
}:出料线等待周转箱到达"
,
MsgLevel
.
info
);
}
}
//if (string.IsNullOrEmpty(boxTransport.ErrMsgTxt))
//if (string.IsNullOrEmpty(boxTransport.ErrMsgTxt))
//{
//{
...
...
DeviceLibrary/theMachine/MainMachine.cs
查看文件 @
26fc9f8
...
@@ -312,7 +312,7 @@ namespace DeviceLibrary
...
@@ -312,7 +312,7 @@ namespace DeviceLibrary
ResetMoveInfo
.
log
(
"正在回原 ,升降轴,回原"
);
ResetMoveInfo
.
log
(
"正在回原 ,升降轴,回原"
);
ResetMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
1000
));
ResetMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
1000
));
}
}
else
else
if
(
ResetMoveInfo
.
IsTimeOut
(
6
))
{
{
Msg
.
add
(
"存储机构取料暂停"
,
MsgLevel
.
warning
);
//伸缩叉2侧X06/X07检测到有物料无法继续
Msg
.
add
(
"存储机构取料暂停"
,
MsgLevel
.
warning
);
//伸缩叉2侧X06/X07检测到有物料无法继续
RobotManage
.
UserPause
(
"回原时料叉上有物料"
);
RobotManage
.
UserPause
(
"回原时料叉上有物料"
);
...
@@ -444,6 +444,7 @@ namespace DeviceLibrary
...
@@ -444,6 +444,7 @@ namespace DeviceLibrary
if
(!
lastSafeCheckStatus
&&
ok
)
if
(!
lastSafeCheckStatus
&&
ok
)
{
{
SafetyDevice
.
ResumeAll
();
SafetyDevice
.
ResumeAll
();
MoveInfo
.
List
.
ForEach
((
m
)
=>
{
m
.
LastSetpTime
=
DateTime
.
Now
;
});
}
}
lastSafeCheckStatus
=
ok
;
lastSafeCheckStatus
=
ok
;
return
ok
;
return
ok
;
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论