background image

31

Address

Function

Purpose

0001

Run/Stop

Control Word, bit 0

0002

Direction

Control Word, bit 1

0003

Fault reset

Control Word, bit 2

0017

Reset

Clears operation days trip counter

0018

Reset

Clears energy trip counter

Address

Function

Purpose

10001

Ready

Status Word, bit 0

10002

Run

Status Word, bit 1

10003

Direction

Status Word, bit 2

10004

Fault

Status Word, bit 3

10005

Alarm

Status Word, bit 4

10006

At Reference

Status Word, bit 5

10007

Zero Speed

Status Word, bit 6

10008

Flux Ready

Status Word, bit 7

Address

Function

Purpose

40101

Reset

Clears operation days trip counter

40301

Reset

Clears energy trip counter

6.3 Modbus Data Mapping

A “coil” in Modbus is a single-bit binary data item which can be both read and written. In Praxi 100 family AC drives, the 
coils refer to some bits in the fieldbus control word. See page 34.

A “discrete input” in Modbus is a single-bit binary data item which is read-only. In Praxi 100 family AC drives, the 
discrete inputs refer to the fieldbus status word bits. See Chapter 10.

The Praxi AC drives have trip counters for operation days and energy. These counters can be reset to zero by writing 
value ‘1’ to addresses defined in table below. You can also use coils defined in chapter 6.3.1.

Table 16. Defined coil registers

Table 18. Defined Input Discrete

Table 17. Clearing trip counters

6.3.1 Coils Registers

6.3.3 Discrete inputs

6.3.2 Clearing Resettable Counters

Summary of Contents for Praxi 100

Page 1: ...Safe solutions for your industry Manual MODBUS Praxi 100...

Page 2: ...Monitoring Values M5 8 3 ______________________ 23 5 2 1 Slave Address_______________________________________________________ 24 5 2 2 Baud Rate _______________________________________________________...

Page 3: ..._____ 34 6 3 9 Operation Day Counter_______________________________________________ 36 6 3 10 Resettable Operation Day Counter____________________________________ 36 6 3 11 Energy Counter ____________...

Page 4: ...d from the mains potential However the relay outputs and other I O terminals may have a dangerous control voltage present even when the AC drive is disconnected from mains 5 Before connecting the AC d...

Page 5: ...your supply network 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 According to...

Page 6: ...mmunicate 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 connection Figure 1 Basic structure of Modb...

Page 7: ...dard If you need to contact Praxi service in problems related to Modbus send a description of the problem together with the Drive Info File taken with Praxi Live to customer support If possible also s...

Page 8: ...5e STP Modbus TCP As described in Modbus Messaging Implementation Guide Default IP Selectable Fixed or DHCP AutoIP Table 2 Table 3 In addition to TCP the Praxi 100 family AC drive supports also UDP st...

Page 9: ...e in time from the AC drive in UDP connection it needs to send the query again When using TCP the TCP IP stack will keep resending the request until it has been acknowledged by the receiver see Figure...

Page 10: ...UDP Communication PLC Drive 11718_uk Modbus TCP Communication PLC Drive Modbus Modbus TCP stack TCP stack Modbus Query 1 Modbus Query 2 Modbus Query 3 Modbus Query 4 Modbus Query 1 2 3 Modbus Query 4...

Page 11: ...o actively detect if the IP address configured to this device is used by another device in the same network To accomplish this the ACD sends four ARP request packets when the device s Ethernet interfa...

Page 12: ...Family AC Drives 1 2 M4x55 9174 emf Open the cover of the AC drive Open the inner cover of the drive 9235 emf The relay outputs and other I O terminals may have a dangerous control voltage present ev...

Page 13: ...13 3 Connect the Ethernet cable see specification in Chapter 3 2 to its terminal as shown in figure below Ethernet cable 9316 emf 4 1 1 Prepare for use Through Ethernet...

Page 14: ...or the cables you are using NOTE To meet the requirements of the enclosure class IP54 the connection between the grommet and the cable must be tight Therefore lead the first bit of the cable out of th...

Page 15: ...n 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 can...

Page 16: ...485 cable to the frame of the AC drive NOTE This can be done in all drives if there is no difference in PE potentialbetween the drives However if there is PE potential difference then the shieldshould...

Page 17: ...keypad of the drive and turn the switch for the RS485 bus termination resistor to position ON Biasing is built in the termination resistor See also step 6 on page 18 Unless already done for the other...

Page 18: ...cm 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 16 We recommend that the first device on the bus and thus terminated...

Page 19: ...left to the control terminals 4 2 Installation in PRAXI 100 x 4 2 1 Prepare for use Through Ethernet Ethernet connection 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 30 B A RS485 terminals 1 Connec...

Page 20: ...See picture below Also strip the cable now at such a distance from the terminal that you can fix it to the frame with the grounding clamp Strip the cable at a maximum length of 15 mm Do not strip the...

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

Page 22: ...or the PRAXI 100 family AC drive See the application specific manuals for more detailed information Parameters can be read and written by using the drive panel PC Tool or fieldbus protocol See Chapter...

Page 23: ...1 2 Enabling Modbus Protocol 5 2 Modbus RTU Parameters and Monitoring Values M5 8 3 Panel Tree Parameter Range Default ID Description P5 8 3 1 1 Slave address 1 247 1 2320 Unique slave device address...

Page 24: ...RTU network Modbus initiates a communication error for a time defined with this parameter 0 means that no fault is generated Used to select the operate mode of the Modbus RTU protocol slave master Thi...

