Modbus Instruction manual 4505/08
05/08
Modbus Instruction manual 45
8.2.3 Function Code 100, Read 32-bit Parameter
Example 1:
Reading parameter Fixed Frequency 2 481 in data set 0 from the frequency inverter
with address 1
Request: Master Î Frequency Inverter
Field: SoF Adr Fct.Code DSet/Par-No. LRC EoF
ASC
: 0 1 6 4 0 1 E 1 B 9 CR LF
Hex
3A 30 31 36 34 30 31 45 31 42 39 0D 0A
Response: Frequency Inverter Î Master
Field: SoF Adr Fct.Code Para-Value LRC EoF
ASC
: 0 1 6 4 0 0 0 0 0 3 E 8 B 0 CR LF
Hex
3A 30 31 36 34 30 30 30 30 30 33 45 38 42 30 0D 0A
The hexadecimal value sent is 0x000003E8 = 1000.
Parameter Fixed Frequency 2 481 has 2 decimal places.
Therefore, fixed frequency 2 = 10.00 Hz.
Example 2:
Reading unknown parameter 1600 (0x0640) in data set 2 from the frequency in-
verter with address 1
Request: Master Î Frequency Inverter
Field: SoF Adr Fct.Code DSet/Par-No. LRC EoF
ASC
: 0 1 6 4 2 6 4 0 3 5 CR LF
Hex
3A 30 31 36 34 32 36 34 30 33 35 0D 0A
Error Response: Frequency Inverter Î Master
Field: SoF Adr Fct.Code
Excep.
Code
LRC EoF
ASC
: 0 1 E 4 0 2 1 9 CR LF
Hex
3A 30 31 45 34 30 34 31 37 0D 0A
The exception code sent is hexadecimal value 0x04 = SLAVE DEVICE FAILURE.