5 - MODBUS TCP AD3000
NIDEC ASI S.P.A. – AD3000 COMMUNICATION MANUAL
32 IMAD30007EN
5.8.1 Modbus parameterisation message sent by the master to the slave
This message consists of 4 words.
1
st
w ord (PKW1)
Mdb PKW1 In [67.02]
Ty pe of operation code:
- PKW1 = 1 Reading of required v alue parameter in 32 bit integer format
- PKW1 = 2 Reading of required v alue parameter in 32 bit float format
- PKW1 = 3 Writing of required v alue parameter in 32 bit integer format
- PKW1 = 4 Writing of required v alue parameter in 32 bit float format
2
nd
w ord (PKW2)
Mdb PKW2 In [67.03]
Parameter ID of the configuration data on w hich to perform the operation defined by the PKW1 w ord.
3
rd
w ord (PKW3)
Mdb PKW3 In [67.04]
Most significant part of the processed data (MSW). Only for operation code 3 and 4.
4
th
w ord (PKW4)
Mdb PKW4 In [67.05]
Least significant part of the processed data (LSW). Only for operation code 3 and 4.
Table 5.6 - Structure of PKW message from master (client) to slave (server)
WARNING
To ensure correct operation of the drive parameterisation protocol, it is recommended that the master (client) continues to send the message until it
receives the reply from the slave (server). After that, the master (client) can avoid sending the message again.
For the listed parameters, the parameter value to indicate the choice is given in the relevant parameter tables in
Annex A; namely, it is the value appearing to the side of the description of the selection.
5.8.2 Modbus parameterisation message requested by the master and sent to the slave
This message consists of 4 words as well.
1
st
w ord (PKW1)
Mdb PKW1 Out [67.06]
Ty pe of operation code:
If the operation requested by the master cannot be admitted, the most significant bit of w ord 1 (PKW1) is set to 1.
The error code is w ritten on w ord 3 (PKW3)
- PKW1 = 1 Reading of required v alue parameter in 32 bit integer format
- PKW1 = 2 Reading of required v alue parameter in 32 bit float format
- PKW1 = 3 Writing of required v alue parameter in 32 bit integer format
- PKW1 = 4 Writing of required v alue parameter in 32 bit float format
2
nd
w ord (PKW2)
Mdb PKW2 Out [67.07]
Parameter ID of the configuration datum on w hich to perform the operation defined by the PKW1 w ord.
3
rd
w ord (PKW3)
Mdb PKW3 Out [67.08]
Most significant part of the processed datum (MSW).
If the operation requested by the master (client) cannot be admitted (most significant bit of w ord 1 = 1), the error
code is w ritten in this w ord:
- PKW3 = 2: Non-ex istent parameter
- PKW3 = 3: Non-ex istent operation code
- PKW3 = 4: Non-w ritable parameter
- PKW3 = 7: Writing attempt of single v alue on buffer parameter
- PKW3 = 10: Value out of range
4
th
w ord (PKW4)
Mdb PKW4 Out [67.09]
Least significant part of the processed data (LSW).
Table 5.7 - Structure of PKW message from slave to master