background image

Communications

vacon • 15

Local contacts: http://drives.danfoss.com/danfoss-drives/local-contacts/

6

NOTE! 

2004 - 2007 can set as PID Control Reference by setting P15.1(Setpoint selection) or PID 

Actual value by setting P15.4 (Feedback value selection)!

2004 - 2007 can be set as the Analogue Output by P9.1, P9.5, P9.9.

2004 - 2008 can set as Aux Control Word with P10.9:

b0: Run enable

b1: acc / dec ramp 2 selection

b2: freq reference 2 selection

NOTE!

AUX CW is active when configured, even if control place is not the fieldbus

b0 Run enable is computed in AND with a possible Run enable signal from digital input. Fall 
of enable will cause coasting stop.

Status word (output process data)

Information about the status of 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

Name

Scale

Type

2001

32001, 42001

FB Control Word

Binary coded

2002

32002, 42002

FB General Control Word

Binary coded

2003

32003, 42003

Actual speed

0.01

%

2004

32004, 42004

Programmable by P10.9

2005

32005, 42005

Programmable by P10.9

2006

32006, 42006

Programmable by P10.9

2007

32007, 42007

Programmable by P10.9

2008

32008, 42008

Programmable by P10.9

2009

32009, 42009

-

-

-

2010

32010, 42010

-

-

-

2011

32011, 42011

-

-

-

Table 10. Status word (output process data)

Bit

Description

Value = 0

Value = 1

B0, RDY

Drive not ready

Drive ready

B1, RUN

Stop

Run

B2, DIR

Clockwise

Counter-clockwise

B3, FLT

No fault

Fault active

B4, W

No alarm

Alarm active

B5, AREF

Ramping

Speed reference reached

B6, Z

-

Drive is running at zero speed

B7 - B15

-

-

Содержание 20

Страница 1: ...user manual modbus rtu ac drives vacon 20 cp vacon 20 x vacon 20...

Страница 2: ......

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: