EasyManua.ls Logo

Siemens S7-1200 - Page 532

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
532 System Manual, 03/2014, A5E02486680-AG
Parameter and type
Data type
Description
NDR OUT Bool TRCV:
NDR = 0: Job not yet started or still running.
NDR = 1: Job successfully completed.
BUSY OUT Bool
BUSY = 1: The job is not yet complete. A new job cannot be
triggered.
BUSY = 0: Job is complete.
ERROR OUT Bool ERROR = 1: Error occurred during processing. STATUS provides
detailed 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.)
RCVD_LEN
OUT
Int
TRCV: Amount of data actually received in bytes
Note
The TSEND 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.
TRCV Operations
The TRCV instruction writes the received data to a receive area that is specified by the
following two variables:
Pointer to the start of the area
Length of the area or the value supplied at the LEN input if not 0
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 instruction is the same size as the DATA parameter of the TRCV instruction.
As soon as all the job data has been received, TRCV transfers it to the receive area and sets
NDR to 1.

Table of Contents

Other manuals for Siemens S7-1200

Related product manuals