Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
SO908-XLRStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 6a0837d9
由
张东亮
编写于
2021-08-22 10:26:12 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
存储机构-及时清空上一次异常
1 个父辈
c53abecc
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
31 行增加
和
3 行删除
source/DeviceLibrary/storeBean/EquipBase.cs
source/DeviceLibrary/storeBean/boxBean/BoxEquip.cs
source/DeviceLibrary/storeBean/boxBean/BoxEquip_Partial.cs
source/DeviceLibrary/storeBean/EquipBase.cs
查看文件 @
6a0837d
...
@@ -707,6 +707,13 @@ namespace OnlineStore.DeviceLibrary
...
@@ -707,6 +707,13 @@ namespace OnlineStore.DeviceLibrary
}
}
return
false
;
return
false
;
}
}
protected
void
ClearSpecifiedAlarm
(
string
msg
)
{
if
(
WarnMsg
.
Contains
(
msg
))
{
SetWarnMsg
(
""
);
}
}
protected
void
ClearTimeoutAlarm
(
string
msg
)
protected
void
ClearTimeoutAlarm
(
string
msg
)
{
{
if
(
isInSuddenDown
||
isNoAirpressure_Check
)
if
(
isInSuddenDown
||
isNoAirpressure_Check
)
...
...
source/DeviceLibrary/storeBean/boxBean/BoxEquip.cs
查看文件 @
6a0837d
...
@@ -598,19 +598,34 @@ namespace OnlineStore.DeviceLibrary
...
@@ -598,19 +598,34 @@ namespace OnlineStore.DeviceLibrary
{
{
SetWarnMsg
(
"A进料上暂存区有料盘,但信号未亮"
);
SetWarnMsg
(
"A进料上暂存区有料盘,但信号未亮"
);
}
}
else
{
ClearSpecifiedAlarm
(
"A进料上暂存区有料盘,但信号未亮"
);
}
if
(
IOValue
(
IO_Type
.
UnderArea_Check_A
).
Equals
(
IO_VALUE
.
LOW
)
&&
BufferDataManager
.
AOutStoreInfo
!=
null
)
if
(
IOValue
(
IO_Type
.
UnderArea_Check_A
).
Equals
(
IO_VALUE
.
LOW
)
&&
BufferDataManager
.
AOutStoreInfo
!=
null
)
{
{
SetWarnMsg
(
"A出料下暂存区有料盘,但信号未亮"
);
SetWarnMsg
(
"A出料下暂存区有料盘,但信号未亮"
);
}
}
else
{
ClearSpecifiedAlarm
(
"A出料下暂存区有料盘,但信号未亮"
);
}
if
(
IOValue
(
IO_Type
.
UpperArea_Check_B
).
Equals
(
IO_VALUE
.
LOW
)
&&
BufferDataManager
.
BInStoreInfo
!=
null
)
if
(
IOValue
(
IO_Type
.
UpperArea_Check_B
).
Equals
(
IO_VALUE
.
LOW
)
&&
BufferDataManager
.
BInStoreInfo
!=
null
)
{
{
SetWarnMsg
(
"B进料上暂存区有料盘,但信号未亮"
);
SetWarnMsg
(
"B进料上暂存区有料盘,但信号未亮"
);
}
}
else
{
ClearSpecifiedAlarm
(
"B进料上暂存区有料盘,但信号未亮"
);
}
if
(
IOValue
(
IO_Type
.
UnderArea_Check_B
).
Equals
(
IO_VALUE
.
LOW
)
&&
BufferDataManager
.
BOutStoreInfo
!=
null
)
if
(
IOValue
(
IO_Type
.
UnderArea_Check_B
).
Equals
(
IO_VALUE
.
LOW
)
&&
BufferDataManager
.
BOutStoreInfo
!=
null
)
{
{
SetWarnMsg
(
"B出料下暂存区有料盘,但信号未亮"
);
SetWarnMsg
(
"B出料下暂存区有料盘,但信号未亮"
);
}
}
else
{
ClearSpecifiedAlarm
(
"B出料下暂存区有料盘,但信号未亮"
);
}
//检测A上暂存区是否有料盘
//检测A上暂存区是否有料盘
if
(
IOValue
(
IO_Type
.
UpperArea_Check_A
).
Equals
(
IO_VALUE
.
HIGH
))
if
(
IOValue
(
IO_Type
.
UpperArea_Check_A
).
Equals
(
IO_VALUE
.
HIGH
))
{
{
...
@@ -696,7 +711,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -696,7 +711,7 @@ namespace OnlineStore.DeviceLibrary
AutoFindPosProcess
();
AutoFindPosProcess
();
}
}
BusyMoveProcess
();
BusyMoveProcess
();
IOTimeOutProcess
();
if
(
NoErrorAlarm
())
if
(
NoErrorAlarm
())
{
{
CheckAxisAlarm
();
CheckAxisAlarm
();
...
...
source/DeviceLibrary/storeBean/boxBean/BoxEquip_Partial.cs
查看文件 @
6a0837d
...
@@ -19,6 +19,12 @@ namespace OnlineStore.DeviceLibrary
...
@@ -19,6 +19,12 @@ namespace OnlineStore.DeviceLibrary
{
{
return
false
;
return
false
;
}
}
//public bool InputMiddleAxisCanMove()
//{
// if()
// return false;
//}
/// <summary>
/// <summary>
/// 忽略相机检测到的抽屉误差误差
/// 忽略相机检测到的抽屉误差误差
/// </summary>
/// </summary>
...
@@ -223,7 +229,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -223,7 +229,7 @@ namespace OnlineStore.DeviceLibrary
{
{
XAxis_B
.
AbsMove
(
MoveInfo
,
MoveInfo
.
MoveParam
.
MoveP
.
XAxis_AB_P3
,
Config
.
XAxis_B_P3_Speed
);
XAxis_B
.
AbsMove
(
MoveInfo
,
MoveInfo
.
MoveParam
.
MoveP
.
XAxis_AB_P3
,
Config
.
XAxis_B_P3_Speed
);
}
}
}
}
/// <summary>
/// <summary>
/// AB面移栽X轴到待机点
/// AB面移栽X轴到待机点
/// </summary>
/// </summary>
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论