Skip to content
切换导航条
切换导航条
当前项目
正在载入...
登录
李娜
/
SO664-AssemblyLine
转到一个项目
切换导航栏
切换导航栏固定状态
项目
群组
代码片段
帮助
项目
活动
版本库
流水线
图表
问题
0
合并请求
0
维基
网络
创建新的问题
作业
提交
问题看板
文件
提交
网络
比较
分支
标签
Commit 38029e52
由
LN
编写于
2021-01-18 09:06:53 +0800
浏览文件
选项
浏览文件
标签
下载
电子邮件补丁
差异文件
横移逻辑优化
1 个父辈
8608cc51
隐藏空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
214 行增加
和
115 行删除
source/DeviceLibrary/LineConfig/Config_FeedingEquip_1.csv
source/DeviceLibrary/LineConfig/Config_FeedingEquip_3.csv
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_15.csv
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_04.csv
source/DeviceLibrary/LineConfig/TrayList.data
source/DeviceLibrary/LineConfig/_system~.ini
source/DeviceLibrary/assemblyLine/HY/HY_C1Line.cs
source/DeviceLibrary/assemblyLine/LineBean_Partial.cs
source/DeviceLibrary/assemblyLine/MoveEquip_Partial.cs
source/DeviceLibrary/server/LineServer.cs
source/DeviceLibrary/LineConfig/Config_FeedingEquip_1.csv
查看文件 @
38029e5
...
@@ -20,7 +20,7 @@ PRO,0,提升上料轴高度转换系数(1mm对应的脉冲),Height_ChangeVal
...
@@ -20,7 +20,7 @@ PRO,0,提升上料轴高度转换系数(1mm对应的脉冲),Height_ChangeVal
AXIS,0,轴二移栽上下轴,UpDown_Axis,12,HC,,20000,10000,15000,500,4000,15000,10,100,0,0
AXIS,0,轴二移栽上下轴,UpDown_Axis,12,HC,,20000,10000,15000,500,4000,15000,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,0,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,0,,
PRO,0,移栽上下轴P2移栽机构下降位置,UpDownP2List,0=29000;8=30400;48=20800;12=26000;16=22000;24=22000;32=22800;44=28000;56=11000,,
PRO,0,移栽上下轴P2移栽机构下降位置,UpDownP2List,0=29000;8=30400;48=20800;12=26000;16=22000;24=22000;32=22800;44=28000;56=11000,,
PRO,0,移栽上下轴P3取料位置,UpDownAxisP3,88
0
0,,
PRO,0,移栽上下轴P3取料位置,UpDownAxisP3,88
5
0,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,20000,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,20000,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,20000,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,20000,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,14000,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,14000,,
...
...
source/DeviceLibrary/LineConfig/Config_FeedingEquip_3.csv
查看文件 @
38029e5
...
@@ -20,7 +20,7 @@ PRO,0,提升上料轴高度转换系数(1mm对应的脉冲),Height_ChangeVal
...
@@ -20,7 +20,7 @@ PRO,0,提升上料轴高度转换系数(1mm对应的脉冲),Height_ChangeVal
AXIS,0,轴二移栽上下轴,UpDown_Axis,10,HC,,40000,10000,15000,500,4000,15000,10,100,0,0
AXIS,0,轴二移栽上下轴,UpDown_Axis,10,HC,,40000,10000,15000,500,4000,15000,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,0,,
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,0,,
PRO,0,移栽上下轴P2移栽机构下降位置,UpDownP2List,0=692;8=28900;12=22000;16=22000;24=22000;32=22000;44=22000;48=22000;56=32674,,
PRO,0,移栽上下轴P2移栽机构下降位置,UpDownP2List,0=692;8=28900;12=22000;16=22000;24=22000;32=22000;44=22000;48=22000;56=32674,,
PRO,0,移栽上下轴P3取料位置,UpDownAxisP3,12
2
00,,
PRO,0,移栽上下轴P3取料位置,UpDownAxisP3,12
1
00,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,40000,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,40000,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,40000,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,40000,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,14000,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,14000,,
...
...
source/DeviceLibrary/LineConfig/HY/Config_HYEquip_15.csv
0 → 100644
查看文件 @
38029e5
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否使用伺服,UpDownUseAxis,0,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,3000,4000,4000,1000,5000,10000,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴托盘取料点P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴接驳台放料点P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴托盘取料详细点P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
source/DeviceLibrary/LineConfig/MoveEquip/Config_MoveEquip_04.csv
0 → 100644
查看文件 @
38029e5
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
PRO,0,设备是否处于调试状态(1=调试,0=正常),IsDebug,0,,
PRO,0,是否存放的大料盘,IsBigTray,0
PRO,0,移栽上下运动是否使用伺服,UpDownUseAxis,0,,
,,,,,,
AXIS,0,移栽上下轴,UpDown_Axis,100,HC,,3000,4000,4000,1000,5000,20000,10,100,0,0
PRO,0,移栽上下轴待机点 P1,UpDownAxisP1,-11000,,
PRO,0,移栽上下轴流水线上方位置P2,UpDownP2List,0=80000;12=141200;16=130000;24=110000;32=98000;44=76000;48=73700;56=61000;8=150000,,
PRO,0,移栽上下轴料仓门口位置P3,UpDownP3List,0=90000;12=157500;16=150800;24=138200;32=116800;44=92500;48=90000;56=95000;8=160000,,
PRO,0,移栽上下轴流水线取放料详细位置P2,UpDownP2DetialList,0X0=8000;,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,400,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,300,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,300,,
source/DeviceLibrary/LineConfig/TrayList.data
查看文件 @
38029e5
{"TrayNum":101,"IsFull":true,"InOrOutStore":
2,"ShowMsg":"","LastUpdateTime":"2021-01-13T10:44:09.7417719+08:00","InoutPar":{"WareCode":"R201492020120401346","PosId":"3D0261AA0015","TrayNumber":101,"PlateH":8,"PlateW":7,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":true,"rfid":"73634-0D","rfidLoc":-1
}}
{"TrayNum":101,"IsFull":true,"InOrOutStore":
1,"ShowMsg":"","LastUpdateTime":"2021-01-15T18:17:44.0667527+08:00","InoutPar":{"WareCode":"R508292020021717442","PosId":"3D1420AA0006","TrayNumber":101,"PlateH":16,"PlateW":13,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"B114","rfidLoc":0
}}
{"TrayNum":102,"IsFull":
false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-13T10:41:29.4656046+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":102,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"
","rfidLoc":0}}
{"TrayNum":102,"IsFull":
true,"InOrOutStore":1,"ShowMsg":"","LastUpdateTime":"2021-01-15T18:25:43.2921628+08:00","InoutPar":{"WareCode":"R0052320201125G5577","PosId":"3D2440AA0007","TrayNumber":102,"PlateH":24,"PlateW":13,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"B112
","rfidLoc":0}}
{"TrayNum":103,"IsFull":
true,"InOrOutStore":1,"ShowMsg":"","LastUpdateTime":"2021-01-13T10:46:15.1549451+08:00","InoutPar":{"WareCode":"R508542020111230004","PosId":"3D0422AA0013","TrayNumber":103,"PlateH":8,"PlateW":7,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"B115
","rfidLoc":0}}
{"TrayNum":103,"IsFull":
false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-15T18:23:42.3032427+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":103,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"
","rfidLoc":0}}
{"TrayNum":104,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-1
3T10:41:00.134927
+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":104,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0}}
{"TrayNum":104,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-1
5T18:14:30.004653
+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":104,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0}}
{"TrayNum":105,"IsFull":
true,"InOrOutStore":2,"ShowMsg":"","LastUpdateTime":"2021-01-13T10:39:20.2432135+08:00","InoutPar":{"WareCode":"R821872020101901268","PosId":"3D0701AA0001","TrayNumber":105,"PlateH":8,"PlateW":7,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":true,"rfid":"73634-0D","rfidLoc":-1
}}
{"TrayNum":105,"IsFull":
false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-15T18:23:24.2182083+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":105,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0
}}
{"TrayNum":106,"IsFull":
true,"InOrOutStore":2,"ShowMsg":"","LastUpdateTime":"2021-01-13T10:40:15.709386+08:00","InoutPar":{"WareCode":"R008062020102803561","PosId":"3D0212AA0013","TrayNumber":106,"PlateH":8,"PlateW":7,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":true,"rfid":"73634-1D","rfidLoc":-1
}}
{"TrayNum":106,"IsFull":
false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-15T18:03:21.7234295+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":106,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0
}}
{"TrayNum":107,"IsFull":
true,"InOrOutStore":2,"ShowMsg":"","LastUpdateTime":"2021-01-13T10:43:00.2337963+08:00","InoutPar":{"WareCode":"R203082020111907721","PosId":"3D0171AA0017","TrayNumber":107,"PlateH":8,"PlateW":7,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":true,"rfid":"73634-0D","rfidLoc":-1
}}
{"TrayNum":107,"IsFull":
false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-15T18:13:48.2752662+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":107,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0
}}
{"TrayNum":108,"IsFull":
true,"InOrOutStore":2,"ShowMsg":"","LastUpdateTime":"2021-01-13T10:46:10.623686+08:00","InoutPar":{"WareCode":"R201492020112685604","PosId":"3D2232AA0016","TrayNumber":108,"PlateH":8,"PlateW":7,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":true,"rfid":"73634-0D","rfidLoc":-1
}}
{"TrayNum":108,"IsFull":
false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-15T18:17:45.120813+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":108,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0
}}
{"TrayNum":109,"IsFull":true,"InOrOutStore":1,"ShowMsg":"","LastUpdateTime":"2021-01-1
3T10:45:06.5240197+08:00","InoutPar":{"WareCode":"R5036820201222UV28X","PosId":"3D0611AA0008","TrayNumber":109,"PlateH":8,"PlateW":7,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"B107
","rfidLoc":0}}
{"TrayNum":109,"IsFull":true,"InOrOutStore":1,"ShowMsg":"","LastUpdateTime":"2021-01-1
5T18:26:04.5053762+08:00","InoutPar":{"WareCode":"R203082020122404182","PosId":"3D0482AA0005","TrayNumber":109,"PlateH":8,"PlateW":7,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"B130
","rfidLoc":0}}
{"TrayNum":110,"IsFull":true,"InOrOutStore":
1,"ShowMsg":"","LastUpdateTime":"2021-01-13T10:40:38.1966722+08:00","InoutPar":{"WareCode":"R008062020112700764","PosId":"3D0311AA0008","TrayNumber":110,"PlateH":8,"PlateW":7,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"B123","rfidLoc":0
}}
{"TrayNum":110,"IsFull":true,"InOrOutStore":
2,"ShowMsg":"","LastUpdateTime":"2021-01-15T16:59:06.9779507+08:00","InoutPar":{"WareCode":"R516642020110499776","PosId":"3D1410AA0002","TrayNumber":110,"PlateH":12,"PlateW":15,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":true,"smallReel":false,"rfid":"2-0B","rfidLoc":-1
}}
{"TrayNum":111,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-1
3T10:45:43.9671613
+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":111,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0}}
{"TrayNum":111,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-1
5T18:17:24.1026108
+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":111,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0}}
{"TrayNum":112,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-1
3T10:45:29.678344
+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":112,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0}}
{"TrayNum":112,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-1
5T18:25:20.2118427
+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":112,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0}}
{"TrayNum":113,"IsFull":
false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-13T10:45:15.709545+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":113,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0
}}
{"TrayNum":113,"IsFull":
true,"InOrOutStore":2,"ShowMsg":"","LastUpdateTime":"2021-01-15T17:02:14.5786808+08:00","InoutPar":{"WareCode":"R008062020122400640","PosId":"3D2231BB0020","TrayNumber":113,"PlateH":8,"PlateW":7,"InStoreNg":false,"NgMsg":"","urgentReel":true,"cutReel":false,"smallReel":true,"rfid":"1-0B","rfidLoc":-1
}}
{"TrayNum":114,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-1
3T10:46:08.3795576
+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":114,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0}}
{"TrayNum":114,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-1
5T18:14:07.3413567
+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":114,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0}}
{"TrayNum":115,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-1
3T10:45:09.6531986
+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":115,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0}}
{"TrayNum":115,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-1
5T18:24:33.8921934
+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":115,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0}}
{"TrayNum":116,"IsFull":
true,"InOrOutStore":2,"ShowMsg":"","LastUpdateTime":"2021-01-13T10:41:59.946348+08:00","InoutPar":{"WareCode":"R508542020111230065","PosId":"3D0241AA0011","TrayNumber":116,"PlateH":8,"PlateW":7,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":true,"rfid":"73634-0D","rfidLoc":-1
}}
{"TrayNum":116,"IsFull":
false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-15T18:15:07.8828195+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":116,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0
}}
{"TrayNum":117,"IsFull":true,"InOrOutStore":
2,"ShowMsg":"","LastUpdateTime":"2021-01-13T10:39:53.6371236+08:00","InoutPar":{"WareCode":"R821872020091410733","PosId":"3D0311AA0008","TrayNumber":117,"PlateH":8,"PlateW":7,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":true,"rfid":"73634-0D","rfidLoc":-1
}}
{"TrayNum":117,"IsFull":true,"InOrOutStore":
1,"ShowMsg":"","LastUpdateTime":"2021-01-15T18:25:27.0652347+08:00","InoutPar":{"WareCode":"R203082021010700898","PosId":"3D0331BB0004","TrayNumber":117,"PlateH":8,"PlateW":7,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"B118","rfidLoc":0
}}
{"TrayNum":118,"IsFull":
true,"InOrOutStore":2,"ShowMsg":"","LastUpdateTime":"2021-01-13T10:43:47.6525085+08:00","InoutPar":{"WareCode":"R033512020111600729","PosId":"3D0131AA0010","TrayNumber":118,"PlateH":8,"PlateW":7,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":true,"rfid":"73634-0D","rfidLoc":-1
}}
{"TrayNum":118,"IsFull":
false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-15T18:25:04.0649192+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":118,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0
}}
{"TrayNum":119,"IsFull":
true,"InOrOutStore":2,"ShowMsg":"","LastUpdateTime":"2021-01-13T10:42:18.0423831+08:00","InoutPar":{"WareCode":"R014212020092601163","PosId":"3D0141AA0009","TrayNumber":119,"PlateH":8,"PlateW":7,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":true,"rfid":"73634-0D","rfidLoc":-1
}}
{"TrayNum":119,"IsFull":
false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-15T18:25:05.8710225+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":119,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0
}}
{"TrayNum":120,"IsFull":
true,"InOrOutStore":2,"ShowMsg":"","LastUpdateTime":"2021-01-13T10:39:33.4589694+08:00","InoutPar":{"WareCode":"R201492020112685393","PosId":"3D0221AA0002","TrayNumber":120,"PlateH":8,"PlateW":7,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":true,"rfid":"73634-0D","rfidLoc":-1
}}
{"TrayNum":120,"IsFull":
false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-15T18:24:18.3413039+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":120,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0
}}
{"TrayNum":121,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-1
3T10:45:53.3716992
+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":121,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0}}
{"TrayNum":121,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-1
5T18:16:38.5520055
+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":121,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0}}
{"TrayNum":122,"IsFull":
true,"InOrOutStore":2,"ShowMsg":"","LastUpdateTime":"2021-01-13T10:40:55.799679+08:00","InoutPar":{"WareCode":"S20123101940","PosId":"3D2231AA0002","TrayNumber":122,"PlateH":8,"PlateW":7,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":true,"rfid":"73634-0D","rfidLoc":-1
}}
{"TrayNum":122,"IsFull":
false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-15T18:22:58.0147095+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":122,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0
}}
{"TrayNum":123,"IsFull":true,"InOrOutStore":
2,"ShowMsg":"","LastUpdateTime":"2021-01-13T10:43:13.5805597+08:00","InoutPar":{"WareCode":"R5036820201125UU14V","PosId":"3D0152AA0008","TrayNumber":123,"PlateH":8,"PlateW":7,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":true,"rfid":"73634-0D","rfidLoc":-1
}}
{"TrayNum":123,"IsFull":true,"InOrOutStore":
1,"ShowMsg":"","LastUpdateTime":"2021-01-15T18:20:15.0673895+08:00","InoutPar":{"WareCode":"R0052320201125G5574","PosId":"3D1360AA0002","TrayNumber":123,"PlateH":24,"PlateW":13,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"B112","rfidLoc":0
}}
{"TrayNum":124,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-1
3T10:45:30.2463765
+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":124,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0}}
{"TrayNum":124,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-1
5T18:24:50.9721703
+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":124,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0}}
{"TrayNum":125,"IsFull":
true,"InOrOutStore":2,"ShowMsg":"","LastUpdateTime":"2021-01-13T10:42:35.5203827+08:00","InoutPar":{"WareCode":"R201882020101900121","PosId":"3D0262AA0019","TrayNumber":125,"PlateH":8,"PlateW":7,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":true,"rfid":"73634-0D","rfidLoc":-1
}}
{"TrayNum":125,"IsFull":
false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-15T18:11:28.421267+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":125,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0
}}
{"TrayNum":126,"IsFull":true,"InOrOutStore":2,"ShowMsg":"","LastUpdateTime":"2021-01-1
3T10:40:33.6014094+08:00","InoutPar":{"WareCode":"R014212020112800003","PosId":"3D0112AA0003","TrayNumber":126,"PlateH":8,"PlateW":7,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":true,"rfid":"73634-0D
","rfidLoc":-1}}
{"TrayNum":126,"IsFull":true,"InOrOutStore":2,"ShowMsg":"","LastUpdateTime":"2021-01-1
5T18:22:38.4085881+08:00","InoutPar":{"WareCode":"R201492020112685742","PosId":"3D2011AA0004","TrayNumber":126,"PlateH":8,"PlateW":7,"InStoreNg":false,"NgMsg":"","urgentReel":true,"cutReel":false,"smallReel":true,"rfid":"1-0B
","rfidLoc":-1}}
{"TrayNum":127,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-1
3T10:45:23.3759835
+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":127,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0}}
{"TrayNum":127,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-1
5T18:03:31.0569633
+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":127,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0}}
{"TrayNum":128,"IsFull":true,"InOrOutStore":2,"ShowMsg":"","LastUpdateTime":"2021-01-1
3T10:40:08.9089971+08:00","InoutPar":{"WareCode":"R503562020102424TZL","PosId":"3D2252AA0001","TrayNumber":128,"PlateH":8,"PlateW":7,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":true,"rfid":"73634-0D","rfidLoc":-1
}}
{"TrayNum":128,"IsFull":true,"InOrOutStore":2,"ShowMsg":"","LastUpdateTime":"2021-01-1
5T16:02:33.642863+08:00","InoutPar":{"WareCode":"","PosId":"3D0732AA0002","TrayNumber":128,"PlateH":8,"PlateW":7,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0
}}
{"TrayNum":129,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-1
3T10:42:53.0713866
+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":129,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0}}
{"TrayNum":129,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-1
5T18:15:06.3127297
+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":129,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0}}
{"TrayNum":130,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-1
3T10:46:13.3258405
+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":130,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0}}
{"TrayNum":130,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-1
5T18:25:22.7849899
+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":130,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0}}
{"TrayNum":131,"IsFull":
false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-13T10:41:45.0814978+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":131,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"
","rfidLoc":0}}
{"TrayNum":131,"IsFull":
true,"InOrOutStore":1,"ShowMsg":"","LastUpdateTime":"2021-01-15T18:25:35.1806989+08:00","InoutPar":{"WareCode":"R203082020122404183","PosId":"3D0331BB0003","TrayNumber":131,"PlateH":8,"PlateW":7,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"B130
","rfidLoc":0}}
{"TrayNum":132,"IsFull":
true,"InOrOutStore":2,"ShowMsg":"","LastUpdateTime":"2021-01-13T10:39:56.1502673+08:00","InoutPar":{"WareCode":"R203082020120305311","PosId":"3D0721AA0004","TrayNumber":132,"PlateH":8,"PlateW":7,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":true,"rfid":"73634-0D","rfidLoc":-1
}}
{"TrayNum":132,"IsFull":
false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-15T18:16:38.9180264+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":132,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0
}}
{"TrayNum":133,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-1
3T10:46:04.6463441
+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":133,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0}}
{"TrayNum":133,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-1
5T18:08:46.2369906
+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":133,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0}}
{"TrayNum":134,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-1
3T10:45:47.1493433
+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":134,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0}}
{"TrayNum":134,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-1
5T18:14:45.3685318
+08:00","InoutPar":{"WareCode":"","PosId":"","TrayNumber":134,"PlateH":0,"PlateW":0,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"","rfidLoc":0}}
{"TrayNum":135,"IsFull":true,"InOrOutStore":1,"ShowMsg":"","LastUpdateTime":"2021-01-1
3T10:45:37.0927681+08:00","InoutPar":{"WareCode":"R508542020111230003","PosId":"3D0811AA0001","TrayNumber":135,"PlateH":8,"PlateW":7,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"B115
","rfidLoc":0}}
{"TrayNum":135,"IsFull":true,"InOrOutStore":1,"ShowMsg":"","LastUpdateTime":"2021-01-1
5T18:25:59.2000727+08:00","InoutPar":{"WareCode":"R203082021010700897","PosId":"3D0122CC0014","TrayNumber":135,"PlateH":8,"PlateW":7,"InStoreNg":false,"NgMsg":"","urgentReel":false,"cutReel":false,"smallReel":false,"rfid":"B118
","rfidLoc":0}}
source/DeviceLibrary/LineConfig/_system~.ini
0 → 100644
查看文件 @
38029e5
文件属性发生变化
source/DeviceLibrary/assemblyLine/HY/HY_C1Line.cs
查看文件 @
38029e5
...
@@ -29,7 +29,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -29,7 +29,7 @@ namespace OnlineStore.DeviceLibrary
return
false
;
return
false
;
}
}
mainTimer
.
Enabled
=
false
;
mainTimer
.
Enabled
=
false
;
MoveInfo
.
EndMove
();
MoveInfo
.
EndMove
();
runStatus
=
LineRunStatus
.
HomeMoving
;
runStatus
=
LineRunStatus
.
HomeMoving
;
MoveInfo
.
NewMove
(
LineMoveType
.
RHome
);
MoveInfo
.
NewMove
(
LineMoveType
.
RHome
);
StartReset
();
StartReset
();
...
@@ -42,7 +42,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -42,7 +42,7 @@ namespace OnlineStore.DeviceLibrary
public
override
bool
Reset
()
public
override
bool
Reset
()
{
{
StopMove
();
StopMove
();
runStatus
=
LineRunStatus
.
Reset
;
runStatus
=
LineRunStatus
.
Reset
;
MoveInfo
.
NewMove
(
LineMoveType
.
Reset
);
MoveInfo
.
NewMove
(
LineMoveType
.
Reset
);
StartReset
();
StartReset
();
return
true
;
return
true
;
...
@@ -50,7 +50,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -50,7 +50,7 @@ namespace OnlineStore.DeviceLibrary
private
void
StartReset
()
private
void
StartReset
()
{
{
ResetClearData
();
ResetClearData
();
SecondMoveInfo
.
EndMove
();
SecondMoveInfo
.
EndMove
();
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
HY_R_01StopMove
);
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
HY_R_01StopMove
);
LogInfo
(
"开始"
+
MoveInfo
.
MoveType
+
": 横移线体停止,阻挡上升,侧挡气缸上升 "
);
LogInfo
(
"开始"
+
MoveInfo
.
MoveType
+
": 横移线体停止,阻挡上升,侧挡气缸上升 "
);
...
@@ -59,16 +59,16 @@ namespace OnlineStore.DeviceLibrary
...
@@ -59,16 +59,16 @@ namespace OnlineStore.DeviceLibrary
if
(
IsDebug
)
if
(
IsDebug
)
{
{
IOMove
(
IO_Type
.
HY_FrontStopDown
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
HY_FrontStopDown
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
HY_StopDown
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
HY_StopDown
,
IO_VALUE
.
HIGH
);
}
}
else
else
{
{
IOMove
(
IO_Type
.
HY_FrontStopDown
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
HY_FrontStopDown
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
HY_StopDown
,
IO_VALUE
.
LOW
);
IOMove
(
IO_Type
.
HY_StopDown
,
IO_VALUE
.
LOW
);
}
}
LineStop
();
LineStop
();
CylinderMove
(
null
,
IO_Type
.
HY_TopCylinder_Up
,
IO_Type
.
HY_TopCylinder_Down
);
CylinderMove
(
null
,
IO_Type
.
HY_TopCylinder_Up
,
IO_Type
.
HY_TopCylinder_Down
);
isInPro
=
false
;
isInPro
=
false
;
}
}
...
@@ -87,7 +87,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -87,7 +87,7 @@ namespace OnlineStore.DeviceLibrary
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
HY_R_02StopMove
);
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
HY_R_02StopMove
);
DebugInfo
(
MoveInfo
.
MoveType
+
" : 顶升气缸下降,阻挡气缸上升"
);
DebugInfo
(
MoveInfo
.
MoveType
+
" : 顶升气缸下降,阻挡气缸上升"
);
CylinderMove
(
MoveInfo
,
IO_Type
.
HY_TopCylinder_Up
,
IO_Type
.
HY_TopCylinder_Down
);
CylinderMove
(
MoveInfo
,
IO_Type
.
HY_TopCylinder_Up
,
IO_Type
.
HY_TopCylinder_Down
);
HY_StopCylinderUp
(
MoveInfo
);
HY_StopCylinderUp
(
MoveInfo
);
OL_StopCylinderUp
(
MoveInfo
);
OL_StopCylinderUp
(
MoveInfo
);
isInPro
=
false
;
isInPro
=
false
;
...
@@ -178,7 +178,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -178,7 +178,7 @@ namespace OnlineStore.DeviceLibrary
}
}
}
}
private
Stopwatch
trayCheckWait
=
new
Stopwatch
();
//检测到托盘的时间
private
Stopwatch
trayCheckWait
=
new
Stopwatch
();
//检测到托盘的时间
private
Stopwatch
frontTrayCheckWait
=
new
Stopwatch
();
private
Stopwatch
frontTrayCheckWait
=
new
Stopwatch
();
private
Stopwatch
trayCheckLowWait
=
new
Stopwatch
();
//上一个托盘离开的时间
private
Stopwatch
trayCheckLowWait
=
new
Stopwatch
();
//上一个托盘离开的时间
...
@@ -216,13 +216,13 @@ namespace OnlineStore.DeviceLibrary
...
@@ -216,13 +216,13 @@ namespace OnlineStore.DeviceLibrary
olcheckWatch
.
Stop
();
olcheckWatch
.
Stop
();
}
}
}
}
private
void
CheckFixture
()
private
void
CheckFixture
()
{
{
if
(
Monitor
.
TryEnter
(
lockObj
,
100
))
if
(
Monitor
.
TryEnter
(
lockObj
,
100
))
{
{
try
try
{
{
if
(
MoveInfo
.
MoveType
.
Equals
(
LineMoveType
.
None
).
Equals
(
false
))
if
(
MoveInfo
.
MoveType
.
Equals
(
LineMoveType
.
None
).
Equals
(
false
))
{
{
LogUtil
.
error
(
Name
+
" CheckFixture "
+
" 不在空闲中,直接返回 "
);
LogUtil
.
error
(
Name
+
" CheckFixture "
+
" 不在空闲中,直接返回 "
);
...
@@ -239,7 +239,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -239,7 +239,7 @@ namespace OnlineStore.DeviceLibrary
runStatus
=
LineRunStatus
.
Busy
;
runStatus
=
LineRunStatus
.
Busy
;
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
HY03_FrontStopUp
);
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
HY03_FrontStopUp
);
if
(
DeviceID
.
Equals
(
219
))
if
(
DeviceID
.
Equals
(
219
))
{
{
LogInfo
(
"托盘检测,"
+
MoveInfo
.
SLog
+
" 检测到托盘 ,阻挡上升"
);
LogInfo
(
"托盘检测,"
+
MoveInfo
.
SLog
+
" 检测到托盘 ,阻挡上升"
);
}
}
else
else
...
@@ -318,7 +318,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -318,7 +318,7 @@ namespace OnlineStore.DeviceLibrary
}
}
private
void
HY71_OL_Wait
()
private
void
HY71_OL_Wait
()
{
{
bool
check2IsOk
=
CheckStopWatch
(
trayCheckLowWait
,
TrayWaitTime
,
false
)
||
String
.
IsNullOrEmpty
(
RFIDIP
);
bool
check2IsOk
=
CheckStopWatch
(
trayCheckLowWait
,
TrayWaitTime
,
false
)
||
String
.
IsNullOrEmpty
(
RFIDIP
);
if
(
CheckStopWatch
(
olcheckWatch
,
TrayWaitTime
,
false
)
&&
check2IsOk
)
if
(
CheckStopWatch
(
olcheckWatch
,
TrayWaitTime
,
false
)
&&
check2IsOk
)
{
{
preTrayIsC1Line
=
false
;
preTrayIsC1Line
=
false
;
...
@@ -334,7 +334,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -334,7 +334,7 @@ namespace OnlineStore.DeviceLibrary
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
HY_OL_Tray_Check
,
IO_VALUE
.
HIGH
));
MoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitIO
(
IO_Type
.
HY_OL_Tray_Check
,
IO_VALUE
.
HIGH
));
}
}
}
}
internal
void
HY03_FrontStopUp
()
internal
void
HY03_FrontStopUp
(
int
timeout
=
30000
)
{
{
frontTrayCheckWait
.
Stop
();
frontTrayCheckWait
.
Stop
();
trayCheckLowWait
.
Stop
();
trayCheckLowWait
.
Stop
();
...
@@ -526,14 +526,9 @@ namespace OnlineStore.DeviceLibrary
...
@@ -526,14 +526,9 @@ namespace OnlineStore.DeviceLibrary
#
region
C1
线分流横移入口处理
11
#
region
C1
线分流横移入口处理
11
else
if
(
MoveInfo
.
IsStep
(
LineMoveStep
.
HY11_TopUpToHY
))
else
if
(
MoveInfo
.
IsStep
(
LineMoveStep
.
HY11_TopUpToHY
))
{
{
// MoveInfo.NextMoveStep(LineMoveStep.HY12_WaitHY2Free);
HY_C1Line
hyout
=(
HY_C1Line
)
GetHyOutEquip
();
// CheckLog("托盘横移" + MoveInfo.SLog + " ,等待HY" + HyOutDeviceId + " 空闲,可以开始横移 ");
if
(
hyout
.
HYOut51_WaitFree
())
//}
//else if (MoveInfo.IsStep(LineMoveStep.HY12_WaitHY2Free))
//{
HYEquipBase
hyout
=
GetHyOutEquip
();
if
(
hyout
.
CanStartMove
())
{
{
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
HY13_WaitHY2Ready
);
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
HY13_WaitHY2Ready
);
CheckLog
(
"托盘横移"
+
MoveInfo
.
SLog
+
" ,等待"
+
hyout
.
Name
+
" 准备完成(顶升上升,定位下降) "
);
CheckLog
(
"托盘横移"
+
MoveInfo
.
SLog
+
" ,等待"
+
hyout
.
Name
+
" 准备完成(顶升上升,定位下降) "
);
...
@@ -541,9 +536,9 @@ namespace OnlineStore.DeviceLibrary
...
@@ -541,9 +536,9 @@ namespace OnlineStore.DeviceLibrary
HY_StopCylinderDown
(
MoveInfo
);
HY_StopCylinderDown
(
MoveInfo
);
OL_StopCylinderUp
(
MoveInfo
);
OL_StopCylinderUp
(
MoveInfo
);
hyout
.
MoveInfo
.
NewMove
(
LineMoveType
.
Fixture
);
//
hyout.MoveInfo.NewMove(LineMoveType.Fixture);
hyout
.
runStatus
=
LineRunStatus
.
Busy
;
//
hyout.runStatus = LineRunStatus.Busy;
hyout
.
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
HY51_WaitFree
);
//
hyout.MoveInfo.NextMoveStep(LineMoveStep.HY51_WaitFree);
ClearTimeoutAlarm
(
"等待"
+
hyout
.
Name
+
"可以横移超时"
);
ClearTimeoutAlarm
(
"等待"
+
hyout
.
Name
+
"可以横移超时"
);
}
}
else
if
(
MoveInfo
.
IsTimeOut
())
else
if
(
MoveInfo
.
IsTimeOut
())
...
@@ -813,7 +808,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -813,7 +808,7 @@ namespace OnlineStore.DeviceLibrary
}
}
private
void
HY31_IOL_TopUp
()
private
void
HY31_IOL_TopUp
()
{
{
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
HY31_IOL_TopUp
);
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
HY31_IOL_TopUp
);
CheckLog
(
"托盘阻挡"
+
MoveInfo
.
SLog
+
" 开始C1->出料线横移,横移电机停止,顶升上升,横移阻挡气缸上升,出料线阻挡气缸下降"
);
CheckLog
(
"托盘阻挡"
+
MoveInfo
.
SLog
+
" 开始C1->出料线横移,横移电机停止,顶升上升,横移阻挡气缸上升,出料线阻挡气缸下降"
);
LineStop
(
MoveInfo
);
LineStop
(
MoveInfo
);
...
@@ -824,8 +819,8 @@ namespace OnlineStore.DeviceLibrary
...
@@ -824,8 +819,8 @@ namespace OnlineStore.DeviceLibrary
private
void
HY11_TopUpToHY
()
private
void
HY11_TopUpToHY
()
{
{
HY
EquipBase
hyout
=
GetHyOutEquip
();
HY
_C1Line
hyout
=(
HY_C1Line
)
GetHyOutEquip
();
if
(
hyout
.
CanStartMov
e
())
if
(
hyout
.
HYOut51_WaitFre
e
())
{
{
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
HY13_WaitHY2Ready
);
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
HY13_WaitHY2Ready
);
CheckLog
(
"托盘横移"
+
MoveInfo
.
SLog
+
" 开始C1->C1分流横移,顶升上升,横移阻挡气缸下降,出料线阻挡气缸上升,等待"
+
hyout
.
Name
+
" 准备完成(顶升上升,定位下降) "
);
CheckLog
(
"托盘横移"
+
MoveInfo
.
SLog
+
" 开始C1->C1分流横移,顶升上升,横移阻挡气缸下降,出料线阻挡气缸上升,等待"
+
hyout
.
Name
+
" 准备完成(顶升上升,定位下降) "
);
...
@@ -833,9 +828,9 @@ namespace OnlineStore.DeviceLibrary
...
@@ -833,9 +828,9 @@ namespace OnlineStore.DeviceLibrary
HY_StopCylinderDown
(
MoveInfo
);
HY_StopCylinderDown
(
MoveInfo
);
OL_StopCylinderUp
(
MoveInfo
);
OL_StopCylinderUp
(
MoveInfo
);
hyout
.
MoveInfo
.
NewMove
(
LineMoveType
.
Fixture
);
//
hyout.MoveInfo.NewMove(LineMoveType.Fixture);
hyout
.
runStatus
=
LineRunStatus
.
Busy
;
//
hyout.runStatus = LineRunStatus.Busy;
hyout
.
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
HY51_WaitFree
);
//
hyout.MoveInfo.NextMoveStep(LineMoveStep.HY51_WaitFree);
ClearTimeoutAlarm
(
"等待"
+
hyout
.
Name
+
"可以横移超时"
);
ClearTimeoutAlarm
(
"等待"
+
hyout
.
Name
+
"可以横移超时"
);
}
}
else
else
...
@@ -844,9 +839,9 @@ namespace OnlineStore.DeviceLibrary
...
@@ -844,9 +839,9 @@ namespace OnlineStore.DeviceLibrary
CheckLog
(
"托盘横移"
+
MoveInfo
.
SLog
+
" ,开始C1->C1分流横移,顶升上升,横移阻挡气缸下降,出料线阻挡气缸上升"
);
CheckLog
(
"托盘横移"
+
MoveInfo
.
SLog
+
" ,开始C1->C1分流横移,顶升上升,横移阻挡气缸下降,出料线阻挡气缸上升"
);
CylinderMove
(
MoveInfo
,
IO_Type
.
HY_TopCylinder_Down
,
IO_Type
.
HY_TopCylinder_Up
);
CylinderMove
(
MoveInfo
,
IO_Type
.
HY_TopCylinder_Down
,
IO_Type
.
HY_TopCylinder_Up
);
HY_StopCylinderDown
(
MoveInfo
);
HY_StopCylinderDown
(
MoveInfo
);
OL_StopCylinderUp
(
MoveInfo
);
OL_StopCylinderUp
(
MoveInfo
);
}
}
}
}
private
bool
TrayNeedHY
(
int
trayNum
)
private
bool
TrayNeedHY
(
int
trayNum
)
{
{
try
try
...
@@ -927,7 +922,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -927,7 +922,7 @@ namespace OnlineStore.DeviceLibrary
}
}
}
}
}
}
}
}
else
if
(
DeviceID
.
Equals
(
215
))
else
if
(
DeviceID
.
Equals
(
215
))
{
{
...
@@ -974,7 +969,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -974,7 +969,7 @@ namespace OnlineStore.DeviceLibrary
//如果横移20和横移21都有托盘,需要横移
//如果横移20和横移21都有托盘,需要横移
if
(
IOManager
.
IOValue
(
IO_Type
.
HY_TrayCheck
,
220
).
Equals
(
IO_VALUE
.
HIGH
)
&&
IOManager
.
IOValue
(
IO_Type
.
HY_TopCylinder_Up
,
220
).
Equals
(
IO_VALUE
.
HIGH
)
if
(
IOManager
.
IOValue
(
IO_Type
.
HY_TrayCheck
,
220
).
Equals
(
IO_VALUE
.
HIGH
)
&&
IOManager
.
IOValue
(
IO_Type
.
HY_TopCylinder_Up
,
220
).
Equals
(
IO_VALUE
.
HIGH
)
&&
IOManager
.
IOValue
(
IO_Type
.
HY_TrayCheck
,
221
).
Equals
(
IO_VALUE
.
HIGH
)
&&
IOManager
.
IOValue
(
IO_Type
.
HY_TopCylinder_Up
,
221
).
Equals
(
IO_VALUE
.
HIGH
))
&&
IOManager
.
IOValue
(
IO_Type
.
HY_TrayCheck
,
221
).
Equals
(
IO_VALUE
.
HIGH
)
&&
IOManager
.
IOValue
(
IO_Type
.
HY_TopCylinder_Up
,
221
).
Equals
(
IO_VALUE
.
HIGH
))
{
{
return
true
;
return
true
;
}
}
...
@@ -994,13 +989,13 @@ namespace OnlineStore.DeviceLibrary
...
@@ -994,13 +989,13 @@ namespace OnlineStore.DeviceLibrary
return
false
;
return
false
;
}
}
private
int
PreIsToOutCount
=
0
;
private
int
PreIsToOutCount
=
0
;
private
bool
TrayNeedToOutLine
(
int
trayNum
)
private
bool
TrayNeedToOutLine
(
int
trayNum
)
{
{
try
try
{
{
if
(
Config
.
IsOutLineIn
&&
trayNum
>
0
)
if
(
Config
.
IsOutLineIn
&&
trayNum
>
0
)
{
{
//判断是否禁用
//判断是否禁用
if
(
LineManager
.
DisLeftOutLine
&&
(
DeviceID
.
Equals
(
204
)
||
DeviceID
.
Equals
(
206
)))
if
(
LineManager
.
DisLeftOutLine
&&
(
DeviceID
.
Equals
(
204
)
||
DeviceID
.
Equals
(
206
)))
{
{
...
@@ -1055,10 +1050,10 @@ namespace OnlineStore.DeviceLibrary
...
@@ -1055,10 +1050,10 @@ namespace OnlineStore.DeviceLibrary
// return true;
// return true;
//}
//}
else
if
(
trayInfo
.
InOrOutStore
.
Equals
(
ReelType
.
OutStore
)
&&
param
.
urgentReel
.
Equals
(
false
)
&&
param
.
cutReel
.
Equals
(
false
))
else
if
(
trayInfo
.
InOrOutStore
.
Equals
(
ReelType
.
OutStore
)
&&
param
.
urgentReel
.
Equals
(
false
)
&&
param
.
cutReel
.
Equals
(
false
))
{
{
//LogInfo(" C1->出料线:工单料" + "" + param.ToStr());
//LogInfo(" C1->出料线:工单料" + "" + param.ToStr());
List
<
int
>
leftLineList
=
new
List
<
int
>
{
204
,
206
};
List
<
int
>
leftLineList
=
new
List
<
int
>
{
204
,
206
};
List
<
int
>
rightLineList
=
new
List
<
int
>
{
213
,
216
};
List
<
int
>
rightLineList
=
new
List
<
int
>
{
213
,
216
};
List
<
int
>
mustLine
=
new
List
<
int
>();
List
<
int
>
mustLine
=
new
List
<
int
>();
List
<
int
>
firstLine
=
new
List
<
int
>();
List
<
int
>
firstLine
=
new
List
<
int
>();
...
@@ -1109,7 +1104,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -1109,7 +1104,7 @@ namespace OnlineStore.DeviceLibrary
firstLine
=
new
List
<
int
>(
rightLineList
);
firstLine
=
new
List
<
int
>(
rightLineList
);
}
}
}
}
if
(
mustLine
.
Count
>
0
)
if
(
mustLine
.
Count
>
0
)
{
{
if
(
mustLine
.
Contains
(
DeviceID
))
if
(
mustLine
.
Contains
(
DeviceID
))
...
@@ -1141,7 +1136,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -1141,7 +1136,7 @@ namespace OnlineStore.DeviceLibrary
else
else
{
{
if
(
DeviceID
.
Equals
(
216
))
if
(
DeviceID
.
Equals
(
216
))
{
{
if
(
LeftLinePriority
())
if
(
LeftLinePriority
())
{
{
return
false
;
return
false
;
...
@@ -1150,7 +1145,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -1150,7 +1145,7 @@ namespace OnlineStore.DeviceLibrary
if
(
LastValue
.
Equals
(
2
))
if
(
LastValue
.
Equals
(
2
))
{
{
LogInfo
(
" C1->出料线:工单料,随意放"
+
LastValue
+
","
+
""
+
param
.
ToStr
());
LogInfo
(
" C1->出料线:工单料,随意放"
+
LastValue
+
","
+
""
+
param
.
ToStr
());
LastValue
=
0
;
LastValue
=
0
;
MoveInfo
.
MoveParam
=
param
;
MoveInfo
.
MoveParam
=
param
;
return
true
;
return
true
;
}
}
...
@@ -1218,7 +1213,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -1218,7 +1213,7 @@ namespace OnlineStore.DeviceLibrary
if
(!
LineManager
.
DisRightOutLine
)
if
(!
LineManager
.
DisRightOutLine
)
{
{
HYEquipBase
hy14
=
LineManager
.
Line
.
HYEquipMap
[
214
];
HYEquipBase
hy14
=
LineManager
.
Line
.
HYEquipMap
[
214
];
HYEquipBase
hy7
=
LineManager
.
Line
.
HYEquipMap
[
207
];
HYEquipBase
hy7
=
LineManager
.
Line
.
HYEquipMap
[
207
];
if
(
hy7
.
IOValue
(
IO_Type
.
HY_OL_Full_Check
).
Equals
(
IO_VALUE
.
HIGH
)
&&
hy14
.
IOValue
(
IO_Type
.
HY_OL_Full_Check
).
Equals
(
IO_VALUE
.
LOW
))
if
(
hy7
.
IOValue
(
IO_Type
.
HY_OL_Full_Check
).
Equals
(
IO_VALUE
.
HIGH
)
&&
hy14
.
IOValue
(
IO_Type
.
HY_OL_Full_Check
).
Equals
(
IO_VALUE
.
LOW
))
{
{
return
true
;
return
true
;
...
@@ -1229,6 +1224,79 @@ namespace OnlineStore.DeviceLibrary
...
@@ -1229,6 +1224,79 @@ namespace OnlineStore.DeviceLibrary
private
int
LastValue
=
0
;
private
int
LastValue
=
0
;
internal
bool
Move5Stop2Down
()
{
if
(
DeviceID
.
Equals
(
208
))
{
if
(
Monitor
.
TryEnter
(
lockObj
,
100
))
{
try
{
if
(
runStatus
<=
LineRunStatus
.
Wait
)
{
return
true
;
}
else
if
(
MoveInfo
.
MoveType
.
Equals
(
LineMoveType
.
None
))
{
if
(
runStatus
>
LineRunStatus
.
Wait
&&
MoveInfo
.
MoveType
.
Equals
(
LineMoveType
.
None
))
{
LogUtil
.
debug
(
"进仓05托盘离开,"
+
Name
+
"开始等待托盘检测信号 HY03_FrontStopUp"
);
HY03_FrontStopUp
(
60000
);
return
true
;
}
}
}
catch
(
Exception
ex
)
{
LogUtil
.
error
(
Name
+
" Move5Stop2Down "
+
" 出错:"
+
ex
.
ToString
());
}
finally
{
Monitor
.
Exit
(
lockObj
);
}
}
else
{
LogUtil
.
error
(
Name
+
" Move5Stop2Down 失败,未得到锁"
);
return
false
;
}
}
else
{
return
true
;
}
return
false
;
}
internal
bool
HYOut51_WaitFree
()
{
if
(
Monitor
.
TryEnter
(
lockObj
,
100
))
{
try
{
if
(
CanStartMove
())
{
MoveInfo
.
NewMove
(
LineMoveType
.
Fixture
);
runStatus
=
LineRunStatus
.
Busy
;
MoveInfo
.
NextMoveStep
(
LineMoveStep
.
HY51_WaitFree
);
return
true
;
}
}
catch
(
Exception
ex
)
{
LogUtil
.
error
(
Name
+
" HYOut51_WaitFree "
+
" 出错:"
+
ex
.
ToString
());
}
finally
{
Monitor
.
Exit
(
lockObj
);
}
}
else
{
LogUtil
.
error
(
Name
+
" HYOut51_WaitFree 失败,未得到锁"
);
}
return
false
;
}
#
region
阻挡气缸处理
#
region
阻挡气缸处理
private
void
HY_StopCylinderUp
(
LineMoveInfo
moveinfo
=
null
)
private
void
HY_StopCylinderUp
(
LineMoveInfo
moveinfo
=
null
)
...
@@ -1316,7 +1384,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -1316,7 +1384,7 @@ namespace OnlineStore.DeviceLibrary
IOMove
(
IO_Type
.
HY_FrontStopDown
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
HY_FrontStopDown
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
HY_StopDown
,
IO_VALUE
.
HIGH
);
IOMove
(
IO_Type
.
HY_StopDown
,
IO_VALUE
.
HIGH
);
CylinderMove
(
null
,
IO_Type
.
HY_TopCylinder_Up
,
IO_Type
.
HY_TopCylinder_Down
);
CylinderMove
(
null
,
IO_Type
.
HY_TopCylinder_Up
,
IO_Type
.
HY_TopCylinder_Down
);
HY_StopCylinderUp
();
HY_StopCylinderUp
();
OL_StopCylinderUp
();
OL_StopCylinderUp
();
}
}
...
...
source/DeviceLibrary/assemblyLine/LineBean_Partial.cs
查看文件 @
38029e5
...
@@ -438,41 +438,34 @@ namespace OnlineStore.DeviceLibrary
...
@@ -438,41 +438,34 @@ namespace OnlineStore.DeviceLibrary
if
(
HYEquipMap
.
ContainsKey
(
208
))
if
(
HYEquipMap
.
ContainsKey
(
208
))
{
{
HYEquipBase
hy8
=
HYEquipMap
[
208
];
HY_C1Line
hy8
=
(
HY_C1Line
)
HYEquipMap
[
208
];
if
(
hy8
.
runStatus
<=
LineRunStatus
.
Wait
)
return
hy8
.
Move5Stop2Down
();
{
return
true
;
}
else
if
(
hy8
.
MoveInfo
.
MoveType
.
Equals
(
LineMoveType
.
None
))
{
return
true
;
}
}
}
return
false
;
return
false
;
}
}
internal
void
Move5Stop2Down
(
int
deviceId
)
//
internal void Move5Stop2Down(int deviceId)
{
//
{
try
//
try
{
//
{
if
(!
deviceId
.
Equals
(
5
))
//
if (!deviceId.Equals(5))
{
//
{
return
;
//
return;
}
//
}
if
(
HYEquipMap
.
ContainsKey
(
208
))
//
if (HYEquipMap.ContainsKey(208))
{
//
{
HY_C1Line
hy8
=
(
HY_C1Line
)
HYEquipMap
[
208
];
//
HY_C1Line hy8 = (HY_C1Line)HYEquipMap[208];
if
(
hy8
.
runStatus
>
LineRunStatus
.
Wait
&&
hy8
.
MoveInfo
.
MoveType
.
Equals
(
LineMoveType
.
None
))
//
if (hy8.runStatus > LineRunStatus.Wait && hy8.MoveInfo.MoveType.Equals(LineMoveType.None))
{
//
{
LogUtil
.
debug
(
"进仓05托盘离开,"
+
hy8
.
Name
+
"开始等待托盘检测信号 HY03_FrontStopUp"
);
//
LogUtil.debug("进仓05托盘离开," + hy8.Name + "开始等待托盘检测信号 HY03_FrontStopUp");
hy8
.
HY03_FrontStopUp
();
//
hy8.HY03_FrontStopUp();
}
//
}
}
//
}
}
//
}
catch
(
Exception
ex
)
//
catch (Exception ex)
{
//
{
LogUtil
.
error
(
"Move5Stop2Down["
+
deviceId
+
"]出错:"
+
ex
.
ToString
());
//
LogUtil.error("Move5Stop2Down[" + deviceId + "]出错:" + ex.ToString());
}
//
}
}
//
}
}
}
}
}
source/DeviceLibrary/assemblyLine/MoveEquip_Partial.cs
查看文件 @
38029e5
...
@@ -929,7 +929,7 @@ namespace OnlineStore.DeviceLibrary
...
@@ -929,7 +929,7 @@ namespace OnlineStore.DeviceLibrary
CheckLog
(
"托盘放行 "
+
SecondMoveInfo
.
SLog
+
" , 等待300ms后阻挡2上升"
);
CheckLog
(
"托盘放行 "
+
SecondMoveInfo
.
SLog
+
" , 等待300ms后阻挡2上升"
);
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
300
));
SecondMoveInfo
.
WaitList
.
Add
(
WaitResultInfo
.
WaitTime
(
300
));
LineManager
.
Line
.
Move5Stop2Down
(
DeviceID
);
//
LineManager.Line.Move5Stop2Down(DeviceID);
}
}
else
if
(
SecondMoveInfo
.
IsStep
(
LineMoveStep
.
MO_18_WaitTime
))
else
if
(
SecondMoveInfo
.
IsStep
(
LineMoveStep
.
MO_18_WaitTime
))
{
{
...
...
source/DeviceLibrary/server/LineServer.cs
查看文件 @
38029e5
...
@@ -173,6 +173,18 @@ namespace OnlineStore.DeviceLibrary
...
@@ -173,6 +173,18 @@ namespace OnlineStore.DeviceLibrary
IdList
.
Add
(
i
);
IdList
.
Add
(
i
);
}
}
}
}
else
if
(
num
.
Equals
(
2
))
{
IdList
=
new
List
<
int
>()
{
4
,
3
,
2
,
1
};
for
(
int
i
=
5
;
i
<=
12
;
i
++)
{
IdList
.
Add
(
i
);
}
for
(
int
i
=
24
;
i
>=
13
;
i
--)
{
IdList
.
Add
(
i
);
}
}
else
else
{
{
for
(
int
i
=
1
;
i
<=
12
;
i
++)
for
(
int
i
=
1
;
i
<=
12
;
i
++)
...
...
编写
预览
支持
Markdown
格式
附加文件
你添加了
0
人
到此讨论。请谨慎行事。
Finish editing this message first!
Cancel
请
注册
或
登录
后发表评论