| | |
| | | staProtocol.setAutoing(status[0]); // 自动 |
| | | staProtocol.setIdle(status[1]); //空闲 |
| | | staProtocol.setLoading(status[2]); // 有物 |
| | | staProtocol.setInEnable(status[3]); // 可入 |
| | | staProtocol.setOutEnable(status[4]);// 可出 |
| | | |
| | | staProtocol.setBackErr(status[5]); |
| | | staProtocol.setLeftErr(status[6]); |
| | |
| | | staProtocol.setWeightErr(status[9]); |
| | | staProtocol.setLow(status[10]); |
| | | staProtocol.setHigh(status[11]); |
| | | staProtocol.setInEnable(status[13]); // 可入 |
| | | staProtocol.setOutEnable(status[14]);// 可出 |
| | | // staProtocol.setInEnable(status[13]); // 可入 |
| | | // staProtocol.setOutEnable(status[14]);// 可出 |
| | | |
| | | |
| | | staProtocol.setWorkNo(siemensS7Net.getByteTransform().TransInt16(result.Content, i * 26 + 2)); // 工作号 |