Outdoor LoRa Data Logger
47
3.2 Commands
0x01
–
Report all Inputs:
0x01
Total length Data[i] length
Data[i] value[] …
Checksum
1 byte
1 byte
1 byte
n byte
1 byte
Command: 0x01
Purpose: A LoRa node is Uploading the status (data) of all input ports to network server.
Sequence: DI[1] / DI[2] / AI[1] / AI[2] / AI[3] / Modbus[1] / Modbus[2] / Modbus[3]
Note 1: There is maximum limit on the payload size. This command may not be used for some Modbus device
configuration that has many registers to read.
For example, the packet
“
0115010000010100000901030300FA03C8DB64000093” is composed of
Command byte – 0x01
Total Length – 0x15
Checksum - 0x93
Data[] – “010000010100000901030300FA03C8DB640000”, where
DI[1]: length=0x01, value=0x00
DI[2]: length=0x00, Nothing
AI[1]: length=0x01, value=0x01
AI[2]: length=0x00, Nothing
AI[3]: length=0x00, Nothing
Modbus[1]: length=0x09, value=0x01030300FA03C8DB64
Modbus[2]: length=0, Nothing
Modbus[3]: length=0, Nothing