Commissioning via the Operator Panel ..............19 5.3.1 Menu for setting up the Communication..............19 5.3.2 Select the Protocol ....................20 5.3.3 Set the Communication Parameters ................20 Set the Protocol for the X21-Connection and Communication Module ....21 MODBUS......................22 PROTOCOL ......................24 02/2011 Modbus Agile...
Page 4
Statemachine diagram....................69 10.3 Behavior in Quick Stop ..................72 10.4 Behavior in State-Transition 5................73 ACTUAL VALUES.....................73 PARAMETER LIST...................74 12.1 Actual Values ("Actual" Menu) ................74 12.2 Parameters ("Para" Menu) ..................74 ANNEX ......................75 13.1 Warning Messages....................75 Modbus Agile 02/2011...
BONFIGLIOLI repre- sentative. The CANopen®-Communication products fulfill the specifications of the CiA® (CAN in Automation) user organi- zation. Modbus Agile 02/2011...
Attention! Attention and the related text refer to a possible behavior or an undesired condition which can occur during operation. Note Marks information that facilitates handling for you, and supplements the corresponding part of the documentation. 02/2011 Modbus Agile...
Observe the conditions according to EN 60721- 3-1 for storage, EN 60721-3-2 for transport and the marking on the packaging. The duration of storage without connection to the permissible nominal voltage may not exceed one year. Modbus Agile 02/2011...
The documentation contains information on EMC-conforming installation. The cables connected to the frequency inverters may not be subjected to high-voltage insulation tests unless appropriate circuitry measures are taken before. Do not connect any capacitive loads. 02/2011 Modbus Agile...
No connection work may be performed, while the system is in operation. 2.6.1 Using external products Please note, that Bonfiglioli Vectron does not take any responsibility for the compatibility of external products (e.g. motors, cables, filters, etc.). To ensure the best system compatibility, Bonfiglioli Vectron offers components which simplify commis- sioning and provide the best tuning with each other during operation.
Instructions for VABus or Modbus. The CANopen®-Communication products fulfill the specifications of the CiA® (CAN in Automation) user organi- zation. Install an interface adapter for connection to a PC. This enables parameterization und monitoring via the VPlus PC-Software. 02/2011 Modbus Agile...
• Using a small screwdriver, firstly unlock the right and then the left snap-in hook (2). • Remove the communication module from the slot. • Unscrew the PE spring. • Replace the cover onto the frequency inverter. Modbus Agile 02/2011...
The baud rates for the X21-Connection and the Communication Module can be set separately. Note: This document is not basic information for the RS232 or RS485 serial interface. Fundamental know- ledge of the Modbus protocol and the RS232 and RS485 serial interfaces is a prerequisite. 02/2011 Modbus Agile...
The X21-Connection with the RJ45-Connector enables the connection to the RS485 interface of a PLC. X21 (RJ45) RJ45 With an optional USB-Adapter the USB-Interface of a PC can be connected to the X21 Interface. This enables parameterization and monitoring using the VPlus PC-Software. VPlus RJ45 X21 (RJ45) Adapter Modbus Agile 02/2011...
Connect the RS232-Connection of the Interface Adapter with the PC/PLC. Setting the type of Protocol The factory setting of the CM-232/CM-485 Communication Modules is the BONFIGLIOLI VECTRON standard protocol (VABus). Communication with the VPlus PC-Software is only possible using this pro- tocol.
Interface converter supply voltage +5 V – n. c. Data Line A short-circuit proof and functionally insulated; max. current 60 mA Data Line A’ same as pin 7 – for cable network – n. c. n.c: not connected Modbus Agile 02/2011...
DIP switch at the same time is not allowed. Pay attention to the ground wiring. This will protect the communication bus against high noise level. For easy wiring the signal terminals A and B have parallel contacts. 02/2011 Modbus Agile...
Page 18
RS485 and RS232 Interfaces Example of wiring with different CM-485 modules: Master (i.e. PC) Termination ON Inverter 1 CM-485 DB9 9-pin D-Sub Termination OFF Inverter 2 CM-485T 7-pin terminal socket Termination ON Modbus Agile 02/2011...
A communication interface can be set up in the "Setup" menu of the Operator Panel. Further commu- nication parameters can be set in the "Para" menu. 5.3.1 Menu for setting up the Communication The communication interface can be set up quickly and simple via the Operator Panel. 02/2011 Modbus Agile...
Protocol (CM / X21). − Select Modbus for the X21 Service-Interface. − Set an optional Communication Module (CM-232 or CM-485) for Modbus. The selection is only possible if an optional CM-PDPV1 Communication Module is installed. Modbus Agile 02/2011...
The X21-Connection (RJ45) is set to the Modbus communication protocol. The slot for an optional Communication Module is set to the Mod- 2 - CM: Modbus / X21: VABus bus communication protocol. The X21-Connection (RJ45) is set to the VABus communication protocol. 02/2011 Modbus Agile...
No parity is used in the data transfer. Attention! Changes are effective immediately and without a restart of the frequency inverter. The listed line lengths are recommended maximum values, which amongst other things, are dependent on the properties of the cable. Modbus Agile 02/2011...
Page 23
The setting applies to the slot of an optional Communication Module or to the X21-Connection (de- Protocol (CM/X21) pending on the setting of Parameter 395). Parameter Setting Description Min. Max. Factory Setting 1505 Modbus Watchdog Timer 10000 s If the parameter is set to zero (factory setting), then monitoring is switched off. 02/2011 Modbus Agile...
The Error Checking Field is the result of a "Redundancy Checking" calculation that is performed on the message contents. Two kinds of calculation methods are used depending on the transmission mode that is being used (RTU or ASCII). See Chapter 7.3.10 "Modbus Transmission Modes". Modbus Agile 02/2011...
In all data fields with more than one byte, the highest order byte is transmitted first. Message examples for all supported function codes in both RTU and ASCII transmission modes can be found in Chapter 9 "Modbus Message Examples". 02/2011 Modbus Agile...
0 - 1599 and is stored in the lower 12bits; the data set number ranges from 0 – 9 and is stored in the upper 4 bits. Example: Parameter 372 (hex. 0x174), data set 2 (hex. 0x2) is stored as hex. 0x2174. Start Address Data Set Parameter number Bits For the above example: Hex. Bin. Modbus Agile 02/2011...
Page 27
− No. of bytes in the data field too small or too large SLAVE DEVICE FAILURE − Error on reading the parameter Exception Codes are described in detail in Chapter 7.3.9 "Exception Codes". Examples: 16 Bit 32 Bit 9.1.1.1 9.1.2.1 Modbus RTU Modbus ASCII 9.2.1.1 9.2.2.1 02/2011 Modbus Agile...
10, 100 or 1000. Example: A current value of 10.3A is to be transmitted. The numerical value actually transmitted is 103, which corresponds to 0x67 in HEX format. Modbus Agile 02/2011...
0 – 1599 and is stored in the lower 12 bits; the data set number ranges from 0 – 9 and is stored in the upper 4 bits. e.g.: Parameter 372 (hex. 0x174), data set 2 (hex. 0x2) is stored as hex. 0x2174. Start Address Data Set Parameter number Bits For the above example: Hex. Bin. 02/2011 Modbus Agile...
LRC & Endframe Response: Start Frame (RTU oder ASCII mode) Address 1 Byte 1 – 0xF7 (=247) Function Code 1 Byte 0x64 Register Value (Parameter Value) 4 Bytes 0 – 0xFFFF FFFF or LRC & Endframe 02/2011 Modbus Agile...
Page 32
− Error on reading the parameter SLAVE DEVICE FAILURE Exception Codes are described in detail in Chapter 7.3.9 "Exception Codes". Example of a Modbus ASCII telegram see chapter 9.2.2.2. Example of a Modbus RTU telegram see chapter 9.1.2.39.1.2.3. Modbus Agile 02/2011...
10, 100 or 1000. Example: Frequency Value A frequency value of 100.25 Hz is to be transmitted. The numerical value actually transmitted is 10025, which corresponds to 0x2729 in HEX format. 02/2011 Modbus Agile...
Sub-function 2 Bytes 0x000A Data 2 Bytes 0x0000 or LRC & Endframe Response: Start Frame (RTU oder ASCII mode) Address Function Code 1 Byte 0x08 Sub-function 2 Bytes 0x000A Data 2 Bytes 0x0000 or LRC & Endframe Modbus Agile 02/2011...
Page 35
− No. of bytes in the data field too small or too large ILLEGAL DATA VALUE − "data field" not equal to 0x0000 SLAVE DEVICE FAILURE − Error on Reading the Diagnostic Counter Exception Codes are described in detail in Chapter 7.3.9 "Exception Codes". 02/2011 Modbus Agile...
No. of bytes too small or too large − Certain fields not set to specific values SLAVE DEVICE FAILURE − Read or Write Parameter failed The reason for the error can be obtained by reading out Parameter VABusSST Error Register Modbus Agile 02/2011...
− 1 parity bit − 1 stop bit Note: If no parity is used then an extra stop bit is added. Character format with parity checking: Start Parity Stop Character format without parity checking: Start Stop Stop 02/2011 Modbus Agile...
Page 38
The final content of the register, after all the bytes of the message have been ap- plied, is the CRC value. When the CRC is appended to the message, the low-order byte is appended first, followed by the high-order byte. Modbus Agile 02/2011...
Page 39
0000 1000 ⇒0 = no ExOR 0100 1001 0000 0100 6.shift right ⇒0 = no ExOR 0010 0100 1000 0010 7.shift right ⇒0 = no ExOR 0001 0010 0100 0001 8.shift right CRC = 0x41 0x12 result 02/2011 Modbus Agile...
Page 40
RTU mode requirements regarding the management of timers. Note: This mode is less efficient than RTU since each byte needs two characters. Example: The byte 0x5B is encoded as two characters: 0x35 and 0x42 ( 0x35 ="5", and 0x42 ="B" in ASCII ). Modbus Agile 02/2011...
Page 41
LRC to the message. The device that receives calculates an LRC during receipt of the message, and compares the calculated value to the actual value it received in the LRC field. If the two values are not equal, an error results. 02/2011 Modbus Agile...
Attention! If the degree of utilization of the CPU is high (> 90%), the response time can be more than 500 ms. Note: The specified times are valid for operation with RS485 and RS232. Modbus Agile 02/2011...
Data Set 2 Data Set 3 Data Set 4 Note: Control Word Reference Frequency RAM Reference The Data Sets for parameters 410, 484 and Percentage RAM 524 are always zero. Internally, these are not written to the EEPROM. 02/2011 Modbus Agile...
Page 44
Handling of Data Sets / Cyclic Writing Modbus Agile 02/2011...
1 and No. of Regs field set to 2 (invalid value). Request: Master Frequency Inverter Field: Addr. Func. DSet/Par-No. No. of Regs Error Response: Frequency Inverter Master Field: Addr. Func. Except. The exception code sent is hexadecimal value 0x04 = SLAVE DEVICE FAILURE. 02/2011 Modbus Agile...
Page 46
Writing out of range value 0 to parameter 376 (0x0178) in data set 2 to the frequency inverter with address 3. Request: Master Frequency Inverter Field: Addr. Func. DSet/Par-No. Par-Value Error Response: Frequency Inverter Master Field: Addr. Func. Except. The exception code sent is hexadecimal value 0x04 = SLAVE DEVICE FAILURE. Modbus Agile 02/2011...
Page 47
Request: Master Frequency Inverter No. of Field: Addr. Func. DSatz/Par-Nr. No. of registers Par-value bytes Error Response: Frequency Inverter Master Field: Addr. Func. Except. The exception code sent is hexadecimal value 0x04 = SLAVE DEVICE FAILURE. 02/2011 Modbus Agile...
1 and No. of Regs field set to 1 (invalid value). Request: Master Frequency Inverter Field: Addr. Func. DSet/Par-No. No. of Regs Error Response: Frequency Inverter Master Field: Addr. Func. Except. The exception code sent is hexadecimal value 0x04 = SLAVE DEVICE FAILURE. Modbus Agile 02/2011...
Page 49
Therefore the value to be sent is 20000 = 0x00030D40. Request: Master Frequency Inverter Field Addr. Funk. DSatz/Par-Nr. No. Registers Par-Wert Bytes Error Response: Frequency Inverter Master Field: Addr. Func. Except. The exception code sent is hexadecimal value 0x04 = SLAVE DEVICE FAILURE. 02/2011 Modbus Agile...
Page 50
Reading unknown parameter 1600 (0x0640) in data set 2 from the frequency inverter with address 1. Request: Master Frequency Inverter Field: Addr. Func. DSet/Par-No. Error Response: Frequency Inverter Master Field: Addr. Func. Except. Reading unknown parameter 1600 (0x0640) in data set 2 from the frequency inverter with address 1. Modbus Agile 02/2011...
Page 51
375 has 2 decimal places. The value to be sent is 900 = 0x0384. Request: Master Frequency Inverter Field: Addr. Func. DSet/Par-No. Par-Value Error Response: Frequency Inverter Master Field: Addr. Func. Except. The exception code sent is hexadecimal value 0x04 = SLAVE DEVICE FAILURE. 02/2011 Modbus Agile...
Reading unknown Diagnostic Counter 8 (Sub-function 0x13) from frequency inverter with address 1. Request: Master Frequency Inverter Field: Addr. Funk. Sub-function Data Error Response: Frequency Inverter Master Field: Addr. Func. Except. The exception code sent is hexadecimal value 0x01 = ILLEGAL FUNCTION. Modbus Agile 02/2011...
Controller Release Actual Frequency Actual Speed external Release Note: Control Word Reference Frequency RAM Reference Percentage RAM 410, 484 and 524 are stored in the RAM of the frequency inverter. This is generally addressed via data set 0. Modbus Agile 02/2011...
Page 63
414. Statemachine is a standardized software module within the controller of the frequency inverter. The State- machine represents specified operating states and control within the frequency inverter. 02/2011 Modbus Agile...
Exceptions: The release must always be made via the Hardware-Inputs STOA (Terminal X11.3) and STOB (Terminal X13.3) and bit 0 "STOA+STOB" of the Control Word. A Controller Release by software alone is not possible. Modbus Agile 02/2011...
Page 65
Bit 4 "Voltage enabled" in the Status Word indicates the current status of the mains supply. Bit 4 "Voltage enabled" = 0 signals "no mains supply" and that starting the drive is not possible. Bit 4 "Voltage enabled" = 1 signals "mains supply switched on" and drive ready for starting. 02/2011 Modbus Agile...
Bit 15 "Warning 2" signals a critical operating state which will result in a fault switch-off of the fre- quency inverter within a short time. This bit is set if there is a delayed warning relating to the motor temperature, heat sink/inside temperature, Ixt monitoring or mains phase failure. Modbus Agile 02/2011...
15 14 13 12 11 10 9 0 Bit Switch On Enable Voltage Quick Stop Enable Operation no function no function no function Reset fault no function no function no function no function no function no function no function no function 02/2011 Modbus Agile...
Page 68
The frequency inverter supports an external 24 V voltage supply for the control electronics of the fre- quency inverter. Communication between the controlling device (PLC) and the frequency inverter is still possible even when the mains supply has been switched off. Modbus Agile 02/2011...
Page 70
Bit 11 "Limit value reached" indicates that an internal limit is active. This may be the current limit, the torque limit or the overvoltage control. All functions result in the reference value being left or not reached. Modbus Agile 02/2011...
Page 71
Bit 15 "Warning 2" signals a critical operating state which will result in a fault switch-off of the fre- quency inverter within a short time. This bit is set if there is a delayed warning relating to the motor temperature, heat sink/inside temperature, Ixt monitoring or mains phase failure. 02/2011 Modbus Agile...
If the frequency/speed reaches the value zero during the switch-off time, the drive continues to be supplied with current until the switch-off time has elapsed. This ensures that the drive is at a standstill when the state changes. Modbus Agile 02/2011...
See Chapter 7.3.9 "Exception Codes". Reference Bus Frequency Reference value from the serial interface. Reference Ramp Frequency Reference value from the Reference Frequency Channel. Modbus or VABus Status Word. Status Word See Chapter 10 "Control / Reference Value" 02/2011 Modbus Agile...
270 several warnings can be set at the same time. Example: Message Warning Code Comment Warning Ixt 0x0001 Set on Short Term or Long Term Ixt. Short Term Ixt 0x0002 Warning Limit Heat Sink Tem- 0x0008 perature Warning Limit Motor Tempera- 0x0080 ture 0x008B 02/2011 Modbus Agile...
Page 76
Actual Fault The Actual error message can also be read out by parameter access via parameter 260. Actual Error Parameter 259 shows the actual error in clear text on the operator panel and the PC software tool VPlus. Modbus Agile 02/2011...
Page 80
Bonfiglioli has been designing and developing innovative and reliable power transmission and control solutions for industry, mobile machinery and renewable energy applications since 1956. www.bonfiglioli.com Bonfiglioli Riduttori S.p.A. VEC 691 R1 tel: +39 051 647 3111 fax: +39 051 647 3126 Via Giovanni XXIII, 7/A bonfiglioli@bonfiglioli.com 40012 Lippo di Calderara di Reno...
Need help?
Do you have a question about the Agile and is the answer not in the manual?
Questions and answers