Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
SO827-AssemblyLine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
图表
网络
创建新的问题
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 01e1274f
由
LN
编写于
2021-04-24 10:30:20 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
夹爪入料时等待200ms再抓料
1 个父辈
bcf7eb39
显示空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
17 行增加
和
8 行删除
source/DeviceLibrary/assemblyLine/FeedingEquip_InStore.cs
source/DeviceLibrary/model/StoreStep.cs
source/DeviceLibrary/assemblyLine/FeedingEquip_InStore.cs
查看文件 @
01e1274
...
...
@@ -346,7 +346,7 @@ namespace OnlineStore.DeviceLibrary
if
(!
LineManager
.
DisGetWare
)
{
ClearTimeoutAlarm
(
"启用抓料超时"
);
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
FI_2
1
_CylinderTake
);
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
FI_2
0
_CylinderTake
);
InLog
(
"料盘移栽"
+
MoveInfo
.
SLog
+
":上料横移取料端"
);
CylinderMove
(
MoveInfo
,
IO_Type
.
SL_MoveCylinder_Give
,
IO_Type
.
SL_MoveCylinder_Take
);
}
...
...
@@ -360,18 +360,23 @@ namespace OnlineStore.DeviceLibrary
MoveTimeOut
(
MoveInfo
,
"扫码结束超时"
);
}
}
else
if
(
MoveInfo
.
IsStep
(
LineMoveStep
.
FI_2
1
_CylinderTake
))
else
if
(
MoveInfo
.
IsStep
(
LineMoveStep
.
FI_2
0
_CylinderTake
))
{
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
FI_2
2
_UpdownToP3
);
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
FI_2
1
_UpdownToP3
);
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
500
));
InLog
(
"料盘移栽"
+
MoveInfo
.
SLog
+
":升降轴到P3["
+
Config
.
UpDownAxisP3
+
"]"
);
UpdownAxis
.
AbsMove
(
MoveInfo
,
Config
.
UpDownAxisP3
,
Config
.
UpdownAxis_P3Speed
);
}
else
if
(
MoveInfo
.
IsStep
(
LineMoveStep
.
FI_22_UpdownToP3
))
else
if
(
MoveInfo
.
IsStep
(
LineMoveStep
.
FI_21_UpdownToP3
))
{
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
FI_22_WaitTime
);
InLog
(
"料盘移栽"
+
MoveInfo
.
SLog
+
":等待200ms后夹紧"
);
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
200
));
}
else
if
(
MoveInfo
.
IsStep
(
LineMoveStep
.
FI_22_WaitTime
))
{
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
FI_23_CylinderTighten
);
InLog
(
"料盘移栽"
+
MoveInfo
.
SLog
+
":上料横移机构夹紧"
);
//CylinderMove(MoveInfo, IO_Type.SL_ClampCylinder_Relax, IO_Type.SL_ClampCylinder_Work);
ClampJwa
.
Push
(
MoveInfo
);
}
else
if
(
MoveInfo
.
IsStep
(
LineMoveStep
.
FI_23_CylinderTighten
))
...
...
@@ -931,7 +936,7 @@ namespace OnlineStore.DeviceLibrary
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
300
));
LastCodeList
=
new
List
<
string
>(
NextCodeList
);
NextCodeList
=
new
List
<
string
>();
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
FI_2
1
_CylinderTake
);
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
FI_2
0
_CylinderTake
);
InLog
(
"料盘移栽"
+
MoveInfo
.
SLog
+
":上料横移取料端"
);
CylinderMove
(
MoveInfo
,
IO_Type
.
SL_MoveCylinder_Give
,
IO_Type
.
SL_MoveCylinder_Take
);
}
...
...
source/DeviceLibrary/model/StoreStep.cs
查看文件 @
01e1274
...
...
@@ -557,14 +557,18 @@ namespace OnlineStore.DeviceLibrary
/// <summary>
/// 料盘移栽:有料盘:上料横移机构取料
/// </summary>
FI_2
1
_CylinderTake
,
FI_2
0
_CylinderTake
,
/// <summary>
/// 料盘移栽:升降轴到P3
/// </summary>
FI_2
2
_UpdownToP3
,
FI_2
1
_UpdownToP3
,
/// <summary>
/// 料盘移栽:等待200ms后再抓,防止抓不到
/// </summary>
FI_22_WaitTime
,
/// <summary>
/// 料盘移栽:上料横移机构夹紧
/// </summary>
FI_23_CylinderTighten
,
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论