Hide thumbs Also See for S7-1200:
Table of Contents
Communication
10.2 PROFINET
Parameter and type
DATA
IN_OUT
COM_RST
IN_OUT
DONE
OUT
BUSY
OUT
ERROR
OUT
STATUS
OUT
RCVD_LEN
OUT
(TRCV_C)
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.
Note
The default setting of the LEN parameter (LEN = 0) uses the DATA parameter to determine
the length of the data being transmitted. Ensure that the DATA transmitted by the TSEND_C
instruction is the same size as the DATA parameter of the TRCV_C instruction.
522
Data type
Description
Variant
Contains address and length of data to be sent (TSEND_C)
Contains start address and maximum length of received data
(TRCV_C).
Bool
Allows restart of the instruction:
0: Irrelevant
1: Complete restart of the function block, existing connection
will be terminated.
Bool
0: Job is not yet started or still running.
1: Job completed without error.
Bool
0: Job is completed.
1: Job is not yet completed. A new job cannot be triggered.
Bool
Status parameters with the following values:
0: No error
1: Error occurred during processing. STATUS provides
detailed information on the type of error.
Word
Status information including error information. (Refer to the
"Error and Status Parameters" table below.)
Int
Amount of data actually received, in bytes
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
Table of Contents
loading

Table of Contents