General gateway information, Appendix e: profibus-dp data and diagnostics – Schneider Electric Gateway LUFP7 User Manual

Page 105

Advertising
background image

106

12. Appendix E: Profibus-DP Data and Diagnostics

12.2. Gateway Configuration Data

These data are transmitted to the Profibus-DP master upon gateway initialization exchanges. These exchanges
enable the Profibus-DP master to set up, configure, and diagnose each of the slaves. The TSX PBY 100 coupler
conducts these setup exchanges, but they are not documented in its Implementation Manual. Please refer to the
general documentation about the Profibus-DP standard if you want further information about initialization
exchanges.

If you want to review the configuration data that have been exchanged during Profibus-DP slave setup, you may
use the SEND_REQ function in an application developed using PL7 PRO. You must then use the 16#0031
command code and specifically request the reading of the configuration data for the slave concerned (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 configuration data:

Bytes

Name

Description

0-1

Total length

Total length of the configuration information, in bytes

2

Number of %IW

Total size of the input data in the %IW area

3

Number of %QW

Total size of the output data in the %QW area

4-5

%IW offset

Offset of the input data blocks in the %IW area

6-7

%QW offset

Offset of the output data blocks in the %QW area

8

Station Status

Configuration of the slave's services (see Profibus-DP standard)

9

Watchdog Factor 1

10

Watchdog Factor 2

Slave timeout (see Profibus-DP standard):
Timeout = (Watchdog Factor 1) × (Watchdog Factor 2) × 10 ms

11

Min TSDR

Minimum slave TSDR (see Profibus-DP standard)

12-13

PNO_Identifier

Slave identification number (see Profibus-DP standard)

14

Group Flags

Identifiers that characterize the slave's group (see Profibus-DP standard)

15

Address ID

Slave's address on the bus

16

Modular slave

Value = 16#00 / 16#01 if the slave is a compact / modular equipment device

17

Active slave

Value = 16#00 / 16#01 if the slave is inactive/active on the network

18-19

Parameters size

Size (a bytes) of the parameters data block for that slave

20-21

Configuration data size

Size (b bytes) of the configuration data block for that slave

22-23

Size of the data used

Size (c bytes) of the data block used for that slave

24-

(23+a)

Parameters

Parameters data block for that slave

(24+a)-

(23+a+b)

Configuration data

Configuration data block for that slave

(24+a+b)-

(23+a+b+c)

Data used

Data block used for that slave

Advertising