Schneider Electric LUFP7 user manual Configuring the Gateway

Page 65

6. Configuring the Gateway

You will note that the “TeSys U n°1” section now only has the two Modbus commands common to the eight TeSys U motor starters, and that the memory locations which corresponded to the two personalised commands are now free.

N.B. The free memory location at address 16#0012 in the gateway’s memory is no longer part of the gateway’s inputs, because there is no input data used beyond this address.

In point 7), you shall make sure that the total input and ouput sizes of the configured modules are the same as the exchange sizes displayed in the “Sub-network Monitor.” In the current example, “In Area 18 bytes” and “Out Area 18 bytes” imply that the modules combined under SysCon must have a total of 9 IW and 9 OW.

5)Transferring this configuration to the gateway: Please see chapter 6.4 Transferring a Configuration to the Gateway, page 47. Check that the configuration is valid (LED s GATEWAY flashing green). However, the gateway configuration is now different from the one taken into account by the Profibus-DP coupler with respect to the gateway (difference in the total length of input and output data), the LED q FIELDBUS DIAG therefore becomes flashing red at a frequency of 1 Hz, providing that the gateway is connected to the Profibus- DP network and to its DPM1 master.

6)Saving this configuration to your PC’s hard disk.

7)Changing the number of data received and the number of data transmitted by the Profibus-DP coupler: Under SyCon, change the list of modules configured for the gateway (see chapter 4.2.6 Editing and Configuring the Gateway, page 29). Since now you only have 18 input data bytes and 18 output data bytes in the gateway memory, the coupler should be configured to receive an 18-byte input data block from the gateway and to transfer an 18-byte output data block to the gateway.

The module that corresponds to the gateway's default configuration should not be kept, as the numbers of inputs and outputs it represent exceeds the new numbers of gateway inputs and outputs. Remove “Module1”, i.e. the “IN/OUT: 32 Byte (16 word)” module, from the list of modules configured for the gateway. To achieve that, double-click on the entry that corresponds to the module or press the “Remove Module” button after selecting it. Then, a confirmation window appears, asking you whether you want to confirm the module removal. Click “Yes”. Back to the "Slave configuration" window, the list of modules configured for the gateway is now empty.

Then, you should add the modules whose combination shall make it possible to have a total equal to the desired numbers of input and output bytes. Thus, for example, to have 18 input bytes and 18 output bytes, we shall use an “IN/OUT: 2 bytes (1 word)” module and one “IN/OUT: 16 Bytes ( 8 word)” module. This module combination is the quickest to configure, all the more so since the maximum number of modules that can be configured is limited to 24 for the LUFP7 gateway. Using 9 “INPUT modules: 2 Bytes (1 word)” and 9 “OUTPUT modules: 2 Bytes ( 1 word)” modules for a total of 18 input bytes and 18 output bytes remains possible, but this solution is not appropriate when using modules!

Scroll the list of available modules, select the “IN/OUT: 2 Bytes ( 1 word)” module and add it to the list of

modules configured for the gateway. Do the same for the “IN/OUT: 16 Bytes ( 8 word)” module.

In the example used here, the list of modules configured for the gateway should be identical to the one on the right. This list corresponds to the changes described above and the combination of modules it contains is optimum, as it uses a minimum number of modules.

66

Image 65
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 ConfiguratorProfibus-DP LUFP7 gatewayHilscher On Receipt Configuration Modbus RTUHardware Implementation of the LUFP7 Gateway Mounting the gateway Powering the GatewayMounting the Gateway on a DIN Rail Examples of Modbus Connection Topologies Connecting the Gateway to the Modbus NetworkLU9GC03 LUFP7 Gateway Pin Outs TSXCSA00Hubs, drops, taps, and line terminations Wiring Recommendations for the Modbus Network120 Ω 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 No Internal Line Termination Address = Configuring the Profibus-DP Communication FeaturesEncoding the Gateway Address Signalling Introduction Software Implementation of the GatewaySystem Architecture Profibus-DPManaging Degraded Modes Configuring the Motor StartersModbus Cycle Time 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 slaveAdding a new type of Modbus slave Copying a previously configured Modbus slaveAdding a 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 QW4.0.17 Deleting Aperiodic Parameter DataQW4.0.16 Configuring the Gateway Configuring the Gateway Managing the downstream Changing the Address of a Modbus slave Changing a Modbus Slave ConfigurationChanging the name 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 Modbus Commands which Can Be Completely Changed by the User Adding a Special Modbus CommandModbus Commands Based on Standard Commands Fieldbus Element Configuring the General Characteristics of the GatewayABC Element Sub-Network Element Configuring the Gateway Adding a Broadcaster Node Environment Appendix a Technical CharacteristicsCommunication Characteristics 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 16#06 Configuring Modbus Exchanges16#10 Input Data Memory Area Content of the Gateway’s Dpram MemoryService Address Size Description Output Data Memory Area Overview of the LUFP7 Tutorial Example Appendix D Sample Use under PL7 PROLUFP7 Gateway Initialization and Diagnostics See note TeSys U status register IEC61915 IEC61915 command registerControlling and Supervising the 8 TeSys U Motor Starters Reading and Writing any TeSys U Motor Starter Parameter Appendix D Sample Use under PL7 PRO Appendix D Sample Use under PL7 PRO Bytes Structure Description Appendix E Profibus-DP Data and DiagnosticsGateway Profibus-DP Diagnostics Bytes Name Description Gateway Configuration DataBytes Name Value General Gateway Information108 Appendix F Modbus Commands Frame Field Value or properties Read Holding Registers Command 16#03Preset Single Register Command 16#06 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