Set counter value and lock via PLC variable

Set counter value via a PLC variable (Set counter value)

The counter value can be set to a predefined value during runtime via the process data (0x7000:03 "Set counter"). In the PLC this bit can be linked to a digital input, for example, or used directly as a variable.

Locking the counter value via a PLC variable (Set software gate)

The counter value can be locked from the PLC application.

Set counter value and lock via PLC variable 1:

Lock counter value via gate input (ModuleIdent 0x482199)

When parameterized as "ENC_L_G" (ModuleIdent 0x482199), the counter value can be locked via a positive/negative edge at the gate input (see chapter "Lock counter value")