SMAX MODBUS®
Request PDU
Function code
1 byte
06 hex
Register address
2 bytes
0000 hex to FFFF hex
Register value
2 bytes
0000 hex to FFFF hex
Response PDU
Function code
1 byte
06 hex
Register address
2 bytes
0000 hex to FFFF hex
Register value
2 bytes
0000 hex to FFFF hex
Exception Response PDU
Error code
1 byte
86 hex (=06 hex + 80 hex)
Exception code
1 byte
01 or 02 or 03 or 04
Here is an example of a request to write in the
item (register 4): we need to set the scaling function (
1) and the increasing counting when the sensor moves in the direction shown
by the arrow in Figure 1 (
= 0).
Request
Response
Field name
(Hex)
Field name
(Hex)
Function
06
Function
06
Register address Hi
00
Register address Hi
00
Register address Lo
03
Register address Lo
03
Register value Hi
00
Register value Hi
00
Register value Lo
01
Register value Lo
01
As you can see in the table, the value 00 01 hex, i.e. 0000 0000 0000 0001 in
binary notation, is set in the
Operating parameters [0003 hex]
MAN SMAX MB E 1.2
Modbus® interface
54 of 84