EasyManua.ls Logo

BONFIGLIOLI Vectron ACTIVE - Function Code 6, Write 16-Bit Parameter

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 05/0844
44
Modbus Instruction manual 05/08
8.2.2 Function Code 6, Write 16-bit Parameter
Example 1:
Writing parameter Rated Mech. Power 376 (0x0178) in data set 4 to the frequency
inverter with address 3.
The rated mechanical power is to be set to 1.5 kW.
Parameter Rated Mech. Power 376 has one decimal place.
Thus the value to be sent is 15 = 0x000F.
Request: Master Î Frequency Inverter
Field: SoF Adr Fct.Code DSet/Par-No. Para-Value LRC EoF
ASC
: 0 3 0 6 4 1 7 8 0 0 0 F 2 F CR LF
Hex
3A 30 33 30 36 34 31 37 38 30 30 30 46 32 46 0D 0A
Response: Frequency Inverter Î Master
Field: SoF Adr Fct.Code DSet/Par-No. Para-Value LRC EoF
ASC
: 0 3 0 6 4 1 7 8 0 0 0 F 2 F CR LF
Hex
3A 30 33 30 36 34 31 37 38 30 30 30 46 32 46 0D 0A
The response is an echo of the request message.
Example 2:
Writing out of range value 0 to parameter 376 (0x0178) in data set 2 to the fre-
quency inverter with address 3
Request: Master Î Frequency Inverter
Field: SoF Adr Fct.Code DSet/Par-No. Para-Value LRC EoF
ASC
: 0 3 0 6 2 1 7 8 0 0 0 0 5 E CR LF
Hex
3A 30 33 30 36 32 31 37 38 30 30 30 30 35 45 0D 0A
Error Response: Frequency Inverter Î Master
Field: SoF Adr Fct.Code
Excep.
Code
LRC EoF
ASC
: 0 3 8 6 0 4 7 3 CR LF
Hex
3A 30 33 38 36 30 34 37 33 0D 0A
The sent exception code is hexadecimal value 0x04 = SLAVE DEVICE FAILURE

Table of Contents