Page 25: ...al 3 Faulted P5 8 3 2 2 Communication status 0 0 99 999 2382 0 99 Number of messages with errors 0 999 Number of messages without communication errors Reset on drive restart P5 8 3 2 3 Illegal functio...

Page 26: ...master should retransmit the message later when the server or slave is free This corresponds to Modbus fault code 06h This value counts error situations The server or slave attempted to read record f...

Page 27: ...s Panel Tree Parameter Range Default ID Description P5 9 1 1 IP address mode Fixed 1 DHCP 2 DHCP 2 2482 IP Mode P5 9 1 2 Duplicate IP Detection Disabled 0 Enabled 1 enabled 2569 This is setting for en...

Page 28: ...m number of connections is three 3 Monitoring menus are visible even though connection has not been opened 5 3 4 Fixed Subnet Mask 5 3 5 Fixed Default Gateway 5 3 6 Active IP Address Subnet Mask and D...

Page 29: ...nd the messages to all slaves with that value For Modbus this value defines the time in which a message must be received from Client in Modbus TCP UDP before a fieldbus fault is generated If timeout i...

Page 30: ...us message Coil 127 decimal is addressed as Coil 007E hex 126 decimal Holding register 40001 is addressed as register 0000 in the data address field of the message The function code field already spec...

Page 31: ...ergy trip counter 6 3 Modbus Data Mapping A coil in Modbus is a single bit binary data item which can be both read and written In Praxi 100 family AC drives the coils refer to some bits in the fieldbu...

Page 32: ...counter 16bit Table 30 RO 3 0 40211 40212 Energy counter 32bit Table 29 RO 2 0 40301 40303 Resettable energy counter 16bit Table 32 R Write 1 to first index to reset 3 0 40311 40312 Resettable energy...

Page 33: ...y or by using the so called ID map more information below The easiest way to read a single parameter value or parameters with consecutive ID numbers is to use a straight address It is possible to read...

Page 34: ...l word bit descriptions see Chapter 10 APPENDIX 2 CONTROL AND STATUS WORD For status word bit descriptions see Chapter 10 APPENDIX 2 CONTROL AND STATUS WORD Using the ID map you can read consecutive m...

Page 35: ...rameter ID700 10703 Data High parameter ID702 10704 Data Low parameter ID702 Example of 32Bit IDMap Table 24 Example of parameter values in 32 bit IDMap Read Write registers Once the IDMap address ran...

Page 36: ...peration days as seconds in a 32 bit unsigned integer This counter in registers 40101d to 40105d holds the value of operation days counter This counter in registers 40001d to 40005d holds the value of...

Page 37: ...ergy counter These registers hold three values for the energy counter amount of energy used format of the energy value and unit of the energy value Example If energy 1200 format 52 unit 1 then actual...

Page 38: ...ddress Purpose 40511 Fault code 1 16 bit fault code in index 1 40512 Sub code 1 16 bit sub code for the fault in index 1 40513 Fault code 2 16 bit fault code in index 2 40514 Sub code 2 16 bit sub cod...

Page 39: ...register By default the connection uses the communication timeout value given via panel parameters If the cable is disconnected a fieldbus fault is activated after the timeout period When communicatio...

Page 40: ...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 LO 00 hex Data HI 13 hex Data 3 1388 hex 5000 Speed Reference to 50 00 Data LO...

Page 41: ...ddress HI 08 hex Starting address 0836 hex 2102 Starting address LO 36 hex No of registers HI 00 hex Number of registers 0002 hex 2 No of registers LO 02 hex Error Check CRC HI 93 hex CRC field 93A5 h...

Page 42: ...and Master Slave Answer Slave Master Address 01 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...

Page 43: ...haracters in serial communication begin with start bit referring to bus status 0 with voltage of less than 200mV whereas the bus status 1 corresponds to bus voltage of more than 200mV The RS 485 stand...

Page 44: ...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 Other bus devices Check connection...

Page 45: ...aster s parameters Is fieldbus selected as control place Does Master give RUN command Check cabling Other bus devices Check connections Check the led on keypad Check external interlockings I O Check d...

Page 46: ...RL 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 Word to 1 by writing the data 0001h to the register 2001d C AC dri...

Page 47: ...axi 100 HVAC the Motor Current scale is always 0 1 A NOTE 2 In Praxi 100 HVAC the default ID is 45 meaning Motor Current 1 Decimal In Praxi 100 family AC drives the default ID is 3 for Motor Current T...

Page 48: ...St op mode 1 0 Stop mode is unmodified 1 Stop mode is overridden to Coasting 4 St op mode 2 0 Stop mode is unmodified 1 Stop mode is overridden to Ramping 5 Quick ramp time 0 Normal deceleration ramp...

Page 49: ...AL FLOW Praxi 100 HVAC 0 Start Stop x x 1 Direction x x 2 Fault reset x x 3 Stop mode 1 x x 4 Stop mode 2 x x 5 Quick ramp time x 6 Freeze setpoint x x 7 Setpoint to Zero x 8 Request Fieldbus Control...

Page 50: ...d bits B29 B31 descriptions of bit connections Table 53 Status Word Bit Function Value Decsription B0 Ready 0 Drive is not ready 1 Drive is ready to run B1 Run 0 Motor is not running 1 Motor is runnin...

Page 51: ...51...

Page 52: ...ries The Schmersal Group is also a leader in the international market as well as in expertise in the demanding area of machine safety With several product lines around 2 000 company employees develop...

Reviews: