beautypg.com

Lenze I/O system 1000 System Manual User Manual

Page 201

background image

Product description

I/O compound modules − counter

One counter 32 bits, 5 V DC − EPM−S602

3

l

201

EDSIO1000 EN 7.0

Comparator

The comparison value is specified via the output area. The comparison bit can be found in
the status word under STS_COMP.

)

Note!

Please note that bit STS_COMP can only be triggered if bit STS_CTRL_COMP is
set in the status word.

Via the parameter setting you can define the response of the comparison bit:

ƒ

Comparison bit never switches

ƒ

Comparison bit is set if count value

³ comparison value

As long as the count value is greater than or equals the comparison value, the
comparison bit remains set

ƒ

Comparison bit is set if count value

£ comparison value

As long as the count value is smaller than or equals the comparison value, the
comparison bit remains set.

ƒ

Comparison bit is set if count value = comparison value
If the count value = comparison value, the comparison bit is set. The bit remains set
until the comparison condition is no longer met. If you have set a main counting
direction, the comparison bit is only set when the comparison value from the main
counting direction is reached.

)

Note!

Together with bit STS_COMP, bit STS_CMP is set in the status word. In contrast
to bit STS_COMP, however, it remains set until it is reset with RES_SET in the
control word.