Vacon  100 User Manual

Vacon 100 User Manual

Ac drives. modbus tcp
Hide thumbs Also See for Vacon 100:

Advertisement

vacon 100
®
ac drives
modbus tcp
user manual

Advertisement

Table of Contents
loading

Summary of Contents for Vacon Vacon 100

  • Page 1 100 ® ac drives modbus tcp user manual...
  • Page 3: Table Of Contents

    6.3.3 Holding and input registers ..................... 27 Example messages ......................35 Fault tracing ....................38 Typical fault conditions ....................38 RS-485 bus biasing......................38 Other fault conditions....................... 39 Quick setup ..................... 42 Annex ......................44 24-hour support +358 (0)40 837 1150 • Email: vacon@vacon.com...
  • Page 4 • 1 Tel. +358 (0) 201 2121 • Fax +358 (0)201 212 205...
  • Page 5: Safety

    Wait until the indicators on the keypad 9000.emf go out (if no keypad is attached see the indicators on the cover). Wait additional 5 minutes before starting any work on the drive. 24-hour support +358 (0)40 837 1150 • Email: vacon@vacon.com...
  • Page 6: Warnings

    (EN 60204-1). 13006.emf Only spare parts delivered by Vacon can be used. 13006.emf At power-up, power brake or fault reset the motor will start immediately if the start signal is active, unless the pulse control for Start/Stop logic has been selected.
  • Page 7: Earthing And Earth Fault Protection

    Do not perform any voltage withstand tests on any part of the AC drive. There is a certain procedure according to which the tests shall be performed. Ignoring this 13006.emf procedure may result in damaged product. 24-hour support +358 (0)40 837 1150 • Email: vacon@vacon.com...
  • Page 8: Modbus - General Info

    • 5 Modbus - general info ODBUS GENERAL INFO Modbus is a communication protocol developed by Modicon systems. In simple terms, it is a way of sending information between electronic devices. The device requesting the information is called the Modbus Master (or the Client in Modbus TCP) and the devices supplying informa- tion are Modbus Slaves (in Modbus TCP servers).
  • Page 9 Modbus RTU 9326.emf Figure 2.Principal example diagram of Modbus If you need to contact Vacon service in problems related to Modbus, please send a description Drive Info File of the problem together with the to fieldbus@vacon.com. 24-hour support +358 (0)40 837 1150 • Email: vacon@vacon.com...
  • Page 10: Modbus Technical Data

    • 7 Modbus technical data ODBUS TECHNICAL DATA Modbus RTU protocol Table 2. Interface RS-485 Data transfer method RS-485 MS/TP, half-duplex STP (Shielded Twisted Pair), type Belden Transfer cable 9841 or similar Connector 2.5 mm Connections and Electrical isolation...
  • Page 11: Modbus Installation

    ® Vacon 100 HVAC Open the cover of the AC drive. The relay outputs and other I/O-terminals may have a dangerous control voltage present even when Vacon 100 is disconnected from mains. DANGER M4x55 9051.emf Figure 3. Locate the components that you will need on the AC drive to connect and run the Modbus cables.
  • Page 12: Vacon 100

    Open the cover of the AC drive. M4x55 9174.emf The relay outputs and other I/O-terminals may have a dangerous control voltage present even when Vacon 100 is disconnected from mains. 9000.emf Tel. +358 (0) 201 2121 • Fax +358 (0)201 212 205...
  • Page 13 NOTE: OPTE3 can be installed to either slot D or E but OPTE5 board can only be used in slot E. NOTE: Incompatible boards cannot be installed on Vacon 100. Compatible boards have a slot coding that enable the placing of the board.
  • Page 14 • 11 Modbus installation Strip about 15 mm of the fieldbus cable (see specification in Chapter 3.2) and cut the grey cable shield. Remember to do this for both bus cables (except for the last device). Leave no more than 10 mm of the cable outside the terminal block and strip the cables at about 5 mm to fit in the terminals.
  • Page 15 NOTE: This is only a principle drawing and the actual drive may look different. Cable clamp 9200.emf If Vacon 100 is the last device on the bus, the bus termination must be set with jumper X13 (see Chapter 4.4.) Current...
  • Page 16 • 13 Modbus installation Unless already done for the other control cables, cut free the opening on the AC drive cover for the fieldbus cable (protection class IP21). NOTE: Cut the opening on the same side you have installed the board in! NOTE: This is only a principle drawing and the actual drive may look different.
  • Page 17: Prepare For Use Through Ethernet

    The bus termination must be set for the first and the last device of the fieldbus line. See picture below. See also step 7, Chapter 4.4 . We recommend that the first device on the bus and, thus, terminated was the Master device. Vacon 100 Vacon 100 Vacon 100 Vacon 100 Vacon 100 Termination activated...
  • Page 18 • 15 Modbus installation 9201.emf Figure 6. Remount the AC drive cover. NOTE: When planning the cable runs, remember to keep the distance between the Ethernet cable and the motor cable at a minimum of 30 cm. Ethernet cable 9265.emf...
  • Page 19: Prepare For Use Through Rtu

    Do not strip the aluminum cable shield! 9188.emf Then connect the cable to its appropriate terminals on Vacon 100 AC drive stan- dard terminal block, terminals A and B (A = negative, B = positive). See Figure 8. 24-hour support +358 (0)40 837 1150 • Email: vacon@vacon.com...
  • Page 20 • 17 Modbus installation RS485 terminals (A and B) 21 22 23 24 2526 13 14 15 16 1718 19 20 A 2 3 4 5 6 7 8 9 10 8 9 10 9198.emf 9198.emf Figure 8. Using the cable clamp included in the delivery of the drive, ground the shield of the RS485 cable to the frame of the AC drive.
  • Page 21 Modbus installation vacon • 18 If Vacon 100 is the last device on the bus, the bus termination must be set. Locate the DIP switches to the right of the control keypad of the drive and turn the switch for the RS485 bus termination resistor to position ON. Biasing is built in the termination resistor.
  • Page 22 See picture below. See also step 6 on page 14. We recommend that the master device is at one end of the bus and thus has termination activated. Vacon 100 Vacon 100 Vacon 100 Vacon 100 Vacon 100 Termination...
  • Page 23: Programming

    Navigate: Main Menu > Parameters > Start/Stop Setup > Rem. Ctrl. Place (P3.2.1) ‘Fieldbus control’ Remote Control Place 2. Select as the Navigate: Main Menu > Parameters > References 3. Choose source of reference. 4. Set fieldbus parameters. See below. 24-hour support +358 (0)40 837 1150 • Email: vacon@vacon.com...
  • Page 24 P5.X.3.1.6 1 = Master This feature is not supported in Vacon 100 HVAC. The default Vacon 100 application supports only Slave mode. A special application is required for Master functionality. Tel. +358 (0) 201 2121 • Fax +358 (0)201 212 205...
  • Page 25: Modbus Tcp Parameters And Monitoring Values

    Control word 2458 See page 34. P5.X.2.2.1.11 Status word 2459 See page 37. MONITORING VALUES (Connection 2, Monitoring)* 1 = Stopped Fieldbus protocol P5.X.2.2.1.1 2460 2 = Operational status 3 = Faulted 24-hour support +358 (0)40 837 1150 • Email: vacon@vacon.com...
  • Page 26 • 23 Programming Code Parameter Unit Default Description 0-99 Number of mes- sages with errors Communication P5.X.2.2.1.2 99.999 2461 0-999 Number of mes- status sages without communi- cation errors P5.X.2.2.1.3 Illegal functions 2462 See page 28. Illegal data P5.X.2.2.1.4 2463 See page 28.
  • Page 27: Modbus Rtu Parameter Descriptions

    Used to select the operate mode of the Modbus RTU protocol (slave / master). This feature is not supported in Vacon 100 HVAC. The default Vacon 100 application supports only Slave mode. A special application is required for Master functionality.
  • Page 28 Protocol is timeouted or not used OPERATIONAL Protocol is running Major fault in protocol, requires restarting. FAULTED If fault remains contact fieldbus@vacon.com P5.X.3.2.2 OMMUNICATION STATUS Communication status shows how many error and how many good messages the frequen- cy converter has received. The Communication status includes a common error counter that counts CRC and parity errors and a counter for good messages.
  • Page 29 Shows the last fault response as P5.X.3.2.10 ONTROL WORD Control Word Shows the received from the bus. P5.X.3.2.11 TATUS WORD Status Word Shows the current that is sent to the bus. 24-hour support +358 (0)40 837 1150 • Email: vacon@vacon.com...
  • Page 30: Modbus Tcp Parameter Descriptions

    • 27 Programming Modbus TCP parameter descriptions 5.4.1 Ethernet common settings P5.X.1.1 ADDRESS MODE DHCP Fixed Selectable alternatives are (Dynamic Host Configuration Protocol) and DHCP protocol gives IP addresses to new devices connecting to local network. This address is valid for a certain period of time.
  • Page 31: Modbus Tcp Monitoring Values

    LLEGAL DATA VALUES This value counts error situations. A value contained in the query data field refers to an unal- lowed value for server (or slave). This corresponds to Modbus fault code 03 24-hour support +358 (0)40 837 1150 • Email: vacon@vacon.com...
  • Page 32 • 29 Programming P5.X.2.2.1.6 LAVE DEVICE BUSY This value counts error situations. The server (or slave) is engaged in processing a long–dura- tion program command. The client (or master) should retransmit the message later when the server (or slave) is free. This corresponds to Modbus fault code 06 P5.X.2.2.1.7...
  • Page 33: Communications

    • Holding register 40108 is addressed as register 006B hex (107 decimal). Supported Modbus Functions The Vacon variables and fault codes as well as the parameters can be read and written from Modbus. The parameter addresses are determined in the application. Every parameter and ac- tual value have been given an ID number in the application.
  • Page 34 • 31 Communications Address Function Function Access Modbus Function Name TCP/RTU range (dec) (hex) type (hex) Register 40000- Write Multiple Registers TCP&RTU (16bit) 4FFFF Read/Write Multiple Regis- Register 40000- TCP&RTU ters (16bit) 4FFFF NOTE: Broadcasting not supported in TCP.
  • Page 35: Modbus Data Mapping

    Coils registers ® A "coil" in Modbus is a single-bit binary data item which can be both read and written. In Vacon 100 the coils refer to some bits in the fieldbus control word." See page 34. Table 13. Defined coil registers...
  • Page 36 • 33 Communications Table 15. Vacon 100 input and holding registers Register Access Purpose number type 0001 - 2000 Vacon Application ID´s 16bit Table 16 2001 - 2050 FBProcessDataIN 16bit Table 17 2051 - 2099 FBProcessDataIN 32bit Table 17...
  • Page 37 FB Process Data In 8 2070 = Low data *. In Vacon 100, the Control Word and the Status Word are formed of 32 bits. Only the initial 16 bits can be read in the 16-bit area. Control word bits The Control word is composed of 32 bits.
  • Page 38 • 35 Communications Table 18. Control Word bits Name Value = 1 Value = 0 Vacon 100 HVAC Vacon 100 B0 Start/Stop Start request Stop request Supported Supported B1 Direction Reverse Forward Supported Supported Fault Reset faults No action...
  • Page 39 2167 = High data 2110 FB Process Data Out 7 See Chapter 9. 2168 = Low data 2169 = High data 2111 FB Process Data Out 8 See Chapter 9. 2170 = Low data 24-hour support +358 (0)40 837 1150 • Email: vacon@vacon.com...
  • Page 40 • 37 Communications Table 20. Vacon 100 Name Value=1 Value=2 Vacon 100 HVAC Ready for opera- Bit 0 Ready Not Ready Supported Supported tion Bit 01 Running Stopped Supported Supported Bit 2 Direction Counterclockwise Clockwise Supported Supported Bit 3...
  • Page 41 Once the IDMap address range has been initialized with any parameter ID number, the param- eter value can be read and written in the IDMap Read/Write address range address IDMap ad- dress + 100. 24-hour support +358 (0)40 837 1150 • Email: vacon@vacon.com...
  • Page 42 • 39 Communications Table 24. Parameter Values in 16-bit IDMap Read/Write registers Address Data 10601 Data included in parameter ID700 10602 Data included in parameter ID702 10603 Data included in parameter ID707 10604 Data included in parameter ID704 If the IDMap table has not been initialized, all fields show the index '0'. If the it has been initial- ized, the parameter ID's included in it are stored in the flash memory of the OPT-CI board.
  • Page 43 Reset the counter by writing “1” for parameter ID2312. Table 29. Resettable energy counter Address Purpose 40301 Energy 40302 Format Unit 1 = kWh 40303 2 = MWh 3 = GWh 4 = TWh 24-hour support +358 (0)40 837 1150 • Email: vacon@vacon.com...
  • Page 44: Example Messages

    • 41 Communications 6.3.3.9 Fault history The fault history can be viewed by reading from address 40401 onward. The faults are listed in chronological order so that the latest fault is mentioned first and the oldest last. The fault his- tory can contain 29 faults at the same time.
  • Page 45 93 hex CRC field 93A5 hex (= 37797) CHECK CRC LO A5 hex Message frame: 01 04 08 36 00 02 93 A5 The reply to the Read Input Registers message contains the values of the read registers. 24-hour support +358 (0)40 837 1150 • Email: vacon@vacon.com...
  • Page 46 • 43 Communications Answer Slave - Master: ADDRESS 01 hex Slave address 1 hex (= 1) FUNCTION 04 hex Function 4 hex (= 4) DATA Byte count 04 hex Byte count 4 hex (= 4) Data HI 13 hex Speed reference = 1388 hex (=5000 => 50.00%)
  • Page 47 04 hex Error code 04 => Slave Device Failure ERROR CRC HI 42 hex CRC field 42C3 hex (= 17091) CHECK CRC LO C3 hex Reply frame: 01 84 04 42 C3 24-hour support +358 (0)40 837 1150 • Email: vacon@vacon.com...
  • Page 48: Fault Tracing

    • 45 Fault tracing AULT TRACING When an unusual operating condition is detected by the AC drive control diagnostics, the drive initiates a notification visible, for example, on the keypad. The keypad will show the ordinal number of the fault, the fault code and a short fault description.
  • Page 49: Other Fault Conditions

    The following fault tracing diagram will help you to locate and fix some of the most usual prob- lems. If the problem persists contact your local distributor. 9330.emf Figure 9. Fault tracing diagram for Modbus RTU 24-hour support +358 (0)40 837 1150 • Email: vacon@vacon.com...
  • Page 50 • 47 Fault tracing 9329.emf Figure 10. Fault tracing diagram for Modbus TCP Tel. +358 (0) 201 2121 • Fax +358 (0)201 212 205...
  • Page 51: Quick Setup

    5000 (25.00 Hz if MinFreq is 0.00 Hz and MaxFreq is 50.00 Hz) F. Set Control Word to '0' by writing the data 0000h to the register 2001 G. Frequency converter status is STOP. 24-hour support +358 (0)40 837 1150 • Email: vacon@vacon.com...
  • Page 52: Annex

    Motor Current scale is always 0.1 A. Note 2: In Vacon 100 HVAC, the default ID is 45 meaning "Motor Current 1 Decimal". In Vacon 100, the default ID is 3 for Motor Current. The ID 45 can be mapped by the user to this variable also in Vacon 100.
  • Page 54 Find your nearest Vacon office on the Internet at: www.vacon.com Manual authoring: documentation@vacon.com Document ID: Vacon Plc. Runsorintie 7 65380 Vaasa Finland Subject to change without prior notice Rev. B © 2012 Vacon Plc.

Table of Contents