Configuration of PLC Task and Synchronisation Mode

In Automation_Builder the PLC program is written and assigned to a PLC task. For task creation and parameterization the dialog “task configuration” is used.

../_images/25399f7c45ffe3200a33139000eba54e

The task configuration is evaluated when a PLC project is loaded and the corresponding sync mode is activated for the ETHERCAT master. The synchronization will be activated if the parameter task type is set to the value “triggered by external event”. The mode of synchronization can be selected with the parameter event. Between the value of the parameter event and the synchronization mode exists the following relationship:

Parameter Value Description
Event Ext_CouplerX_InputAny Sync mode 1
Ext_CouplerX_Input2Any Sync mode 2
Ext_CouplerX_InputAny_high_prio Sync mode 1 with increased priority
Ext_CouplerX_Input2Any_high_prio Sync mode 2 with increased priority