Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
张东亮
/
SO1049-CarriageClient
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit ffd8084d
由
张东亮
编写于
2023-02-08 15:55:47 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
入料口机器人取完料顶升延时下降问题以及出料口延长3秒转动
1 个父辈
dd06af9a
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
15 行增加
和
8 行删除
source/DeviceLibrary/clientEquip/inletEquip/InletEquip_InStore.cs
source/DeviceLibrary/clientEquip/outletEquip/OutletEquip_OutStore.cs
source/DeviceLibrary/clientEquip/robotEquip/RobotEquip_InExecute.cs
source/DeviceLibrary/clientEquip/robotEquip/RobotEquip_OutExecute.cs
source/DeviceLibrary/clientEquip/robotEquip/RobotEquip_Partial.cs
source/DeviceLibrary/clientEquip/inletEquip/InletEquip_InStore.cs
查看文件 @
ffd8084
...
...
@@ -165,7 +165,7 @@ namespace OnlineStore.DeviceLibrary
{
NextMoveStep
(
StepEnum
.
Inlet_09_WaitRobotInSafe
,
"料盘离开入料口,等待机器人到安全位置"
);
AddWaitRobotInSafe
();
AddWaitTime
(
10
000
);
AddWaitTime
(
5
000
);
MoveInfo
.
OneWaitCanEndStep
=
true
;
}
else
if
(
MoveInfo
.
IsStep
(
StepEnum
.
Inlet_09_WaitRobotInSafe
))
...
...
source/DeviceLibrary/clientEquip/outletEquip/OutletEquip_OutStore.cs
查看文件 @
ffd8084
...
...
@@ -78,6 +78,7 @@ namespace OnlineStore.DeviceLibrary
AddWaitTrayCheck1
(
false
);
AddWaitTrayCheck2
(
false
);
AddWaitAllowFeedOut
(
false
);
AddWaitTime
(
3000
);
}
else
if
(
MoveInfo
.
IsStep
(
StepEnum
.
Outlet_04_WaitTrayLeave
))
{
...
...
source/DeviceLibrary/clientEquip/robotEquip/RobotEquip_InExecute.cs
查看文件 @
ffd8084
...
...
@@ -161,6 +161,7 @@ namespace OnlineStore.DeviceLibrary
}
private
void
InStore_06_CompressTray
()
{
insafeAtInlet
=
false
;
SendCmd
(
GetCmd_InletUp
());
CompressAxis
.
AbsMove
(
MoveInfo
,
Config
.
CompressAxis_P4
,
Config
.
CompressAxis_P4_Speed
);
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
RobotArm_ClampingSig
,
IO_VALUE
.
HIGH
));
...
...
source/DeviceLibrary/clientEquip/robotEquip/RobotEquip_OutExecute.cs
查看文件 @
ffd8084
...
...
@@ -127,6 +127,7 @@ namespace OnlineStore.DeviceLibrary
}
private
void
OutStore_11_ReleaseTray
()
{
insafeAtOutlet
=
false
;
SendCmd
(
GetCmd_OutletDown
());
CompressAxis
.
AbsMove
(
MoveInfo
,
Config
.
CompressAxis_P2
,
Config
.
CompressAxis_P2_Speed
);
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
RobotArm_ClampingSig
,
IO_VALUE
.
LOW
));
...
...
source/DeviceLibrary/clientEquip/robotEquip/RobotEquip_Partial.cs
查看文件 @
ffd8084
...
...
@@ -108,23 +108,26 @@ namespace OnlineStore.DeviceLibrary
if
(!
cmdResponse
.
Equals
(
bean
.
RobotData
.
RecvMsg
)
&&
!
bean
.
RobotData
.
RecvMsg
.
Equals
(
""
))
{
cmdResponse
=
bean
.
RobotData
.
RecvMsg
;
if
((
cmdResponse
.
Contains
(
GetCmd_InletUp
()))
&&
cmdResponse
.
Contains
(
"done"
))
if
((
cmdResponse
.
Contains
(
GetCmd_InletUp
())))
{
if
(
cmdResponse
.
Contains
(
"done"
))
insafeAtInlet
=
true
;
}
else
//if ((cmdResponse.Contains(GetCmd_Standby()) && cmdResponse.Contains("done")))
else
{
insafeAtInlet
=
false
;
}
if
((
cmdResponse
.
Contains
(
GetCmd_OutletDown
()))
&&
cmdResponse
.
Contains
(
"done"
))
}
if
((
cmdResponse
.
Contains
(
GetCmd_OutletDown
())))
{
if
(
cmdResponse
.
Contains
(
"done"
))
insafeAtOutlet
=
true
;
}
else
{
insafeAtOutlet
=
false
;
}
}
LogUtil
.
info
(
$
"RobotMove Cmd Response:【{cmdResponse}】"
);
}
string
[]
recv
=
bean
.
RobotData
.
RecvMsg
.
Split
(
','
);
...
...
@@ -318,13 +321,14 @@ namespace OnlineStore.DeviceLibrary
/// <param name="start"></param>
public
void
StartProg
(
bool
start
)
{
insafeAtOutlet
=
false
;
insafeAtInlet
=
false
;
if
(
GetRobotInfo
(
out
JAKA
.
JAKABean
bean
))
{
if
(
start
)
{
bean
.
Run
();
}
else
bean
.
Abort
();
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论