0x03/0x04
0x05
0x0F
0x10
0x14
Data code: It includes the data which is needed by a terminal device to
perform a function or the data collected from a terminal device when it
responds to an inquiry. These data may be numbers, referenced address or
setting value. For example, when the data code tells a terminal device to read
a register, the data field should indicate the terminal device that which
register it should begin from and how much data it should read. The data
code sent back from a terminal device includes data length and
corresponding data.
Check code: Cyclical Redundancy Check (CRC16) field occupies two bytes
including a 16-bit binary value. CRC value will be calculated by transmission
equipment and be added to a data frame. When the receiving equipment
receives the data, it will calculate CRC value again, then it compare the two
CRC value. If the two value are not equal to each other, an error will be
detected.
12.1.3 Read the status of relay output(Function code 0x01)
Host
Frame
SAM3001 Manual de usuario V5
Read the value of data register
Remote control the action of relay
Remote control the action of muliple
relays
Write register instruction
Read event recording
Addres
Functio
-90-
data code
CRC