21
MG.10.P2.22 - VLT is a registered Danfoss trademark
Message
Translation
Examples
(continued)
EXAMPLE 5: Read Parameter 514,
Motor Current = 3 Amps
(Data Type 7: UINT32)
(Conversion Factor = -2)
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Slave
Address
Function
Start Addr HI
Start Addr LO
No. of Points
HI
No. of Points
LO
Error Check
01 03 14 13 00 02 --
Message sent to Modbus master fr
Message sent to Modbus master fr
Message sent to Modbus master fr
Message sent to Modbus master fr
Message sent to Modbus master from Modbus R
om Modbus R
om Modbus R
om Modbus R
om Modbus RTU option car
TU option car
TU option car
TU option car
TU option card
d
d
d
d
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Slave
Address
Function
Byte Count
Data HI
(Reg 45140)
Data LO
(Reg 45140)
Data HI
(Reg 45141)
Data LO
(Reg 45141)
Error Check
01
03
04
00
00
01
2C
--
EXAMPLE 4: Write Parameter 104,
Motor Frequency, with 60 Hz
(Data Type 6: UINT16)
(Conversion factor = 0)
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Slave
Address
Function
Register
Addr HI
Register
Addr LO
Preset Data
HI
Preset Data
LO
Error Check
01
06
04
0F
00
3C
--
Message r
Message r
Message r
Message r
Message retur
etur
etur
etur
eturned to Modbus master fr
ned to Modbus master fr
ned to Modbus master fr
ned to Modbus master fr
ned to Modbus master from Modbus R
om Modbus R
om Modbus R
om Modbus R
om Modbus RTU option car
TU option car
TU option car
TU option car
TU option card
d
d
d
d
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Slave
Address
Function
Register
Addr HI
Register
Addr LO
Preset Data
HI
Preset Data
LO
Error Check
01
06
04
0F
00
3C
--
Message sent to Modbus R
Message sent to Modbus R
Message sent to Modbus R
Message sent to Modbus R
Message sent to Modbus RTU option car
TU option car
TU option car
TU option car
TU option card fr
d fr
d fr
d fr
d from Modbus master
om Modbus master
om Modbus master
om Modbus master
om Modbus master
Modbus message string:
[01] 06] [04] [0F] [00] [3C] [ error check ]
{
Parameter 104 = 0F04
HEX
(reversed)
Note that the starting address of a register is the parameter number x 10 -1 in HEX.
104 x 10 = 1040 -1 = 1039 = 0F04
HEX
(reversed)
Speed (60 Hz) = 3C
HEX
Modbus message string:
[01] 06] [04] [0F] [00] [3C] [ error check ]
{
Message sent to Modbus R
Message sent to Modbus R
Message sent to Modbus R
Message sent to Modbus R
Message sent to Modbus RTU option car
TU option car
TU option car
TU option car
TU option card fr
d fr
d fr
d fr
d from Modbus master
om Modbus master
om Modbus master
om Modbus master
om Modbus master
Parameter 514 (5139) = 1413
HEX
Note that the starting address of a register is the parameter number x 10 -1 in HEX.
All values are in hexadecimal.
Modbus Function 03
HEX
Read Holding Registers
Modbus Function 06
HEX
Preset Single Register
All values are in hexadecimal.
All manuals and user guides at all-guides.com