background image

3

5.3.7 MAC Address _______________________________________________________ 28
5.3.8 Modbus TCP/UDP Settings (M5.9.2) ___________________________________ 28
5.3.9 Connection Limit ____________________________________________________ 29
5.3.10 Unit Identifier Number _______________________________________________ 29
5.3.11 Communication Timeout ____________________________________________ 29
5.3.12 IDMap IDs _________________________________________________________ 29

6. Communications _____________________________________________________________ 30

6.1 Data Addresses in Modbus Messages _______________________________________ 30
6.2 Supported Modbus Functions _______________________________________________ 30
6.3 Moldbus Data Mapping ____________________________________________________ 31

6.3.1 Coils Registers ______________________________________________________ 31
6.3.2 Clearing Resettable Counters _________________________________________ 31
6.3.3 Discrete inputs ______________________________________________________ 31
6.3.4 Holding registers and input registers ___________________________________ 32
6.3.5 Schmersal Application IDs ____________________________________________ 33
6.3.6 FB Process Data In __________________________________________________ 33
6.3.7 FB Process Data Out _________________________________________________ 34
6.3.8 ID Map _____________________________________________________________ 34
6.3.9 Operation Day Counter _______________________________________________ 36
6.3.10 Resettable Operation Day Counter ____________________________________ 36
6.3.11 Energy Counter ____________________________________________________ 37
6.3.12 Resettable Energy Counter __________________________________________ 37
6.3.13 Fault History _______________________________________________________ 38
6.3.14 Fault History with 16-bit Error Codes __________________________________ 38

6.4 Modbus TCP/UDP Communication and Connection Timeout ___________________ 39
6.5 Example Messages ________________________________________________________ 40

6.5.1 Example 1 - Write Process Data _______________________________________ 40
6.5.2 Example 2 - Read Process Data _______________________________________ 41
6.5.3 Example 3 - Exception Response ______________________________________ 42

7. Fault Tracing _________________________________________________________________ 43

7.1 Typical Fault Conditions ____________________________________________________ 43
7.2 RS - 485 Bus Biasing ______________________________________________________ 43
7.3 Other Fault Conditions _____________________________________________________ 44

8. Quick Setup __________________________________________________________________ 46
9. Appendix 1 - Process Data ____________________________________________________ 47
10. Appendix 2 - Control and Status Word ________________________________________ 48

10.1 Control Word Bit Description _______________________________________________ 48
10.2 Status Word Descriptions__________________________________________________ 50

Содержание Praxi 100

Страница 1: ...Safe solutions for your industry Manual MODBUS Praxi 100...

Страница 2: ...Monitoring Values M5 8 3 ______________________ 23 5 2 1 Slave Address_______________________________________________________ 24 5 2 2 Baud Rate _______________________________________________________...

Страница 3: ..._____ 34 6 3 9 Operation Day Counter_______________________________________________ 36 6 3 10 Resettable Operation Day Counter____________________________________ 36 6 3 11 Energy Counter ____________...

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Отзывы: