EasyManua.ls Logo

BONFIGLIOLI Vectron ACTIVE - ASCII Modbus Message Examples

BONFIGLIOLI Vectron ACTIVE
88 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Modbus Instruction manual 4305/08
05/08
Modbus Instruction manual 43
8.2 Modbus ASCII-Message Examples
8.2.1 Function Code 3, Read 16-bit Parameter
Example 1:
Reading of parameter Rated Speed 372 (0x0174) in data set 2 from the frequency
inverter with address 1
Request: Master Î Frequency Inverter
Field SoF Adr Fct.Code DSet/Par-No. No. of Regs LRC EoF
ASC
: 0 1 0 3 2 1 7 4 0 0 0 1 6 6 CR LF
Hex
3A 30 31 30 33 32 31 37 34 30 30 30 31 36 36 0D 0A
Response: Frequency Inverter Î Master
Field: SoF Adr Fct.Code no.Bytes Par-Value LRC EoF
ASC
: 0 1 0 3 0 2 0 5 6 E 8 7 CR LF
Hex
3A 30 31 30 33 30 32 30 35 36 45 38 37 0D 0A
The hexadecimal value sent is 0x056E = 1390.
Parameter Rated Speed 372 has no decimal places.
Therefore, the rated speed is 1390 min
-1
.
Example 2:
Reading parameter Rated Speed 372 (0x0174) in data set 0 from the frequency in-
verter with address 1 and No. of Regs field set to 2 (invalid value)
Field: SoF Adr Fct.Code DSet/Par-No. No. of Regs LRC EoF
ASC
: 0 1 0 3 0 1 7 4 0 0 0 2 8 5 CR LF
Hex
3A 30 31 30 33 30 31 37 34 30 30 30 32 38 35 0D 0A
Error Response: Frequency Inverter Î Master
Field: SoF Adr Fct.Code
Excep.
Code
LRC EoF
ASC
: 0 1 8 3 0 2 7 A CR LF
Hex
3A 30 31 38 33 30 32 37 41 0D 0A
The sent exception code is hexadecimal value 0x02 = ILLEGAL DATA ADDRESS.

Table of Contents