| | |
| | | add(303);add(317); |
| | | add(325);add(331); |
| | | add(333);add(339); |
| | | add(309);add(312); |
| | | }}; |
| | | |
| | | //高低信号站点 |
| | |
| | | |
| | | //读条码 |
| | | Thread.sleep(100); |
| | | OperateResultExOne<byte[]> result2 = siemensS7Net.Read("DB1000.200", (short) 72); |
| | | OperateResultExOne<byte[]> result2 = siemensS7Net.Read("DB1000.200", (short) 88); |
| | | if (result2.IsSuccess) { |
| | | for (int i = 0; i < barcodeSize; i++) { |
| | | String barcode = siemensS7Net.getByteTransform().TransString(result2.Content,i*8,8, "UTF-8"); |
| | |
| | | id: 10 |
| | | ip: 10.10.10.102 |
| | | port: 51236 |
| | | # 条码扫描仪 |
| | | barcode[10]: |
| | | id: 11 |
| | | ip: 10.10.10.102 |
| | | port: 51236 |
| | | # 条码扫描仪 |
| | | barcode[11]: |
| | | id: 12 |
| | | ip: 10.10.10.102 |
| | | port: 51236 |
| | | |
| | | # LED1 |
| | | led[0]: |