Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
SO908-XLRStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 9b36fffd
由
张东亮
编写于
2021-09-08 16:43:08 +0800
浏览文件
选项
浏览文件
标签
下载
差异文件
Merge branch 'master' of
http://106.15.194.121:8083/lina/SO908-XLRStore
2 个父辈
8e9f5898
8cae1723
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
25 行增加
和
5 行删除
source/DeviceLibrary/storeBean/EquipBase.cs
source/DeviceLibrary/storeBean/inputBean/BatchMoveBean.cs
source/DeviceLibrary/storeBean/inputBean/BatchMoveBean_Partial.cs
source/DeviceLibrary/storeBean/inputBean/InputEquip_InStore.cs
source/DeviceLibrary/storeBean/EquipBase.cs
查看文件 @
9b36fff
...
@@ -59,7 +59,8 @@ namespace OnlineStore.DeviceLibrary
...
@@ -59,7 +59,8 @@ namespace OnlineStore.DeviceLibrary
isNoAirpressure_Check
=
true
;
isNoAirpressure_Check
=
true
;
}
}
this
.
alarmType
=
alarmType
;
this
.
alarmType
=
alarmType
;
if
(
alarmType
.
Equals
(
AlarmType
.
SuddenStop
)
||
alarmType
.
Equals
(
AlarmType
.
NoAirpressure_Check
)
||
alarmType
.
Equals
(
AlarmType
.
AxisAlarm
))
if
(
alarmType
.
Equals
(
AlarmType
.
SuddenStop
)
||
alarmType
.
Equals
(
AlarmType
.
NoAirpressure_Check
)
||
alarmType
.
Equals
(
AlarmType
.
AxisAlarm
)||
alarmType
.
Equals
(
AlarmType
.
AxisMoveError
))
{
{
StopMove
();
StopMove
();
}
}
...
...
source/DeviceLibrary/storeBean/inputBean/BatchMoveBean.cs
查看文件 @
9b36fff
...
@@ -13,7 +13,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -13,7 +13,7 @@ namespace OnlineStore.DeviceLibrary
{
{
public
partial
class
BatchMoveBean
public
partial
class
BatchMoveBean
{
{
public
bool
ShelfAutoOut
=
tru
e
;
public
bool
ShelfAutoOut
=
fals
e
;
public
bool
ShelfNeedLeave
=
false
;
public
bool
ShelfNeedLeave
=
false
;
public
string
Name
=
"料口"
;
public
string
Name
=
"料口"
;
public
AxisBean
BatchAxis
=
null
;
public
AxisBean
BatchAxis
=
null
;
...
@@ -535,6 +535,14 @@ namespace OnlineStore.DeviceLibrary
...
@@ -535,6 +535,14 @@ namespace OnlineStore.DeviceLibrary
return
false
;
return
false
;
}
}
internal
bool
ShelfIsOut
()
{
if
(
MoveInfo
.
MoveType
.
Equals
(
MoveType
.
OutStore
)
&&
MoveInfo
.
MoveStep
<
StepEnum
.
IS21_BatchToP1
)
{
return
true
;
}
return
false
;
}
public
string
GetMoveStr
()
public
string
GetMoveStr
()
...
...
source/DeviceLibrary/storeBean/inputBean/BatchMoveBean_Partial.cs
查看文件 @
9b36fff
...
@@ -388,12 +388,12 @@ namespace OnlineStore.DeviceLibrary
...
@@ -388,12 +388,12 @@ namespace OnlineStore.DeviceLibrary
{
{
needLeave
=
false
;
needLeave
=
false
;
}
}
else
if
(
ShelfType
.
Equals
(
1
)
&&
Robot
.
BatchMove_B
.
Shelf
Ready
Out
())
else
if
(
ShelfType
.
Equals
(
1
)
&&
Robot
.
BatchMove_B
.
Shelf
Is
Out
())
{
{
needLeave
=
true
;
needLeave
=
true
;
}
}
//如果已经有一个出库料串,这个直接离开
//如果已经有一个出库料串,这个直接离开
else
if
(
ShelfType
.
Equals
(
2
)
&&
Robot
.
BatchMove_A
.
Shelf
Ready
Out
())
else
if
(
ShelfType
.
Equals
(
2
)
&&
Robot
.
BatchMove_A
.
Shelf
Is
Out
())
{
{
needLeave
=
true
;
needLeave
=
true
;
}
}
...
...
source/DeviceLibrary/storeBean/inputBean/InputEquip_InStore.cs
查看文件 @
9b36fff
...
@@ -983,9 +983,20 @@ namespace OnlineStore.DeviceLibrary
...
@@ -983,9 +983,20 @@ namespace OnlineStore.DeviceLibrary
{
{
ClearTimeoutAlarm
(
"等待料串可放料"
);
ClearTimeoutAlarm
(
"等待料串可放料"
);
MoveInfo
.
NextMoveStep
(
StepEnum
.
IO27_MiddleToP3
);
MoveInfo
.
NextMoveStep
(
StepEnum
.
IO27_MiddleToP3
);
MoveLog
(
$
"出库->B料串 {MoveInfo.SLog}: 旋转轴到P3(B料口取料点){Config.Middle_P3_BTake},等待{IO_Type.MAxis_Check_B}信号亮"
);
MoveLog
(
$
"出库->B料串 {MoveInfo.SLog}:
清除暂存区。
旋转轴到P3(B料口取料点){Config.Middle_P3_BTake},等待{IO_Type.MAxis_Check_B}信号亮"
);
MiddleAxis
.
AbsMove
(
MoveInfo
,
Config
.
Middle_P3_BTake
,
Config
.
Middle_P3_Speed
);
MiddleAxis
.
AbsMove
(
MoveInfo
,
Config
.
Middle_P3_BTake
,
Config
.
Middle_P3_Speed
);
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
MAxis_Check_B
,
IO_VALUE
.
HIGH
));
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
MAxis_Check_B
,
IO_VALUE
.
HIGH
));
//清空暂存区
int
startp
=
MoveInfo
.
MoveParam
.
PosInfo
.
GetPosType
();
if
(
startp
.
Equals
(
1
))
{
BufferDataManager
.
AOutStoreInfo
=
null
;
}
else
{
BufferDataManager
.
BOutStoreInfo
=
null
;
}
return
true
;
return
true
;
}
}
}
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论