background image

                        LMP-100 

PROFIBUS/MODBUS GATEWAY

 

Page 26 of 40 

LMP-100 User Manual 

MAN-EN-DE-LMP100-01.00_14 

 

All rights reserved to DLG Automação Industrial © 2011 – 2014 

 

 
 

Summary of Contents for LMP-100

Page 1: ...User Manual Profibus Modbus Gateway MAN EN DE LMP100 01 00_14 Profibus Modbus Gateway LMP 100 ...

Page 2: ......

Page 3: ...ot cover special products made by order 5 All precautions were taken on preparing this manual in order to guarantee the quality of its information CAUTION The instrument described in this technical user manual is a device suitable for application in a specialized technical area DLG supplied products are submitted to a strict quality control process However industrial control electronic equipment c...

Page 4: ...ON 11 Profibus address configuration 11 GSD file installation 12 Module configuration LMP 100 M 12 Modbus network configuration 13 Modbus rule configuration 16 Diagnostics 23 Control register 28 ELECTRICAL INSTALLATION 32 Power Supply 33 Profibus DP Communications 33 Modbus RTU Communications 33 MECHANICAL INSTALLATION 34 RECOMMENDATIONS 35 WARRANTY 36 ...

Page 5: ...s By assuming simultaneously the role of a Profibus DP slave and a Modbus RTU master it allows Modbus slaves to be controlled by Profibus masters The LMP 100 may be mounted on a standard 35 mm DIN rail LEDs provide indication of power supply device Modbus and Profibus network states The power and communication cables are connected by fully detachable terminal blocks The connection to the Profibus ...

Page 6: ...age 6 of 40 LMP 100 User Manual MAN EN DE LMP100 01 00_14 All rights reserved to DLG Automação Industrial 2011 2014 How to Specify LMP 100 ____ Profibus input and output buffers sizing compact fixed size buffers M modular buffer sizing ...

Page 7: ... devices Necessity of using a particular device only available with Modbus communication in Profibus based facility Figure 1 depicts a LMP 100 typical application In the role of a Profibus DP slave the LMP 100 receives commands from the Profibus master These commands are interpreted by the LMP 100 which in the role of a Modbus master forwards them to the Modbus slaves Similarly the LMP 100 periodi...

Page 8: ...5M 3M 6M e 12M Modbus 1 2k 2 4k 4 8k 9 6k 19 2k 38 4k 57 6k e 115 2k Operating temperature 10 ºC a 60 ºC Storage temperature 40 ºC a 70 ºC Relative humidity Up to 90 IP protection IP 30 DIN EN 60529 VDE 0470 Input voltage 20 4 28 8 Vdc Current consumption 90 mA Construction ABS plastic and flame resistant polycarbonate Placement DIN 35 mm rail DIN EN 60715 TH35 Electrical connection Cable up to 2 ...

Page 9: ...OFIBUS MODBUS GATEWAY LMP 100 User Manual MAN EN DE LMP100 01 00_14 Page 9 of 40 All rights reserved to DLG Automação Industrial 2011 2014 Dimensions Figure 2 Dimensioning for assembling dimensions in millimeters ...

Page 10: ... succeed the LED remains lit indicating proper operation of the device If the LED is turned off a critical error occurred at startup and in this case the device will no longer operate correctly BF Red Bus Fail Indicates failure in the Profibus network When lit means that the LMP 100 is not in the Data Exchange state ST Red Status Indicates presence of failure or diagnostics The failure is indicate...

Page 11: ...y of bits grouped into one byte is described consider bit 0 as the least significant bit and bit 7 as the most significant bit Profibus address configuration The configuration of the LMP 100 Profibus address is accomplished through the selector switches located on the side of the device labeled PROFIBUS ADDRESS There are seven selector switches which enable the encoding of a binary number between ...

Page 12: ...ibus master user manual After proper installation of the GSD file the entire configuration of the LMP 100 is done through the Profibus master configuration software For the compact version of the device use the DLG_0D8A gsd file For the modular version of the equipment M use the DLG_0E6C gsd file Module configuration LMP 100 M The LMP 100 modular option gives the user the power to size appropriate...

