Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
AutoCountMachine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 70b82795
由
LN
编写于
2020-09-30 10:51:25 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
出口防护门夹到料问题修改
1 个父辈
2bbdb9f8
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
9 行增加
和
8 行删除
RC1266-AutoCountMachine/source/DeviceLibrary/bean/OutputEquip.cs
RC1266-AutoCountMachine/source/DeviceLibrary/bean/RobotBean.cs
RC1266-AutoCountMachine/source/DeviceLibrary/bean/X_RAY_Equip_Partial.cs
RC1266-AutoCountMachine/source/DeviceLibrary/bean/OutputEquip.cs
查看文件 @
70b8279
...
@@ -99,7 +99,8 @@ namespace OnlineStore.DeviceLibrary
...
@@ -99,7 +99,8 @@ namespace OnlineStore.DeviceLibrary
{
{
CloseAllAxis
();
CloseAllAxis
();
return
false
;
return
false
;
}
}
mainTimer
.
Enabled
=
false
;
runStatus
=
RobotRunStatus
.
Reset
;
runStatus
=
RobotRunStatus
.
Reset
;
MoveInfo
.
NewMove
(
RobotMoveType
.
Reset
);
MoveInfo
.
NewMove
(
RobotMoveType
.
Reset
);
...
@@ -107,7 +108,8 @@ namespace OnlineStore.DeviceLibrary
...
@@ -107,7 +108,8 @@ namespace OnlineStore.DeviceLibrary
ShelfMoveInfo
.
NewMove
(
RobotMoveType
.
Reset
);
ShelfMoveInfo
.
NewMove
(
RobotMoveType
.
Reset
);
LogInfo
(
"开始重置: "
);
LogInfo
(
"开始重置: "
);
StartReset
();
StartReset
();
mainTimer
.
Enabled
=
true
;
return
true
;
return
true
;
}
}
...
...
RC1266-AutoCountMachine/source/DeviceLibrary/bean/RobotBean.cs
查看文件 @
70b8279
...
@@ -158,8 +158,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -158,8 +158,7 @@ namespace OnlineStore.DeviceLibrary
public
override
bool
Reset
()
public
override
bool
Reset
()
{
{
mainTimer
.
Enabled
=
false
;
bool
isNeedAllReset
=
false
;
bool
isNeedAllReset
=
false
;
if
(
isInSuddenDown
||
isNoAirCheck
)
if
(
isInSuddenDown
||
isNoAirCheck
)
{
{
...
@@ -169,7 +168,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -169,7 +168,7 @@ namespace OnlineStore.DeviceLibrary
}
}
else
if
((
runStatus
==
RobotRunStatus
.
HomeMoving
||
runStatus
==
RobotRunStatus
.
Reset
)
&&
NoAlarm
())
else
if
((
runStatus
==
RobotRunStatus
.
HomeMoving
||
runStatus
==
RobotRunStatus
.
Reset
)
&&
NoAlarm
())
{
{
LogUtil
.
error
(
Name
+
"收到复位信号,已经在复位或原点返回中,且当前无报警,不处理复位"
);
LogUtil
.
error
(
Name
+
"收到复位信号,已经在复位或原点返回中,且当前无报警,不处理复位"
);
return
false
;
return
false
;
}
}
...
...
RC1266-AutoCountMachine/source/DeviceLibrary/bean/X_RAY_Equip_Partial.cs
查看文件 @
70b8279
...
@@ -299,13 +299,13 @@ namespace OnlineStore.DeviceLibrary
...
@@ -299,13 +299,13 @@ namespace OnlineStore.DeviceLibrary
MoveInfo
.
NextMoveStep
(
StepEnum
.
XW25_WaitTime
);
MoveInfo
.
NextMoveStep
(
StepEnum
.
XW25_WaitTime
);
//Out_ReelInfo = Work_ReelInfo.GetReelInfo();
//Out_ReelInfo = Work_ReelInfo.GetReelInfo();
//Work_ReelInfo = new ReelInfo();
//Work_ReelInfo = new ReelInfo();
WorkLog
(
"料盘处理: 中间皮带线先停止,出口皮带线 再转动
2秒,出口门先关闭,档
停先下降"
);
WorkLog
(
"料盘处理: 中间皮带线先停止,出口皮带线 再转动
3秒,挡
停先下降"
);
IOMove
(
IO_Type
.
X_MLine_Run
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
X_MLine_Run
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
X_OLine_Run
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
X_OLine_Run
,
IO_VALUE
.
HIGH
);
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
2
000
));
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
3
000
));
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
Out_TrayCheck
,
IO_VALUE
.
HIGH
));
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
Out_TrayCheck
,
IO_VALUE
.
HIGH
));
CylinderMove
(
null
,
IO_Type
.
X_OutDoor_Down
,
IO_Type
.
X_OutDoor_Up
);
//
CylinderMove(null, IO_Type.X_OutDoor_Down, IO_Type.X_OutDoor_Up);
CylinderMove
(
null
,
IO_Type
.
X_StopCylinder_Up
,
IO_Type
.
X_StopCylinder_Down
);
CylinderMove
(
null
,
IO_Type
.
X_StopCylinder_Up
,
IO_Type
.
X_StopCylinder_Down
);
}
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论