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.
- Presetting the counter value via index 0x7000:11 "Set counter value"
- Activation of the counter value specification via the PLC variable: Index 0x7000:03 "Set counter"
- For confirmation the "Set counter done" bit in index 0x6000:03 is set to TRUE.
- The counter value setting cannot be reactivated until index 0x7000:03 "Set counter" has been set to FALSE.
Locking the counter value via a PLC variable (Set software gate)
The counter value can be locked from the PLC application.
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") |