Function Blocks _Et200S_Sixx_Receive - Siemens ET 200S 1SI Function Manual

Table of Contents

Advertisement

The _ET200S_SIxx_send FB must be called repeatedly by a program. The send job can only
be executed by cyclically calling the send FB.
A positive edge at the execute input parameter initiates the transfer. Depending on the quantity
of data, data may be transferred over several calls.
Note
A subsequent transfer at the execute input parameter can only be successfully triggered when
the previous send job is completed with the done output signal ("Request completed without
errors").
The active transfer request can be aborted by setting the reset parameter to TRUE. This will
reset the _ET200S_SIxx_send FB to its initial state. The send operation will remain disabled
as long as the signal state at the reset parameter is TRUE.
Status and error display on _ET200S_SIxx_send
The done output parameter indicates that the request has been completed without errors. The
error output parameter indicates that an error has occurred. When an error occurs, the
corresponding event class/number is displayed in the errorID output parameter (see table
"Parameter _ET200S_SIxx_send"). If no errors have occurred, errorID has a value of "0". The
parameters Done and error/errorID are also displayed on reset of the _ET200S_SIxx_send FB.
Parameters done, error, and errorID are present for one block pass only.
3.3

Function blocks _ET200S_SIxx_receive

Task
The _ET200S_SIxx_receive function block can be used to receive data from a communication
partner in the data receive data array. You have 1,024 bytes available for this.
Depending on which data interface you have chosen in the hardware configuration, you use
the _ET200S_SI04_receive function block for the 4-byte data interface, the
_ET200S_SI08_receive function block for the 8-byte data interface, and the
_ET200S_SI32_receive function block for the 32-byte data interface of the serial interface
module.
For the transfer, you can use the 3964 (R) protocol or ASCII driver.
Supplement to the ET 200S 1SI serial interface module
Function Manual, 01/2015, xxx
Function blocks of the ET 200S 1SI serial interface module
3.3 Function blocks _ET200S_SIxx_receive
23

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simotion et 200s

Table of Contents