Introduction vacon • 3 INTRODUCTION Vacon NX frequency converters can be connected to Ethernet using an Ethernet fieldbus board OPTCP. The OPTCP can be installed in board slots D or E. Every appliance connected to an Ethernet network has two identifiers; a MAC address and an IP ad- dress.
For example in Siemens S7, by using the menu command "PLC > Diagnostics/Setting > Node Flashing Test..." you can identify the station connected directly to the PG/PC by the FORCE LED that flashes. 24-hour support +358 (0)40 837 1150 • Email: fieldbus@vacon.com...
6 • vacon Ethernet board technical data 2.3. Ethernet Common-use cases of Ethernet devices are ‘human to machine’ and ‘machine to machine’. Basic features of these two cases are presented in the pictures below. 1. Human to machine (Graphical User interface, relatively slow communication)
Use only industrial standard components in the network and avoid complex structures to minimize the length of response time and the amount of incorrect dispatches. More information on Ethernet can be found at www.odva.org. 24-hour support +358 (0)40 837 1150 • Email: fieldbus@vacon.com...
8 • vacon Installation INSTALLATION 3.1. Installing the Ethernet Option Board in a Vacon NX Unit MAKE SURE THAT THE FREQUENCY CONVERTER IS SWITCHED OFF BEFORE AN OPTION OR FIELDBUS BOARD IS CHANGED OR ADDED! NOTE Vacon NX frequency converter.
Page 9
(see below) fits tightly in the clamp. Make a sufficiently wide opening for your cable by cutting the grid as wide as necessary. Close the cover of the control unit and the cable cover. 24-hour support +358 (0)40 837 1150 • Email: fieldbus@vacon.com...
3.3. IP Tool NCIPConfig To begin using the Vacon Ethernet board, you need to set an IP address. The factory default IP ad- dress is 192.168.0.10. Before connecting the board to the network, its IP addresses must be set ac- cording to the network.
Page 11
3.3.1. Update OPTCP Option Board program with the NCIPConfig Tool In some cases it may be necessary to update the option board's firmware. Differing from other Vacon option boards, the Ethernet option board's firmware is updated with the NCIPConfig tool.
Page 12
12 • vacon Installation After clicking the VCN packet field, a file open window where you can choose a new firmware packet is displayed. Select the desired packet and click Open. NOTE! Do not do a power up cycle after downloading the option board software or installing a new option board to the drive within 1 minute.
Page 13
NOTE! If the fieldbus cable is broken at the Ethernet board end or removed, a fieldbus error is im- mediately generated. 24-hour support +358 (0)40 837 1150 • Email: fieldbus@vacon.com...
Page 17
Installation vacon • 17 7. Change IP address and select subnet by clicking New. 8. Click OK 24-hour support +358 (0)40 837 1150 • Email: fieldbus@vacon.com...
Page 18
18 • vacon Installation 9. Click OK 10. Now configuration should look like this Tel. +358 (0)201 2121 • Fax +358 (0)201 212 205...
Page 19
Installation vacon • 19 11. Drag and drop OPTCP to Profinet IO system 12. Select communication profile 24-hour support +358 (0)40 837 1150 • Email: fieldbus@vacon.com...
• 23 COMMISSIONING The Vacon Ethernet board is commissioned with the control keypad by giving values to appropriate parameters in menu M7 (or with NCIPConfig tool, read chapter IP Tool NCIPConfig). Keypad com- missioning is only possible with NXS and NXP series AC drives. AC drives of the NXL series can only be commissioned with the NCIPConfig tool.
NCIPConfig tool or the NCDrive. 4.4. Start-up test In the AC drive application: Choose Fieldbus (Bus/Comm) as the active control place (see Vacon NX User's Manual, Chapter 7.3.3). In the Master software: Set Control Word value to 0hex.
5.1. Vendor profile In vendor mode there are three PPO types; PPO3,PPO4,PPO6. These PPO types should have same functionality than Vacon NX Profibus. In PPO mode control word and status word goes though state machine. Descriptions...
Page 26
26 • vacon Profinet IO 5.1.1. Control word (Vendor profile) The Control command for the state machine (see Figure 2) The state machine describes the device status and the possible control sequence of the frequency converter. The control word is composed of 16 bits that have the following meanings:...
Page 27
FC stopped Running * FC not ready FC ready * Not used Not used Not used Not used Table 4. *Comes straight from the frequency converter **Bits of the State Machine 24-hour support +358 (0)40 837 1150 • Email: fieldbus@vacon.com...
Page 28
28 • vacon Profinet IO 5.1.3. State Machine The state machine describes the device status and the possible control sequence of the frequency converter. The state transitions can be generated by using the “Control word”. The “Status word” indicates the current status of the state machine. The modes INIT, STOP, RUN and FAULT corres- pond to the actual mode of the Frequency converter.
Page 29
The master can read the frequency converter’s actual values using the process data variables. Depending on the used application, the contents are either standard or can be selected with a para- meter. 24-hour support +358 (0)40 837 1150 • Email: fieldbus@vacon.com...
30 • vacon Profinet IO 5.2. Bypass profile In BYPASS mode there are three types. Descriptions Byte Control Word Status Word Reference value Actual value Process Data 5.2.1. Control Word (Bypass profile) The meanings of the Control Word bits is application-dependent.
STW1 has to be written to Drive Interface through state machine. Some of the STW1 bits go straight to Drive Interface. The STW1 is composed of 16 bits that have the following meanings: 24-hour support +358 (0)40 837 1150 • Email: fieldbus@vacon.com...
Page 32
32 • vacon Profinet IO Bits Description Value = 0 Value = 1 Coast stop (No OFF2 / OFF2) No coast stop Quick stop (No OFF3 / OFF3) No quick stop Disable operation Enable operation Reset ramp generator Enable ramp generator...
Page 33
In the application, the value is scaled in percentage of frequency area between set minimum and maximum frequency. -10000 = 100,00 % (Direction reverse) 0 = 0, 00 % (Direction forward) 10000 = 100,00 % (Direction forward) 24-hour support +358 (0)40 837 1150 • Email: fieldbus@vacon.com...
Page 34
34 • vacon Profinet IO 5.3.1.5. State Machine The state machine describes the device status and the possible control sequence of the frequency converter. The state transitions can be generated by using the “Control word”. The “Status word” indicates the current status of the state machine. The modes INIT, STOP, RUN and FAULT corres-...
Change parameter value, single Request parameter value, multi-parameter Change parameter value, multi-parameter Request parameter value, several array elements Change parameter value, several array elements Change parameter value, several array elements, Format Byte 24-hour support +358 (0)40 837 1150 • Email: fieldbus@vacon.com...
Page 36
36 • vacon Profinet IO It is possible to read and write parameters from and to the drive. In order to process them through the Base Mode Parameter Access mechanism, you should: o set requested PNU to 10001 (0x2711) o set requested subindex with the drive parameter ID NOTE: Parameters which are read from the drive have always the format set to “Word”...
Page 37
0x44 = Error 0x45 – 0xFF = Reserved Number of Values Number of following values or 0…234 number of following data type ele- ments. Error Number See Table 6 on page 36. 24-hour support +358 (0)40 837 1150 • Email: fieldbus@vacon.com...
Page 38
38 • vacon Profinet IO Response Header, Meaning of the fields Field Meaning Range Request Reference Mirrored from request. 1…255 Response ID Slave’s response. 0x01 = Request OK 0x02 = Change OK 0x81 = Request Failed 0x82 = Change Failed DO-ID Mirrored from request.
40 • vacon APPENDIX APPENDIX Process Data OUT (Slave Master) The fieldbus master can read the frequency converter’s actual values using process data variables. Basic, Standard, Local/Remote, Multi-Step, PID control and Pump and fan control applications use process data as follows:...
Page 41
Process Data IN1 Reference for PID control- 0.01% Process Data IN2 Actual Value 1 to PID con- 0.01% troller Process Data IN3 Actual Value 2 to PID con- 0.01% troller PD4–PD8 Not Used 24-hour support +358 (0)40 837 1150 • Email: fieldbus@vacon.com...
Page 42
42 • vacon APPENDIX License for LWIP Copyright (c) 2001, 2002 Swedish Institute of Computer Science. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted pro- vided that the following conditions are met: 1.