Page 13: ...es must use the parity adopted by the LMP 100 For firmware versions up to 02 00 00 possible values are Even Odd None Starting from firmware version 02 01 00 possible values are Even Odd None with 1 stop bit None with 2 stop bits The possibility of choosing the number of stop bits is aimed at increasing interoperability with the widest possible range of Modbus slaves The Modbus specification states...

Page 14: ... the LMP 100 waits to receive a response from a Modbus slave If the slave does not respond within this time the LMP 100 considers it as a failure and resends the command Allowed values lie in the range from 10 to 60000 ms Modbus retries Number of retransmission attempts of a command Retransmissions occur when the slave does not respond or when the slave sends an incorrect response Allowed values l...

Page 15: ...AN EN DE LMP100 01 00_14 Page 15 of 40 All rights reserved to DLG Automação Industrial 2011 2014 Note Except for the Modbus parity all the parameters listed above have a direct influence on the time interval needed by the LMP 100 to scan all Modbus slaves ...

Page 16: ...a will be transferred to the Modbus slaves In the LMP 100 compact option input and output buffers have a fixed length of 244 bytes In the modular option the user is allow to size the input and output buffers by inserting modules in the configuration Input rules produce and store data in the input buffer Assuming an input rule R01 for example which specifies reading of 5 Modbus registers and rememb...

Page 17: ...he rule becomes an input rule Write Single Coil allows writing of one digital output The rule becomes an output rule Write Single Register allows writing of one analog output The rule becomes an output rule Write Multiple Coils allows writing of one or more digital outputs The rule becomes an output rule Write Multiple Registers allows writing of one or more analog outputs The rule becomes an outp...

Page 18: ...ccessed The table below details the mentioned dependencies Modbus function code Number of variables n Number of bytes reserved Read Coils 1 n 1952 n 1 8 1 Read Discrete Inputs Write Multiple Coils Read Holding Registers 1 n 122 n 2 Read Input Registers Write Multiple Registers Write Single Coil Parameter is not used 2 Write Single Register Since the maximum value of the Start address parameter is ...

Page 19: ...igned to operate in the LE format Should that be the case the LMP 100 may be configured to perform the byte order inversion internally thus eliminating the need to program a byte order inversion algorithm in the PLC for instance When configured to perform the byte order inversion the LMP 100 inverts the input variables before copying them to the Profibus input buffer as well as the ouput variables...

Page 20: ...0 does not detect change and does not forward the current value to the Modbus slave This situation was caused by the digital output changing from 1 to 0 when the device was turned off The User triggered behavior allows the user to control exactly at which time writing is made The control register allows the user to trigger each output rule individually writing the value available in the Profibus o...

Page 21: ...fers Modbus data exactly as they are exchanged in the Modbus network Table 3 details how data is encoded according to each Modbus function Modbus function Encoding Read Coils Read Discrete Inputs Write Multiple Coils Each variable is encoded as 1 bit Data is always transferred in multiples of 1 byte The least significant bit of the first byte contains the variable address by the parameter Start ad...

Page 22: ...2 Variable 10 Variable 11 MSB is the most significant byte LSB is the least significant byte Variable values are represented in hexadecimal notation 30010 012C16 1000010 271016 Write Single Coil The value to be written to the digital output is encoded in two bytes To write 0 to the output it is necessary to transfer the value 000016 To write 1 to the output it is necessary to transfer the value FF...

Page 23: ... contains the Modbus rules overall diagnostics encoded as shown in table 5 Byte Bit Condition Description Comments 3 0 Reserved 1 Reserved 2 Reserved 3 Reserved 4 Reserved 5 Exception in Modbus response While processing the Modbus rules at least one slave returned a response with an exception The LMP 100 remains in operation It is possible to check which slaves produced the exception by checking t...

Page 24: ...ondition remains active while the slave responds with an exception 2 Timeout in Modbus response While processing the rule the slave did not return a response within the time period specified by the Modbus response timeout parameter The LMP 100 remains in operation New transmission attempts will be made and the diagnostic condition remains active while the slave does not respond 3 Error in Modbus r...

Page 25: ...he entire input buffer can be used to access Modbus input variables However the Profibus master configuration required to access the extended diagnostic data is usually more difficult than the configuration to access data from the input buffer In addition some Profibus masters simply do not allow the user to access extended diagnostics Looking at the factors mentioned above the decision on which d...

