Summary of 100 flow

  • Page 1

    Vacon 100 industrial vacon 100 flow vacon 100 hvac vacon 100 x ac drives modbus tcp/udp and modbus rtu user manual ® ® ® ®.

  • Page 3

    Vacon • 1 local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ table of contents document: dpd00156d version release date: 30.11.16 1. Safety................................................................................................................3 1.1 danger..................

  • Page 4

    Vacon • 2 local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 5.3.9 connection limit ................................................................................................................29 5.3.10unit identifier number .....................................................

  • Page 5

    Safety vacon • 3 local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 1 1. S afety this manual contains clearly marked cautions and warnings which are intended for your personal safety and to avoid any unintentional damage to the product or connected appliances. Please read the i...

  • Page 6

    1 vacon • 4 safety local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 1.2 warnings the ac drive is meant for fixed installations only. Do not perform any measurements when the ac drive is connected to the mains. The earth leakage current of the ac drives exceeds 3.5ma ac. Accor...

  • Page 7

    Safety vacon • 5 local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 1 1.3 earthing and earth fault protection the ac drive must always be earthed with an earthing conductor connected to the earthing terminal marked with . The earth leakage current of the drive exceeds 3.5ma ac....

  • Page 8

    2 vacon • 6 modbus - general info local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 2. M 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 ...

  • Page 9

    Modbus - general info vacon • 7 local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 2 your vacon ® 100 family ac drive is equipped with modbus support as standard. If you need to con- tact vacon ® service in problems related to modbus, send a description of the problem together ...

  • Page 10

    3 vacon • 8 modbus technical data local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 3. M odbus technical data 3.1 modbus rtu protocol table 2. 3.2 modbus tcp protocol table 3. 3.3 modbus udp vs tcp in addition to tcp, the vacon ® 100 family ac drive supports also udp starting ...

  • Page 11

    Modbus technical data vacon • 9 local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 3 figure 3. Modbus tcp and udp communication comparison another difference between tcp and udp is that udp is connectionless. Tcp connections are al- ways opened with tcp syn messages and closed ...

  • Page 12

    3 vacon • 10 modbus technical data local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ figure 4. Modbus tcp and udp communication errors comparison figure 5. Modbus tcp retransmissions 11717_uk modbus tcp communication plc drive modbus query (1) modbus query (2) modbus response ...

  • Page 13

    Modbus technical data vacon • 11 local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 3 losing one packet is not a big issue because the same request can be sent again after timeout. In tcp, the packages always reach their destination but if network congestion causes retransmis- ...

  • Page 14

    4 vacon • 12 installation local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 4. I nstallation 4.1 installation in vacon ® 100 family ac drives 1 open the cover of the ac drive. The relay outputs and other i/o-terminals may have a dangerous control voltage present even when the ...

  • Page 15

    Installation vacon • 13 local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 4 4.1.1 prepare for use through ethernet 3 connect the ethernet cable (see specification in chapter 3.2) to its terminal as shown in figure below. Ethernet cable 9316.Emf.

  • Page 16

    4 vacon • 14 installation local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 4 protection class ip21: cut free the opening on the ac drive cover for the ether- net cable. Protection class ip54: cut the rubber grommets open to slide the cables through. Should the grommets fold i...

  • Page 17

    Installation vacon • 15 local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 4 4.1.2 prepare for use through rs485 1 strip about 15 mm of the rs485 cable (see specification in chapter 3.1) and cut off the grey cable shield. Remember to do this for both bus cables (except for the ...

  • Page 18

    4 vacon • 16 installation local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 2 then connect the cable to its appropriate terminals on vacon ® 100 family ac drive standard terminal block, terminals a and b (a = negative, b = positive). See figure below. 3 using the cable clamp i...

  • Page 19

    Installation vacon • 17 local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 4 4 if vacon ® 100 family ac drive 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 rs48...

  • Page 20

    4 vacon • 18 installation local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 7 the bus termination must be set for the first and the last device of the fieldbus line. See picture below. See also step 3 on page 17. We recommend that the first device on the bus and, thus, termina...

  • Page 21

    Installation vacon • 19 local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 4 4.2 installation in vacon ® 100 x the ac drive can be connected to fieldbus either through rs485 or ethernet. The connection for rs485 is on the standard i/o terminals (a and b) and the connection for ...

  • Page 22

    4 vacon • 20 installation local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 4.2.2 prepare for use through rs485 1 strip about 15 mm of the rs485 cable (see specification in chapter 3.1) and cut off the grey cable shield. Remember to do this for both bus cables (except for the ...

  • Page 23

    Installation vacon • 21 local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 4 4 if vacon ® 100 x ac drive is the last device on the bus, the bus termination must be set. Locate the dip switches to the top of the control unit (see figure below). Turn the right most switch to posi...

  • Page 24

    5 vacon • 22 fiedlbus parametrization local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 5. F iedlbus parametrization the following chapter describes briefly how to parametrise the ac drive in order for the motor to be controllable via fieldbus. These instructions are written f...

  • Page 25

    Fiedlbus parametrization vacon • 23 local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 5 5.1.2 enabling modbus protocol modbus tcp/udp is always enabled in vacon ® 100 family devices. You need to parametrize the network settings (ip address etc) before using it. See chapter 5.3...

  • Page 26

    5 vacon • 24 fiedlbus parametrization local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 5.2.1 slave address each slave must have a unique address (from 1 to 247) so that it can be addressed independently from other nodes. 5.2.2 baud rate select the communication speed for the ...

  • Page 27

    Fiedlbus parametrization vacon • 25 local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 5 5.2.7 idmap ids see chapter 6.3.8. 5.2.8 fieldbus protocol status fieldbus protocol status tells the status of the protocol. 5.2.9 communication status the communication status shows how ma...

  • Page 28

    5 vacon • 26 fiedlbus parametrization local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ only messages to the current slave in use are counted in the good messages. 5.2.10 illegal functions this value counts error situations. The function code received in the query refers to a ...

  • Page 29

    Fiedlbus parametrization vacon • 27 local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 5 5.3 modbus tcp/udp parameters and monitoring values 5.3.1 ethernet common settings (m5.9.1) 5.3.2 ip address mode selectable alternatives are dhcp (dynamic host configuration protocol) and ...

  • Page 30

    5 vacon • 28 fiedlbus parametrization local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 5.3.4 fixed subnet mask the network mask marks all the bits of an ip address for the identification of the network and the subnetwork. 5.3.5 fixed default gateway gateway address is the ip ...

  • Page 31

    Fiedlbus parametrization vacon • 29 local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 5 5.3.9 connection limit defines how many clients can access the server simultaneously. 5.3.10 unit identifier number the modbus 'slave address' field usually used on modbus serial line is re...

  • Page 32

    6 vacon • 30 communications local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 6. C ommunications features of the modbus-vacon interface: • direct control of vacon ® drive (e.G. Run, stop, direction, speed reference, fault reset) • full access to all vacon ® parameters • monito...

  • Page 33

    Communications vacon • 31 local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 6 6.3 modbus data mapping 6.3.1 coils registers a "coil" in modbus is a single-bit binary data item which can be both read and written. In vacon ® 100 family ac drives, the coils refer to some bits in ...

  • Page 34

    6 vacon • 32 communications local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 6.3.4 holding registers and input registers an "input register" in modbus is a 16-bit value which is read-only. A "holding register" in modbus is a 16-bit value which can be both read and written. Ho...

  • Page 35

    Communications vacon • 33 local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 6 6.3.5 vacon application ids application ids are parameters that depend on the drive's application. These parameters can be read and written by pointing the corresponding memory range directly or by u...

  • Page 36

    6 vacon • 34 communications local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ process data master -> slave (max 22 bytes) control word bits for control word bit descriptions, see chapter 10. Appendix 2 - control and status word. 6.3.7 fb process data out process data slave -> ...

  • Page 37

    Communications vacon • 35 local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 6 status word bits for status word bit descriptions, see chapter 10. Appendix 2 - control and status word. 6.3.8 id map using the id map, you can read consecutive memory blocks that contain parameters ...

  • Page 38

    6 vacon • 36 communications local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ figure 7. Idmap initialization once the idmap address range has been initialized with any parameter id number, the parameter value can be read and written in the idmap read/write address range addres...

  • Page 39

    Communications vacon • 37 local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 6 operation day counter as seconds this counter in registers 40011d to 40012d holds the value of operation days as seconds in a 32-bit unsigned integer. Operation day counter this counter in registers ...

  • Page 40

    6 vacon • 38 communications local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 6.3.11 energy counter this counter holds the value of total amount of energy taken from a supply network. This counter cannot be reset. The values are read only. Energy counter as kwh this counter is...

  • Page 41

    Communications vacon • 39 local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 6 6.3.12 resettable energy counter this counter holds the value of total amount of energy taken from a supply network since the counter was last reset. For resetting this counter see chapter 6.3.2". Th...

  • Page 42

    6 vacon • 40 communications local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 6.3.13 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...

  • Page 43

    Communications vacon • 41 local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 6 6.4 modbus tcp/udp communication and connection timeout it is possible to open up to three modbus tcp/udp connections to the vacon ® 100 family ac drive. One of the connections could be used for proc...

  • Page 44

    6 vacon • 42 communications local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 6.5 example messages 6.5.1 example 1 - write process data write the process data 42001…42003 with command 16 (preset multiple registers). Command master - slave: message frame: the reply to preset mu...

  • Page 45

    Communications vacon • 43 local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 6 reply frame: 6.5.2 example 2 - read process data read the process data 42103…42104 with command 4 (read input registers). Command master - slave: message frame: the reply to the read input registers ...

  • Page 46

    6 vacon • 44 communications local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ reply frame: 6.5.3 example 3 - 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 fi...

  • Page 47

    Fault tracing vacon • 45 local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 7 7. F ault tracing when an unusual operating condition is detected by the ac drive control diagnostics, the drive ini- tiates a notification visible, for example, on the keypad. The keypad will show th...

  • Page 48

    7 vacon • 46 fault tracing local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 7.3 other fault conditions the following fault tracing diagram will help you to locate and fix some of the most usual problems. If the problem persists contact your local distributor. Figure 9. Fault ...

  • Page 49

    Fault tracing vacon • 47 local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 7 figure 10. Fault tracing diagram for modbus tcp . Ch e c k c ablin g che c k pa ra me te r m1 .1 5 o r p 3 .2 .1 no c o mm u n ic a tion co u n te r o k po or c o m m unic a tion che c k c o m m u n i...

  • Page 50

    8 vacon • 48 quick setup local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 8. Q uick setup following these instructions, you can easily and fast set up your modbus for use: 1 choose control place. A. Press loc/rem button on keypad to select remote control place b. Select field...

  • Page 51

    Appendix 1 - process data vacon • 49 local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 9 9. Appendix 1 - process data process data in (master to slave) use of process data in variables depends on the used application. The configuration of the data is free. Process data out (sl...

  • Page 52

    10 vacon • 50 appendix 2 - control and status word local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 10. Appendix 2 - control and status word 10.1 control word bit description the control word is composed of 32 bits. Fbfixedcontrolword consist of the first 16 bits. Fbgen- eral...

  • Page 53

    Appendix 2 - control and status word vacon • 51 local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 10 11 jogging 2 0 no action. 1 jogging request with reference 2. 12 quick stop 0 no action 1 drive executes quick stop / emergency stop. 13 - 15 reserved table 52. Control word bi...

  • Page 54

    10 vacon • 52 appendix 2 - control and status word local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 10.2 status word descriptions the status word is composed of 32 bits. Fbfixedstatusword consist of the first 16 bits. Fbgen- eralstatusword consist of the remaining 16 bits. Wh...

  • Page 55

    Appendix 6 - lwip licence vacon • 53 local contacts: http://drives.Danfoss.Com/danfoss-drives/local-contacts/ 11 11. Appendix 6 - lwip licence license for lwip copyright (c) 2001, 2002 swedish institute of computer science. All rights reserved. Redistribution and use in source and binary forms, with...

  • Page 56

    Document id: dpd00156d rev. D sales code: doc-insmodbus+dluk vacon ltd member of the danfoss group runsorintie 7 65380 vaasa finland www.Danfoss.Com.