22 / 71
Example: READ register(s) value command.
Byte#
Number of bits
Example
0x00
Read (
0x0021
)
16 bits
0x0021
0x02 TransactionID
16
bits
0x1B34
0x04
Number of registers to
read (X)
16 bits
0x0001
0x06
X * Registers Addresses
X * 8 bits
0x02
0x06+X Checksum
16
bits
0xnnnn
Note: The maximum number of registers that can be read at one time is 30.
The module
answers
with the following sequence:
Byte#
Number of bits
Example
0x00
Read Answer (
0x0023
)
16 bits
0x0023
0x02
TransactionID (same as
demand)
16 bits
0x1B34
0x04
Number of bytes in answer
16 bits
0x0019
0x06
Register address
8 bits
0x02
…
Register value
8—128 bits (16B) 0x12345
The two previous entries are replicated for each register that has
been asked for reading
… Checksum
16
bits
0xnnnn
Example: WRITE register(s) value command.
Byte#
Number of bits
Example
0x00
Write (
0x0022
)
16 bits
0x0022
0x02 TransactionID
16
bits
0x1B34
0x04
Number of bytes in
command
16 bits
0x0003
0x06
Register Addresses
8 bits
0x02
0x07
Register value
8 — 64 bits
0x1234
The two previous entries are replicated for each register that has
been asked for reading
… Checksum
16
bits
0xnnnn
Note: The max. number of registers that can be written at one time is 30.
The module
answers
with the following sequence:
Byte#
Number of bits
Example
0x00
Write Answer (
0x0024
)
16 bits
0x0024
0x02
TransactionID (same as
demand)
16 bits
0x1B34
0x04 0x0000
16
bits
0x0000
0x06 Checksum
16
bits
0xnnnn
FMod-IPAXESCTRL User Manual v.1.1