background image

14

Start the Drive and Give It a 40% Reference via Modbus RTU

While this example shows both starting the drive and giving it a reference via Modbus RTU, it is
possible to simply give it a start command. To do this, force only coils 1 through 16.

Modbus RTU Function: 0F

HEX

 

(Force Multiple Coils)

Overview:

Force coils 1

10

 through 16

10

 to 047C

HEX

.

This is a run command. Refer to the description of the Control Word. Other Control

Words could also give a run command, depending on the other functions desired.

Force coils 17

10

 through 32

10

 to 1999

HEX

.

Because a value of 4000

HEX

 represents a 100% reference, the value for a 40%

reference is 1999

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 Coil 

Addr., 

High 

Coil Addr. 

Low 

No. of Coils, 

High 

No. of Coils, 

Low 

Byte Count 

01  0F  00 00 00 20 04 

 

Byte 7 

Byte 8 

Byte 9 

Byte 10 

Byte 11 

Byte 12 

Force Coils 

Addr. 0-7 

Force Coils 

Addr. 8-15 

Force Coils 

Addr. 16-23 

Force Coils 

Addr, 24-31 

CRC Error Check 

7C 04 99 19 37 43 

 

Modbus RTU message string:

[01] [0F] [00] [00] [00] [20] [04] [7C] [04] [99] [19] [37] [43]

Run Command: 0000 0100 0111 1100 = 047C

HEX

(See the Control Word Coil Description)

[01] [0F] [00] [00] [00] [20] [04] [7C] [04] [99] [19] [37] [43]

Commanded Reference: 40% of 4000

HEX

 = 1999

HEX

Message returned from Drive to Modbus RTU Master

Byte 0 

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 00 00 20 

 

Byte 6 

Byte 7 

CRC Error Check 

54 13 

 

Example 1

{

{

Содержание Mobrus RTU TR1 Series

Страница 1: ...TR1 Series VFD Variable Frequency Drive ModbusTM RTU Instruction Manual June 2004 TR1 SVX02A EN 175R5563...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 30: ......

Страница 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...

Отзывы: