Class ModbusWorker

public class ModbusWorker extends AbstractImmediateWorker
The ModbusWorker schedules the execution of all Modbus-Tasks, like reading and writing modbus registers.

It tries to execute all Write-Tasks as early as possible (directly after the TOPIC_CYCLE_EXECUTE_WRITE event) and all Read-Tasks as late as possible to have values available exactly when they are needed (i.e. at the TOPIC_CYCLE_BEFORE_PROCESS_IMAGE event). For this it uses a CycleTasksManager that internally uses a TasksSupplierImpl that supplies the tasks for one Cycle (CycleTasks).