
Lenze · I/O system 1000 · Reference Manual · DMS 5.0 EN · 09/2016 · TD17
516
9
PROFINET communication
9.8
Parameterising the counter
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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:
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 (
s ticker) is started which restarts at 0 after 65535
s.
With every change of the count value, the time value of the timer is stored as 16-bit-
s value
together with the count value in the input area.
0x81 0
Final value
Upper limitation of the counting range
0x00
1
Start value
Lower limitation of the counting range
0x00
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.
0x00
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.
0x00
Local
byte
Bit 7 ... 0
1
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)
2
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)
3/4
Ticker value at the time of the alarm
Data set
Name
Description/value
Lenze
No.
Byte