Communication
11.2 PROFINET
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
839
COM_RST IN_OUT Bool Optional parameter (hidden)
Restarts the instruction:
• 0: Irrelevant
• 1: Completely restarts the instruction; the existing connec-
tion is either terminated or reset and established again in
accordance with CONT.
The COM_RST parameter is reset after evaluation by the
TSEND_C or TRCV_C instruction and should not, therefore, be
DONE OUT Bool Status parameter with the following values:
• 0: Send job not yet started or is still executing.
• 1: Send job executed without errors. This state is only dis-
played for one cycle.
BUSY OUT Bool Status parameter with the following values:
• 0: Send job not yet started or already completed.
• 1: Send job not yet completed. A new send job cannot be
started.
ERROR OUT Bool Status parameters with the following values:
• 0: No error
• 1: Error occurred during connection establishment, data
transmission, or connection termination.
STATUS OUT Word Status of instruction (see the ERROR and STATUS parameters
RCVD_LEN
OUT Int Amount of data actually received (in bytes).
Note
The TSEND_C instruction requires a low
-to-high transition at the REQ input parameter to
start a send job. The BUSY parameter is then set to 1 during processing. Completion of the
send job is indicated by either the DONE or ERROR parameters being set to 1 for one scan.
During this time, any low
-to-high transition at the REQ input parameter is ignored.