beautypg.com

Product description – Lenze I/O system 1000 System Manual User Manual

Page 168

background image

Product description

I/O compound modules − counter
One counter 32 bits, 24 V DC − EPM−S600

3

l

168

EDSIO1000 EN 7.0

Gate function

The counter is controlled via the "internal gate" (I−gate) which is the AND logic operation
of the software gate (SW gate) and the hardware gate (HW gate).

ƒ

The SW gate is opened and closed via the user program (control word).
– With an edge change 0−1 at control word bit SW_GATE_SET, the SW gate opens

(counter starts).

– With an edge change 0−1 at control word bit SW_GATE_RESET, the SW gate closes

(counter stops).

ƒ

The HW gate is opened and closed via the digital gate input.
In the parameter setting the HW gate can be deactivated, so that it is only possible to
activate the counter via the SW gate.

The following states have an impact on the I−gate:

SW gate

HW gate

Has an impact on the I−gate

0

Edge change 0−1

0

1

Edge change 0−1

1

Edge change 0−1

1

1

Edge change 0−1

0

0

Edge change 0−1

deactivated

1

Via the parameter setting you define whether the gate is to cancel or interrupt the
counting process.

ƒ

In the case of a cancelling gate function, the counting process starts after a restart
from the loading value.

ƒ

In the case of an interrupting gate function, the counting process is continued at the
current count value after a restart.

Action and response of the gate control:

Function

SW gate

HW gate

Counter response

Gate control via SW gate,
cancelling

Edge change 0−1

deactivated

Restart with loading value

Gate control via SW gate,
interrupting

Edge change 0−1

Deactivated

Continuation

Gate control via SW/HW
gate, cancelling

Edge change 0−1

1

Continuation

1

Edge change 0−1

Restart with loading value

Gate control via SW/HW
gate, interrupting

Edge change 0−1

1

Continuation

1

Edge change 0−1

Continuation

In particular in the case of the gate control via SW/HW gate in the "Counting once"
operating mode: If the internal gate has been closed automatically, it can only be opened
when the following conditions are met:

SW gate

HW gate

Response of I−gate

1

Edge change 0−1

1

Edge change 0−1 (after edge change

0−1 at HW gate)

1

1