Save counter value via the "Latch" input

If the ModuleGroup "ENC_L_G" is selected, the latch function enables the current counter value to be saved in the variable "Latch value", regardless of the cycle time.

Save counter value via the "Latch" input 1:

You can use "Enable latch extern on positive edge" and "Enable latch extern on positive edge" in the process data to specify at which edges at the "Latch" input the counter value should be saved.

Save counter value via the "Latch" input 2:

The saving of the counter value is confirmed via the bit "Latch extern valid".

The status of the input "Latch" can be recorded via "Status of extern latch".