Communication
11.2 PROFINET
S7-1200 Programmable controller
896 System Manual, V4.2, 09/2016, A5E02486680-AK
Table 11- 40 TUSEND and TURCV data types for the parameters
REQ
IN Bool
Starts the send job on a rising edge. The data is transferred from
the area specified by DATA and LEN.
EN_R
(TURCV)
IN Bool
• 0: CPU cannot receive.
• 1: Enables the CPU to receive. The TURCV instruction is
ready to receive, and the receive job is processed.
ID IN Word Reference to the associated connection between the user pro-
gram and the communication level of the operating system. ID
must be identical to the associated parameter ID in the local
connection description.
Range of values: W#16#0001 to W#16#0FFF.
LEN IN UDInt Number of bytes to be sent (TUSEND) or received (TURCV).
• Default = 0. The DATA parameter determines the length of
the data to be sent or received.
• Otherwise, range of values: 1 to 1472
DONE
(TUSEND)
IN Bool Status parameter DONE (TUSEND):
• 0: Job is not yet started or still running.
• 1: Job completed without error.
NDR
(TURCV)
OUT Bool Status parameter NDR (TURCV):
• 0: Job not yet started or still running.
• 1: Job has successfully completed.
BUSY OUT Bool
• 1: Job is not yet completed. A new job cannot be triggered.
• 0: Job has completed.
ERROR OUT Bool Status parameters with the following values:
• 0: No error
• 1: Error occurred during processing. STATUS provides de-
tailed information on the type of error.
STATUS OUT Word
Status information including error information. (Refer to the Error
and Status condition codes in the table below.)
Number of bytes received (TURCV)