YASKAWA VIPA System 300S Manual page 115

Hide thumbs Also See for VIPA System 300S:
Table of Contents

Advertisement

VIPA System 300S
Example
Diagnostic interrupt pro-
cessing
Record set 0 Diag-
nostic
incoming
Record set 0 Diagnostic
going
HB140 | SM-DIO | | en | Rev. 16-43
Every OB 82 call causes an entry in the diagnostic buffer of the CPU containing error
cause and module address. By using the SFC 59 you may read the diagnostic bytes. At
de-activated diagnostic interrupt you have access to the last recent diagnostic event. If
you've activated the diagnostic function in your hardware configuration, the contents of
record set 0 are already in the local double word 8 when calling the OB 82. The SFC 59
allows you to also read the record set 1 that contains additional information. After leaving
the OB 82 a clear assignment of the data to the last diagnostic interrupt is not longer pos-
sible. The record sets of the diagnostic range have the following structure:
Byte
Bit 7 ... Bit 0
0
set at module failure
n
n
Bit 1: 0 (fix)
n
Bit 2: set at external error
n
Bit 3: set at channel error
n
Bit 4: set when external auxiliary supply is missing
n
Bit 7 ... 5: 0 (fix)
1
n
Bit 3 ... 0: Module class
n
Channel information present
n
Bit 7 ... 5: 0 (fix)
2
00h (fix)
3
n
Bit 5 ... 0: 0 (fix)
n
Bit 6: Process interrupt lost
Bit 7: 0 (fix)
n
After the removing error a diagnostic message
out-
release is still active.
323-1BH70 - DIO 16xDC 24V 0.5A > Diagnostic interrupt
1111b: Digital
Digital Modules FAST - SPEED-Bus
takes place if the diagnostic interrupt
outgoing
115

Advertisement

Table of Contents
loading

Table of Contents