Technical data

Table Of Contents
SFCs for Diagnostics
System Software for S7-300/400 System and Standard Functions - Volume 1/2
A5E00709327-01
13-21
Organizing the Target Area CON_ARR
The read target area is a structure field. A structure is assigned to each connection.
Initially, the field does not need to be occupied with valid entries and it may contain
invalid entries between two valid entries.
The connections are not sorted by connection reference.
Note
Date consistency of a connection is ensured if you copy connection data from the
operating system to the selected target area
Structure Organization
Parameters Data
Type
Description
CON_ID WORD Connection reference which you have assigned in NETPRO for
this connection
W#16#FFFF: Invalid designation, that is to say, the connection
is not configured. If CON_ARR[i].DIS_PCON or
CON_ARR[i].DIS_CON (see below) is set, this connection has
been reconfigured or deleted since the last call of the SFC 87.
STAT_CON BYTE The current status of the S7 connection or of the redundant S7
connection
Possible values:
B#16#00: S7 connection not established
B#16#10: Redundant S7 connection not established
B#16#01: S7 connection is currently being established
B#16#11: Redundant S7 connection is currently being
established
B#16#02: S7 connection is established
B#16#12: Redundant S7 connection is established, but is
not redundant
B#16#13: Redundant S7 connection is established
PROD_CON BYTE Partial connection number of the runtime connection.
Possible Values: 0, 1, 2, 3
STBY_CON BYTE Partial connection number of the standby connection
(B#16#FF: no standby connection)
Possible values: 0, 1, 2, 3
Note: Only a redundant S7 connection can have a standby
connection.