Siemens ET 200S 1SI Function Manual page 26

Table of Contents

Advertisement

Function blocks of the ET 200S 1SI serial interface module
3.3 Function blocks _ET200S_SIxx_receive
Time sequence diagram _ET200S_SIxx_receive
The following figure illustrates the behavior of the newDataReceived, dataLength, and error
parameters according to the input circuit of enable and reset.
Figure 3-2
Task integration (call)
The _ET200S_SIxx_receive FB must be called cyclically in the BackgroundTask or the
TimerInterruptTask. Calling in the SystemInterruptTask is not permitted. Calling the function
block in the IPOSynchronousTask is not recommended for runtime reasons.
SIMOTION device receives data from a communication partner
The _ET200S_SIxx_receive FB transfers a data block, which is specified by the data and
dataOffset parameters, from the serial interface module to a SIMOTION hardware platform.
The _ET200S_SIxx_receive FB must be called repeatedly by a program. The receive request
can only be executed by cyclically calling the receive FB.
Receiving of data is enabled with static signal state TRUE in the enable parameter. An active
data transfer is aborted by a FALSE signal state in the enable parameter. The aborted receive
request is terminated with an error message at the errorID output parameter. The receive
operation will remain disabled as long as the signal state at the enable parameter is FALSE.
Depending on the quantity of data, data may be transferred over several calls.
26
Time sequence diagram _ET200S_SIxx_receive
Supplement to the ET 200S 1SI serial interface module
Function Manual, 01/2015, xxx

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simotion et 200s

Table of Contents