File Search and File Diagnostic Instructions
Chapter 17
175
Figure 17.4
FILE
DIAGNOSTIC
012
017
File A
XOR
310
315
File B
320
325
File R
XOR Instruction SetUp
(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.)
W
ord 500 stores error number in 4digit BCD.
W
ord 501 stores input /output (I/O) in bits 0003.
(Any leading digits are stored in BCD in bits 47 and 1013.)
W
ord 502 stores the rack number in bits 1417.
The module group number in bits 1013, the high/low (1.0)
slot in bit 04 and the terminal number in bits 0003.
0001
0
1214
500
501
502
0003040710131417
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