工控IO卡可以感应到各种电信号,传感器的状态变化。
- DI信号包括数字开关信号(ture,false ,1),光信号的变化(上升沿,下降沿)。
- DO信号包括脉宽和数字开关信号(ture,false ,1)。
这个知识没人教只好自己琢磨。
27 17:17:44.067 启动DI-线程池并行定时器
27 17:17:44.070 启动DO-单线程高速定时器
27 17:17:44.095 :【PrinterDictinary】【启动所有打印机】
27 17:17:44.133 信息::满包装单元编码数量:5125,请确认。
27 17:17:44.724 ScanDO开始发出电平信号 Channel:6,signal:False
27 17:17:44.724 ScanDO开始发出电平信号 Channel:0,signal:True
27 17:17:44.724 ScanDO开始发出电平信号 Channel:1,signal:False
27 17:17:48.894 收到数据:[COM6] [00501625300024128161#00501625300024131221#00501625300024132142#00501625300024133191#00501625300024135025#00501625300024181199]
27 17:17:48.896 :【ScannerDictinary】【开始收到数据】【【PCSScan】【ehsure.CMS.Core.Scanner.DatalogicScanner】,【00501625300024128161#00501625300024131221#00501625300024132142#00501625300024133191#00501625300024135025#00501625300024181199】】
27 17:17:48.933 ScanDO开始发出脉冲 Channel:9,Delay:0,Width:200
27 17:17:49.134 ScanDO结束发出脉冲 Channel:9,Delay:0,Width:200
27 17:17:50.520 收到数据:[COM6] [00501625300024128161#00501625300024131221#00501625300024132142#00501625300024133191#00501625300024135025#00501625300024181199]
27 17:17:50.520 :【ScannerDictinary】【开始收到数据】【【PCSScan】【ehsure.CMS.Core.Scanner.DatalogicScanner】,【00501625300024128161#00501625300024131221#00501625300024132142#00501625300024133191#00501625300024135025#00501625300024181199】】
27 17:17:50.540 异常:ehsure.CMS.Core.Scanner.DatalogicScanner
27 17:17:50.540 异常::整组数据校验,编码[00501625300024128161]重码!触发了停线报警!
27 17:17:50.545 ScanDO开始发出脉冲 Channel:4,Delay:0,Width:200
27 17:17:50.545 ScanDO开始发出脉冲 Channel:11,Delay:0,Width:200
27 17:17:50.545 ScanDO开始发出电平信号 Channel:6,signal:True
27 17:17:50.545 ScanDO开始发出电平信号 Channel:1,signal:True
27 17:17:50.746 ScanDO结束发出脉冲 Channel:4,Delay:0,Width:200
27 17:17:50.746 ScanDO结束发出脉冲 Channel:11,Delay:0,Width:200
27 17:18:15.549 收到数据:[COM6] [00501625300024128161#00501625300024131221#00501625300024132142#00501625300024133191#00501625300024135025#00501625300024181199]
27 17:18:15.549 :【ScannerDictinary】【开始收到数据】【【PCSScan】【ehsure.CMS.Core.Scanner.DatalogicScanner】,【00501625300024128161#00501625300024131221#00501625300024132142#00501625300024133191#00501625300024135025#00501625300024181199】】
27 17:18:15.562 异常:ehsure.CMS.Core.Scanner.DatalogicScanner
27 17:18:15.562 异常::整组数据校验,编码[00501625300024128161]重码!触发了停线报警!
27 17:18:15.577 ScanDO开始发出脉冲 Channel:4,Delay:0,Width:200
27 17:18:15.577 ScanDO开始发出脉冲 Channel:11,Delay:0,Width:200
27 17:18:15.577 ScanDO开始发出电平信号 Channel:6,signal:True
27 17:18:15.577 ScanDO开始发出电平信号 Channel:1,signal:True
27 17:18:15.778 ScanDO结束发出脉冲 Channel:4,Delay:0,Width:200
27 17:18:15.778 ScanDO结束发出脉冲 Channel:11,Delay:0,Width:200
27 17:18:16.387 收到数据:[COM6] [00501625300024128161#00501625300024131221#00501625300024132142#00501625300024133191#00501625300024135025#00501625300024181199]
27 17:18:16.387 :【ScannerDictinary】【开始收到数据】【【PCSScan】【ehsure.CMS.Core.Scanner.DatalogicScanner】,【00501625300024128161#00501625300024131221#00501625300024132142#00501625300024133191#00501625300024135025#00501625300024181199】】
27 17:18:16.402 异常:ehsure.CMS.Core.Scanner.DatalogicScanner
27 17:18:16.402 异常::整组数据校验,编码[00501625300024128161]重码!触发了停线报警!
27 17:18:16.432 ScanDO开始发出脉冲 Channel:4,Delay:0,Width:200
27 17:18:16.432 ScanDO开始发出脉冲 Channel:11,Delay:0,Width:200
27 17:18:16.432 ScanDO开始发出电平信号 Channel:6,signal:True
27 17:18:16.432 ScanDO开始发出电平信号 Channel:1,signal:True
27 17:18:16.633 ScanDO结束发出脉冲 Channel:4,Delay:0,Width:200
27 17:18:16.633 ScanDO结束发出脉冲 Channel:11,Delay:0,Width:200
27 17:18:24.219 收到数据:[COM6] [00501625300024128161#00501625300024131221#00501625300024132142#00501625300024133191#00501625300024135025#00501625300024181199]
27 17:18:24.219 :【ScannerDictinary】【开始收到数据】【【PCSScan】【ehsure.CMS.Core.Scanner.DatalogicScanner】,【00501625300024128161#00501625300024131221#00501625300024132142#00501625300024133191#00501625300024135025#00501625300024181199】】
27 17:18:24.231 异常:ehsure.CMS.Core.Scanner.DatalogicScanner
27 17:18:24.231 异常::整组数据校验,编码[00501625300024128161]重码!触发了停线报警!
27 17:18:24.264 ScanDO开始发出脉冲 Channel:4,Delay:0,Width:200
27 17:18:24.264 ScanDO开始发出脉冲 Channel:11,Delay:0,Width:200
27 17:18:24.264 ScanDO开始发出电平信号 Channel:6,signal:True
27 17:18:24.264 ScanDO开始发出电平信号 Channel:1,signal:True
27 17:18:24.467 ScanDO结束发出脉冲 Channel:4,Delay:0,Width:200
27 17:18:24.467 ScanDO结束发出脉冲 Channel:11,Delay:0,Width:200
27 17:18:28.013 收到数据:[COM6] [00501625300024128161#00501625300024131221#00501625300024132142#00501625300024133191#00501625300024135025#00501625300024181199]
27 17:18:28.013 :【ScannerDictinary】【开始收到数据】【【PCSScan】【ehsure.CMS.Core.Scanner.DatalogicScanner】,【00501625300024128161#00501625300024131221#00501625300024132142#00501625300024133191#00501625300024135025#00501625300024181199】】
27 17:18:28.026 异常:ehsure.CMS.Core.Scanner.DatalogicScanner
27 17:18:28.026 异常::整组数据校验,编码[00501625300024128161]重码!触发了停线报警!
27 17:18:28.040 ScanDO开始发出脉冲 Channel:4,Delay:0,Width:200
27 17:18:28.040 ScanDO开始发出脉冲 Channel:11,Delay:0,Width:200
27 17:18:28.040 ScanDO开始发出电平信号 Channel:6,signal:True
27 17:18:28.040 ScanDO开始发出电平信号 Channel:1,signal:True
27 17:18:28.243 ScanDO结束发出脉冲 Channel:4,Delay:0,Width:200
27 17:18:28.243 ScanDO结束发出脉冲 Channel:11,Delay:0,Width:200
27 17:18:28.635 收到数据:[COM6] [00501625300024128161#00501625300024131221#00501625300024132142#00501625300024133191#00501625300024135025#00501625300024181199]
27 17:18:28.635 :【ScannerDictinary】【开始收到数据】【【PCSScan】【ehsure.CMS.Core.Scanner.DatalogicScanner】,【00501625300024128161#00501625300024131221#00501625300024132142#00501625300024133191#00501625300024135025#00501625300024181199】】
27 17:18:28.648 异常:ehsure.CMS.Core.Scanner.DatalogicScanner
27 17:18:28.648 异常::整组数据校验,编码[00501625300024128161]重码!触发了停线报警!
27 17:18:28.648 ScanDO开始发出脉冲 Channel:4,Delay:0,Width:200
27 17:18:28.648 ScanDO开始发出脉冲 Channel:11,Delay:0,Width:200
27 17:18:28.648 ScanDO开始发出电平信号 Channel:6,signal:True
27 17:18:28.648 ScanDO开始发出电平信号 Channel:1,signal:True
27 17:18:28.850 ScanDO结束发出脉冲 Channel:4,Delay:0,Width:200
27 17:18:28.850 ScanDO结束发出脉冲 Channel:11,Delay:0,Width:200
27 17:18:29.397 收到数据:[COM6] [00501625300024128161#00501625300024131221#00501625300024132142#00501625300024133191#00501625300024135025#00501625300024181199]
27 17:18:29.397 :【ScannerDictinary】【开始收到数据】【【PCSScan】【ehsure.CMS.Core.Scanner.DatalogicScanner】,【00501625300024128161#00501625300024131221#00501625300024132142#00501625300024133191#00501625300024135025#00501625300024181199】】
27 17:18:29.404 ScanDO开始发出脉冲 Channel:4,Delay:0,Width:200
27 17:18:29.404 ScanDO开始发出脉冲 Channel:11,Delay:0,Width:200
27 17:18:29.404 ScanDO开始发出电平信号 Channel:6,signal:True
27 17:18:29.404 ScanDO开始发出电平信号 Channel:1,signal:True
27 17:18:29.409 异常:ehsure.CMS.Core.Scanner.DatalogicScanner
27 17:18:29.409 异常::整组数据校验,编码[00501625300024128161]重码!触发了停线报警!
27 17:18:29.605 ScanDO结束发出脉冲 Channel:4,Delay:0,Width:200
27 17:18:29.605 ScanDO结束发出脉冲 Channel:11,Delay:0,Width:200
27 17:18:31.498 收到数据:[COM6] [00501625300024128161#00501625300024131221#00501625300024132142#00501625300024133191#00501625300024135025#00501625300024181199]
27 17:18:31.498 :【ScannerDictinary】【开始收到数据】【【PCSScan】【ehsure.CMS.Core.Scanner.DatalogicScanner】,【00501625300024128161#00501625300024131221#00501625300024132142#00501625300024133191#00501625300024135025#00501625300024181199】】
27 17:18:31.510 异常:ehsure.CMS.Core.Scanner.DatalogicScanner
27 17:18:31.510 异常::整组数据校验,编码[00501625300024128161]重码!触发了停线报警!
27 17:18:31.520 ScanDO开始发出脉冲 Channel:4,Delay:0,Width:200
27 17:18:31.520 ScanDO开始发出脉冲 Channel:11,Delay:0,Width:200
27 17:18:31.520 ScanDO开始发出电平信号 Channel:6,signal:True
27 17:18:31.520 ScanDO开始发出电平信号 Channel:1,signal:True
27 17:18:31.721 ScanDO结束发出脉冲 Channel:4,Delay:0,Width:200
27 17:18:31.721 ScanDO结束发出脉冲 Channel:11,Delay:0,Width:200
27 17:18:32.338 收到数据:[COM6] [00501625300024128161#00501625300024131221#00501625300024132142#00501625300024133191#00501625300024135025#00501625300024181199]
27 17:18:32.338 :【ScannerDictinary】【开始收到数据】【【PCSScan】【ehsure.CMS.Core.Scanner.DatalogicScanner】,【00501625300024128161#00501625300024131221#00501625300024132142#00501625300024133191#00501625300024135025#00501625300024181199】】
27 17:18:32.352 异常:ehsure.CMS.Core.Scanner.DatalogicScanner
27 17:18:32.352 异常::整组数据校验,编码[00501625300024128161]重码!触发了停线报警!
27 17:18:32.374 ScanDO开始发出脉冲 Channel:4,Delay:0,Width:200
27 17:18:32.374 ScanDO开始发出脉冲 Channel:11,Delay:0,Width:200
27 17:18:32.374 ScanDO开始发出电平信号 Channel:6,signal:True
27 17:18:32.374 ScanDO开始发出电平信号 Channel:1,signal:True
27 17:18:32.576 ScanDO结束发出脉冲 Channel:4,Delay:0,Width:200
27 17:18:32.576 ScanDO结束发出脉冲 Channel:11,Delay:0,Width:200
27 17:18:44.135 ScanDO开始发出电平信号 Channel:6,signal:False
27 17:18:44.135 ScanDO开始发出电平信号 Channel:0,signal:False
27 17:18:44.135 ScanDO开始发出电平信号 Channel:1,signal:False
27 17:18:44.135 停止DO-单线程高速定时器
27 17:18:44.140 信息::生产已经停止。
27 17:18:44.141 停止DI-线程池并行定时器
27 17:18:45.660 :【PrinterDictinary】【停止所有打印机】
27 17:18:47.323 信息::请清空产线上没有装箱完成的中包。