In [2]: struct.pack(">BHH", 6, 8202, 4).hex()
Out[2]: '06200a0004'
It should output:'0620100004'. It should be a modbus instruction, which will cause the crc validation to fail, how can I fix it
BHH", 6, 8202, 4).hex() Out[2]: '06200a0004' It should output:'0620100004'. It should be a modbus instruction, which will cause " /> BHH", 6, 8202, 4).hex() Out[2]: '06200a0004' It should output:'0620100004'. It should be a modbus instruction, which will cause " /> BHH", 6, 8202, 4).hex() Out[2]: '06200a0004' It should output:'0620100004'. It should be a modbus instruction, which will cause "/>
In [2]: struct.pack(">BHH", 6, 8202, 4).hex()
Out[2]: '06200a0004'
It should output:'0620100004'. It should be a modbus instruction, which will cause the crc validation to fail, how can I fix it
Copyright © 2021 Jogjafile Inc.