beautypg.com

Profibus communication – Lenze I/O system 1000 System Manual User Manual

Page 433

background image

PROFIBUS communication

Parameterising the counter

One counter 32 bits, 24 V DC − EPM−S600

9

l

433

EDSIO1000 EN 7.0

Lenze

Description/value

Name

Data set

Lenze

Description/value

Name

Byte

No.

2

Hysteresis

The hysteresis for instance serves to avoid frequent
switching operations of the output and/or triggering of
the alarm when the count value is within the range of the
comparison value. For the hysteresis you can select a
range between 0 and 255. With the settings 0 and 1 the
hysteresis is switched off.
The hysteresis has an effect on the zero crossing,
comparison, overflow/underflow.

00

h

3

Pulse

The pulse duration indicates for how long the output is to
be set if the parameterised comparison criterion is
reached or exceeded. The pulse duration can be specified
in steps of 2.048 ms between 0 and 522.24 ms. If the pulse
duration is = 0, the output is set until the comparison
condition is no longer met.

00

h

Process alarm

A process alarm causes a call of the OB 40. Within the OB 40 you have the possibility of
determining the logic basic address of the module that has triggered the process alarm via
the local word 6. Further information on the triggering event can be found in the "Local
double word 8".

Local double word 8 of OB 40:

Local byte

Bit 7 ... 0

8

Bit 0: Hardware gate open
Bit 1: Hardware gate closed
Bit 2: Overflow/underflow/final value
Bit 3: Comparison value reached
Bit 4: Latch value
Bit 7 ... 5: 0 (fixed)

9

State of the inputs at the time of the alarm
Bit 0: A/pulse
Bit 1: B/direction
Bit 2: Latch
Bit 3: Hardware gate
Bit 4: Reset
Bit 7 ... 5: 0 (fixed)

10 ... 11

Ticker value at the time of the alarm

Gate counter open/closed: Bit 0 is set if the HW gate is activated while the SW gate is
active. Bit 1 is set if the HW gate is deactivated while the SW gate is active.

Ticker value: After mains connection a timer (

ms ticker) is started, which after 65535 ms

starts with 0 again. With every change of the count value the time value of the timer is
stored as 16−bit

ms value together with the count value in the input area.