Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
孙克
/
RC1250-AssemblyLine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 7cc9194a
由
LN
编写于
2020-05-26 09:24:54 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
配置修改
1 个父辈
4925708c
隐藏空白字符变更
内嵌
并排
正在显示
11 个修改的文件
包含
23 行增加
和
23 行删除
source/AssemblyLineClient/App.config
source/DeviceLibrary/LineConfig/Config_FeedingEquip_1.csv
source/DeviceLibrary/LineConfig/Config_FeedingEquip_2.csv
source/DeviceLibrary/LineConfig/Config_FeedingEquip_3.csv
source/DeviceLibrary/LineConfig/Config_FeedingEquip_4.csv
source/DeviceLibrary/LineConfig/Config_ProvidingEquip_1.csv
source/DeviceLibrary/LineConfig/Config_ProvidingEquip_2.csv
source/DeviceLibrary/LineConfig/Config_ProvidingEquip_3.csv
source/DeviceLibrary/LineConfig/Config_ProvidingEquip_4.csv
source/DeviceLibrary/assemblyLine/OutTrayLineBean.cs
source/DeviceLibrary/deviceLibrary/IO/AIOBOX/AIOBOX.cs
source/AssemblyLineClient/App.config
查看文件 @
7cc9194
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<!--流水线监听端口-->
<!--流水线监听端口-->
<
add
key
=
"TCPServerPort"
value
=
"5246"
/>
<
add
key
=
"TCPServerPort"
value
=
"5246"
/>
<!--
AGV
调度服务器地址-->
<!--
AGV
调度服务器地址-->
<
add
key
=
"AgvServerIp"
value
=
"10.85.1
60
.20"
/>
<
add
key
=
"AgvServerIp"
value
=
"10.85.1
99
.20"
/>
<!--
IO
配置-->
<!--
IO
配置-->
<
add
key
=
"DIMS"
value
=
"60"
/>
<
add
key
=
"DIMS"
value
=
"60"
/>
<
add
key
=
"DOMS"
value
=
"300"
/>
<
add
key
=
"DOMS"
value
=
"300"
/>
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
<
add
key
=
"OpenRFIDWrite"
value
=
"1"
/>
<
add
key
=
"OpenRFIDWrite"
value
=
"1"
/>
<
add
key
=
"DefaultPWD"
value
=
"123456"
/>
<
add
key
=
"DefaultPWD"
value
=
"123456"
/>
<!--当前调试的设备
ID
,分号分割-->
<!--当前调试的设备
ID
,分号分割-->
<
add
key
=
"DebugDeviceId"
value
=
"
302
"
/>
<
add
key
=
"DebugDeviceId"
value
=
"
0
"
/>
<
add
key
=
"Server_Log_Open"
value
=
"0"
/>
<
add
key
=
"Server_Log_Open"
value
=
"0"
/>
<
add
key
=
"CodeCount"
value
=
"3"
/>
<
add
key
=
"CodeCount"
value
=
"3"
/>
<
add
key
=
"DefaultTrayNum"
value
=
"0"
/>
<
add
key
=
"DefaultTrayNum"
value
=
"0"
/>
...
@@ -111,7 +111,4 @@
...
@@ -111,7 +111,4 @@
<
startup
>
<
startup
>
<
supportedRuntime
version
=
"v4.0"
sku
=
".NETFramework,Version=v4.6.1"
/>
<
supportedRuntime
version
=
"v4.0"
sku
=
".NETFramework,Version=v4.6.1"
/>
</
startup
>
</
startup
>
<
runtime
>
<
gcConcurrent
enabled
=
"false"
/>
</
runtime
>
</
configuration
>
</
configuration
>
\ No newline at end of file
\ No newline at end of file
source/DeviceLibrary/LineConfig/Config_FeedingEquip_1.csv
查看文件 @
7cc9194
...
@@ -9,8 +9,8 @@ PRO,0,上料流水线出口AGV小车站号名称,AgvOutName,C6,,,,,
...
@@ -9,8 +9,8 @@ PRO,0,上料流水线出口AGV小车站号名称,AgvOutName,C6,,,,,
,,,,,,,,,
,,,,,,,,,
AXIS,0,轴二提升上料轴,Batch_Axis,1,COM3,0,,,
AXIS,0,轴二提升上料轴,Batch_Axis,1,COM3,0,,,
PRO,0,提升上料轴上升待机点 P1,BatchAxisP1,6504500,,,,,
PRO,0,提升上料轴上升待机点 P1,BatchAxisP1,6504500,,,,,
PRO,0,提升上料轴下降位置P2,BatchAxisP2,-
48
000,,,,,
PRO,0,提升上料轴下降位置P2,BatchAxisP2,-
54
000,,,,,
PRO,0,提升上料缓慢上升目标位置P3,BatchAxisP3,59
1
4000,,,,,
PRO,0,提升上料缓慢上升目标位置P3,BatchAxisP3,59
6
4000,,,,,
PRO,0,提升上料轴目标速度,BatchAxis_TargetSpeed,4000,,,,,
PRO,0,提升上料轴目标速度,BatchAxis_TargetSpeed,4000,,,,,
PRO,0,提升上料轴加速度,BatchAxis_AddSpeed,400,,,,,
PRO,0,提升上料轴加速度,BatchAxis_AddSpeed,400,,,,,
PRO,0,提升上料轴减速度,BatchAxis_DelSpeed,400,,,,,
PRO,0,提升上料轴减速度,BatchAxis_DelSpeed,400,,,,,
...
@@ -25,7 +25,7 @@ PRO,0,提升上料轴高度转换系数(1mm对应的脉冲),Height_ChangeValue,11000,,,,,
...
@@ -25,7 +25,7 @@ PRO,0,提升上料轴高度转换系数(1mm对应的脉冲),Height_ChangeValue,11000,,,,,
AXIS,0,轴一移栽上下轴,UpDown_Axis,2,COM3,0,,,
AXIS,0,轴一移栽上下轴,UpDown_Axis,2,COM3,0,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,69200,,,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,69200,,,,,
PRO,0,移栽上下轴P2移栽机构下降位置,UpDownP2List,0=69200;8=116000;48=29000;12=93000;16=86000;24=74000;32=53000;44=28000;56=11000,,,,,
PRO,0,移栽上下轴P2移栽机构下降位置,UpDownP2List,0=69200;8=116000;48=29000;12=93000;16=86000;24=74000;32=53000;44=28000;56=11000,,,,,
PRO,0,移栽上下轴P3取料位置,UpDownAxisP3,28
1
000,,,,,
PRO,0,移栽上下轴P3取料位置,UpDownAxisP3,28
0
000,,,,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,1600,,,,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,1600,,,,,
PRO,0,移栽上下轴加速度,UpdownAxis_AddSpeed,400,,,,,
PRO,0,移栽上下轴加速度,UpdownAxis_AddSpeed,400,,,,,
PRO,0,移栽上下轴减速度,UpdownAxis_DelSpeed,400,,,,,
PRO,0,移栽上下轴减速度,UpdownAxis_DelSpeed,400,,,,,
...
...
source/DeviceLibrary/LineConfig/Config_FeedingEquip_2.csv
查看文件 @
7cc9194
...
@@ -9,7 +9,7 @@ PRO,0,上料流水线出口AGV小车站号名称,AgvOutName,C4,,,,,
...
@@ -9,7 +9,7 @@ PRO,0,上料流水线出口AGV小车站号名称,AgvOutName,C4,,,,,
,,,,,,,,,
,,,,,,,,,
AXIS,0,轴二提升上料轴,Batch_Axis,3,COM3,0,,,
AXIS,0,轴二提升上料轴,Batch_Axis,3,COM3,0,,,
PRO,0,提升上料轴上升待机点 P1,BatchAxisP1,6515100,,,,,
PRO,0,提升上料轴上升待机点 P1,BatchAxisP1,6515100,,,,,
PRO,0,提升上料轴下降位置P2,BatchAxisP2,-
35
000,,,,,
PRO,0,提升上料轴下降位置P2,BatchAxisP2,-
50
000,,,,,
PRO,0,提升上料缓慢上升目标位置P3,BatchAxisP3,5926000,,,,,
PRO,0,提升上料缓慢上升目标位置P3,BatchAxisP3,5926000,,,,,
PRO,0,提升上料轴目标速度,BatchAxis_TargetSpeed,4000,,,,,
PRO,0,提升上料轴目标速度,BatchAxis_TargetSpeed,4000,,,,,
PRO,0,提升上料轴加速度,BatchAxis_AddSpeed,400,,,,,
PRO,0,提升上料轴加速度,BatchAxis_AddSpeed,400,,,,,
...
@@ -25,7 +25,7 @@ PRO,0,提升上料轴高度转换系数(1mm对应的脉冲),Height_ChangeValue,11000,,,,,
...
@@ -25,7 +25,7 @@ PRO,0,提升上料轴高度转换系数(1mm对应的脉冲),Height_ChangeValue,11000,,,,,
AXIS,0,轴一移栽上下轴,UpDown_Axis,4,COM3,0,,,
AXIS,0,轴一移栽上下轴,UpDown_Axis,4,COM3,0,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,82000,,,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,82000,,,,,
PRO,0,移栽上下轴P2移栽机构下降位置,UpDownP2List,0=-25000;8=88000;48=-23150;12=61900;16=63500;24=34880;32=23300;44=-7700,,,,,
PRO,0,移栽上下轴P2移栽机构下降位置,UpDownP2List,0=-25000;8=88000;48=-23150;12=61900;16=63500;24=34880;32=23300;44=-7700,,,,,
PRO,0,移栽上下轴P3取料位置,UpDownAxisP3,2
75
000,,,,,
PRO,0,移栽上下轴P3取料位置,UpDownAxisP3,2
80
000,,,,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,1600,,,,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,1600,,,,,
PRO,0,移栽上下轴加速度,UpdownAxis_AddSpeed,400,,,,,
PRO,0,移栽上下轴加速度,UpdownAxis_AddSpeed,400,,,,,
PRO,0,移栽上下轴减速度,UpdownAxis_DelSpeed,400,,,,,
PRO,0,移栽上下轴减速度,UpdownAxis_DelSpeed,400,,,,,
...
...
source/DeviceLibrary/LineConfig/Config_FeedingEquip_3.csv
查看文件 @
7cc9194
...
@@ -9,8 +9,8 @@ PRO,0,上料流水线出口AGV小车站号名称,AgvOutName,C2,,,,,
...
@@ -9,8 +9,8 @@ PRO,0,上料流水线出口AGV小车站号名称,AgvOutName,C2,,,,,
,,,,,,,,,
,,,,,,,,,
AXIS,0,轴二提升上料轴,Batch_Axis,5,COM3,0,,,
AXIS,0,轴二提升上料轴,Batch_Axis,5,COM3,0,,,
PRO,0,提升上料轴上升待机点 P1,BatchAxisP1,6495000,,,,,
PRO,0,提升上料轴上升待机点 P1,BatchAxisP1,6495000,,,,,
PRO,0,提升上料轴下降位置P2,BatchAxisP2,0,,,,,
PRO,0,提升上料轴下降位置P2,BatchAxisP2,
-100
0,,,,,
PRO,0,提升上料缓慢上升目标位置P3,BatchAxisP3,
60071
00,,,,,
PRO,0,提升上料缓慢上升目标位置P3,BatchAxisP3,
59500
00,,,,,
PRO,0,提升上料轴目标速度,BatchAxis_TargetSpeed,4000,,,,,
PRO,0,提升上料轴目标速度,BatchAxis_TargetSpeed,4000,,,,,
PRO,0,提升上料轴加速度,BatchAxis_AddSpeed,300,,,,,
PRO,0,提升上料轴加速度,BatchAxis_AddSpeed,300,,,,,
PRO,0,提升上料轴减速度,BatchAxis_DelSpeed,300,,,,,
PRO,0,提升上料轴减速度,BatchAxis_DelSpeed,300,,,,,
...
...
source/DeviceLibrary/LineConfig/Config_FeedingEquip_4.csv
查看文件 @
7cc9194
...
@@ -9,7 +9,7 @@ PRO,0,上料流水线出口AGV小车站号名称,AgvOutName,C8,,,,,
...
@@ -9,7 +9,7 @@ PRO,0,上料流水线出口AGV小车站号名称,AgvOutName,C8,,,,,
,,,,,,,,,
,,,,,,,,,
AXIS,0,轴二提升上料轴,Batch_Axis,7,COM3,0,,,
AXIS,0,轴二提升上料轴,Batch_Axis,7,COM3,0,,,
PRO,0,提升上料轴上升待机点 P1,BatchAxisP1,6508000,,,,,
PRO,0,提升上料轴上升待机点 P1,BatchAxisP1,6508000,,,,,
PRO,0,提升上料轴下降位置P2,BatchAxisP2,-11
38
00,,,,,
PRO,0,提升上料轴下降位置P2,BatchAxisP2,-11
80
00,,,,,
PRO,0,提升上料缓慢上升目标位置P3,BatchAxisP3,5573900,,,,,
PRO,0,提升上料缓慢上升目标位置P3,BatchAxisP3,5573900,,,,,
PRO,0,提升上料轴目标速度,BatchAxis_TargetSpeed,4000,,,,,
PRO,0,提升上料轴目标速度,BatchAxis_TargetSpeed,4000,,,,,
PRO,0,提升上料轴加速度,BatchAxis_AddSpeed,400,,,,,
PRO,0,提升上料轴加速度,BatchAxis_AddSpeed,400,,,,,
...
...
source/DeviceLibrary/LineConfig/Config_ProvidingEquip_1.csv
查看文件 @
7cc9194
...
@@ -6,7 +6,7 @@ PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,,,,
...
@@ -6,7 +6,7 @@ PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,,,,
,,,,,
,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,1,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,1,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,15,COM3,0,,,
AXIS,0,移栽上下轴,UpDown_Axis,15,COM3,0,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownP2List,0=120000;8=203600;12=155000;16=15
0
000;24=153000;32=129000;44=107000;56=95000,,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownP2List,0=120000;8=203600;12=155000;16=15
3
000;24=153000;32=129000;44=107000;56=95000,,,,,,
PRO,0,移栽上下轴在出料线下降的位置,UpDownP3List,0=150000;8=150000;12=150000;16=150000;24=150000;32=140000;44=120000;56=100000,,,,,,
PRO,0,移栽上下轴在出料线下降的位置,UpDownP3List,0=150000;8=150000;12=150000;16=150000;24=150000;32=140000;44=120000;56=100000,,,,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,2000,,,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,2000,,,,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,1600,,,,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,1600,,,,,
...
...
source/DeviceLibrary/LineConfig/Config_ProvidingEquip_2.csv
查看文件 @
7cc9194
...
@@ -6,7 +6,7 @@ PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,2,,,,,
...
@@ -6,7 +6,7 @@ PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,2,,,,,
,,,,,
,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,1,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,1,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,16,COM3,0,,,
AXIS,0,移栽上下轴,UpDown_Axis,16,COM3,0,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownP2List,0=120000;8=189200;12=172000;16=16
5
000;24=155000;32=133000;44=115000;56=90000,,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownP2List,0=120000;8=189200;12=172000;16=16
8
000;24=155000;32=133000;44=115000;56=90000,,,,,,
PRO,0,移栽上下轴在出料线下降的位置,UpDownP3List,0=150000;8=150000;12=150000;16=150000;24=150000;32=140000;44=115000;56=80000,,,,,,
PRO,0,移栽上下轴在出料线下降的位置,UpDownP3List,0=150000;8=150000;12=150000;16=150000;24=150000;32=140000;44=115000;56=80000,,,,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,2000,,,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,2000,,,,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,1600,,,,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,1600,,,,,
...
...
source/DeviceLibrary/LineConfig/Config_ProvidingEquip_3.csv
查看文件 @
7cc9194
...
@@ -6,7 +6,7 @@ PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,,,,
...
@@ -6,7 +6,7 @@ PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,1,,,,,
,,,,,
,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,1,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,1,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,9,COM3,0,,,
AXIS,0,移栽上下轴,UpDown_Axis,9,COM3,0,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownP2List,0=120000;8=185000;12=18
3
000;16=185000;24=176000;32=154000;44=134000;56=112000,,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownP2List,0=120000;8=185000;12=18
5
000;16=185000;24=176000;32=154000;44=134000;56=112000,,,,,,
PRO,0,移栽上下轴在出料线下降的位置,UpDownP3List,0=150000;8=150000;12=150000;16=150000;24=150000;32=150000;44=115000;56=78000,,,,,,
PRO,0,移栽上下轴在出料线下降的位置,UpDownP3List,0=150000;8=150000;12=150000;16=150000;24=150000;32=150000;44=115000;56=78000,,,,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,2000,,,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,2000,,,,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,1600,,,,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,1600,,,,,
...
@@ -18,4 +18,4 @@ PRO,0,移栽上下轴原点加速度,UpdownAxis_HomeAddSpeed,200,,,,,
...
@@ -18,4 +18,4 @@ PRO,0,移栽上下轴原点加速度,UpdownAxis_HomeAddSpeed,200,,,,,
PRO,0,移栽上下轴走到待机点P1速度,UpdownAxis_P1Speed,1500,,,,,
PRO,0,移栽上下轴走到待机点P1速度,UpdownAxis_P1Speed,1500,,,,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,1501,,,,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,1501,,,,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,1200,,,,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,1200,,,,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,0X0=8000;,,,,,
\ No newline at end of file
\ No newline at end of file
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,13X16=184000;15X16=183000;11X16=184500;7X16=185000,,,,,
source/DeviceLibrary/LineConfig/Config_ProvidingEquip_4.csv
查看文件 @
7cc9194
...
@@ -6,7 +6,7 @@ PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,2,,,,,
...
@@ -6,7 +6,7 @@ PRO,0,设备对应的出料流水线的第几条流水线,DLineLineNum,2,,,,,
,,,,,
,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,1,,,,,
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,1,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,10,COM3,0,,,
AXIS,0,移栽上下轴,UpDown_Axis,10,COM3,0,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownP2List,0=80000;8=228000;12=228000;16=22
0
000;24=206000;32=185000;44=160000;56=140000,,,,,,
PRO,0,移栽上下轴在移栽上下降的位置,UpDownP2List,0=80000;8=228000;12=228000;16=22
4
000;24=206000;32=185000;44=160000;56=140000,,,,,,
PRO,0,移栽上下轴在出料线下降的位置,UpDownP3List,0=90000;8=160000;12=160000;16=160000;24=160000;32=160000;44=140000;56=110000,,,,,,
PRO,0,移栽上下轴在出料线下降的位置,UpDownP3List,0=90000;8=160000;12=160000;16=160000;24=160000;32=160000;44=140000;56=110000,,,,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,2000,,,,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,2000,,,,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,1600,,,,,
PRO,0,移栽上下轴目标速度,UpdownAxis_TargetSpeed,1600,,,,,
...
@@ -18,4 +18,4 @@ PRO,0,移栽上下轴原点加速度,UpdownAxis_HomeAddSpeed,200,,,,,
...
@@ -18,4 +18,4 @@ PRO,0,移栽上下轴原点加速度,UpdownAxis_HomeAddSpeed,200,,,,,
PRO,0,移栽上下轴走到待机点P1速度,UpdownAxis_P1Speed,1500,,,,,
PRO,0,移栽上下轴走到待机点P1速度,UpdownAxis_P1Speed,1500,,,,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,1501,,,,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,1501,,,,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,1200,,,,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,1200,,,,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,
0X0=8000;
,,,,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,
7X8=228000;7X12=228000;7X16=224000;15X8=200000;15X12=200000;15X16=200000;15X24=170000;15X32=150000;15X44=140000;15X56=120000;13X12=220000;13X16=210000;13X24=200000;13X32=180000;13X44=150000;13X56=130000
,,,,,
source/DeviceLibrary/assemblyLine/OutTrayLineBean.cs
查看文件 @
7cc9194
...
@@ -345,7 +345,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -345,7 +345,7 @@ namespace OnlineStore.DeviceLibrary
ConfigIO
config
=
IOManager
.
GetDI
(
CheckDI
,
subType
);
ConfigIO
config
=
IOManager
.
GetDI
(
CheckDI
,
subType
);
if
(
config
.
IO_IP
.
Equals
(
ioIP
)
&&
config
.
GetIOAddr
().
Equals
(
index
))
if
(
config
.
IO_IP
.
Equals
(
ioIP
)
&&
config
.
GetIOAddr
().
Equals
(
index
))
{
{
LogUtil
.
info
(
"收到DIChangeDelegate["
+
ioIP
+
"]["
+
index
+
"]["
+
oldValue
+
"]["
+
newValue
+
"],更新CheckDIHigh=true "
);
LogUtil
.
debug
(
"收到DIChangeDelegate["
+
ioIP
+
"]["
+
index
+
"]["
+
oldValue
+
"]["
+
newValue
+
"],更新CheckDIHigh=true "
);
CheckDIHigh
=
true
;
CheckDIHigh
=
true
;
}
}
}
}
...
...
source/DeviceLibrary/deviceLibrary/IO/AIOBOX/AIOBOX.cs
查看文件 @
7cc9194
...
@@ -323,12 +323,12 @@ namespace Asa.IOModule
...
@@ -323,12 +323,12 @@ namespace Asa.IOModule
int
time
=
0
;
//上传时间
int
time
=
0
;
//上传时间
int
writeTimer
=
0
;
//写入DO次数
int
writeTimer
=
0
;
//写入DO次数
bool
writeStop
=
false
;
//写入命令停止
bool
writeStop
=
false
;
//写入命令停止
while
(
_loop
)
while
(
_loop
)
{
{
Thread
.
Sleep
(
SEND_SLEEP
);
Thread
.
Sleep
(
SEND_SLEEP
);
if
(!
IsConn
)
continue
;
if
(!
IsConn
)
continue
;
byte
[]
buff
;
byte
[]
buff
=
null
;
if
(
Upload
)
//主动上传
if
(
Upload
)
//主动上传
{
{
...
@@ -392,7 +392,10 @@ namespace Asa.IOModule
...
@@ -392,7 +392,10 @@ namespace Asa.IOModule
}
}
}
}
}
}
SendToDevice
(
buff
);
if
(
buff
!=
null
)
{
SendToDevice
(
buff
);
}
}
}
}
}
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论