Inputs in two-channel mode

Input functions in 2-channel mode

The number of available inputs depends on the operation mode.
The table provides a brief overview of the ED5112 input functions in 2-channel mode.

The “Latch” and “Gate” inputs each combine gate and latch functions in a single input and are therefore referred to below as gate/latch combination inputs.

Please refer to the detailed function descriptions in the respective chapters.

2-channel mode 2 x AB

Counter value

PLC variable

Gate/Latch combination inputs

Set

Enable setting:
Output process data “Set counter” (0x70n0:03) = TRUE

to the value:
Output process data “Set counter value” (0x70n0:11)

Enable setting:
Output process data “Set counter on latch extern on positive/negative edge” (0x70n0:0A/0B) = TRUE

to the value:
Output process data “Set counter value” (0x70n0:11)

Reset

Enable resetting:
0x80n0:02 “Enable extern reset

to the value:
0x80n1:1B “Reset counter value

Save

Enable saving:
Output process data “Enable latch extern on positive/negative edge” (0x70n0:02/04) = TRUE

Save current counter value in:
Input process data “Latch value” (0x60n0:12)

Lock

Lock:
Output process data “Set software gate” (0x70n0:09) = TRUE

Enable locking

with HIGH level:
0x80n0:04 “Gate polarity” = 1

with LOW level:
0x80n0:04 “Gate polarity” = 2

Inputs in two-channel mode 1:

Simultaneous use of gate and latch in 2-channel mode 2xAB

When using the index 0x80n0:04Gate polarity” (1 = “Enable pos. gate”) and simultaneously activating the bit in the output process data “Enable latch extern on positive edge” (0x70n0:02), a positive edge at the gate/latch combination input causes the current counter value to be initially stored in the input process data “Latch value” (0x60n0:12). After that, the counter value is locked.

The same applies to the use of index 0x80n0:04 “Gate polarity” (2 = “Enable neg. gate”) and the simultaneous activation of the bit in the output process data “Enable latch extern on negative edge” (0x70n0:04) upon a negative edge at the gate input/latch combination input.