Technical data

Table Of Contents
SFCs for Distributed I/Os or PROFINET IO
System Software for S7-300/400 System and Standard Functions - Volume 1/2
A5E00709327-01
16-13
Parameters
Parameter Declaration Data Type Memory Area Description
REQ INPUT BOOL I, Q, M, D, L,
constant.
Level-triggered control parameter REQ=1:
execute activation or deactivation
MODE INPUT BYTE I, Q, M, D, L,
constant
Job ID. Possible values:
0: Request information on whether the
addressed component is activated or
deactivated
1: Activate the DP slave/PROFINET IO
device
2: Deactivate the DP slave/PROFINET IO
device
LADDR INPUT WORD I, Q, M, D, L,
constant
Any logical address of the DP slave/PROFINET
IO device
RET_VAL OUTPUT INT I, Q, M, D, L If an error occurs while the function is
processed, the return value contains an error
code.
BUSY OUTPUT BOOL I, Q, M, D, L Active code:
BUSY=1: The job is still active.
BUSY=0: The job was terminated.
Error Information
Error code (W#16#...) Explanation
0000 The job was completed without errors.
0001 The DP slave/PROFINET IO device is active. (this error code is possible only
with MODE = 0.)
0002 The DP slave/PROFINET IO device is deactivated (this error code is possible
only with MODE = 0.)
7000 First call with REQ=0. The job specified with LADDR is not active; BUSY has
value 0.
7001 First call with REQ=1. The job specified with LADDR was triggered; BUSY has
value 1.
7002 Interim call (REQ irrelevant). The activated job is still active; BUSY has value 1.
8090
You have not configured a module with the address specified in LADDR .
You operate your CPU as I-Slave and you have specified in LADDR an
address of this I-Slave.
8092 The deactivation of the currently addressed DP slave/PROFINET IO device
(MODE=2) cannot be canceled by being activated (MODE=1). Activate the
component at a later time.
8093 No DP slave/PROFINET IO device is assigned to the address stated in LADDR
(no configuration available), or the MODE parameter is not known.