Name
P type
1)
Data type
Meaning
Actions performed
by user
Actions per‐
formed by
block
errorID
OUT
WORD
Error specification
For error = TRUE, the error
information (event class
and number) is displayed in
the errorID parameter
3)
Checked
Entered
dataLength
OUT
INT
Quantity of data received in
bytes
Checked
Entered
1)
Parameter types: IN = input parameter, OUT = output parameter, IN/OUT = in/out parameter
2)
Note: The periOut parameter must be provided with an array of type ARRAY [0..3] of BYTE or ARRAY [0..7] of BYTE.
Create a local or global array in your program under VAR (do not create a temporary array under VAR_TEMP). After the
FB has been called, this array must be assigned to the I/O variable for the I/O outputs of the module. See call example in
Section "Calling the function blocks"!
3)
For error information, refer to SIMATIC manuals
ET 200S Distributed I/O System,
chapter "Commissioning and
Diagnostics", and
ET 200S 1SI Serial Interface Modules
.
Assignment in the data area
During the receive operation, the data to be received are stored temporarily in a local ARRAY.
After completion of the data transfer from the serial interface module to the SIMOTION device,
the data is made available in the data parameter (VAR_IN_OUT) of the
_ET200S_SIxx_receive FB.
Function blocks of the ET 200S 1SI serial interface module
3.3 Function blocks _ET200S_SIxx_receive
Supplement to the ET 200S 1SI serial interface module
Function Manual, 01/2015, xxx
25
Содержание ET 200S 1SI
Страница 6: ...Preface Supplement to the ET 200S 1SI serial interface module 6 Function Manual 01 2015 xxx ...
Страница 8: ...Table of contents Supplement to the ET 200S 1SI serial interface module 8 Function Manual 01 2015 xxx ...
Страница 46: ...Alarm processing Supplement to the ET 200S 1SI serial interface module 46 Function Manual 01 2015 xxx ...
Страница 52: ...Index Supplement to the ET 200S 1SI serial interface module 52 Function Manual 01 2015 xxx ...