Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
刘韬
/
1069_MIMO_PlUS
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 612d189f
由
张东亮
编写于
2023-10-26 10:27:36 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
出入库流程前后料叉检测
1 个父辈
80107032
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
17 行增加
和
17 行删除
DeviceLibrary/theMachine/BoxTransport.cs
TheMachine/resources/en-US.lngres
TheMachine/resources/zh-CN.lngres
DeviceLibrary/theMachine/BoxTransport.cs
查看文件 @
612d189
...
...
@@ -24,7 +24,7 @@ namespace DeviceLibrary
AxisBean
Comp_Axis
;
MoveInfo
MoveInfo
;
public
string
ErrMsgTxt
=
""
;
int
Comp_Axis_HomeResetTimes
=
ConfigHelper
.
Config
.
Get
(
$
"Comp_Axis_HomeResetTimes"
,
999
);
int
Comp_Axis_HomeResetTimes
=
ConfigHelper
.
Config
.
Get
(
$
"Comp_Axis_HomeResetTimes"
,
999
);
public
bool
IgnoreX09
=
false
;
public
event
Action
<
string
,
StoreMoveType
,
bool
>
InOutEndProcessEvent
;
...
...
@@ -116,13 +116,13 @@ namespace DeviceLibrary
case
MoveStep
.
Wait
:
break
;
case
MoveStep
.
StoreTS01
:
//if (
IOManager.IOValue(IO_Type.TrayCheck_Fixture).Equals(IO_VALUE.HIGH))
//
{
//
// if (!IgnoreX09 && IOMonitor.IODebound(IO_Type.TrayCheck_Fixture, Config, IO_VALUE.HIGH, 5000))
// //
Msg.add(crc.GetString(L.out_store_detect_material, "取料前料叉X30检测到有物料无法继续,请检查."), MsgLevel.alarm, ErrInfo.X09_BoxNotDetect);
//
//RobotManage.UserPause("出库时料叉X30检测到有物料无法继续,请检查");
//
}
//
else
if
(!
IgnoreX09
&&
IOManager
.
IOValue
(
IO_Type
.
TrayCheck_Fixture
).
Equals
(
IO_VALUE
.
HIGH
))
{
// if (!IgnoreX09 && IOMonitor.IODebound(IO_Type.TrayCheck_Fixture, Config, IO_VALUE.HIGH, 5000))
Msg
.
add
(
crc
.
GetString
(
L
.
out_store_detect_material
,
"取料前料叉X30检测到有物料无法继续,请检查."
),
MsgLevel
.
alarm
,
ErrInfo
.
X09_BoxNotDetect
);
//RobotManage.UserPause("出库时料叉X30检测到有物料无法继续,请检查");
}
else
{
Msg
.
add
(
""
,
MsgLevel
.
info
,
ErrInfo
.
X09_Clear
);
IgnoreX09
=
false
;
...
...
@@ -366,12 +366,12 @@ namespace DeviceLibrary
break
;
case
MoveStep
.
StoreTS15
:
RobotManage
.
CameraA
.
CameraGrabOne
(
RobotManage
.
CameraA
.
GetFixtureStateFilename
(
To
.
posid
,
WareCode
,
storeMoveType
,
FixtureState
.
ToOut
));
//
if (!IgnoreX09 && IOManager.IOValue(IO_Type.TrayCheck_Fixture).Equals(IO_VALUE.HIGH))
//
{
//
Msg.add(crc.GetString(L.in_store_detect_material, "放料后料叉X30上任然检测到物料,请检查."), MsgLevel.alarm, ErrInfo.X09_BoxNotDetect);
//
//RobotManage.UserPause("入库后料叉X30上任然检测到物料,请检查");
//
}
//
else
if
(!
IgnoreX09
&&
IOManager
.
IOValue
(
IO_Type
.
TrayCheck_Fixture
).
Equals
(
IO_VALUE
.
HIGH
))
{
Msg
.
add
(
crc
.
GetString
(
L
.
in_store_detect_material
,
"放料后料叉X30上任然检测到物料,请检查."
),
MsgLevel
.
alarm
,
ErrInfo
.
X09_BoxNotDetect
);
//RobotManage.UserPause("入库后料叉X30上任然检测到物料,请检查");
}
else
{
Msg
.
add
(
""
,
MsgLevel
.
info
,
ErrInfo
.
X09_Clear
);
...
...
@@ -395,7 +395,7 @@ namespace DeviceLibrary
else
UpDown_Axis
.
AbsMove
(
MoveInfo
,
Config
.
UpDown_P3
,
Config
.
UpDown_P1_speed
);
Middle_Axis
.
AbsMove
(
MoveInfo
,
Config
.
Middle_P1
,
Config
.
Middle_P1_speed
);
if
(
Comp_Axis_HomeResetTimes
<=
0
)
if
(
Comp_Axis_HomeResetTimes
<=
0
)
{
Comp_Axis_HomeResetTimes
=
ConfigHelper
.
Config
.
Get
<
int
>(
"Comp_Axis_HomeResetTimes"
);
Comp_Axis
.
HomeMove
(
MoveInfo
);
...
...
TheMachine/resources/en-US.lngres
查看文件 @
612d189
...
...
@@ -225,7 +225,7 @@ humidity 湿度 Humidity
temp 温度 Temperature
ignored 已忽略 Skip
imageIsNull 获取二维码图片为空 Get the two-dimensional code picture is empty
in_store_detect_material 放料后料叉X30上
任
然检测到物料,请检查. Gripper x30 detected a material during the storage process. Please check the inside.
in_store_detect_material 放料后料叉X30上
仍
然检测到物料,请检查. Gripper x30 detected a material during the storage process. Please check the inside.
in_store_ng 入库NG Storage failed.
in_store_nothave_position 入库未找到库位 No location.
in_suddenstop 急停中 In the E-Stop process.
...
...
TheMachine/resources/zh-CN.lngres
查看文件 @
612d189
...
...
@@ -272,7 +272,7 @@ out_store_detect_material å–æ–™å‰æ–™å‰X30æ£€æµ‹åˆ°æœ‰ç‰©æ–™æ— æ³•ç»§ç»,请æ£
out_store_not_detect_material 取料前料叉X30没有检测到有物料无法继续,请检查. 出库时料叉X30没有检测到有物料无法继续,请检查.
out_store_wait_string_ready 等待料串准备好放料. 等待料串准备好放料.
out_store_wait_ngdoor_ready 等待单料口空闲. 等待单料口空闲.
in_store_detect_material 放料后料叉X30上任然检测到物料,请检查.
入库后料叉X30上任然检测到物料,请检查.
in_store_detect_material 放料后料叉X30上仍然检测到物料,请检查.
放料后料叉X30上仍然检测到物料,请检查.
in_store_ng 入库NG 入库NG
posnum 库位号 库位号
wait_reel_transfer 单料口等待料盘离开. 单料口等待料盘离开.
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论