Page 26: ...LMP 100 PROFIBUS MODBUS GATEWAY Page 26 of 40 LMP 100 User Manual MAN EN DE LMP100 01 00_14 All rights reserved to DLG Automação Industrial 2011 2014 ...

Page 27: ... three times in the minor cycle Device is automatically rebooted going into normal operation Modbus communications layer initialization error ST LED blinks four times in the minor cycle Device is automatically rebooted going into normal operation Insufficient number of bytes in the input or output buffers to store all data produced by the rules ST LED blinks five times in the minor cycle Device go...

Page 28: ...ding that a the rule produces activity in the Modbus network This parameter is interesting in situations such as failure or removal of a Modbus slave which cause network timeouts due to rules that address the referred slave The Enabled parameter can be set to value No in all rules that address the missing or defective Modbus slave preventing Modbus communications with the slave However it is impor...

Page 29: ...trigger is set to User triggered As explained before in the rule configuration section a user triggered rule gives the user complete control on when the write command is sent to the Modbus network Bytes 2 to 6 of the control register are encoded in a way that each rule has a trigger bit It is important to note that the trigger bits only results in Modbus writes if the rule is configured as user tr...

Page 30: ... R29 user trigger 4 Rule R28 user trigger 5 Rule R27 user trigger 6 Rule R26 user trigger 7 Rule R25 user trigger 6 0 Reserved 1 Reserved 2 Rule R38 user trigger 3 Rule R37 user trigger 4 Rule R36 user trigger 5 Rule R35 user trigger 6 Rule R34 user trigger 7 Rule R33 user trigger Table 8 User trigger control Note bytes 7 to 15 of the control register are reserved and have no effect on the device ...

Page 31: ...e aware that by disabling the control register the user is no longer able to control the runtime activation of slaves and it becomes impossible to trigger user triggered write rules It is also important to note that the output buffer becomes fully available for Profibus output variables since the control register is no longer mapped at the beginning of the output buffer ...

Page 32: ...tallation Figure 3 LMP 100 electrical connections Attention all cables must be crimped with eyelet terminals for cables up to 1 5 mm unless otherwise stated For the interconnection of communication signals it is recommended to use woven shielded cables and the woven grounding must be done on the S terminal and other ground references located at the bus extremities ...

Page 33: ...nnel Connections to this channel are made through terminals named positive B negative A and shield S Connection to the Profibus DP channel can also be made through the DB9 connector available on the LMP 100 The connection must be made using standard Profibus DP connectors The DB9 connector and the terminals are internally wired and can be used together For example the LMP 100 may be connected to t...

Page 34: ...tomação Industrial 2011 2014 Mechanical Installation Fix the LMP 100 on the the top of the DIN rail Using a screwdriver pull the lock that is located at the bottom of the LMP 100 After pulling the lock fix the LMP 100 at the bottom of the DIN rail Release the lock and make sure that the LMP 100 is attached to the DIN rail ...

Page 35: ...ion and maintenance It is necessary to use a terminal type screwdriver for terminal connection or 1 8 with 3 mm maximum diameter as it is the ideal format and will not damage the connector aperture Inappropriate screwdriver Recommended screwdriver It is recommended to crimp all the wires that will be connected to the LMP 100 with a pre isolated needle type or eyelet type terminal for cables of 0 5...

Page 36: ...nvoices to our factory in Sertaozinho Sao Paulo state Brazil DLG s address is available at the end of this manual 4 The owner is responsible for transportation costs and risks 5 Warranty will be automatically suspended if changed are made to the equipment by personnel not authorized by DLG defects caused by mechanical shock exposure to conditions unfit for use or tampering with the product 6 DLG d...

Page 37: ...Notes ...

Page 38: ......

Page 39: ......

Page 40: ...ustrial 14176 119 Sertãozinho São Paulo Brasil Fone 55 16 3513 7400 www dlg com br MAN EN DE LMP100 01 00_14 GATEWAY PROFIBUS MODBUS LMP 100 DLG reserves the right to change this manual contents without notice in order to keep it updated with future product improvements ...

Reviews: