
9
PROFINET communication
9.8
Parameterising the counter
533
Lenze · I/O system 1000 · Reference Manual · DMS 5.0 EN · 09/2016 · TD17
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
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:
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.
Local
byte
Bit 7 ... 0
1
Bit 0: 0
Bit 1: 0
Bit 2: Counter 1, overflow/underflow/final value
Bit 3: Counter 1, comparison value reached
Bit 4: 0
Bit 5: 0
Bit 6: Counter 2, overflow/underflow/final value
Bit 7: Counter 2, comparison value reached
2
State of the inputs at the time of the alarm
Bit 0: Counter 1, A/pulse
Bit 1: Counter 1, B/direction
Bit 2: Counter 2, A/pulse
Bit 3: Counter 2, B/direction
Bit 7 ... 4: 0 (fixed)
3/4
16 bit
s value at the time of the alarm