User Manual of A90 Series Inverter
277
(it cannot be changed during operation). That is, only the parameters of the
attribute “●” (it can be changed during operation) can be changed. Otherwise, the
error code 1 will be returned.
12.3.3.3 0x42: function code used to write multiple registers or commands (without
saving)
In the remote terminal unit, this function code is used to write consecutive non-holding
register blocks (1 to 16 registers).
The value requested to be written is described in the request data field. The data of
each register is divided into two bytes.
In the normal response, the function code, starting address and number of registers
written will be returned.
Request PDU
Function code
1 byte
0x42
Starting Address
2 bytes
0x0000 - 0xFFFF
Number of registers
2 bytes
1 - 16
Number of bytes
1 byte
2×N*
Register value
N*×2 bytes
N* = number of registers
Response PDU
Function code
1 byte
0x42
Starting Address
2 bytes
0x0000 - 0xFFFF
Number of
registers
2 bytes
1 - 16
Error PDU
Error code
1 byte
0xC2
Exception code
1 byte
Below is an example of a request to set the acceleration time 1 (F00.14) to 5.00 and
deceleration time 1 (F00.15) to 6.00:
Request
Respond
Domain name
(0x)
Domain
name
(normal)
(0x)
Domain name
(abnormal)
(0x)
Function
42
Function
42
Function
C2