EasyManua.ls Logo

Siemens SIMATIC S7-1200 - Page 897

Siemens SIMATIC S7-1200
1614 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
11.2 PROFINET
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
897
Parameter and type
Data type
Description
DATA IN_OUT Variant Address of the sender area (TUSEND) or receive area
(TURCV):
The process image input table
The process image output table
A memory bit
A data block
ADDR IN_OUT Variant Pointer to the address of the receiver (for TUSEND) or sender
(for TURCV) (for example, P#DB100.DBX0.0 byte 8). The point-
er may point to any memory area.
A structure of 8 bytes is required as follows:
First 4 bytes contain the remote IP address.
Next 2 bytes specify the remote port number.
Last 2 bytes are reserved.
The job status is indicated at the output parameters BUSY and STATUS. STATUS
corresponds to the RET_VAL output parameter of asynchronously functioning instructions.
The following table shows the relationships between BUSY, DONE (TUSEND), NDR
(TURCV), and ERROR. Using this table, you can determine the current status of the
instruction (TUSEND or TURCV) or when the sending (transmission) / receiving process is
complete.
Table 11- 41 Status of BUSY, DONE (TUSEND) / NDR (TURCV), and ERROR parameters
BUSY
DONE / NDR
ERROR
Description
TRUE
irrelevant
irrelevant
The job is being processed.
FALSE
TRUE
FALSE
The job was completed successfully.
FALSE FALSE TRUE The job was ended with an error. The cause of the error can be
found in the STATUS parameter.
FALSE
FALSE
FALSE
The instruction was not assigned a (new) job.
1
Due to the asynchronous function of the instructions: For TUSEND, you must keep the data in the sender area con-
sistent until the DONE parameter or the ERROR parameter assumes the value TRUE. For TURCV, the data in the re-
ceiver area are only consistent when the NDR parameter assumes the value TRUE.

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals