File Search and File Diagnostic Instructions
Chapter 17
175
Figure 17.4
FILE DIAGNOSTIC
012
017
File A
XOR
310
315
File B
320
325
File R
XOR Instruction SetUp
(A.)
Result
Stored
in File R
Actual
I/O States
Desired
I/O States
A 1 in File R indicates an
error in machine operation.
Error File Format
(B.)
Word 500 stores error number in 4digit BCD.
Word 501 stores input /output (I/O) in bits 0003.
(Any leading digits are stored in BCD in bits 47 and 1013.)
Word 502 stores the rack number in bits 1417.
The module group number in bits 1013, the high/low (1.0)
slot in bit 04 and the terminal number in bits 0003.
0
0
0
1
0
1
2
1
4
500
501
502
00
03
04
07
10
13
14
17
Instruction Overview:
Output
instruction
Key Sequence: [FILE] 20
Requires 5 words of user program
Counter is manipulated by instruction
Usually used in conjunction with an XOR instruction
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com