background image

user manual

modbus rtu

ac drives

vacon

®

 20 cp

vacon

®

 20 x

vacon

®

 20 

Summary of Contents for 20

Page 1: ...user manual modbus rtu ac drives vacon 20 cp vacon 20 x vacon 20...

Page 2: ......

Page 3: ...0 5 2 Modbus RTU parameters and monitoring values 10 5 2 1 Fieldbus protocol 11 5 2 2 Slave address 11 5 2 3 Baud rate 11 5 2 4 Parity type 12 5 2 5 Communication timeout 12 5 2 6 Reset communication...

Page 4: ...if no keypad is attached see the indicators on the cover Wait 5 more minutes before doing any work on the connections of the drive Do not open the cover before this time has expired After expiration...

Page 5: ...tart immediately if the start signal is active unless the pulse control for Start Stop logic has been selected Futhermore the I O functionalities including start inputs may change if param eters appli...

Page 6: ...rthing conductor which does not form part of the supply cable or cable enclosure shall in any case be not less than 2 5mm2 if mechanical protection is provided or 4mm2 if mechanical protection is not...

Page 7: ...in the software A device can also communicate with several Modbus nodes at once even if they are connected with different interface types without the need to use a different protocol for every connect...

Page 8: ...foss com danfoss drives local contacts Figure 2 Principal example diagram of Modbus 2 1 Restrictions When a fieldbus option board or an OPTBH option board has been installed Modbus is not working Ethe...

Page 9: ...ices in the bus The Modbus RTU specification states that for a maximum 9600 bits second bitrate and AWG26 or wider gauge the maximum length is 1000 meters The actual cable length used in an installati...

Page 10: ...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 See picture below Also strip the cable now...

Page 11: ...ation resistor which is switched off as a default presented below The termination resistor can be switched on and off with the right hand dip switch located above IO terminals in the front of the driv...

Page 12: ...ication to application The exemplary paths below apply to the VACON 20 family AC drive 5 1 Fieldbus control and basic reference selection The following tables list some of the parameters related to fi...

Page 13: ...d bad messages is shown 1 Illegal function 2 Illegal address 3 Illegal data value 4 Illegal slave device 53 USART receive fault parity error frame error USART buffer overflow 90 Receive buffer overflo...

Page 14: ...ed 5 2 6 Reset communication status Used to reset the communication status shown in monitor value V2 1 5 2 7 Communication status The Communication status shows how many good and bad messages the driv...

Page 15: ...ers the interface driver for Modbus RTU communicationmay contain an offset of 1 the ID number to be used would then subtract 1 6 2 Supported Modbus Functions The VACON variables and fault codes as wel...

Page 16: ...rocess data ID Modbus register Name Scale Type 2101 32101 42101 FB Status Word Binary coded 2102 32102 42102 FB General Status Word Binary coded 2103 32103 42103 Actual speed 0 01 2104 32104 42104 Pro...

Page 17: ...f the device and messages is indicated in the Status word The Status word is composed of 16 bits the meanings of which are described in the table below Table 9 Input process data ID Modbus register Na...

Page 18: ...ings of the bits of control word are explained in the table below Speed reference input process data This is the Reference 1 to the AC drive Used normally as Speed reference The allowed scaling is 0 1...

Page 19: ...nly if the drive is in Ready state see Status Word b0 and actual control place is Fieldbus CW b2 Fault Reset is active even if control place is not the Fieldbus Table 13 Modbus register Name Descripti...

Page 20: ...nsidered only when control place is the Fieldbus It is computed in AND with a possible enable from digital input Fall of enable will cause coasting stop b2 FreqRef2 Sel is considered only when control...

Page 21: ...word Drive state As Status word and b7 Control place is fieldbus 2103 Actual speed Actual speed 0 10000 as 0 00 100 00 of Min freq Max freq range 2104 Fieldbus Data OUT 1 Programmable See P11 1 2105...

Page 22: ...s HI 00 hex Number of registers 0003 hex 3 No of registers LO 03 hex Byte count 06 hex Byte count 06 hex 6 Data HI 00 hex Data 1 0001 hex 1 Setting control word run bit to 1 Data LO 01 hex Data HI 00...

Page 23: ...RESS 01 hex Slave address 1 hex 1 FUNCTION 04 hex Function 4 hex 4 DATA Starting address HI 08 hex Starting address 0836 hex 2102 Starting address LO 36 hex No of registers HI 00 hex Number of registe...

Page 24: ...ly near 0 V due to the termination resistors This may cause problems in character reception because the single characters in serial communication begin with start bit referring to bus status 0 with vo...

Page 25: ...ors chapter 4 Check parameters e Is the device in READY state Check Master s parameters Is fieldbus selected as control place Does Master give RUN command Check cabling Check termination resistors Oth...

Page 26: ...li cation used P2 1 in VACON 20 P1 11 in VACON 20 X and VACON 20 CP 2 Make these settings in the master software A Set Control Word to 0 by writing the data 0000h to the register 2001d B Set Control W...

Page 27: ...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 Slave to Master Use of Process Data Out var...

Page 28: ...Document ID DPD01925A Rev A Sales code DOC INSV20MODBUS DLUK Vacon Ltd Member of the Danfoss Group Runsorintie 7 65380 Vaasa Finland www danfoss com...

Reviews: