Schneider Electric LUFP7 Configuring the General Characteristics of the Gateway, Fieldbus Element

Page 81

6. Configuring the Gateway

Constants in Byte, Word or DWord format allow you to relieve the Profibus-DP master by placing the values of these constants in Modbus query frames (constants in “Query” elements) or by comparing them to the values located in the Modbus responses (constants in “Response” elements). These comparisons are used to accept (identical values) or reject (different values) the Modbus responses in the same way as for standard Modbus commands. The Profibus-DP master does not have access to these constants. They are mainly used to replace fields such as “Slave address,” “Function,” “Starting Address,” etc.

Please see the section on “Actions on request/response” in chapter 2.6.4 Transaction and in chapter 2.6.6 Frame objects in the AbcConf user manual, entitled AnyBus Communicator – User Manual for further information about how to handle “Transaction” type commands. This manual can be found on the CD LU9CD1 :

ABC_User_Manual.pdf”.

The LUFP7 gateway’s default configuration includes two “Transaction” commands. These are aperiodic commands used for reading and writing the value of a Modbus slave parameter (necessarily a TeSys U motor starter with the default configuration). They are configured solely for the “TeSys U n°1” node, as the address of the slave is controlled by the Profibus-DP master via the first byte of the “Data” field, which corresponds to the “Slave Address” field in standard Modbus commands. This allows the Profibus-DP master to send this command to all of the Modbus slaves, slave by slave, through the first byte of the “Data” field. The remaining fields of the frames used by these two commands are also placed in the same “Data” field. So the Profibus-DP master has access to all of the content of the frames in these two commands, excluding the checksum.

6.12. Configuring the General Characteristics of the Gateway

This operation relates to the gateway’s general characteristics (“Fieldbus” to “Sub-Network” elements), whereas the previous chapters described the configuration of the Modbus slaves (elements located under the “Sub- Network” element).

The “Fieldbus” element describes the upstream network, that is to say the Profibus-DP network in the case of the LUFP7 gateway.

The “ABC” and “Sub-Network” elements describe the downstream network, that is to say the Modbus RTU network in the case of the LUFP7 gateway, and allow you to identify the software version in the gateway.

The configuration of these three elements, plus the commands they give access to, are described in the next three chapters.

6.12.1. “Fieldbus” Element

Below this element there is a list of the mailboxes configured by default. These elements are not described here, as they are only designed for the internal management of the gateway. These mailboxes can neither be changed nor deleted. Both their number and their nature depend on the type of upstream network.

When the “Fieldbus” element is selected, you can select the type of upstream network. With the LUFP7 gateway, you must select the “Profibus-DP” network.

If your PC is connected to the gateway using the PowerSuite cable and you are using AbcConf in “on-line” mode when AbcConf starts up, the type of upstream network will be automatically detected.

82

