Profinet communication – Lenze I/O system 1000 System Manual User Manual
Page 673
PROFINET communication
Parameterising the counter
Two counters 32 bits, 24 V DC − EPM−S601
l
673
EDSIO1000 EN 7.0
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: 0
Bit 1: 0
Bit 2: Counter 0, overflow/underflow/final value
Bit 3: Counter 0, comparison value reached
Bit 4: 0
Bit 5: 0
Bit 6: Counter 1, overflow/underflow/final value
Bit 7: Counter 1, comparison value reached
9
State of the inputs at the time of the alarm
Bit 0: Counter 0, A/pulse
Bit 1: Counter 0, B/direction
Bit 2: Counter 1, A/pulse
Bit 3: Counter 1, B/direction
Bit 7 ... 4: 0 (fixed)
10 ... 11
16 bit
ms value at the time of the alarm
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.