background image

5

vacon • 19

Programming

Tel. +358 (0) 201 2121 • Fax +358 (0)201 212 205

5.3

Modbus RTU parameter descriptions

5.3.1

Modbus RTU Parameters

P5.7.3.1.1

S

LAVE

 

ADDRESS

Each slave must have a unique address (from 1 to 247) so that it can be addressed indepen-
dently from other nodes.

P5.7.3.1.2

B

AUD

 

RATE

Select the communication speed for the network. The default value is 9600 baud.

P5.7.3.1.3

P

ARITY

 

TYPE

Users can select the parity type for the network.

Table 7. Parity type

P5.7.3.1.4

C

OMMUNICATION

 

TIME

-

OUT

Modbus board initiates a communication error for a time defined with this parameter. ‘0’
means that no fault is generated.

5.3.2

Modbus RTU monitoring values

P5.7.3.2.1

F

IELDBUS

 

PROTOCOL

 

STATUS

Fieldbus Protocol Status

 tells the status of the protocol.

Table 8. FB protocol statuses

P5.7.3.2.2

C

OMMUNICATION

 

STATUS

0The 

Communication status

 shows how many error and how many good messages the fre-

quency converter has received. The Communication status includes a common error counter
that counts CRC and parity errors and a counter for good messages.

Only messages to the current slave in use are counted in the good messages.

Parity type

Stopbits

Even

1

Odd

1

None

2

INITIALIZING

Protocol is starting up

STOPPED

Protocol is timeouted or not used

OPERATIONAL

Protocol is running

FAULTED

Major fault in protocol, requires restarting.
If fault remains contact [email protected]

Summary of Contents for 100 INDUSTRIAL

Page 1: ......

Page 2: ...ring values 18 5 2 1 Ethernet common settings M5 8 1 18 5 2 2 Modbus TCP settings M5 8 2 18 5 3 Modbus RTU parameter descriptions 19 5 3 1 Modbus RTU Parameters 19 5 3 2 Modbus RTU monitoring values 1...

Page 3: ...vacon 1 Tel 358 0 201 2121 Fax 358 0 201 212 205...

Page 4: ...it until the indicators on the keypad go out if no keypad is attached see the indicators on the cover Wait 5 more minutes before doing any work on the connections of Vacon100 Do not open the cover bef...

Page 5: ...ower brake or fault reset the motor will start immediately if the start signal is active unless the pulse control for Start Stop logic has been selected Futhermore the I O functionalities including st...

Page 6: ...e protective conductor has a cross sectional area not less than 10 mm2 Cu or 16 mm2 Al c Automatic disconnection of the supply in case of loss of continuity of the protective conductor The cross secti...

Page 7: ...1 vacon 5 Safety Tel 358 0 201 2121 Fax 358 0 201 212 205...

Page 8: ...different protocol for ev ery connection Figure 1 Basic structure of Modbus frame On simple interfaces like RS485 the Modbus messages are sent in plain form over the net work In this case the network...

Page 9: ...05 Figure 2 Principal example diagram of Modbus If you need to contact Vacon service in problems related to Modbus please send a description of the problem together with the Drive Info File to fieldbu...

Page 10: ...tor 2 5 mm2 Electrical isolation Functional Modbus RTU As described in Modicon Modbus Proto col Reference Guide Baud rate 300 600 1200 2400 4800 9600 19200 38400 and 57600 baud Addresses 1 to 247 Conn...

Page 11: ...3 vacon 9 Modbus technical data Tel 358 0 201 2121 Fax 358 0 201 212 205...

Page 12: ...relay outputs and other I O terminals may have a dangerous control voltage present even when Vacon 100 is disconnected from mains 2 Locate the components that you will need on the AC drive to connect...

Page 13: ...h ethernet Figure 5 3 Connect the Ethernet cable see specification on page 8 to its terminal and run the cable through the conduit as shown in Figure 5 Ethernet connector Ethernet cable run conduit I...

Page 14: ...Figure 6 Figure 7 4 Cut free the opening on the AC drive cover for the Ethernet cable protection class IP21 5 Remount the AC drive cover NOTE When planning the cable runs remember to keep the distanc...

Page 15: ...e 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 at such a distance from the terminal that you...

Page 16: ...rive 6 If Vacon 100 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 RS485 bus terminat...

Page 17: ...cable runs remember to keep the distance between the fieldbus cable and the motor cable at a minimum of 30 cm 9 The bus termination must be set for the first and the last device of the fieldbus line S...

Page 18: ...7 and M5 8 See below 5 1 Modbus RTU parameters and monitoring values M5 7 3 Code Parameter Min Max Unit Default ID Description PARAMETERS P5 7 3 1 1 Slave address 1 247 1 Unique slave device address P...

Page 19: ...r of mes sages without communi cation errors P5 7 3 2 3 Illegal functions 0 See page 20 P5 7 3 2 4 Illegal data addresses 0 See page 20 P5 7 3 2 5 Illegal data values 0 See page 20 P5 7 3 2 6 Slave de...

Page 20: ...er 5 4 2 Mod bus TCP settings P5 8 2 1 3 Communication time out 0 65535 s 0 0 Not used MONITORING VALUES Connection 1 Monitoring M5 8 2 2 1 Will appear only after connection has been established P5 8...

