background image

VACON CX

Modbus user’s manual

Page

13

________________________________________________________________________________________

________________________________________________________________________________________
Vacon Oy   

  Phone +358-201-2121   

Fax: +358-201-212 205

7. 

MODBUS-VACON CX INTERFACE

Features of Modbus-Vacon CX interface:

  Direct control of Vacon CX ( e.g. Run, Stop, Direction, Speed reference, Fault reset)

  Full access to all Vacon CX parameters

  Monitor Vacon CX status (e.g. Output frequency, Output current, Fault code ..)

  Diagnostic of modbus communications

7.1 

Modbus function codes

7.1.1 

Function code 1, Read Control Bits

This function is used to read control bits.
The transaction frames:

Query:

Slave
address

Function
code

Starting
Address HI

Starting
Address LO

Number of
points HI

Number of
points LO

CRC16

1 byte

1 byte

1 byte

1 byte

1 byte

1 byte

2 bytes

Response:

Slave
address

Function
code

Byte count

Data bits

CRC16

1 byte

1 byte

1 byte

1 byte

2 bytes

7.1.2 

Function code 2, Read Status Bits

This function is used to read status bits.
The transaction frames:

Query:

Slave
address

Function
code

Starting
Address HI

Starting
Address LO

Number of
points HI

Number of
points LO

CRC16

1 byte

1 byte

1 byte

1 byte

1 byte

1 byte

2 bytes

Response:

Slave
address

Function
code

Byte count

Data bits

CRC16

1 byte

1 byte

1 byte

1 byte

2 bytes

7.1.3 

Function code 3, Read Parameters

This function is used to read VACON CX parameters.
The transaction frames:

Query:

Slave
address

Function
code

Starting
Address HI

Starting
Address LO

Number of
points HI

Number of
points LO

CRC16

1 byte

1 byte

1 byte

1 byte

1 byte

1 byte

2 bytes

Response:

Slave
address

Function
code

Byte count

Data HI

Data LO

CRC16

1 byte

1 byte

1 byte

1 byte

1 byte

2 bytes

Summary of Contents for CX Series

Page 1: ...Modbus Fieldbus Option Board USER S MANUAL Subject to changes without notice VACON CX CXL CXS FREQUENCY CONVERTERS F O R S M O O T H C O N T R O L...

Page 2: ...tions 11 6 COMMISSIONING 12 7 MODBUS VACON CX INTERFACE 13 7 1 Modbus function codes 13 7 1 1 Function code 1 Read Control Bits 13 7 1 2 Function code 2 Read Status Bits 13 7 1 3 Function code 3 Read...

Page 3: ...existing place of the option board inside the frequency converter The control connections are isolated from the mains potential and I O ground is connected to the frame of the device via a 1 M resisto...

Page 4: ...Digital input 4 pcs 24 V 0 10 V 1 18 V Ri 5 k connections Digital output 4 pcs Open collector output 50 mA 48 V Termistor input 1 pcs Rtrip 4 7 k Encoder input 3 pcs 24 V 0 10 V 1 18 V Ri 3 3 k 5 V 0...

Page 5: ...ne Each device is assigned an address to distinguish it from all other connected devices The MODBUS protocol uses the master slave technique in which only one device the master can initiate a transact...

Page 6: ...RC Check End T1 T2 T3 T4 8 bits 8 bits n 8bits 16 bits T1 T2 T3 T4 The individual slave devices are assigned addresses in the range of 1 247 Address 0 is used for the broadcast address which all slave...

Page 7: ...slave 02 ILLEGAL DATA ADDRESS The received data address is not an allowable address for the slave 03 ILLEGAL DATA VALUE The received data value is not an allowable value for the slave 04 SLAVE DEVICE...

Page 8: ...terminal X5 C Bend the data cable to an S curve as far as possible from the power board transformer 4 before you place the plastic board onto the control board D Remove the protection foil of the plas...

Page 9: ...__________________________________________________________ ________________________________________________________________________________________ Vacon Oy Phone 358 201 2121 Fax 358 201 212 205 Figu...

Page 10: ...r input X7 Encoder terminal X5 Modbus terminal X12 Line terminator 120 ON OFF X15 Connector for cable Shield Diagnostic LED UL Supply Voltage Green UL led is active if the Fieldbus board has supply vo...

Page 11: ...GND or 24 V 306 24 V Control voltage output Voltage for switches etc max 0 1 A 307 COME Common for DIE3 DIE4 Connect to GND or 24 V 308 GND I O ground Ground for reference and controls 309 DID5A Pulse...

Page 12: ...ation is selected Parameter P0 1 0 Start up test DRIVE APPLICATION 1 Check that the control panel is not the active control source See User s manual CX CXL CXS frequency converter Chapter 7 2 Set para...

Page 13: ...mber of points HI Number of points LO CRC16 1 byte 1 byte 1 byte 1 byte 1 byte 1 byte 2 bytes Response Slave address Function code Byte count Data bits CRC16 1 byte 1 byte 1 byte 1 byte 2 bytes 7 1 2...

Page 14: ...code Output Address HI Output Address LO Force Data HI Force Data LO CRC16 1 byte 1 byte 1 byte 1 byte 1 byte 1 byte 2 bytes Response Slave address Function code Output Address HI Output Address LO F...

Page 15: ...only one that brings a slave out of Listen Only Mode 04 Set Listen Only Mode Forces the slave into Listen Only Mode LOM In this mode the slave doesn t process messages The only function that will be...

Page 16: ...00 02 FAULT RESET T STATUS E Function code 2 Read R Address 00 00 CONTROL SOURCE 00 01 READY STATE 00 02 RUN STATE 00 03 DIRECTION STATE 00 04 FAULT STATE Example 1 Read VACON CX run state Response Ru...

Page 17: ...us address Range Step Default 40000 Par 1 1 Par 1 2 0 01 Hz 0 00 50 00 Hz The reference value should be given without decimals e g ref 10 Hz value 1000 Example 1 Set frequency reference value 10 00 Hz...

Page 18: ...18 Control program Version number of the control software n19 Unit nominal power 0 1 kW Shows the power size of the unit n20 Motor temperature rise 1 100 temperature of motor has risen to nominal valu...

Page 19: ...9 49800 49899 Group 98 1 99 49900 49999 Group 0 1 99 Numbering of the parameter as well as parameter ranges and steps can be found in the application manual in question The parameter value should be g...

Page 20: ...upply Voltage Red H3 led is active if the Fieldbus board has supply voltage 7 4 2 Modbus connections Screw Connector connector X5 Terminal resistors not included in the package Signal Connector X5 Des...

Page 21: ...rom the control board and replace it with a stand sleeve 4 C Connect the power cable 5 to terminal X5 of the control board The power cable can also be connected to terminal X6 if terminal X5 is alread...

Page 22: ..._________________________________________________ Vacon Oy Phone 358 201 2121 Fax 358 201 212 205 G Connect the power cable 5 to terminal X9 on the option board H Attach the control panel base with fo...

Page 23: ...VACON OY PL 25 Runsorintie 7 65381 VAASA Puh 0201 2121 Fax 0201 212 205 P ivystys 040 8371 150 E mail vacon vacon com http www vacon com Ud00136e doc 3 10 2000...

Reviews: