Name
P type
1)
Data type
Meaning
Actions performed by
user
Actions per‐
formed by
block
done
OUT
BOOL
Request completed without er‐
rors
Checked
Entered
error
OUT
BOOL
Request completed with errors Checked
Entered
errorID
OUT
WORD
Error specification
For error = TRUE, the error in‐
formation (event class and
number) is displayed in the er‐
rorID parameter.
3)
Checked
Entered
1)
Parameter types: IN = input parameters, OUT = output parameters, IN/OUT = in/out parameters
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,
Section "Commissioning and
Diagnostics", and
ET 200S 1SI Serial Interface Modules.
Assignment in the data area
The data to be sent is transferred to _ET200S_SIxx_send in the data parameter
(VAR_IN_OUT) as ARRAY of BYTE. At the beginning of the send operation, the data are
copied to a local ARRAY and transferred from there to the serial interface.
Note
Once the data have been entered in the static memory of the send FB, you can modify the
variable created in the data parameter. This does not affect the data to be sent.
Function blocks of the ET 200S 1SI serial interface module
3.2 Function blocks _ET200S_SIxx_send
Supplement to the ET 200S 1SI serial interface module
Function Manual, 01/2015, xxx
21