EasyManua.ls Logo

Siemens S7-1200 - Page 549

Siemens S7-1200
1028 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Communication
10.2 PROFINET
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
549
DONE, NDR, ERROR, and STATUS output parameters
These instructions provide outputs describing the completion status:
Table 10- 23 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.
Restricted TSAPs and port numbers for passive ISO and TCP communication
If you use the "TCON" instruction to set up and establish a passive communications
connection, the following port addresses are restricted and should not be used:
ISO TSAP (passive):
01.00, 01.01, 02.00, 02.01, 03.00, 03.01
10.00, 10.01, 11.00, 11.01, ... BF.00, BF.01
TCP port (passive): 5001, 102, 123, 20, 21, 25, 34962, 34963, 34964, 80
UDP port (passive): 161, 34962, 34963, 34964

Table of Contents

Other manuals for Siemens S7-1200

Related product manuals