Page 21: ...eans that no fault is generated 5 3 2 Modbus RTU monitoring values P5 7 3 2 1 FIELDBUS PROTOCOL STATUS Fieldbus Protocol Status tells the status of the protocol Table 8 FB protocol statuses P5 7 3 2 2...

Page 22: ...ing a long duration program command The client or master should retransmit the message later when the server or slave is free P5 7 3 2 7 MEMORY PARITY ERROR The server or slave attempted to read recor...

Page 23: ...oes not change When the mode is changed from DHCP to Fixed the addresses will read IP 192 168 0 10 Subnet mask 0 0 0 0 Default gateway 0 0 0 0 P5 8 1 2 IP ADDRESS An IP address is a series of numbers...

Page 24: ...Line is replaced by a single byte Unit Identifier On TCP IP the Modbus server is addressed using its IP address therefore the Modbus Unit Identifier is useless P5 8 2 1 3 COMMUNICATION TIME OUT Modbu...

Page 25: ...r slave P5 8 2 2 1 4 ILLEGAL DATA ADDRESSES The data address received in the query refers to an unallowed address for the server or slave P5 8 2 2 1 5 ILLEGAL DATA VALUES A value contained in the quer...

Page 26: ...orm the re quested action P5 8 2 2 1 9 LAST FAULT RESPONSE Shows the last fault response as Fault code P5 8 2 2 1 10 CONTROL WORD Shows the Control Word received from the bus P5 8 2 2 1 11 STATUS WORD...

Page 27: ...5 vacon 25 Programming Tel 358 0 201 2121 Fax 358 0 201 212 205...

Page 28: ...nd 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 ac tual value have been given an ID number in...

Page 29: ...ive ID s as follows Address Function Purpose 0001 RUN STOP Control Word bit 0 0002 Direction Control Word bit 1 0003 Fault reset Control Word bit 2 Address Function Purpose 10001 Ready Status Word bit...

Page 30: ...rence Fault Reset and to quickly read actual values e g Output frequency Output current Fault code The fields are structured as follows Process Data Master Slave max 22 bytes 2200 10000 Vacon Applicat...

Page 31: ...61 High data 2062 Low data FB Process Data In 4 See chapter 9 2008 2063 High data 2064 Low data FB Process Data In 5 See chapter 9 2009 2065 High data 2066 Low data FB Process Data In 6 See chapter 9...

Page 32: ...0000 2104 2155 High data 2156 Low data FB Process Data Out 1 See chapter 9 2105 2157 High data 2158 Low data FB Process Data Out 2 See chapter 9 2106 2159 High data 2160 Low data FB Process Data Out 3...

Page 33: ...the Master the status of the device can be seen Actual Value ACT and PD1 PD8 show the other actual values Bit Name Value 1 Value 0 Description B0 Ready Ready Not ready Indicates whether the drive is r...

Page 34: ...en in the address 10601 and so on Table 22 IDMap initialization Once the IDMap address range has been initialized with any parameter ID number the param eter value can be read and written in the IDMap...

Page 35: ...Format field indicates the decimal point place in the Energy field If the number is bigger than 0 move the decimal point to the left by the number indicated For exam ple Energy 1200 Format 52 Unit 1...

Page 36: ...s are listed in chronological order so that the latest fault is mentioned first and the oldest last The fault his tory can contain 29 faults at the same time The fault history contents are represented...

Page 37: ...LO 03 hex Number of registers 0003 hex 3 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 hex Data 2 0000 hex 0 Data L...

Page 38: ...4 hex 4 DATA Starting address HI 08 hex Starting address LO 36 hex No of registers HI 00 hex Number of registers 0002 hex 2 No of registers LO 02 hex ERROR CRC HI 93 hex CRC field 93A5 hex 37797 CHEC...

Page 39: ...hex Slave address 1 hex 1 FUNCTION 04 hex Function 4 hex 4 DATA Starting address HI 17 hex Starting address 1770 hex 6000 Starting address LO 70 hex No of registers HI 00 hex Invalid number of regist...

Page 40: ...is in indefinte state usually near 0 V due to the termination re sistors This may cause problems in character reception because the single characters in se rial communcation begin with start bit refer...

Page 41: ...variable M5 7 3 2 5 Set variable AV36 to 1 Check fieldbus parameters Check other field bus parameters in menu M5 8 Check selected protocol M5 7 1 1 Check Master s parameters Check configura tions Slav...

Page 42: ...ace Check parameter M1 15 or P3 2 1 Does Master give RUN command Use keypad to monitor variable M5 7 3 2 5 Set variable AV36 to 1 Check fieldbus parameters Check other field bus parameters in menu M5...

Page 43: ...7 vacon 41 Fault tracing Tel 358 0 201 2121 Fax 358 0 201 212 205...

Page 44: ...ote Control Place B Select Fieldbus as remote control place Main Menu Quick Setup M1 Rem Ctrl Place P1 15 FieldbusCTRL 2 Make these settings in the master software A Set Control Word to 0 2001 B Set C...

Page 45: ...8 vacon 43 Quick setup Tel 358 0 201 2121 Fax 358 0 201 212 205...

Page 46: ...ad the frequency converter s actual values using process data vari ables Control applications use process data as follows Table 31 Process Data OUT variables ID Data Value Unit Scale 2104 Process data...

Page 47: ......

Reviews: