103BCommunication
10.2 PROFINET
S7-1200 Programmable controller
428
System Manual, 11/2011, A5E02486680-05
ID input parameter
This is a reference to the "Local ID (hex)" on the "Network view" of "Devices and networks"
in STEP 7 and is the ID of the network that you want to use for this communication block.
The ID must be identical to the associated parameter ID in the local connection description.
DONE, NDR, ERROR, and STATUS output parameters
These instructions provide outputs describing the completion status:
Table 10- 29 Open User Communication instruction output parameters
Parameter
Data type
Default
Description
DONE
Bool
FALSE
Is set TRUE for one execution to indicate that the last request
completed without errors; otherwise, FALSE.
NDR
Bool
FALSE
Is set TRUE for one execution to indicate that the requested action
has completed without error and new data has been received;
otherwise, FALSE.
BUSY
Bool
FALSE
Is set TRUE when active to indicate that:
The job is not yet complete.
A new job cannot be triggered.
Is set FALSE when job is complete.
ERROR
Bool
FALSE
Is set TRUE for one execution to indicate that the last request
completed with errors, with the applicable error code in STATUS;
otherwise, FALSE.
STATUS
Word
0
Result status:
If the DONE or NDR bit is set, then STATUS is set to 0 or to an
informational code.
If the ERROR bit is set, then STATUS is set to an error code.
If none of the above bits are set, then the instruction returns
status results that describe the current state of the function.
STATUS retains its value for the duration of the execution of the
function.
Note
Note that DONE, NDR, and ERROR are set for one execution only.