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
16-2
A5E00709327-01
Identifying a Job
The input parameters IOID and LADDR uniquely specify the job.
If you have called SFC 7 "DP_PRAL" on a DP slave and you call this SFC again
before the master has acknowledged the requested hardware interrupt, the way in
which the SFC reacts depends largely on whether the new call involves the same
job: if the parameters IOID and LADDR match a job that is not yet completed, the
SFC call is interpreted as a follow-on call regardless of the value of the parameter
AL_INFO, and the value W#16#7002 is entered in RET_VAL.
Parameter Declaration Data Type Memory Area Description
REQ INPUT BOOL I, Q, M, D, L,
constant
REQ=1: Hardware interrupt on the
DP master belonging to the slave
IOID INPUT BYTE I, Q, M, D, L,
constant
Identifier of the address range in the
transfer memory (from the point of view of
the DP slave):
B#16#54= Peripheral input (PI)
B#16#55= Peripheral output (PQ)
The identifier of a range belonging to a
mixed module is the lower of the two
addresses. If the addresses are the same,
specify B#16#54.
LADDR INPUT WORD I, Q, M, D, L,
constant
Start address of the address range in the
transfer memory (from the point of view
of the DP slave).
If this is a range belonging to a mixed
module, specify the lower of the two
addresses.
AL_INFO INPUT DWORD I, Q, M, D, L,
constant
Interrupt ID
This is transferred to the OB40 that will be
started on the DP master
(variable OB40_POINT_ADDR).
If you operate the intelligent slave with a
remote master, you must evaluate the
diagnostic frame on the master.
(see
/70/
)
RET_VAL OUTPUT INT I, Q, M, D, L If an error occurs while the function is
being executed, the return value contains
an error code.
BUSY OUTPUT BOOL I, Q, M, D, L BUSY=1:
The triggered hardware interrupt has not
yet been acknowledged by the DP
master.