Response PDU
[01][06][00][2A][00][84][A8][61]
where:
[01] = Slave address
[06] =
function code
[00][2A] = address of the register (
variable, register 43)
[00][84] = value set in the register
[A8][61] = CRC
The value 00 84 hex = 0000 0000 1000 0100 in binary notation is set in the
variable (register 43). In other words, the
bits are forced to the logical level high (bit 2 = 1; bit 7 = 1): the unit
is ready to execute the motion command as requested.
EXAMPLE 3
Request to write the value 0A 80 hex in the
(register 43) of the Slave having the node address 1.
Request PDU
[01][06][00][2A][0A][80][AF][02]
where:
[01] = Slave address
[06] =
function code
[00][2A] = address of the register (
variable, register 43)
[0A][80] = value to be set in the register
[AF][02] = CRC
Response PDU
[01][06][00][2A][0A][80][AF][02]
where:
[01] = Slave address
[06] =
function code
[00][2A] = address of the register (
variable, register 43)
[0A][80] = value set in the register
[AF][02] = CRC
The value 0A 80 hex = 0000 0010 1000 0000 in binary notation is set in the
variable (register 43). In other words, the device is forced
= 0) but not in emergency condition (bit 7
furthermore data save is requested (bit 9
= 1).
MAN RD6 MB E 1.1
Programming examples
89 of 92
RD6 Modbus®