Schneider Electric LUFP7 user manual General Gateway Information, Bytes Name Value

Page 106

12. Appendix E: Profibus-DP Data and Diagnostics

For the LUFP7 gateway default configuration, the following response is received from the TSX PBY 100 coupler:

Bytes

Name

Value

0-1

Total length

16#0019

2

Number of %IW

16#10

3

Number of %QW

16#10

4-5

%IW offset

16#0000

6-7

%QW offset

16#0000

8

Station Status

16#38

9

Watchdog Factor 1

16#14

10

Watchdog Factor 2

16#01

11

Min TSDR

16#0B

12-13

PNO_Identifier

16#071F

Bytes

Name

Value

14

Group Flags

16#00

15

Address ID (1)

16#02

16

Modular slave

16#01

17

Active slave

16#01

18-19

Settings size

16#0000

20-21

Configuration data size

16#0001

22-23

Size of the data used

16#0000

——

Settings

———————

24

Configuration data

16#7F

——

Data used

———————

(1)This value corresponds to the gateway address on the Profibus-DP network, and its value depends on the position of the two coding wheels described in chapter 2.7.1 Encoding the Gateway Address, page 22.

N.B. depending on the network configuration and status, the resulting data are likely not to be strictly identical to the ones presented above.

12.3. General Gateway Information

Another command, also sent to a Profibus-DP master, makes it possible to obtain less detailed information than a slave's configuration data, and the values of statistic counters related to the exchanges between the queried master and the slave.

If you wish to review the general information regarding a Profibus-DP slave, you may use the SEND_REQ function in an application developed using PL7 PRO. Then, you must use the 16#0031 command code and specifically request that the information for the slave concerned be read (see Implementation Manual of the TSX PBY 100 coupler).

The table below describes the structure and content of the response issued by the TSX PBY 100 coupler to a read command of the LUFP7 gateway general information:

Bytes

Name

Description

0

Configured

16#01 if the slave was configured in accordance with Profibus

1

Operating

16#01 if the slave has been set up and operates properly

2-3

Number of %IW

Total size (words) of the input data in the %IW area

4-5

Number of %QW

Total size (words) of the output data in the %QW area

6

Input data size

Total size (bytes) of the input data on Profibus

7

Output data size

Total size (bytes) of the output data on Profibus

8

Diagnostic data size

Total size (bytes) of the first diagnostic received

9

Compact diagnostic

Compact diagnostic data for that slave

10

Diagnostic counter

Total number of diagnostic messages received from that slave

11

Exchange counter

Number of exchanges between the master and this defective slave

12

Unavailability counter

Number of times this slave is present but unavailable

13

Invalid response counter

Number of invalid responses for this slave

107

Image 106
Contents LUFP7 Page LUFP9 Page Table of Contents Introduction Introduction to the User GuideIntroduction to the LUFP7 Gateway TerminologyNotational Conventions DPM1Profibus-DP Master Upstream network Profibus-DP Additional DocumentationIntroduction to the Communication System Architecture ModbusPrinciple Used to Configure and Operate the LUFP7 Gateway ABC Configurator Modbus NetworkHilscher 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 TSXCSA00 Pin Outs120 Ω Wiring Recommendations for the Modbus NetworkHubs, drops, taps, and line terminations Cables Connecting the LUFP7 gateway to the Profibus-DP NetworkNAD 911 04/03 connector Point SUB-D male Pin Outs LUFP7 plug --- 9-point SUB-D femaleWiring Recommendations for the Profibus-DP Network GNDNAD 911 04 or 03 connector Encoding the Gateway Address Configuring the Profibus-DP Communication FeaturesNo Internal Line Termination Address = Signalling System Architecture Software Implementation of the GatewayIntroduction Profibus-DPModbus Cycle Time Configuring the Motor StartersManaging Degraded Modes Gateway Configuration under PL7 PRO and SyCon Setting Up the Hardware Configuration under PL7 PROCreating a Profibus-DP Network under SyCon Selecting and Adding the Profibus-DP Master StationSetting up the Gateway Description Files Editing and Configuring the Gateway Selecting and Adding the Gateway to the Profibus-DP NetworkSoftware Implementation of the Gateway Optional Saving and Exporting the Profibus-DP Network ConfigurationDiagnostic length Possible valuesConfiguring the Gateway I/O under PL7 PRO IW4.0 Service PLC input DescriptionService PLC output Description IW4.0.1Description of Services Assigned to Gateway Inputs/Outputs Sample reading of a motor starter parameterAllocating Symbols to the Gateway Inputs and Outputs Using and Monitoring the TSX PBY 100 Coupler Configuration Developing a Profibus-DP ApplicationFull Management Gateway Initialization and DiagnosticsDisabled 5.3.2 Profibus-DP Master Control Word Control/Status Byte fieldProfibus-DP Master Control Word Fbdu Modbus exchange startup ED Error data item associated with the Modbus network Bits Description Abchssend New gateway diagnostic11EC Error code associated with the Modbus network Gateway Status WordDiagnostic Only Description of the errorBits Description Abcdu Modbus exchanges activated Simplified Operation Configuring the Gateway Connecting the Gateway to the Configuration PCGND RS-232 Link ProtocolInstalling AbcConf Importing the Gateway ConfigurationTransferring a Configuration to the Gateway Monitoring the Content of the Gateway’s MemoryConfiguring the Gateway Procedure for deleting a Modbus slave 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 Changing the Periodic Data Exchanged with a Modbus Slave Replacing a periodic input data elementReplacing an Output Periodic Data Element Increasing the Amount of Periodic Input Data Configuring the Gateway Configuring the Gateway Configuring the Gateway IW4.0.18 IW4.0.16IW4.0.17 IW4.0.19Configuring 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 Adding and Setting Up a Modbus Command With the TeSys U Motor StartersName of the Modbus command Modbus query Modbus responseWith a Generic Modbus Slave CPU stop/failure LUFP7 gateway Profibus-DP Modbus RTU Configuring the Query Configuration Description ElementConfiguring the Gateway Default communication mode. The query is transmitted Configuring the Response Configuring the Content of the Query Frame Field Size Description Frame Mode. The default value, CRC, should not be changed Configuring the Content of the Response FrameStart byte fields Modbus Commands Based on Standard Commands Adding a Special Modbus CommandModbus Commands which Can Be Completely Changed by the User Configuring the General Characteristics of the Gateway Fieldbus ElementABC 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 GSD File ContentAppendix B LUFP7 Gateway GSD File Identification number Name of the related GSD fileMaximum 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 Appendix D Sample Use under PL7 PRO Overview of the LUFP7 Tutorial ExampleLUFP7 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 Gateway Configuration Data Bytes Name DescriptionGeneral Gateway Information Bytes Name Value108 Appendix F Modbus Commands Preset Single Register Command 16#06 Read Holding Registers Command 16#03Frame Field Value or properties Preset Multiple Registers Command 16#10 Modbus Protocol Exception ResponsesCode Name Description of the exception Exception Appendix F Concept and Quantum PLC LUFP7 QuantumLeft intentionally blank 114 Page User’s Manual LUFP7 V1.1 2003-05