background image

23

Write a 32 Bit Parameter

(Write the value 10.2 A to Parameter 105)

From the tables in the back of the drive’s instruction manual:

Data Type = 7

è

 Unsigned 32 bit number

Conversion Index = -2

è

 Conversion Factor = 0.01

Modbus RTU Function: 10

HEX

 

(Preset Multiple Registers)

Overview:

Preset two Registers, starting at 1050

10

, 03FC

HEX

.

Because the Conversion Factor is 0.01, the number 1020 must be sent via

Modbus RTU to represent 10.20 A. 1020

10

 = 0000 03FC

HEX

.

Message from Modbus RTU Master to Drive

Byte 0 

Byte 1 

Byte 2 

Byte 3 

Byte 4 

Byte 5 

Byte 6 

Slave 

Address 

Function Start 

Register 

Addr., High 

Start Register 

Addr. Low 

No. of 

Registers 

High 

No. of 

Registers 

Low 

No. of Bytes 

01 10 04 19 00  02 04 

 

Byte 7 

Byte 8 

Byte 9 

Byte 10 

Byte 11 

Byte 12 

Register 1 

Data, High 

Register 1 

Data, Low 

Register 2 

Data, High 

Register 2 

Data, Low 

CRC Error Check 

00  00  03 FC 00  B8 

 

Modbus RTU message string:

[01] [10] [04] [19] [00] [02] [04] [00] [00] [03] [FC] [00] [B8]

Register Address = (Parameter Number x 10) – 1 = 1049

10

 = 0419

HEX

[01] [10] [04] [19] [00] [02] [04] [00] [00] [03] [FC] [00] [B8]

10.2 x 100 = 1020

10

= 0000 03FC

HEX

Message returned from Drive to Modbus RTU Master

Byte 0 

Byte 1 

Byte 2 

Byte 3 

Byte 4 

Byte 5 

Slave Address 

Function 

Start Register 

Addr., High 

Start Register 

Addr., Low 

No. of 

Registers 

High 

No. of 

Registers 

Low 

01 10 04 19 00 02 

 

Byte 6 

Byte 7 

CRC Error Check 

91 3F 

 

Example 9

