Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC30-AutoInOutStore
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 523352ca
由
几米阳光
编写于
2019-01-27 20:49:38 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
批量上料轴匀速上升修改
1 个父辈
8403e5e5
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
25 行增加
和
8 行删除
source/DeviceLibrary/PanasonicServo/BatchAxisController.cs
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean.cs
source/DeviceLibrary/acSingleStore/AutomaticBaiting_Partial.cs
source/DeviceLibrary/PanasonicServo/BatchAxisController.cs
查看文件 @
523352c
...
...
@@ -23,6 +23,7 @@ namespace OnlineStore.DeviceLibrary
checkTimer
.
AutoReset
=
true
;
checkTimer
.
Interval
+=
50
;
checkTimer
.
Elapsed
+=
CheckTimer_Elapsed
;
checkTimer
.
Enabled
=
false
;
}
checkTimer
.
Start
();
return
true
;
...
...
@@ -48,11 +49,11 @@ namespace OnlineStore.DeviceLibrary
LogUtil
.
info
(
"批量上料轴,检测到上料机构料盘信号,可以停止运动"
);
result
=
true
;
}
else
if
(
ACServerManager
.
GetLimitPositiveSingle
(
StoreManager
.
Config
.
Batch_Axis
).
Equals
(
1
))
{
LogUtil
.
info
(
"批量上料轴,检测到正极限信号,可以停止运动"
);
result
=
true
;
}
//
else if (ACServerManager.GetLimitPositiveSingle(StoreManager.Config.Batch_Axis).Equals(1))
//
{
//
LogUtil.info("批量上料轴,检测到正极限信号,可以停止运动");
//
result = true;
//
}
if
(
result
)
{
//AutoAxisIsMove = 0;
...
...
@@ -60,7 +61,7 @@ namespace OnlineStore.DeviceLibrary
ACServerManager
.
SuddenStop
(
StoreManager
.
Config
.
Batch_Axis
.
DeviceName
,
StoreManager
.
Config
.
Batch_Axis
.
GetAxisValue
());
StopCheck
();
}
IsInProcess
=
true
;
IsInProcess
=
false
;
}
}
}
source/DeviceLibrary/acSingleStore/AC_SA_BoxBean.cs
查看文件 @
523352c
...
...
@@ -1608,8 +1608,15 @@ namespace OnlineStore.DeviceLibrary
{
if
(
resultOperation
.
op
.
Equals
(
2
))
{
try
{
doOutStore
(
resultOperation
);
}
catch
(
Exception
ex
)
{
LogUtil
.
error
(
"处理服务器出库消息出错:"
+
ex
.
ToString
());
}
}
else
if
(
resultOperation
.
data
!=
null
)
{
string
result
=
""
;
...
...
source/DeviceLibrary/acSingleStore/AutomaticBaiting_Partial.cs
查看文件 @
523352c
...
...
@@ -240,12 +240,12 @@ namespace OnlineStore.DeviceLibrary
bool
result
=
false
;
if
(
KND
.
IOValue
(
IO_Type
.
TrayCheck_LoadMaterial
).
Equals
(
IO_VALUE
.
HIGH
))
{
LogUtil
.
info
(
wait
.
ToStr
()
+
"检测到上料机构料盘信号,可以停止运动"
);
LogUtil
.
info
(
wait
.
ToStr
()
+
"
检测到上料机构料盘信号,可以停止运动"
);
result
=
true
;
}
else
if
(
ACServerManager
.
GetLimitPositiveSingle
(
wait
.
AxisInfo
).
Equals
(
1
))
{
LogUtil
.
info
(
wait
.
ToStr
()
+
"检测到正极限信号,可以停止运动"
);
LogUtil
.
info
(
wait
.
ToStr
()
+
"
检测到正极限信号,可以停止运动"
);
result
=
true
;
}
if
(
result
)
...
...
@@ -322,9 +322,18 @@ namespace OnlineStore.DeviceLibrary
{
if
(!
code
.
Equals
(
""
))
{
//msg = msg + "=1+0x0-" + LastWidth + "x" + LastHeight + "=" + code + spiltStr + spiltStr;
//演示机不需要发尺寸
if
(
StoreManager
.
Config
.
Default_TrayWidth
.
Equals
(
0
))
{
msg
=
msg
+
code
+
spiltStr
+
spiltStr
;
}
else
{
msg
=
msg
+
"=1+0x0-"
+
LastWidth
+
"x"
+
LastHeight
+
"="
+
code
+
spiltStr
+
spiltStr
;
}
}
}
return
msg
;
}
//=1+0x0-13x24=201810220856;025;5N02018101;121;700012865;92498;1800;##
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论