beautypg.com

3 one counter 32 bits, 5 v dc - epm-s602, One counter 32 bits, 5 v dc − epm−s602, Profibus communication – Lenze I/O system 1000 System Manual User Manual

Page 443

background image

PROFIBUS communication

Parameterising the counter

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

9

l

443

EDSIO1000 EN 7.0

9.7.3

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

By integration of the GSE file VI010C19.gse you can specify all counter parameters via a
hardware configuration.

The following functions can be parameterised:

Counting functions

Description

Counting
continuously

The counter counts from the loading value to the counting limit, then skips to the
opposite counting limit and continues to count from there.

Counting once

The counter counts once/periodically from the loading value in the specified counting
range.

Counting periodically

Signal evaluation

Description

Single rotary
transducer

Connection to input "A/pulse" and "B/direction"

Double rotary
transducer

Quadruple rotary
transducer

Direction

Pulse at input "A/pulse" and direction at "B/direction"

Additional functions Description

Main counting
direction

The main counting direction can be parameterised:
None: The whole counting range is available.
Forwards: Limitation of the counting range upwards. The counter counts from the
parameterised loading value in the positive direction to the parameterised final value −1
and then skips to the loading value again with the encoder pulse that is following.
Backwards: Limitation of the counting range downwards. The counter counts from the
parameterised loading value in the negative direction to the parameterised final value +1
and then skips to the loading value again with the encoder pulse that is following.

Gate function

The gate function serves to start, stop, and interrupt a counting function. In the case of
this counter the internal gate (I−gate) is conform to the software gate (SW gate) which
you control via your user program (status word in the output area).
The following response can be parameterised:
Cancelling gate function:After closing the gate and opening it again, the counting process
continues from the loading value again.
Interrupting gate function:After closing the gate and opening it again, the counting
process continues with the last current counter content.

Comparator

You can specify a comparison value which, depending on the count value, activates the
digital output or triggers a process alarm.

Hysteresis

By specification of a hysteresis you can for instance prevent the output from being
permanently switched if the value of an encoder signal fluctuates around the comparison
value.

Process alarm

The activation of a process alarm can be parameterised. A process alarm can be triggered
in the case of the following events:

l

Hardware gate open

l

Hardware gate closed

l

Counting limit − overflow

l

Counting limit − underflow

l

Comparison value reached

l

Final value reached

l

Latch value reached

Diagnostic alarm

If the diagnostic alarm is enabled in the parameter setting, it occurs if another process
alarm is triggered for the same event during a process alarm processing

.