Commit 38029e52 LN

横移逻辑优化

1 个父辈 8608cc51
......@@ -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
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,移栽上下轴P3取料位置,UpDownAxisP3,8800,,
PRO,0,移栽上下轴P3取料位置,UpDownAxisP3,8850,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,20000,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,20000,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,14000,,
......
......@@ -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
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,移栽上下轴P3取料位置,UpDownAxisP3,12200,,
PRO,0,移栽上下轴P3取料位置,UpDownAxisP3,12100,,
PRO,0,移栽上下轴P1速度,UpdownAxis_P1Speed,40000,,
PRO,0,移栽上下轴P2速度,UpdownAxis_P2Speed,40000,,
PRO,0,移栽上下轴P3速度,UpdownAxis_P3Speed,14000,,
......
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
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,,
类型,分类编号,说明,名称,属性值,设备名称,电器定义,目标速度,加速度,减速度,回零低速,回零高速,回零加速度,脉冲最小误差,脉冲最大误差,脉冲最小限位,脉冲最大限位
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,,
{"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":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":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":104,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-13T10: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":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":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":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":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":109,"IsFull":true,"InOrOutStore":1,"ShowMsg":"","LastUpdateTime":"2021-01-13T10: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":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":111,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-13T10: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":112,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-13T10: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":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":114,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-13T10: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":115,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-13T10: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":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":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":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":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":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":121,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-13T10: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":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":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":124,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-13T10: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":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":126,"IsFull":true,"InOrOutStore":2,"ShowMsg":"","LastUpdateTime":"2021-01-13T10: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":127,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-13T10: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":128,"IsFull":true,"InOrOutStore":2,"ShowMsg":"","LastUpdateTime":"2021-01-13T10: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":129,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-13T10: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":130,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-13T10: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":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":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":133,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-13T10: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":134,"IsFull":false,"InOrOutStore":0,"ShowMsg":"","LastUpdateTime":"2021-01-13T10: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":135,"IsFull":true,"InOrOutStore":1,"ShowMsg":"","LastUpdateTime":"2021-01-13T10: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":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":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":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-15T18: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":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":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":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":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-15T18: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":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-15T18: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-15T18: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":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-15T18: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-15T18: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":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":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":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":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":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-15T18: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":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":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-15T18: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":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-15T18: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-15T18: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-15T16: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-15T18: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-15T18: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":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":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-15T18: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-15T18: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-15T18: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}}
......@@ -29,7 +29,7 @@ namespace OnlineStore.DeviceLibrary
return false;
}
mainTimer.Enabled = false;
MoveInfo.EndMove();
MoveInfo.EndMove();
runStatus = LineRunStatus.HomeMoving;
MoveInfo.NewMove(LineMoveType.RHome);
StartReset();
......@@ -42,7 +42,7 @@ namespace OnlineStore.DeviceLibrary
public override bool Reset()
{
StopMove();
runStatus = LineRunStatus.Reset;
runStatus = LineRunStatus.Reset;
MoveInfo.NewMove(LineMoveType.Reset);
StartReset();
return true;
......@@ -50,7 +50,7 @@ namespace OnlineStore.DeviceLibrary
private void StartReset()
{
ResetClearData();
ResetClearData();
SecondMoveInfo.EndMove();
MoveInfo.NextMoveStep(LineMoveStep.HY_R_01StopMove);
LogInfo("开始" + MoveInfo.MoveType + ": 横移线体停止,阻挡上升,侧挡气缸上升 ");
......@@ -59,16 +59,16 @@ namespace OnlineStore.DeviceLibrary
if (IsDebug)
{
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
{
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();
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;
}
......@@ -87,7 +87,7 @@ namespace OnlineStore.DeviceLibrary
MoveInfo.NextMoveStep(LineMoveStep.HY_R_02StopMove);
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);
OL_StopCylinderUp(MoveInfo);
isInPro = false;
......@@ -178,7 +178,7 @@ namespace OnlineStore.DeviceLibrary
}
}
private Stopwatch trayCheckWait = new Stopwatch();//检测到托盘的时间
private Stopwatch frontTrayCheckWait = new Stopwatch();
private Stopwatch trayCheckLowWait = new Stopwatch();//上一个托盘离开的时间
......@@ -216,13 +216,13 @@ namespace OnlineStore.DeviceLibrary
olcheckWatch.Stop();
}
}
private void CheckFixture()
{
if (Monitor.TryEnter(lockObj, 100))
{
try
{
{
if (MoveInfo.MoveType.Equals(LineMoveType.None).Equals(false))
{
LogUtil.error(Name + " CheckFixture " + " 不在空闲中,直接返回 ");
......@@ -239,7 +239,7 @@ namespace OnlineStore.DeviceLibrary
runStatus = LineRunStatus.Busy;
MoveInfo.NextMoveStep(LineMoveStep.HY03_FrontStopUp);
if (DeviceID.Equals(219))
{
{
LogInfo("托盘检测," + MoveInfo.SLog + " 检测到托盘 ,阻挡上升");
}
else
......@@ -318,7 +318,7 @@ namespace OnlineStore.DeviceLibrary
}
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)
{
preTrayIsC1Line = false;
......@@ -334,7 +334,7 @@ namespace OnlineStore.DeviceLibrary
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();
trayCheckLowWait.Stop();
......@@ -526,14 +526,9 @@ namespace OnlineStore.DeviceLibrary
#region C1线分流横移入口处理 11
else if (MoveInfo.IsStep(LineMoveStep.HY11_TopUpToHY))
{
// MoveInfo.NextMoveStep(LineMoveStep.HY12_WaitHY2Free);
// CheckLog("托盘横移" + MoveInfo.SLog + " ,等待HY" + HyOutDeviceId + " 空闲,可以开始横移 ");
//}
//else if (MoveInfo.IsStep(LineMoveStep.HY12_WaitHY2Free))
//{
HYEquipBase hyout = GetHyOutEquip();
if (hyout.CanStartMove())
{
HY_C1Line hyout =(HY_C1Line) GetHyOutEquip();
if (hyout.HYOut51_WaitFree())
{
MoveInfo.NextMoveStep(LineMoveStep.HY13_WaitHY2Ready);
CheckLog("托盘横移" + MoveInfo.SLog + " ,等待" + hyout.Name + " 准备完成(顶升上升,定位下降) ");
......@@ -541,9 +536,9 @@ namespace OnlineStore.DeviceLibrary
HY_StopCylinderDown(MoveInfo);
OL_StopCylinderUp(MoveInfo);
hyout.MoveInfo.NewMove(LineMoveType.Fixture);
hyout.runStatus = LineRunStatus.Busy;
hyout.MoveInfo.NextMoveStep(LineMoveStep.HY51_WaitFree);
//hyout.MoveInfo.NewMove(LineMoveType.Fixture);
//hyout.runStatus = LineRunStatus.Busy;
//hyout.MoveInfo.NextMoveStep(LineMoveStep.HY51_WaitFree);
ClearTimeoutAlarm("等待" + hyout.Name + "可以横移超时");
}
else if (MoveInfo.IsTimeOut())
......@@ -813,7 +808,7 @@ namespace OnlineStore.DeviceLibrary
}
private void HY31_IOL_TopUp()
{
{
MoveInfo.NextMoveStep(LineMoveStep.HY31_IOL_TopUp);
CheckLog("托盘阻挡" + MoveInfo.SLog + " 开始C1->出料线横移,横移电机停止,顶升上升,横移阻挡气缸上升,出料线阻挡气缸下降");
LineStop(MoveInfo);
......@@ -824,8 +819,8 @@ namespace OnlineStore.DeviceLibrary
private void HY11_TopUpToHY()
{
HYEquipBase hyout = GetHyOutEquip();
if (hyout.CanStartMove())
HY_C1Line hyout =(HY_C1Line) GetHyOutEquip();
if (hyout.HYOut51_WaitFree())
{
MoveInfo.NextMoveStep(LineMoveStep.HY13_WaitHY2Ready);
CheckLog("托盘横移" + MoveInfo.SLog + " 开始C1->C1分流横移,顶升上升,横移阻挡气缸下降,出料线阻挡气缸上升,等待" + hyout.Name + " 准备完成(顶升上升,定位下降) ");
......@@ -833,9 +828,9 @@ namespace OnlineStore.DeviceLibrary
HY_StopCylinderDown(MoveInfo);
OL_StopCylinderUp(MoveInfo);
hyout.MoveInfo.NewMove(LineMoveType.Fixture);
hyout.runStatus = LineRunStatus.Busy;
hyout.MoveInfo.NextMoveStep(LineMoveStep.HY51_WaitFree);
//hyout.MoveInfo.NewMove(LineMoveType.Fixture);
//hyout.runStatus = LineRunStatus.Busy;
//hyout.MoveInfo.NextMoveStep(LineMoveStep.HY51_WaitFree);
ClearTimeoutAlarm("等待" + hyout.Name + "可以横移超时");
}
else
......@@ -844,9 +839,9 @@ namespace OnlineStore.DeviceLibrary
CheckLog("托盘横移" + MoveInfo.SLog + " ,开始C1->C1分流横移,顶升上升,横移阻挡气缸下降,出料线阻挡气缸上升");
CylinderMove(MoveInfo, IO_Type.HY_TopCylinder_Down, IO_Type.HY_TopCylinder_Up);
HY_StopCylinderDown(MoveInfo);
OL_StopCylinderUp(MoveInfo);
}
}
OL_StopCylinderUp(MoveInfo);
}
}
private bool TrayNeedHY(int trayNum)
{
try
......@@ -927,7 +922,7 @@ namespace OnlineStore.DeviceLibrary
}
}
}
}
else if (DeviceID.Equals(215))
{
......@@ -974,7 +969,7 @@ namespace OnlineStore.DeviceLibrary
//如果横移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)
&& 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;
}
......@@ -994,13 +989,13 @@ namespace OnlineStore.DeviceLibrary
return false;
}
private int PreIsToOutCount = 0;
private int PreIsToOutCount = 0;
private bool TrayNeedToOutLine(int trayNum)
{
try
{
{
if (Config.IsOutLineIn && trayNum > 0)
{
{
//判断是否禁用
if (LineManager.DisLeftOutLine && (DeviceID.Equals(204) || DeviceID.Equals(206)))
{
......@@ -1055,10 +1050,10 @@ namespace OnlineStore.DeviceLibrary
// return true;
//}
else if (trayInfo.InOrOutStore.Equals(ReelType.OutStore) && param.urgentReel.Equals(false) && param.cutReel.Equals(false))
{
{
//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> mustLine = new List<int>();
List<int> firstLine = new List<int>();
......@@ -1109,7 +1104,7 @@ namespace OnlineStore.DeviceLibrary
firstLine = new List<int>(rightLineList);
}
}
if (mustLine.Count > 0)
{
if (mustLine.Contains(DeviceID))
......@@ -1141,7 +1136,7 @@ namespace OnlineStore.DeviceLibrary
else
{
if (DeviceID.Equals(216))
{
{
if (LeftLinePriority())
{
return false;
......@@ -1150,7 +1145,7 @@ namespace OnlineStore.DeviceLibrary
if (LastValue.Equals(2))
{
LogInfo(" C1->出料线:工单料,随意放" + LastValue + "," + "" + param.ToStr());
LastValue = 0;
LastValue = 0;
MoveInfo.MoveParam = param;
return true;
}
......@@ -1218,7 +1213,7 @@ namespace OnlineStore.DeviceLibrary
if (!LineManager.DisRightOutLine)
{
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))
{
return true;
......@@ -1229,6 +1224,79 @@ namespace OnlineStore.DeviceLibrary
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 阻挡气缸处理
private void HY_StopCylinderUp(LineMoveInfo moveinfo = null)
......@@ -1316,7 +1384,7 @@ namespace OnlineStore.DeviceLibrary
IOMove(IO_Type.HY_FrontStopDown, 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();
OL_StopCylinderUp();
}
......
......@@ -438,41 +438,34 @@ namespace OnlineStore.DeviceLibrary
if (HYEquipMap.ContainsKey(208))
{
HYEquipBase hy8 = HYEquipMap[208];
if (hy8.runStatus <= LineRunStatus.Wait)
{
return true;
}
else if (hy8.MoveInfo.MoveType.Equals(LineMoveType.None))
{
return true;
}
HY_C1Line hy8 = (HY_C1Line)HYEquipMap[208];
return hy8.Move5Stop2Down();
}
return false;
}
internal void Move5Stop2Down(int deviceId)
{
try
{
if (!deviceId.Equals(5))
{
return;
}
if (HYEquipMap.ContainsKey(208))
{
HY_C1Line hy8 = (HY_C1Line)HYEquipMap[208];
if (hy8.runStatus > LineRunStatus.Wait && hy8.MoveInfo.MoveType.Equals(LineMoveType.None))
{
LogUtil.debug("进仓05托盘离开," + hy8.Name + "开始等待托盘检测信号 HY03_FrontStopUp");
hy8.HY03_FrontStopUp();
}
}
}
catch (Exception ex)
{
LogUtil.error("Move5Stop2Down[" + deviceId + "]出错:" + ex.ToString());
}
}
//internal void Move5Stop2Down(int deviceId)
//{
// try
// {
// if (!deviceId.Equals(5))
// {
// return;
// }
// if (HYEquipMap.ContainsKey(208))
// {
// HY_C1Line hy8 = (HY_C1Line)HYEquipMap[208];
// if (hy8.runStatus > LineRunStatus.Wait && hy8.MoveInfo.MoveType.Equals(LineMoveType.None))
// {
// LogUtil.debug("进仓05托盘离开," + hy8.Name + "开始等待托盘检测信号 HY03_FrontStopUp");
// hy8.HY03_FrontStopUp();
// }
// }
// }
// catch (Exception ex)
// {
// LogUtil.error("Move5Stop2Down[" + deviceId + "]出错:" + ex.ToString());
// }
//}
}
}
......@@ -929,7 +929,7 @@ namespace OnlineStore.DeviceLibrary
CheckLog("托盘放行 " + SecondMoveInfo.SLog + " , 等待300ms后阻挡2上升");
SecondMoveInfo.WaitList.Add(WaitResultInfo.WaitTime(300));
LineManager.Line.Move5Stop2Down(DeviceID);
//LineManager.Line.Move5Stop2Down(DeviceID);
}
else if (SecondMoveInfo.IsStep(LineMoveStep.MO_18_WaitTime))
{
......
......@@ -173,6 +173,18 @@ namespace OnlineStore.DeviceLibrary
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
{
for (int i = 1; i <= 12; i++)
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!