Technical data

Table Of Contents
SFCs for Diagnostics
System Software for S7-300/400 System and Standard Functions - Volume 1/2
13-20
A5E00709327-01
Parameters Declaration Data
Type
Memory Area Description
REQ INPUT BOOL I, Q, M, D, L,
constant.
Control parameter request to activate
REQ=1: Initialize the job, if not already
started
MODE INPUT BYTE I, Q, M, D, L,
constant.
Job designation
Possible values:
B#16#00: The SFC does not copy
connection data, but merely transfers
an acknowledgement information to
the operating system .
B#16#01: Regardless of the status
change, the SFC copies all
connection data to the user program
and transfers an acknowledgement
information to the operating system.
B#16#02: If connection data have
changed, the SFC copies them to
the user program. If not changed,
they are not copied. In both cases
the SFC transfers an
acknowledgement information to the
operating system.
B#16#03: The SFC copies the
connection data to the user program,
independent of the changed status. It
does not transfer an
acknowledgement information to the
operating system.
RET_VAL OUTPUT INT I, Q, M, D, L Return value (Error code or job status)
BUSY OUTPUT BOOL I, Q, M, D, L BUSY =1: The job is not completed.
N_CON OUTPUT INT I, Q, M, D, L Index of the last structure in CON_ARR
with .DIS_PCON or .DIS_CON value
TRUE. Thus, in the user program only
the first N_CON elements of CON_ARR
need to be checked.
Note: The first structure in the field
CON_ARR has the index 1.
CON_ARR OUTPUT ANY I, Q, M, D, L Target area for the received connection
data.
Only the data type BYTE is permissible.
A structure is assigned to each
connection.
Choose a target area size which can
receive all structures even at the
maximum number of possible
connections for your CPU.