EasyManua.ls Logo

VIPA SM 231 - Page 67

Default Icon
178 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...
Manual VIPA System 200V Chapter 2 Analog input modules
HB97E - SM-AIO - Rev. 12/32 2-43
The diagnostic data have a size of 12byte and are stored in the record sets
0 and 1 of the system data area.
As soon as you activated the alarm release in byte 0 of the parameter area,
in case of an error record set 0 is transferred to the superordinated system.
Record set 0 has a fixed content and a length of 4byte. The contents of
record set 0 may be monitored in plain text via the diagnosis window of the
CPU.
For extended diagnostic purposes during runtime, you may evaluate the
record set 1 with a size of 12byte via the SFCs 51 and 59.
At a diagnostic task the CPU interrupts the user application and branches
into OB 82. With according programming, you may request in this OB with
the SFCs 51 and 59 detailed diagnostic information and react on it.
After execution of the OB 82, the processing of the user application is
continued. The diagnostic data remains consistent until leaving the OB 82.
Byte 0 to 3:
Record set 0 (Byte 0 to 3):
Byte Bit 7 ... Bit 0 Default
0 Bit 0: error in module
Bit 1: reserved
Bit 2: external error
Bit 3: channel error
Bit 6 ... 4: reserved
Bit 7: wrong parameter in module
00h
1 Bit 3 ... 0: module class
0101 analog module
Bit 4: channel information present
Bit 7 ... 6: reserved
15h
2 not used 00h
3 Bit 5 ... 0: reserved
Bit 6: missing (lost) process alarm (see process alarm)
Bit 7: reserved
00h
Diagnostic data
Evaluate
diagnosis
Record set 0

Related product manuals