Synchronous or asynchronous operation?
Synchronous operation (default)
Synchronous operation should be selected if events are to be transferred from the channel to the controller as quickly as possible.
- In each EtherCAT cycle as many events as possible are loaded into the buffer. The number of events per channel can be read via "Events in input buffer". The maximum number of events that can be saved is 32.
- The MTSF is used to specify how many events per cycle are transferred from the buffer into the process data. The factor is currently limited to a maximum of 10.
- If the number of detected events continuously exceeds the MTSF value, the buffer may overflow. The CoE parameter 0x80n0:13 can be used to configure the behavior in the event of a buffer overflow.
Asynchronous operation
If high data security is required, asynchronous handshake operation should be selected.
Application from the PLC:
- 1. Wait until the channel with "No of input events" > 0 reports that data is available.
- 2. Apply the data (input event states and timestamps) from the process data.
- 3. Increment the counter "Input order counter" (+1).
- In the next cycle, "Input order feedback" has taken the value of "Input order counter".
- 4. If there are other events in the buffer, these are shown in the process image.
- 5. Starting from the beginning...
Setting the operation mode
Set the selected operation mode via the CoE parameter 0x8pp0:12 of the respective channel.
