Schneider Electric LUFP7 Saving and Exporting the Profibus-DP Network Configuration, Optional

Page 31

4. Software Implementation of the Gateway

4.2.7. Saving and Exporting the Profibus-DP Network Configuration

Save the configuration by giving it a name (“Save” or “Save As…” option from the “File” menu). The configuration of the Profibus-DP network is then saved in a “.pb” file.

In order to export this configuration for PL7 PRO, follow these steps:

Select the line that corresponds to the Profibus-DP master (TSX PBY 100).

Run the “Export ASCII” option from the “File” menu. The newly-created file bears the “.cnf” extension. N.B. the filename must comply with the “DOS 8.3” format, i.e. it must include a name limited to 8 characters and a 3-character extension (here, “cnf”).

Once these operations are completed, quit SyCon.

4.2.8. Importing the Configuration of the Profibus-DP Network under PL7 PRO

Back to PL7 PRO (see chapter 4.2.1 Setting Up the Hardware Configuration under PL7 PRO, page 26), click on the “Load CNF” button. Using the options in the window that appears, select the “cnf” file that was saved beforehand (see previous chapter).

Once this import is completed, the full path to this file appears on the right of the "Load CNF" button and the "PROFIBUS-DP slave configuration" frame displays the two configured stations, i.e. “TSX PBY 100”, at the address 1, and “LUFP7”, at the address 2.

In the case of the LUFP7 gateway, the default values allocated to the configuration options of the "General PROFIBUS-DP configuration" frame can be kept (see table below). Edit them accordingly if you configure other slaves on the same Profibus-DP network.

Optional

Default value

Possible values

Task

MAST

MAST or FAST

Used to select the type of system task that will steer the Profibus-DP network.

N.B. The PL7 PRO application is also subdivided into a “Mast Task” and a “Fast Task”.

Outputs

Reset

Hold or Reset

Determines whether the %QW outputs meant for the Profibus-DP slaves are held or reset to zero when the associated task (see above) is stopped, as this stop does not cause the TSX PBY 100 board to stop.

N.B. if the gateway’s “Control/Status Byte” option is equal to “Enabled” (which is not the case for its default configuration), resetting the outputs also resets the “Profibus-DP master control word,” and therefore a communication disruption request on the Modbus downstream network (see chapter 5.2.1 Profibus-DP Master Control Word, page 38).

IW/QW number

128 words

32, 64, 128 or 242 words

Determines the number of words used for the input of the TSX PBY 100 board, as well as for its outputs.

The "Total" frame indicates the total number of inputs and outputs, all slaves included. The value allocated to the “IW/QW number” option should be greater than, or equal to, the greatest of these two numbers.

The LUFP7 gateway only requires 16 words (whether for inputs or for outputs). Therefore, we could use a size of 32 words. However, it is preferable to keep the default value, should other slaves be configured.

Diagnostic length

32 bytes

6 to 244 bytes

Determines the maximum length of a diagnostic on the Profibus-DP network.

N.B. This length should be sufficient to host the longest diagnostic for all the slaves on the network. If the length is insufficient, the slaves concerned shall not be active on the bus because their diagnostic shall be invalid. The "diagnostic length" is equal to 6 bytes in the case of the LUFP7 gateway.

N.B. You may also request the configuration of the Profibus-DP master by clicking the "View" button in the "Master configuration" frame.

32

Image 31
Contents LUFP7 Page LUFP9 Page Table of Contents Introduction to the User Guide IntroductionTerminology Introduction to the LUFP7 GatewayDPM1 Notational ConventionsModbus Additional DocumentationIntroduction to the Communication System Architecture Profibus-DP Master Upstream network Profibus-DPPrinciple Used to Configure and Operate the LUFP7 Gateway Modbus Network ABC ConfiguratorHilscher LUFP7 gatewayProfibus-DP Hardware Implementation of the LUFP7 Gateway Configuration Modbus RTUOn Receipt Mounting the Gateway on a DIN Rail Powering the GatewayMounting the gateway LU9GC03 Connecting the Gateway to the Modbus NetworkExamples of Modbus Connection Topologies LUFP7 Gateway Pin Outs TSXCSA00120 Ω Wiring Recommendations for the Modbus NetworkHubs, drops, taps, and line terminations Pin Outs LUFP7 plug --- 9-point SUB-D female Connecting the LUFP7 gateway to the Profibus-DP NetworkNAD 911 04/03 connector Point SUB-D male CablesGND Wiring Recommendations for the Profibus-DP NetworkNAD 911 04 or 03 connector Encoding the Gateway Address Configuring the Profibus-DP Communication FeaturesNo Internal Line Termination Address = Signalling Profibus-DP Software Implementation of the GatewayIntroduction System ArchitectureModbus Cycle Time Configuring the Motor StartersManaging 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 Possible values Saving and Exporting the Profibus-DP Network ConfigurationDiagnostic length OptionalConfiguring the Gateway I/O under PL7 PRO IW4.0.1 Service PLC input DescriptionService PLC output Description IW4.0Sample 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 ConfigurationControl/Status Byte field Gateway Initialization and DiagnosticsDisabled 5.3.2 Profibus-DP Master Control Word Full ManagementProfibus-DP Master Control Word Fbdu Modbus exchange startup Gateway Status Word Bits Description Abchssend New gateway diagnostic11EC Error code associated with the Modbus network ED Error data item associated with the Modbus networkDescription 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 Modbus Slave Copying a previously configured 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.19 IW4.0.16IW4.0.17 IW4.0.18Configuring the Gateway Configuring the Gateway Configuring the Gateway Configuring the Gateway QW4.0.16 Deleting Aperiodic Parameter DataQW4.0.17 Configuring the Gateway Configuring the Gateway Managing the downstream Changing the name of a Modbus slave Changing a Modbus Slave ConfigurationChanging 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 Modbus Commands Based on Standard Commands Adding a Special Modbus CommandModbus 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 Communication Characteristics Appendix a Technical CharacteristicsEnvironment Communications between other stations Performance Results Inputs General data Identification number Name of the related GSD file GSD File ContentAppendix B LUFP7 Gateway GSD File Identification NumberMaximum response time of the gateway Input Appendix C Default Configuration 16#10 Configuring Modbus Exchanges16#06 Service Address Size Description Content of the Gateway’s Dpram MemoryInput 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 Controlling and Supervising the 8 TeSys U Motor Starters IEC61915 command registerTeSys 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 Gateway Profibus-DP Diagnostics Appendix E Profibus-DP Data and DiagnosticsBytes Structure Description Bytes Name Description Gateway Configuration DataBytes Name Value General Gateway Information108 Appendix F Modbus Commands Preset Single Register Command 16#06 Read Holding Registers Command 16#03Frame 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