Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
张东亮
/
DoubleLineClient_3D
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 14e65b13
由
张东亮
编写于
2022-08-04 15:19:22 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
右侧提升机手动进入料架链条不反转
1 个父辈
bf54bb49
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
32 行增加
和
16 行删除
source/DeviceLibrary/doubleLine/DoubleLineBean.cs
source/DeviceLibrary/doubleLine/DoubleLineBean_S1Shelf.cs
source/DeviceLibrary/packageLine/LineAGVProcess.cs
source/DeviceLibrary/packageLine/PackageLine_BenQInShelf.cs
source/DeviceLibrary/doubleLine/DoubleLineBean.cs
查看文件 @
14e65b1
...
...
@@ -468,8 +468,22 @@ namespace OnlineStore.DeviceLibrary
private
IO_VALUE
LastResetValue
=
IO_VALUE
.
LOW
;
IO_VALUE
preStop
=
IO_VALUE
.
LOW
;
public
void
IoCheckProcess
()
{
try
{
IO_VALUE
io
=
IOValue
(
IO_Type
.
LLow_StopCylinder2
);
if
(!
io
.
Equals
(
preStop
))
{
preStop
=
io
;
LogUtil
.
info
(
$
"右下层信号(LLow_StopCylinder2)变化为{io.ToString()}"
);
}
}
catch
(
Exception
ex
)
{
LogUtil
.
error
(
$
"右下层信号(LLow_StopCylinder2)变化监测出错"
,
ex
);
}
DateTime
time
=
DateTime
.
Now
;
if
(
runStatus
.
Equals
(
RunStatus
.
Wait
))
{
...
...
source/DeviceLibrary/doubleLine/DoubleLineBean_S1Shelf.cs
查看文件 @
14e65b1
...
...
@@ -269,7 +269,7 @@ namespace OnlineStore.DeviceLibrary
{
SOneMoveInfo
.
NextMoveStep
(
MoveStep
.
S1_C03_MStopDown
);
S1Log
(
" 下层阻挡
3下降
, 链条转动,开始放大料架到左侧,阻挡1需要上升"
);
S1Log
(
" 下层阻挡
2(LLow_StopCylinder2)下降3秒
, 链条转动,开始放大料架到左侧,阻挡1需要上升"
);
SOneMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
2500
));
IOMove
(
IO_Type
.
LLow_StopCylinder2
,
IO_VALUE
.
HIGH
,
3000
);
IOMove
(
IO_Type
.
M_LeftStopCylinder
,
IO_VALUE
.
HIGH
);
...
...
source/DeviceLibrary/packageLine/LineAGVProcess.cs
查看文件 @
14e65b1
...
...
@@ -218,7 +218,6 @@ namespace OnlineStore.DeviceLibrary
benQInStepRight
.
ToNextStep
(
BenQ_IN_STEP
.
SHELT_IN
);
benQInStepRight
.
AddIoWait
(
IO_Type
.
R_RightStopCheck
,
IO_VALUE
.
HIGH
);
benQInStepRight
.
AddIoWait
(
IO_Type
.
R_LeftStopCheck
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
R_OutLineBackRun
,
IO_VALUE
.
HIGH
);
}
}
...
...
@@ -349,8 +348,10 @@ namespace OnlineStore.DeviceLibrary
{
benQOutStep
.
ToNextStep
(
BenQ_OUT_STEP
.
SHELT_OUT
);
benQOutStep
.
Msg
=
"料架["
+
agvClient_Dbline
.
A6_RFID
+
"],到达升降机,停止右侧下层线体,继续送出"
;
benQOutStep
.
AddIoWait
(
IO_Type
.
R_RightStopCheck
,
IO_VALUE
.
LOW
,
5000
);
benQOutStep
.
AddIoWait
(
IO_Type
.
R_LeftStopCheck
,
IO_VALUE
.
LOW
,
5000
);
benQOutStep
.
AddIoWait
(
IO_Type
.
R_RightStopCheck
,
IO_VALUE
.
LOW
,
10000
);
benQOutStep
.
AddIoWait
(
IO_Type
.
R_LeftStopCheck
,
IO_VALUE
.
LOW
,
10000
);
benQOutStep
.
AddIoWait
(
IO_Type
.
R_LeftStopCylinder
,
IO_VALUE
.
HIGH
);
benQOutStep
.
AddIoWait
(
IO_Type
.
R_RightStopCylinder
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
R_StopCylinder2
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
R_LineRun
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
R_LeftStopCylinder
,
IO_VALUE
.
HIGH
);
...
...
@@ -379,7 +380,7 @@ namespace OnlineStore.DeviceLibrary
IOMove
(
IO_Type
.
R_LeftStopCylinder
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
R_RightStopCylinder
,
IO_VALUE
.
HIGH
);
}
else
if
(
benQOutStep
.
IsTimeOut
(
10
000
))
else
if
(
benQOutStep
.
IsTimeOut
(
5
000
))
{
IOMove
(
IO_Type
.
R_LeftStopCylinder
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
R_RightStopCylinder
,
IO_VALUE
.
HIGH
);
...
...
source/DeviceLibrary/packageLine/PackageLine_BenQInShelf.cs
查看文件 @
14e65b1
...
...
@@ -75,17 +75,18 @@ namespace OnlineStore.DeviceLibrary
}
else
if
(!
full
)
{
if
(
hasShelfRight
&&
noShelfLeft
&&
chainNoRun
)
//有料盘从右侧准备进入
{
CheckAndMove
(
IO_Type
.
R_RightStopCylinder
,
IO_VALUE
.
HIGH
);
CheckAndMove
(
IO_Type
.
R_LeftStopCylinder
,
IO_VALUE
.
LOW
);
benQInFromOutStep
.
ToNextStep
(
BenQ_IN_FROM_OUT_STEP
.
SHELF_TO_UPDOWN
);
benQInFromOutStep
.
Msg
=
"检测到产线 AGV向右侧提升机送入料架,提升机链条反转"
;
benQInFromOutStep
.
AddIoWait
(
IO_Type
.
R_LeftStopCheck
,
IO_VALUE
.
HIGH
,
5000
);
benQInFromOutStep
.
AddIoWait
(
IO_Type
.
R_RightStopCheck
,
IO_VALUE
.
HIGH
,
5000
);
IOMove
(
IO_Type
.
R_OutLineBackRun
,
IO_VALUE
.
HIGH
);
}
else
if
(
hasShelfRight
&&
!
noShelfLeft
&&
benQOutStep
.
GetCurStep
()
<
BenQ_OUT_STEP
.
WAIT_AGV
&&
chainNoRun
&&
!
agvClient_Dbline
.
A6_InProcess
)
//准备送满料,但提升机上有架子
//if (hasShelfRight && noShelfLeft && chainNoRun)//有料盘从右侧准备进入
//{
// CheckAndMove(IO_Type.R_RightStopCylinder, IO_VALUE.HIGH);
// CheckAndMove(IO_Type.R_LeftStopCylinder, IO_VALUE.LOW);
// benQInFromOutStep.ToNextStep(BenQ_IN_FROM_OUT_STEP.SHELF_TO_UPDOWN);
// benQInFromOutStep.Msg = "检测到产线 AGV向右侧提升机送入料架,提升机链条反转";
// benQInFromOutStep.AddIoWait(IO_Type.R_LeftStopCheck, IO_VALUE.HIGH, 5000);
// benQInFromOutStep.AddIoWait(IO_Type.R_RightStopCheck, IO_VALUE.HIGH, 5000);
// IOMove(IO_Type.R_OutLineBackRun, IO_VALUE.HIGH);
//}
//else
if
(
hasShelfRight
&&
!
noShelfLeft
&&
benQOutStep
.
GetCurStep
()
<
BenQ_OUT_STEP
.
WAIT_AGV
&&
chainNoRun
&&
!
agvClient_Dbline
.
A6_InProcess
)
//准备送满料,但提升机上有架子
{
benQInFromOutStep
.
ToNextStep
(
BenQ_IN_FROM_OUT_STEP
.
SHELF_TO_UPDOWN
);
benQInFromOutStep
.
Msg
=
"检测到右侧提升机有料架,提升机上升"
;
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论