EasyManua.ls Logo

Lenze I/O system 1000 - Page 535

Lenze I/O system 1000
583 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
9 PROFINET communication
9.8 Parameterising the counter
535
Lenze · I/O system 1000 · Reference Manual · DMS 5.0 EN · 09/2016 · TD17
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Diagnostic alarm processing
Using the SFB 52 you can read out the diagnostic bytes. If the diagnostic alarm is deactivated, you
can access the last diagnostic event in each case.
If you have activated the diagnostic function in your hardware configuration, OB 82 is called
automatically. Here you can react on the diagnostics accordingly. With the SFB 52 you can
additionally read out data set 1 which contains further information.
After exiting OB 82, the data can no longer be clearly assigned to the last diagnostic alarm.
Data set 1 is structured as follows:
Data set 1, diagnostic alarm
incoming
Byte Bit 7 ... 0
0 Bit 0: Set if module fault
Bit 1: 0 (fixed)
Bit 2: Set in the case of an external error
Bit 3: Set in the case of a channel error
Bit 6 ... 4: 0 (fixed)
Bit 7: Parameterisation error
1 Bit 3 ... 0: Module class, 0b1000: Function module
Bit 4: Channel information available
Bit 7 ... 5: 0 (fix)
20 (fixed)
3 Bit 5 ... 0: 0 (fixed)
Bit 6: Process alarm lost
Bit 7: 0 (fixed)
4 Bit 6 ... 0: Channel type, 0x77: Counter module
Bit 7: More channel types available, 0: no, 1: yes
5 Number of diagnostic bits output by the module per channel (here 0x08))
6 Number of channels of a module (here 0x02)
7 Bit 0: Error in channel group 0 (counter 1)
Bit 1: Error in channel group 1 (counter 2)
Bit 7 ... 2: 0 (fixed)
8 Channel group 0: Diagnostic alarm due to lost process alarm to ...
Bit 1 ... 0: 0 (fixed)
Bit 2: Overflow/underflow/final value
Bit 3: Comparison value reached
Bit 7 ... 4: 0 (fixed)
9 Channel group 1: Diagnostic alarm due to lost process alarm to ...
Bit 1 ... 0: 0 (fixed)
Bit 2: Overflow/underflow/final value
Bit 3: Comparison value reached
Bit 7 ... 4: 0 (fixed)
10 ... 15 0 (fixed)
Data set 1, diagnostic alarm
outgoing
After the error correction, a diagnostic alarm
outgoing
takes place.

Table of Contents

Related product manuals