{

{

{

{

Summary of Contents for Mobrus RTU TR1 Series

Page 1: ...TR1 Series VFD Variable Frequency Drive ModbusTM RTU Instruction Manual June 2004 TR1 SVX02A EN 175R5563...

Page 2: ...ear safety glasses whenever working on electric control or rotating equipment WARNING Hazardous Voltage Touching electrical parts may be fatal even after equipment has been disconnected from the AC in...

Page 3: ...and Data Type 12 Communication Examples Standard Modbus Functions 13 Example 1 Start the Drive and Give It a Reference via Modbus RTU 14 Example 2 Give the Drive a Reference via Modbus RTU 15 Example...

Page 4: ...Series VFD Modbus RTU is designed to communicate with any controller that supports the interfaces defined in this document It is assumed that you have full knowledge of the capabilities and limitation...

Page 5: ...ed to them individually Responses are not returned to broadcast queries from the master The Modbus RTU protocol establishes the format for the master s query by placing into it the device or broadcast...

Page 6: ...s 0 5 Nm Shielded wiring must be used Ground shield to drive terminal 61 drive casing or as appropriate for the network application DIP switches 2 and 3 located on the main control board of the drive...

Page 7: ...adcast messages To ensure the attribute data returned is the most current each attribute access must include one attribute only A typical message frame is shown below Start Address Function Data CRC C...

Page 8: ...ns additional information which the slave must use to take the action defined by the function code This can include items like coil or register addresses the quantity of items to be handled and the co...

Page 9: ...cases if references from multiple sources are supplied to the drive the drive will respond to the sum of the references Master to Drive 33 48 Drive Status Word see table Drive to Master 49 64 Open Lo...

Page 10: ...ot ready Control ready 34 Drive not ready Drive ready 35 Coasting Stop Safety closed 36 No alarm Alarm 37 Not in use 38 Not in use 39 Not in use 40 No warning Warning 41 Not at reference At reference...

Page 11: ...the individual parameter description in the drive instruction manual to determine the numeric value associated with each selection This value is shown in brackets in each parameter selection Paramete...

Page 12: ...transmitted via serial communications therefore represents 150 x 0 1 15 0 The data type indicates the number of bits needed to transmit the number via serial communications 8 or 16 bit data occupy on...

Page 13: ...Drive a Ramp to Stop Command Setting the Control Word Coils Modbus Function 0FHEX Force Multiple Coils Example 5 Give the Drive a Coast to Stop Command Setting the Control Word Coils Modbus Function 0...

Page 14: ...age from Modbus RTU Master to Drive Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Slave Address Function Coil Addr High Coil Addr Low No of Coils High No of Coils Low Byte Count 01 0F 00 00 00 20 0...

Page 15: ...Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Slave Address Function Coil Addr High Coil Addr Low No of Coils High No of Coils Low 01 0F 00 10 00 10 Byte 6 Byte 7 CRC Error Check 55 C2 Example 2 Byte 0 Byte 1 By...

Page 16: ...ion 01HEX Read Coil Status Overview Read the value of coils 3310 through 6410 Message from Modbus RTU Master to Drive Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Slave Address Function Coil Addr High Co...

Page 17: ...uency Range Running 01 01 04 07 0F FF 1F CA 9E Output Frequency for Open Loop operation 4000HEX 100 so 1FFFHEX 50 If Parameter 204 MIN REFERENCE 10 Hz and Parameter 205 MAX REFERENCE 60 Hz then the ou...

Page 18: ...m Modbus RTU Master to Drive Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Slave Address Function Coil Addr High Coil Addr Low No of Coils High No of Coils Low Byte Count 01 0F 00 00 00 10 02 Byte...

Page 19: ...p command Refer to the description of the Control Word Other Control Words could also give a coast stop command depending on the other functions desired Message sent from the Modbus RTU Master to the...

Page 20: ...umber 65 Then make the parameter change Afterwards to keep future parameter changes from being permanent write the value 0 to coil number65 Modbus RTU Function 05HEX Force Single Coil Overview Force c...

Page 21: ...only a single register needs to be accessed Message from Modbus RTU Master to Drive Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Slave Address Function Register Addr High Register Addr Low Preset Data Hi...

Page 22: ...o convert 6010 to 3CHEX Message from Modbus RTU Master to Drive Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Slave Address Function Register Addr High Register Addr Low Preset Data High Preset Data Low 0...

Page 23: ...ion Start Register Addr High Start Register Addr Low No of Registers High No of Registers Low No of Bytes 01 10 04 19 00 02 04 Byte 7 Byte 8 Byte 9 Byte 10 Byte 11 Byte 12 Register 1 Data High Registe...

Page 24: ...ter to Drive Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Slave Address Function Register Addr High Register Addr Low No of Registers High No of Registers Low 01 03 14 13 00 02 Byte 6 Byte 7 CRC Error Ch...

Page 25: ...ng 01 06 00 08 00 04 09 CB Register Address Register Number 1 9 1 8 01 06 00 08 00 04 09 CB Index Number 4 Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Slave Address Function Register Addr High Register...

Page 26: ...er 1 Message returned from Drive to Modbus RTU Master Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 7 Byte 8 Slave Address Function Byte Count Data High Data Low CRC Error Check 01 03 02 00 3C B8 55 Modbus...

Page 27: ...ave Address Function Start Register Addr High Start Register Addr Low No of Registers High No of Registers Low No of Bytes 01 10 14 DB 00 03 06 Byte 7 Byte 8 Byte 9 Byte 10 Byte 11 Byte 12 Register 1...

Page 28: ...Address Parameter Number x 10 1 621910 184BHEX Message returned from Drive to Modbus RTU Master Byte 0 Byte 1 Byte 2 Byte 3 Byte 4 Byte 5 Byte 6 Slave Address Function Byte Count Data High Register 6...

Page 29: ...a field of the response message This tells the master what kind of error occurred or the reason for the exception The tables below identify the codes and describe their meaning Modbus Code hexadecimal...

Page 30: ......

Page 31: ...s product and product data improvement and reserves the right to change design and specifications without notice Literature Order Number TR1 SVX02A EN File Number SL VEN TR1 000 SVX02A EN 0604 Superse...

Reviews: