Home
RS-485 Option Board
Contents
1. 19 Modbus IR protocol Imt DOM ss cei re te eta see ee ee Hard De 19 o 1s Supported gt t obtu uiua 21 Dol EXCBSDUON FESDOLSSBS cdidit toad sa 23 Quat nee 25 021 MOGDUS register ubt a oaa a aa 25 05222 PROCESS Dalton sa 25 02259 PROCESS JUS 26 Diz Process da Obst oisi qtu oum ot debes lees 27 OZ T 30 5 249 JACEUdL eae 30 7 Example message star Matt bon adt 31 RE OG oy eR a AE EE T T TIT 33 7 METASYS INZ mr RN 34 Tob Metasys NZ Protocol IN IPO OU EOD usce 34 EVENS NAIME IC c 34 que PUCA I ict ra tdi pi ne 34 HBV QUE tess cc Up Lm 34 12 9 Analogue Output O Si 35 1 29 Binary stessi ut nde 35 7
2. MODBUS VACON 19 6 MODBUS 6 1 Modbus RTU protocol introduction The MODBUS protocol is an industrial communications and distributed control system to integrate PLCs computers terminals and other monitoring sensing and control devices MODBUS is a Mas ter Slave communications protocol The Master controls all serial activity by selectively polling one or more slave devices The protocol provides for one master device and up to 247 slave devices on a common line 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 transaction The other devices the slaves respond by supplying the request data to the master or by taking the action requested in the query The master can address individual slaves or initiate a broadcast message to all slaves Slaves return a message response to queries that are addressed to them individually Responses are not returned to broadcast queries from the master A transaction comprises a single query and single response frame or a single broadcast frame The transaction frames are defined below START START ADDRESS ADDRESS FUNCTION FUNCTION DATA DATA END END Figure 13 The basic structure of a Modbus frame Valid slave device addresses are in the range of 0 247 decimal The individual slave devices are as signed addresses in the range of 1 24
3. VACON NX AC DRIVES OPTC2 C8 MODBUS N2 OPTION BOARD USER MANUAL VACON DRIVEN BY DRIVES INDEX Document code DPD00899A Date 19 01 2012 1 O ER ar 3 2 RS 485 OPTION BOARD TECHNICAL 4 AT CT lt Tp RR GIRO Uem 4 3 RS 485 FIELDBUS BOARD LAYOUT AND CONNECTIONS 9 Oot do too UIP CZ ET 9 9 2 Udo UP TOO ODUORUDOSEG ue Cad 6 So E e rcm 7 3 3 1 Grounding by clamping the cable to the converter 7 2252 Grounding ONLY one point on tne AGE aa Aa an ps sre 9 9 9 9 Grounding Jumper A te 10 344 BUS ter miridb ess LOFS seas M M 11 BUS BIAS O waif tan 12 io gat bss OCA Ce E a a we ne ate EM 13 4 INSTALLATION OF VACON NX RS 485 14 COMMISSIONING seus names lm fit Re tiU eue ue ice Ritus tm uel 16 5 1 Fieldb s board parameter S a 16 MODBUS esa RN Meme uum MM IUD ML
4. about 0 5 cm to fit in the terminals See Figure 6 Note Do this for both bus cables Shield A B Figure 6 3 Fixboth the cables on the frame with the clamp See Figure 7 Figure 7 24 hour support 358 0 40 8371 150 Email vacon dvacon com 10 9 VACON LAYOUT AND CONNECTIONS 3 3 3 Grounding jumper X1 The Grounding jumper X1 on the OPTC8 is used for grounding selection If position ON is selected it means that the D sub connector PIN1 is connected directly to ground Selection of position OFF means that PIN1 is connected to ground via an RC filter Jumper X1 has no effect on OPTC2 Figure 8 Grounding jumper X1 Tel 358 0 201 2121 Fax 358 0 201 212 205 LAYOUT AND CONNECTIONS VACON O 11 3 4 Bus terminal resistors If Vacon is the last device of the fieldbus line the bus termination must be set Use jumper X4 ON po sition or external termination resistors e g DSUB 9 connector See Figure 9 Figure 9 Using jumper X4 to set the bus termination 24 hour support 358 0 40 8371 150 Email vacon dvacon com 12 9 VACON LAYOUT AND CONNECTIONS 3 5 Bus Biasing Bus biasing Is required to ensure faultless communication between devices at RS 485 bus Bus bias ing makes sure that the bus state is at proper potential when no device Is transmitting Without bias ing faulty messages can be detected when the bus is in idle state RS 485 bus state should be neather 0 200 7V or 0 20
5. 2 5 Internal Integer AD A seach at tener E ere et art 35 YS ZONA eo O ia DO er DS es DS 36 kal Analogue A NOC Al 36 ko Bina Quis NB ASS LM MEM DR MEE IM 37 Lao Analogue Out puto O oo rede re opt ate a 37 Dinar POUL TTC ON 38 73 5 Internal Integers ADI o uniao a ode oie dui 38 8 FAULT TRACRINO ea sia baler e ias as ala meu 39 ong ter ee reer ee tenet emai creer ne nte ert yee ree rere ater M VM er nee 40 GENERAL VACON 1 GENERAL Instead of sending and receiving information to and from frequency converters through 1 0 you can connect them to a fieldbus Vacon NX frequency converters can be connected to the RS 485 bus using a fieldbus board The con verter can then be controlled monitored and programmed from the host system If you purchase your RS 485 Option Board separately please note that it shall be installed in slot E on the control board of the frequency converter Internal components and circuit boards are at high potential when the frequency converter 15 connected to the power source This voltage is extremely dangerous and may cause death or severe injury if you come into contact with it WARNING NOTE You can download the English and French product manu
6. 205 MODBUS VACON O 25 6 2 Modbus interface Features of the Modbus Vacon NX Interface e Direct control of Vacon NX e g Run Stop Direction Speed reference Fault reset e Full access to all Vacon NX parameters e Monitor Vacon NX status e g Output frequency Output current Fault code 6 2 1 Modbus registers 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 actual value have been given an ID number in the application The ID numbering of the parameter as well as the pa rameter ranges and steps can be found in the application manual in question The parameter value shall be given without decimals If several parameters actual values are read with one message the adresses of the parameters actual values must be consecutive All values can be read with function codes 3 and 4 all registers are 3X and 4X reference Modbus registers are mapped to drive ID s as follows ID Modbus register Group RW 40001 40098 30001 30098 Actual Values 30 1 40099 30099 Fault Code 30 1 101 1999 40101 41999 30101 31999 30 1 2001 2099 42001 42099 32001 32099 20 20 2101 2199 42101 42199 32101 32199 20 20 Table 9 Index table 6 2 2 Process data The process data fields are used to control the drive e g Run Stop Reference Fault Reset and to quickly read actual values e
7. 7 Expander board menu 7 The Expander board menu makes it possible for the user 1 to see what expander boards are con nected to the control board and 2 to reach and edit the parameters associated with the expander board Enter the following menu level with the Menu button right At this level you can browse through slots A to E with the Browser buttonsto see what expander boards are connected On the lowermost line of the display you also see the number of parameter groups associated with the board If you still press the Menu button right once you will reach the parameter group level where there are two groups Editable parameters and Monitored values A further press on the Menu button right takes you to either of these groups RS 485 parameters To commission the RS 485 board enter the level P7 5 1 from the Parameters group 67 5 1 Give desired values to all RS 485 parameters see Figure 11 and Table 5 READ 1 515 E Expander Board NXOPTC5 G1 G5 3 15 1 1 p SIL CHANGE VALUE Slave address CONFIRM CHANGE 126 Figure 11 Changing the RS 485 board commissioning parameter values Tel 358 0 201 2121 Fax 358 0 201 212 205 COMMISSIONING VACON O 17 Name 77 Defaut Range Description o COMMUNICATION 1 Modbus RTU Protocol PROTOCOL 2 2 SLAVE ADDRESS 1 247 0 Describes what kind of parity checking is used When N2 protocol is used Parity t
8. function requested is not recognized by the slave ILLEGAL DATA AD The received data address is not an allowable ad DRESS dress for the slave ILLEGAL DATA VALUE The received data value is not an allowable value for the slave SLAVE DEVICE BUSY The message was received without error but the slave was engaged in processing a long duration program command lable 8 Exception response codes Example of an exception response In an exception response the Slave sets the most significant bit MSB of the function code to 1 The Slave returns an exception code in the data field Command Master Slave ADDRESS 01hex Slave address 1 hex 1 FUNCTION 04 hex X Function 4 hex 4 DATA Starting ddress HI 17 Starting address 1770 hex 6000 Starting address LO 70 hex No of registers HI 00 hex Invalid number of registers 0005 hex 5 No of registers LO 05 hex ERROR CRC HI 34 hex CHECK CRCLO 66 hex CRC field 3466 hex 13414 Message frame 01 04 17 70 00 05 34 66 24 hour support 358 0 40 8371 150 Email vacon dvacon com 24 VACON Exception response Answer Slave Master ADDRESS 01 hex FUNCTION 14 hex ERROR CODE 02 hex ERROR AE hex CHECK CRCLO C1 hex Reply frame 01 14 02 AE ci MODBUS Slave address 1 hex 1 Most significant bit set to 1 Error code 02 gt Illegal Data Address CRC field AEC1 hex 44737 Tel 358 0 201 2121 Fax 358 0 201 212
9. g Output frequency Output current Fault code The fields are struc tured as follows Process Data Slave gt Master max 22 bytes ID Modbusregister Name 7 Binary coded Binary coded 0 10000 See appendix 1 See appendix 1 See appendix 1 See appendix 1 See appendix 1 See appendix 1 See appendix 1 2111 32111 42111 FB Process Data Out 8 See appendix 1 Table 10 24 hour support 358 0 40 8371 150 Email vacon dvacon com 26 9 VACON MODBUS Process Data Master gt Slave max 22 bytes ID Modbus register Range Type Binary coded Binary coded 0 10000 Integer 16 Integer 16 Integer 16 Integer 16 Integer 16 Integer 16 Integer 16 2011 32011 42011 FB Process Data In 8 Integer 16 able 11 The use of process data depends on the application In a typical situation the device is started and stopped with the ControlWord written by the Master and the Rotating speed is set with Refer ence REF With PD1 PD8 the device can be given other reference values e g Torque reference With the StatusWord SW read by the Master the status of the device can be seen Actual Value ACT and PD1 PD8 show the other actual values 6 2 3 Process data in This register range is reserved for the control of the frequency converter Process data inis located in range ID 2001 2099 The registers are updated every 10 ms See Table 12 ID Modbusregister
10. 0 7V Illegal bus state is lt 200mV 200mV Number of nodes 1 8 kohm 2 7 kohm 11 20 12 kohm 21 30 18 kohm 31 40 27 kohm lable 4 Bias resistor size vs number of node Fail safe biasing in OPTC2 option board Connect resistor biasing resistors between pins 2 and 4 as well as pins 3 and 5 as shown in pic ture DATA DATA Matters related to this are discussed in the application note Failsafe Biasing of Differential Buses 847 pdf published by National Semiconductor www national com Tel 358 0 201 2121 Fax 358 0 201 212 205 LAYOUT AND CONNECTIONS VACON 13 3 6 LED indications The two LED indications next to the connector show the present statuses of the RS 485 board yellow and the Fieldbus Module green Figure 10 LED indications on the RS 485 board RS 485 board status LED BS YELLOW command from the frequency converter e Option board is ready for external communication Blinking Option board Is activated and in FAULT state slow e Internal fault of option board once 5 secs Fieldbus status LED FS GREEN Fieldbus module is waiting for parameters from the fre quency converter e No external communication Fieldbus module is activated e Parameters received and module activated e Module is waiting for messages from the bus Blinking fast Module is activated and receiving messages from the bus once sec Blinking Module is in FAULT state S
11. 1 1 0 control active lable 16 General status word bit descriptions Tel 358 0 201 2121 Fax 358 0 201 212 205 MODBUS VACON 29 6 24 3 Actual speed Ee NND This is the reference 1 to the frequency converter Used normally as Speed reference The allowed scaling is 10000 10000 In the application the value is scaled in percentage of the fre quency area between set minimum and maximum frequency 6 2 4 4 Process data out to 8 Process Data Out values 1 to 8 can be used in application for various purposes Update rate is 10ms for all values See APPENDIX 1 for usage of these values 24 hour support 358 0 40 8371 150 Email vacon dvacon com 30 VACON MODBUS 6 2 5 Parameters The parameter addresses are determined in the application Every parameter has been given an ID number in the application The ID numbering of the parameter as well as the parameter ranges and steps can be found in the application manual in question The parameter value shall be given without decimals The following functions can be activated with parameters Modbus Address Parameter ID s Read Holding Registers 30101 31999 101 1999 Read Input Registers 40101 41999 101 1999 C Preset Single Register 40101 41999 101 19
12. 1403 Message frame 01 10 07 DO 00 03 06 00 01 00 00 13 88 C8 reply to Preset Multiple Registers message is the echo of 6 first bytes Answer Slave Master ADDRESS FUNCTION DATA Starting ddress HI Starting address LO No of registers HI No of registers LO ERROR CHECK Reply frame 01 hex 10 hex 07 hex DO hex 00 hex 03 hex F1 hex 01 hex Slave address 1 hex 1 Function 10 hex 2 16 Starting address 0790 hex 2000 Number of registers 0003 hex 3 CRC F101 hex 61697 01 10 07 Do oo 03 1 o 24 hour support 358 0 40 8371 150 Email vacon dvacon com 32 VACON Example 2 MODBUS Read the Process Data 42103 42104 with command 4 Read Input Registers Command Master Slave ADDRESS FUNCTION DATA Starting ddress HI Starting address LO No of registers HI No of registers LO CRC HI CRC LO ERROR CHECK 01 hex 04 hex 08 hex 36 hex 00 hex 02 hex 93 hex Ab hex Slave address 1 hex 1 Function 4 hex 4 Starting address 0836 hex 2102 Number of registers 0002 hex 2 CRC field B321 hex 45857 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 Answer Slave Master ADDRESS FUNCTION DATA Byte count Data HI Data LO Data HI Data LO ERROR CRC HI CHECK CRC LO Reply frame 01 hex 04 he
13. 7 A master addresses a slave by placing the slave address in the address field of the message When the slave sends its response it places its own address in this address field of the response to let the master know which slave is responding The function code field of a message frame contains two characters ASCII or eight bits RTU Valid codes are in the range of 1 255 decimal When a message is sent from a master to a slave device the function code field tells the slave what kind of action to perform Examples are to read the ON OFF states of a group of discrete coils or inputs to read the data contents of a group of registers to 24 hour support 358 0 40 8371 150 Email vacon dvacon com S 20 VACON MODBUS read the diagnostic status of the slave to write to designated coils or registers or to allow loading recording or verifying the program within the slave When the slave responds to the master it uses the function code field to indicate either a normal er ror free response or that some kind of error occurred called an exception response For a normal response the slave simply echoes the original function code For an exception response the slave returns a code that is equivalent to the original function code with its most significant bit set to a logic 1 The data field is constructed using sets of two hexadecimal digits in the range of 00 to FF hexadeci mal These can be made from a pair of ASCII characte
14. 99 PreseL Multiple 40101 41999 101 1999 Registers Table 17 Parameters 6 2 6 Actual values The actual values as well as parameter addresses are determined in the application Every actual value has been given an ID number in the application The ID numbering of the actual values as well as the value ranges and steps can be found in the application manual in question The following func tions can be activated with parameters Actual values LU Read Holding Registers 30001 30098 Read Input Registers 40001 40098 Jable 18 Actual values Tel 358 0 201 2121 Fax 358 0 201 212 205 MODBUS 6 2 7 Example messages Example 1 VACONO 31 Write the process data 42001 42003 with command 76 Preset Multiple Registers Command Master Slave ADDRESS FUNCTION DATA Starting ddress HI Starting address LO No of registers HI No of registers LO Byte count Data HI Data LO Data HI Data LO Data HI Data LO CRC HI CRC LO ERROR CHECK 01 hex 10 hex 07 hex DO hex 00 hex 03 hex 06 hex 00 hex 01 hex 00 hex 00 hex 13 hex 88 hex C8 hex CB hex Slave address 1 hex 1 Function 10 hex 16 Starting address 0790 hex 2000 Number of registers 0003 hex 3 Byte count 06 hex 6 Data 1 0001 hex 1 Setting con rol word xum DIE Bo d Data 2 0000 hex 0 General con word dx Data 3 1388 hex 5000 Speed Reference to 50 00 CRC field C8CB hex 5
15. Name Binary coded Binary coded 0 10000 Integer 16 Integer 16 Integer 16 Integer 16 Integer 16 Integer 16 Integer 16 2011 32011 42011 FB Process Data In 8 Integer 16 Table 12 Fieldbus basic input table Tel 358 0 201 2121 Fax 358 0 201 212 205 MODBUS VACON 27 6 2 2 1 Control word 15 14 33 12 11 110 9 7 5 4 1 1 1 1 1 1 1 1 1 1 1 1 Eoen applications the three first bits of the control word are used to control the frequency con verter However you can customise the content of the control word for your own applications because the control word is sent to the frequency converter as such Bit Description Value 1 0 1 Clockwise j Counterclockwise E Rising edge of this bit will reset active fault Sao Not in use Not in use Table 13 Control word bit descriptions 6 2 3 2 Speedreference This is the Reference 1 to the frequency converter Used normally as Speed reference The allowed scaling is 10000 10000 In the application the value is scaled in percentage of the fre quency area between the set minimum and maximum frequencies 6 23 3 Process data in 1 to 8 Process Data In values 1 to 8 can be used in applications for various purposes Update rate is 10 ms for all values See Vacon NX Application Manual for usage of these data values 6 2 4 Process data out This register range is norm
16. Preset Multiple Registers 01 hex 06 hex 07 hex DO hex 00 hex 01 hex 48 hex 87 hex Slave address 1 hex 1 Function 04 hex 4 Starting address 0790 hex 2000 Data 0001 hex 1 CRC field 4887 hex 18567 The query message specifies the register references to be preset Registers are addressed starting with zero i e register 1 is addressed as 0 Example of a request to preset two registers starting at 42001 to 0001hex and 0010hex in Slave device 1 ADDRESS FUNCTION DATA Starting ddress HI Starting address LO No of registers HI No of registers LO Byte count Data HI Data LO Data HI Data LO CRC HI CRCLO ERROR CHECK 01 hex 10 hex 07 hex DO hex 00 hex 02 hex 04 hex 00 hex 01 hex 00 hex 10 hex 88 hex CF hex Slave address 1 hex 1 Function 10 hex 2 16 Starting address 0790 hex 2000 Number of registers 0002 hex 2 Byte count 04 hex 4 Data 1 0001 hex 1 Data 2 0010 hex 16 CRC field 88CF hex 35023 Tel 358 0 201 2121 Fax 358 0 201 212 205 MODBUS VACON O 23 6 1 2 Exception responses Error response is given when the Slave receives a message without communication errors but can not handle it Examples of such messages are an incorrect register address data value or unsup ported message No answer is given ifa CRC or parity error occurs or the message is a broadcast message Function Description ILLEGAL FUNCTION The message
17. ally used to fast monitoring of the frequency converter Process data outis located in range ID 2101 2199 See Table 14 ID Modbusregister 2101 32101 42101 FB Status Word Binary coded 2102 32102 42102 FB General Status Word Binary coded 0 10000 See appendix 1 See appendix 1 See appendix 1 See appendix 1 See appendix 1 See appendix 1 See appendix 1 2111 32111 42111 FB Process Data Out8 See appendix 1 lable 14 Fieldbus basic output table 24 hour support 358 0 40 8371 150 Email vacon dvacon com 28 VACON MODBUS 6 2 4 1 Status word 1 1 13 7 2122 Information about the status of the device messages is indicated in the Status word Status word is composed of 16 bits that have the following meanings Bit Description Value 1 0 INotReady 1 STOP RUN 2 Clockwise S JS Faulted A Warning 5 Ref frequencynotreached Ref Frequency reached Motor is running at zero speed Flux Ready 8 TC Speed Limit Active TC Speed Limit Not Active 9 Detected Encoder Direction Clockwise Encoder Direction Counterclockwise UV Fast Stop Not Active Not In use Not In use Table 15 Status word bit descriptions 6 24 2 General status word ee Oe Description Not in use Fieldbus control 1 FB control active Panel control 1 Panel control active I O Control
18. als with applicable safety warning and caution information from www vacon com downloads REMARQUE Vous pouvez t l charger les versions anglaise et francaise des manuels produit contenant l ensemble des informations de s curit avertissements et mises en garde applicables sur le site www vacon com downloads 24 hour support 358 0 40 8371 150 Email vacon dvacon com 4 VACON TECHNICAL DATA 2 RS 485 OPTION BOARD TECHNICAL DATA 2 1 General Connections Interface OPTC2 Pluggable connector 5 08mm OPTC8 9 pin DSUB connector female Data transfer RS 485 half duplex method Transfer cable Twisted pair 1 pair and shield Electrical isolation 500 VDC Communications Modbus RTU As described in document Modicon Modbus Protocol Metasys N2 Reference Guide Find it for example at http public modicon com As described in Metasys N2 System Protocol Specifica tion 300 600 1200 2400 4800 9600 19200 and 38400 kbaud 1 to 247 temperature ture Vibration Fulfils 50178 standard Table 1 RS 485 technical data Tel 358 0 201 2121 Fax 358 0 201 212 205 LAYOUT AND CONNECTIONS VACONO 5 3 _ RS 485 FIELDBUS BOARD LAYOUT AND CONNECTIONS Vacon RS 485 Fieldbus Board is connected to the fieldbus through either a 5 pin pluggable bus con nector board OPTC2 or a 9 pin female sub D connector board OPTC8 The communication with the control board of the frequency converter tak
19. e COS reporting based on override status e Always considered reliable e Overriding BO points control the drive These points are input commands to the drive When released the drive s internal value remains at its last overridden value 7 2 5 Internal Integer ADI All Internal Integer ADI points have the follwoing features e Do not support Change of State COS reporting e Can be overridden and the Override Active bit will be set However the Internal value is un changed Read Only 24 hour support 358 0 40 8371 150 Email vacon dvacon com 36 VACON METASYS N2 7 3 2 POINT MAP 7 3 1 Analogue Inputs Al NPA Description j Units Note Speed Setpoint Hz 2decmals 2 Output Speed Hz 2decimals 3 Motor Speed i Load power 5 A 7 Bus Voltage V Heatsink Temperature 10 11 12 13 14 15 16 17 18 19 20 21 22 23 MWh 2 Motor Volts 1 tdecimal EI Motor Torque Day Day A fi Hz A 1202 Hz AL 5 _ MEC lj A 5 MWh AL Jo _ 17 _ A 8 AL C AL Mo 12 13 14 u 2045 ee E ee E Aee UNITE u a ENIM u Pores TEN 32768 to 2 FBProcessDataOut8 32767 O decimal Torque Reference Al 14 and Motor Temperature Rise Al 15 NOT supported NXL 2 These analogue inputs are applicatio
20. e Output AO points have the following features e Support Change of State COS reporting based on override status e Always considered reliable e Overriding of the AO points is the method used to change a value Overriding an AO point with a value beyond the limit allowed by the drive s internal variable will result in an Invalid Data error response and the override status and value will remain unchanged If the overridden value is beyond the drive s parameter limit but within the range that will fit in the variable an acknowledge response is given and the value will be internally clamped to its limit e An AO point override copies the override value to the corresponding drive parameter This is the same as changing the value on the keypad The value is non volatile and will remain in ef fect when the drive is turned off and back on It also remains at this value when the N2 net work releases the point The N2 system always reads the current parameter value Note On some N2 systems the system will not poll the AO point when it is being overridden In this case the N2 system will not notice a change in value if the change is made with the keypad To avoid this set the point up as a local control type and release it once it has been overridden In this way the N2 system will monitor the value when not being overridden 7 2 4 Binary Output BO All Binary Output BO points have the follwoing features e Support Change of Stat
21. ers 42001 42003 from Slave device 1 ADDRESS 01 hex FUNCTION 03 hex DATA Starting ddress HI 07 hex Starting address LO DO hex No of points HI 00 hex No of points LO 03 hex ERROR CRC HI 05 hex CHECK CRCLO 46 hex 6 1 1 2 Read Input Registers Slave address 1 hex 1 Function 03 hex 3 Starting address 0740 hex 2000 Number of registers 0003 hex 3 CRC field 0546 hex 1350 The query message specifies the starting register and the quantity of registers to be read Registers are addressed starting with zero i e registers 1 to 16 are addressed as Oto 15 Example of a request to read registers 32001 from Slave device 1 ADDRESS 01 hex FUNCTION 04 hex DATA Starting ddress HI 07 hex Starting address LO DO hex No of points HI 00 hex No of points LO 01 hex ERROR CRC HI 31 hex CHECK CRCLO 47 hex 6 1 1 3 Preset Single Register Slave address 1 hex 1 Function 04 hex 4 Starting address 0740 hex 2000 Number of registers 0003 hex 3 CRC field 3147 hex 12615 The query message specifies the register reference to be preset Registers are addressed starting with zero i e register 1 is addressed as 0 24 hour support 358 0 40 8371 150 Email vacon dvacon com 22 9 VACON MODBUS Example of a request to preset register 42001 to 00001hex in Slave device 1 ADDRESS FUNCTION DATA Starting ddress HI Starting address LO Data HI Data LO ERROR CRC HI CHECK CRCLO 6 1 1 4
22. es place through the stan dard Vacon Interface Board Connector 3 1 RS 485 OPTC2 option board Bus connector Interface board connector Grounding plate Figure f Vacon RS 485 option board OPTCZ Signal Description NC No connection Supply voltage plus 5V RxD TxD N Receive Transmit data A 9 RxD TxD P Receive Transmit data B DGND 5 Data ground reference potential for VP You can use this pin 1 to bypass the cable shield to the next slave Jable 2 OPTC2 bus connector signals 24 hour support 358 0 40 8371 150 Email vacon dvacon com 6 9 VACON LAYOUT AND CONNECTIONS 3 2 RS 485 OPTC8 option board Bus connector Interface board connector Grounding plate Figure 2 Vacon RS 485 option board OPTC8 Shield Cable shield RxD TxD N Receive A DGND Data ground reference potential for VP vP 6 Supply voltage plus 5V RxD TxD P Receive Transmit data B Jable 3 OPTC8 bus connector signals Tel 358 0 201 2121 Fax 358 0 201 212 205 LAYOUT AND CONNECTIONS VACON O 7 3 3 Grounding 3 3 1 Grounding by clamping the cable to the converter frame This manner of grounding is the most effective and especially recommended when the distances be tween the devices are relatively short or if the device is the last device on the net Note Normally the option board has already been installed in slot D or slot E of the control board It is not necessary to detach the whole board
23. for the grounding of the bus cable shield Just detach the terminal block 1 Strip about 5 cm of the cable and cut off the grey cable shield Remember to do this for both bus cables except for the last device See pictures below 2 Leave no more than 1 cm of the cable outside the terminal block and strip the data cables about 0 5 cm to fit in the terminals See pictures below Note Do this for both bus cables E SS ee ee SS Figure 3 Figure 4 3 Insert the data cables of both cables into terminals 3 Line B and 4 Line A 4 Strip the cable at such a distance from the terminal that you can fix it to the frame with the grounding clamp See 24 hour support 358 0 40 8371 150 Email vacon dvacon com 8 VACON LAYOUT AND CONNECTIONS Figure 9 Tel 358 0 201 2121 Fax 358 0 201 212 205 LAYOUT AND CONNECTIONS VACON 9 3 3 2 Grounding only one point on the net In this manner of grounding the shield is connected to ground only at the last device on the net in the Same way as described in chapter 3 3 1 Other devices of the net just pass the shield We recommend you to use an Abico connector to fit the shields into the terminal 1 Strip about 5 cm of the cable and cut off the grey cable shield Remember to do this for both bus cables except for the last device 2 Leave no more than 1 cm of the cable outside the terminal block and strip the data cables at
24. ices over a 4 000 foot distance running at 9 600 bps Logically the N2 is a master slave protocol the supervi sory controller normally being the master Data is partitioned into common HVAC control objects such as analogue input analogue output binary input and binary output N2 messaging supports the reading writing and overriding of these points Additionally there are messages defined to perform uploads and downloads of devices as well as direct memory reads and writes 7 2 Metasys N2 interface Features of the N2 Interface e Direct control of Drive e g Run Stop Direction Speed reference Fault reset e Full access to necessary parameters e Monitor Drive status e g Output frequency Output current Fault code e n standalone operation or should the polling stop the overridden values are released after specified period about 10 minutes 7 2 1 Analogue Input Al All Analogue Input Al points have the following features e Support Change of State COS reporting based on high and low warning limits Support Change of State COS reporting based on high and low alarm limits Support Change of State COS reporting based on override status Always considered reliable and never out of range Writing of alarm and warning limit values beyond the range that can be held by the drive s in ternal variable will result in having that limit replaced by the Invalid Float value even though the message is acknowledged The ne
25. low messages from Master within the watchdog time once 5 secs e Bus broken cable loose or Master off line 24 hour support 358 0 40 8371 150 Email vacon dvacon com 14 VACON INSTALLATION 4 INSTALLATION OF VACON NX RS 485 BOARD A Vacon NX frequency converter Remove the cable cover the cover of the control unit Tel 358 0 201 2121 Fax 358 0 201 212 205 INSTALLATION VACON O 15 Install RS 485 option board in slot E on the control board of the frequency con verter Make sure that the grounding plate see below fits tightly in the clamp Make a sufficiently wide opening for your cable by cutting the grid as wide as necessary F Close the cover of the control unit and the cable cover 24 hour support 358 0 40 8371 150 Email vacon dvacon com 16 9 VACON MODBUS 5 COMMISSIONING READ FIRST CHAPTER 8 COMMISSIONING IN VACON NX USER S MANUAL Document nr ud00701 please visit http www vacon com 9 25 html Note You must select Fieldbus as the active control place if you wish to control the frequency con verter through fieldbus See Vacon NX User s Manual Chapter 7 3 3 1 5 1 Fieldbus board parameters The Vacon RS 485 board is commissioned with the control keypad by giving values to appropriate pa rameters in menu M7 locating the expander board menu see Vacon NX User s Manual Chapter
26. n specific Table 19 Tel 358 0 201 2121 Fax 358 0 201 212 205 METASYS N2 7 3 2 Binary Inputs BI NPA Description 0 TT BI 1 Ready NotReady Ready Bl 2 Run X Stop Run Bl 2 Direction Clockwise Counterclockwise Bl 4 Faulted Faulted 5 Warning NotWarning Warning Bi 6 RefFrequencyreached False True BI 7 Motor running zero speed False True BI 8 General OM Jo 17 Bl 9 0 17 02 10 jGenra2 Jo 7 0 1 General 39 MoS 17 12 0 102 13 General 9 Jo 4 6 Jo 10 Bi 15 General7 100 10 2 Table 20 VACON 37 3 These binary inputs are application specific They are read from the drives General Status Word 7 3 3 Analogue Outputs 0 24 hour support 358 0 40 8371 150 Email vacon dvacon com Description Note Comms Speed 2 wm t emm O renes 3 Minimum Speed Hz 2 decimals Maximum Speed Hr 2 decimals L0 8 Pg dic AO 7 FBProcessDatalN 1 32768 to 32767 2 decimals AO 8 FBProcessDatalN2 32768 to 32767 2 decimals AO 9 FBProcessDatalN 3 32768 to 32767 2 decimals Table 21 These Analogue Outputs are application specific 38 VACON METASYS N2 7 3 4 Binary O
27. ot fault Defective option board or slot Check the board and slot Contact the nearest Vacon distributor Table 24 RS 485 option board faults You can define with parameters how the frequency converter shall react to certain faults Parameter 0 response Response to fieldbus 1 Warning fault 2 Fault stop acc to 2 4 7 3 Fault stop by coasting 0 response Response to slot 1 Warning fault 2 Fault stop acc to 2 4 7 3 Fault stop by coasting able 25 Frequency converter responses to faults 24 hour support 358 0 40 8371 150 Email vacon dvacon com 40 9 VACON METASYS N2 APPENDIX 1 Process Data OUT Slave to Master The Fieldbus Master can read the frequency converter s actual values using process data variables Basic Standard Local Remote Control Multi Step Speed Control PID control and Pump and fan con trol applications use process data as follows Scale 0 01 Hz 1 rpm 0 1 2108 Process data OUT 5 0 1 96 2109 Process data 0076 Motor Voltage v Jonty 2110 Process data OUT 7 DC link voltage 1V 2111 Process data OUT 8 Active Fault Code Table 26 Process data OUT variables The Multipurpose Control application has a selector parameter for every Process Data The monitor ing values and drive parameters can be selected using the ID number see NX All in One Application Manual Tables for monitoring values and parameters Default selections are a
28. rs or from one RTU character according to the network s serial transmission mode The data field of messages sent from a master to slave devices contains additional information which the slave must use to take the action defined by the function code This can include items like discrete and register addresses the quantity of items to be handled and the count of actual data bytes in the field If no error occurs the data field of a response from a slave to a master contains the data requested If an error occurs the field contains an exception code that the master application can use to determine the next action to be taken Two kinds of checksum are used for standard Modbus networks The error checking field contents depend upon the transmission method that is being used Tel 358 0 201 2121 Fax 358 0 201 212 205 MODBUS 6 1 1 Supported functions Function Code Description VACONO 21 Address range 03 Read Holding Registers Applies to alladdresses 04 Read Input Registers Applies to alladdresses 06 Write Single Register Applies to all addresses 16 Write Multiple Regis Applies to all addresses ters Note Broadcasting can be used with codes 06 and 16 lable 7 Supported messages 6 1 1 1 The query message specifies the starting register and the quantity of registers to be read Registers are addressed starting with zero i e registers 1 to 16 are addressed as 0 to 15 Example of a request to read regist
29. s in the table above Process Data IN Master to Slave ControlWord Reference and Process Data are used with All inOne applications as follows Basic Standard Local Remote Control and Multi Step Speed Control applications ID Data X Unit 2003 Speed Reference 0 01 a Fault reset Command 2004 2011 PD1 PD8 Not used Table 27 Tel 358 0 201 2121 Fax 358 0 201 212 205 METASYS N2 VACON 41 Multipurpose Control application By Value ree E 2003 Speed Reference 2001 ControlWord Start Stop Command Fault reset Command 2004 Process Data IN1 Torque Reference 2005 Process Data IN2 Free Analogia INPUT 0 01 2006 2011 PD3 PD8 Not Used Table 28 PID control and Pump and fan control applications ID TUnit 2003 Speed Reference UM Fault reset Command a iil ee controller controller NM controller 2007 2011 PD4 PD8 Not Used Table 29 24 hour support 358 0 40 8371 150 Email vacon dvacon com VACON DRIVEN BY DRIVES Find your nearest Vacon office on the Internet at WWW Vacon com Manual authoring documentation dvacon com Vacon Plc Runsorintie 7 65380 Vaasa Finland Subject to change without prior notice O 2012 Vacon Plc D P D 0 0
30. t result will be the inactivation of the alarm or warning the same as if the original out of range value was used e Overriding is supported from the standpoint that the Override Active bit will be set and the value reported to the N2 network will be the overridden value However the value in the drive remains unchanged Therefore the N2 system should be set up to disallow overriding Al points or have an alarm condition activated when an Al point is overridden e Overriding an Al point with a value beyond the limit allowed by the drive s internal variable will result in an Invalid Data error response and the override status and value will remain un changed 7 2 2 Binary Input Bl All Binary Input Bl points have the following features e Support Change of State COS reporting based on current state e Support Change of State COS reporting based on alarm condition e Support Change of State COS reporting based on override status e Always considered reliable Overriding is supported from the standpoint that the Override Active bit will be set and the value re ported to the N2 network will be the overridden value However the value in the drive remains un Tel 358 0 201 2121 Fax 358 0 201 212 205 METASYS N2 VACONO 35 changed Therefore the N2 system should be set up to disallow overriding BI points or have an alarm condition activated when a BI point Is overridden 7 2 3 Analogue Output 0 All Analogu
31. utputs BO NPT Description 0 15 BO 1 j CommsStart Stp Stop 5 4 Bo BO BO FBFixedControlWordBit 3 J de BO FBFixedControlWord Bit 4 de BO FBFixedControlWord Bit 8 BO FBFixedControlWordBit 657 Je BO FBFixedControlWord Bit 7 J Bo FBFixedControlWordBit 8 J de BO 10 FBFixedControlWord Bit 9 J PRE R 5 ic 5 FBFixedControlWord Bit 13 5 FBFixedControlWord Bit 14 5 FBFixedControlWord Bit 15 5 Table 22 FBFixedControlWord Bit 12 5 These Binary Outputs are application specific 7 3 5 Internal Integers ADI Active Fault Code SS o Table 23 Tel 358 0 201 2121 Fax 358 0 201 212 205 METASYS N2 VACON O 39 8 FAULT TRACKING The table below presents the faults related to the RS 485 option board For more information see also Vacon NX User s Manual Chapter 9 The RS 485 option board status LEDs have been described in more detailin Chapter 3 6 Fault Fault Possible cause Correcting measures Option board changed Reset Device added Option board added Reset Option board removed Reset 40 Device un Unknown option board known Fieldbus fault The data connection between the Modbus Check the installation N2 Master and the RS 485 option board is If installation is correct contact the broken nearest Vacon distributor 54 Sl
32. x 02 hex 13 hex 88 hex 09 hex CA hex FO hex E9 hex Slave address 1 hex 1 Function 4 hex 4 Byte count 4 hex 4 Speed reference 1388 hex 25000 gt 50 00 Output Frequency 09C4 hex 22500 gt 25 00 2 CRC field B321 hex 45857 01 4 02 88 09 cu ro E9 Tel 358 0 201 2121 Fax 358 0 201 212 205 MODBUS 6 3 Start up test Frequency converter application VACON 33 Choose Fieldbus Bus Comm as the active control place see Vacon NX User s Manual Chapter 7 3 3 Master software 2 Set FB Control Word MBaddr 42001 value to 1 Frequency converter status is RUN Set FB Speed Reference MBaddr 42003 value to 5000 50 00 The Actual value is 5000 and the frequency converter output frequency Is 25 00 Hz Set FB Control Word MBaddr 42001 value to Ohex Frequency converter status is STOP If FB Status Word Addr 42101 bit 1 Status of frequency converter is FAULT 24 hour support 358 0 40 8371 150 Email vacon dvacon com 34 VACON METASYS N2 7 5 5 2 7 1 Metasys 2 Protocol Introduction The N2 communications protocol is used by Johnson Controls and others to connect terminal unit controllers to supervisory controllers It is open to any manufacturer and based upon a simple ASCII protocol widely used in the process control industry The physical characteristics of the N2 bus are three wire RS 485 with a maximum of 100 dev
33. ype must be set to 0 None PARITY TYPE COMMUNICATION O OFF See chapter Communication timeout 1 1 20 TIMEOUT 1 300 s below 5 6 OPERATE MODE Reserved for later use lable 5 RS 485 parameters EM NM Lo 3 BAUD RATE 1 300 baud Communication speed 2 600 baud When N2 protocol is used Baudrate 3 1200 baud must be set to 9600 4 2400 baud 9 4800 baud 6 9600 baud 7 19200 baud 8 38400 baud EN The parameters of every device must be set before connecting to the bus Especially the parameters Communication Protocol Slave Address and Baud Rate must be the same as in the master configura tion Communication timeout The RS 485 board initiates a communication error if communication is broken for as long as defined by the Communication Timeout Communication Timeout is disabled when given the value 0 Communication status To see the present status of the RS 485 fieldbus enter the Comm Status page from Monitor menu 67 5 2 See Figure 12 and Table 6 below G52 Monitor V1 V1 Good messages Error messages Figure 12 Communication status 24 hour support 358 0 40 8371 150 Email vacon dvacon com 18 9 VACON MODBUS Good messages 0 999 Number of messages received without communication errors Error messages 0 64 Number of messages received with CRC or parity errors Table 6 RS 485 message indications Tel 358 0 201 2121 Fax 358 0 201 212 205
Download Pdf Manuals
Related Search
Related Contents
Olympus D-555 Quick Start Guide BTL-6000 LYMPHASTIM TOPLINE User`s Manual - Radar Systems, Inc. 021097 Manual Virgo Hometrainer NL-UK-FR.indd D E F I NL S Expertise mode d`emploi だから! 汎用性に優れる! もちろんPCへの 入力もコンボ対応 運動負荷試験システム Q-STRESS GVision L15AX-JA-452G Copyright © All rights reserved.
Failed to retrieve file