// TRANSFER DATA TO ET200S
myPeripheralOutputET200s_1 := myOutputArrayET200S_1; // array for output data
(5)
END_PROGRAM // end program for backgroundTask
END_IMPLEMENTATION
(6)
Note
The ExampleET200S_SI program must be assigned in the execution system.
3.10
Data consistency
When sending data
Once a request is initiated by a positive edge at the execute input, the data to be sent are
copied to the static memory area of the send FB. This means that once the FB call has ended,
the send data array can be written to again for the next send request on a positive edge. The
data are retained as consistent data within the send FB.
Note
During the copy operation to the static memory area of the FB, data consistency cannot be
guaranteed if the send/receive data areas are accessed in a higher priority task.
When receiving data
Once the receive request is complete, the data are copied over to the receive buffer in a block
from the static memory area of the receive FB. This means that once the FB call has ended,
either all data are entered in the receive buffer (newDataReceived = TRUE) or no data are
entered in the receive buffer (newDataReceived = FALSE).
Note
During the copy operation from the static memory area of the receive FB, data consistency
cannot be guaranteed if the send/receive data areas are accessed in a higher priority task.
Function blocks of the ET 200S 1SI serial interface module
3.10 Data consistency
Supplement to the ET 200S 1SI serial interface module
38
Function Manual, 01/2015, xxx
Содержание 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 ...