Image 81
Contents LUFP7 Page LUFP9 Page Table of Contents Introduction to the User Guide IntroductionTerminology Introduction to the LUFP7 GatewayDPM1 Notational ConventionsIntroduction to the Communication System Architecture Additional DocumentationProfibus-DP Master Upstream network Profibus-DP ModbusPrinciple Used to Configure and Operate the LUFP7 Gateway Modbus Network ABC ConfiguratorLUFP7 gateway HilscherProfibus-DP Configuration Modbus RTU Hardware Implementation of the LUFP7 GatewayOn Receipt Powering the Gateway Mounting the Gateway on a DIN RailMounting the gateway Connecting the Gateway to the Modbus Network LU9GC03Examples of Modbus Connection Topologies LUFP7 Gateway Pin Outs TSXCSA00Wiring Recommendations for the Modbus Network 120 ΩHubs, drops, taps, and line terminations NAD 911 04/03 connector Point SUB-D male Connecting the LUFP7 gateway to the Profibus-DP NetworkCables Pin Outs LUFP7 plug --- 9-point SUB-D femaleGND Wiring Recommendations for the Profibus-DP NetworkNAD 911 04 or 03 connector Configuring the Profibus-DP Communication Features Encoding the Gateway AddressNo Internal Line Termination Address = Signalling Introduction Software Implementation of the GatewaySystem Architecture Profibus-DPConfiguring the Motor Starters Modbus Cycle TimeManaging Degraded Modes Setting Up the Hardware Configuration under PL7 PRO Gateway Configuration under PL7 PRO and SyConSelecting and Adding the Profibus-DP Master Station Creating a Profibus-DP Network under SyConSetting up the Gateway Description Files Selecting and Adding the Gateway to the Profibus-DP Network Editing and Configuring the GatewaySoftware Implementation of the Gateway Diagnostic length Saving and Exporting the Profibus-DP Network ConfigurationOptional Possible valuesConfiguring the Gateway I/O under PL7 PRO Service PLC output Description Service PLC input DescriptionIW4.0 IW4.0.1Sample reading of a motor starter parameter Description of Services Assigned to Gateway Inputs/OutputsAllocating Symbols to the Gateway Inputs and Outputs Developing a Profibus-DP Application Using and Monitoring the TSX PBY 100 Coupler ConfigurationDisabled 5.3.2 Profibus-DP Master Control Word Gateway Initialization and DiagnosticsFull Management Control/Status Byte fieldProfibus-DP Master Control Word Fbdu Modbus exchange startup 11EC Error code associated with the Modbus network Bits Description Abchssend New gateway diagnosticED Error data item associated with the Modbus network Gateway Status WordDescription of the error Diagnostic OnlyBits Description Abcdu Modbus exchanges activated Simplified Operation Connecting the Gateway to the Configuration PC Configuring the GatewayRS-232 Link Protocol GNDImporting the Gateway Configuration Installing AbcConfMonitoring the Content of the Gateway’s Memory Transferring a Configuration to the GatewayConfiguring the Gateway Deleting a Modbus Slave Procedure for deleting a Modbus slaveCopying a previously configured Modbus slave Adding a Modbus SlaveAdding a new type of Modbus slave Importing/exporting a Modbus slave configuration Replacing a periodic input data element Changing the Periodic Data Exchanged with a Modbus SlaveReplacing an Output Periodic Data Element Increasing the Amount of Periodic Input Data Configuring the Gateway Configuring the Gateway Configuring the Gateway IW4.0.17 IW4.0.16IW4.0.18 IW4.0.19Configuring the Gateway Configuring the Gateway Configuring the Gateway Configuring the Gateway Deleting Aperiodic Parameter Data QW4.0.16QW4.0.17 Configuring the Gateway Configuring the Gateway Managing the downstream Changing a Modbus Slave Configuration Changing the name of a Modbus slaveChanging the Address of a Modbus slave With the TeSys U Motor Starters Adding and Setting Up a Modbus CommandModbus response Name of the Modbus command Modbus queryWith a Generic Modbus Slave CPU stop/failure LUFP7 gateway Profibus-DP Modbus RTU Configuration Description Element Configuring the QueryConfiguring the Gateway Default communication mode. The query is transmitted Configuring the Response Configuring the Content of the Query Frame Field Size Description Frame Configuring the Content of the Response Frame Mode. The default value, CRC, should not be changedStart byte fields Adding a Special Modbus Command Modbus Commands Based on Standard CommandsModbus Commands which Can Be Completely Changed by the User Fieldbus Element Configuring the General Characteristics of the GatewayABC Element Sub-Network Element Configuring the Gateway Adding a Broadcaster Node Appendix a Technical Characteristics Communication CharacteristicsEnvironment Communications between other stations Performance Results Inputs General data Appendix B LUFP7 Gateway GSD File GSD File ContentIdentification Number Identification number Name of the related GSD fileMaximum response time of the gateway Input Appendix C Default Configuration Configuring Modbus Exchanges 16#1016#06 Content of the Gateway’s Dpram Memory Service Address Size DescriptionInput Data Memory Area Output Data Memory Area Overview of the LUFP7 Tutorial Example Appendix D Sample Use under PL7 PROLUFP7 Gateway Initialization and Diagnostics See note IEC61915 command register Controlling and Supervising the 8 TeSys U Motor StartersTeSys U status register IEC61915 Reading and Writing any TeSys U Motor Starter Parameter Appendix D Sample Use under PL7 PRO Appendix D Sample Use under PL7 PRO Appendix E Profibus-DP Data and Diagnostics Gateway Profibus-DP DiagnosticsBytes Structure Description Bytes Name Description Gateway Configuration DataBytes Name Value General Gateway Information108 Appendix F Modbus Commands Read Holding Registers Command 16#03 Preset Single Register Command 16#06Frame Field Value or properties Modbus Protocol Exception Responses Preset Multiple Registers Command 16#10Code Name Description of the exception Exception LUFP7 Quantum Appendix F Concept and Quantum PLCLeft intentionally blank 114 Page User’s Manual LUFP7 V1.1 2003-05