Technical data

Table Of Contents
PROFInet
System Software for S7-300/400 System and Standard Functions - Volume 1/2
17-6
A5E00709327-01
17.4 Updating DP Interconnections with SFC 114 "PN_DP"
Description
With SFC 114 "PN_DP" you update all of the following:
Interconnections between PROFInet components on the local PROFIBUS
Interconnections with cyclical transmission between PROFInet components on
the local PROFIBUS and external PROFInet components. The interconnections
apply between networks (between Industrial Ethernet and PROFIBUS DP).
Function
SFC 114 "PN_DP" functions asynchronously. This means that its processing
extends over several SFC calls. To start updating the DP interconnections, call
SFC 114 with REQ=1.
The job status is indicated at the output parameters RET_VAL and BUSY, see also
Meaning of the Parameters REQ, RET_VAL and BUSY with Asynchronous SFCs.
Parameter Declaration Data Type Memory Area Description
REQ INPUT BOOL I, Q, M, D, L,
constant
REQ=1: Initiate update of the DP
interconnections
RET_VAL OUTPUT INT I, Q, M, D, L If an error occurs while the function is
being executed, the return value contains
the corresponding error code.
BUSY OUTPUT BOOL I, Q, M, D, L BUSY=1:
The update of the DP interconnections is not
yet completed.
Error Information
Error Code (W#16#...) Explanation
0000 Job executed without error
7000 REQ = 0 at first call: Update of DP interconnections not initiated. BUSY has
the value 0.
7001 REQ = 1 at first call: BUSY has the value 1.
7002 Follow-on call (REQ irrelevant). Update of DP interconnections not yet
completed. BUSY has the value 1.
8001 CBA configuration is not available or invalid.
8095 You have initiated another update of the DP interconnections in a higher
priority class. However, the update in the priority class with lower (by the
operating system or SFC 114) is still running.
8xyy General error information, see Evaluating Errors with Output Parameter
RET_VAL
See also:
Background Information on SFCs 112, 113 and 114