Infosys在阅读器中打开 / AI 翻译

EL8601-8411 | 12-Channel multi-Interface, 8 x DI, 1 x CNT, 1 x ENC AB, 4 x DO, 2 x PWM, 1 x AI, 1 x AO · 0 次阅读

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.

  • Index 0x7000:09 "Set software gate" = TRUE
    The counter is locked.
  • For confirmation the "Software gate valid" bit (0x6002:11) is set to TRUE.
  • Index 0x7000:09 "Set software gate" = FALSE
    The counter is unlocked.