
File Logic Instructions
Chapter 16
1613
(Figure 16.6). If the bits are both 1 or 0, a 0 is stored in the corresponding
bit of File R. For other conditions, a 1 is stored in File R (Table 16.F).
Table 16.F
Truth Table for Logical WORDTOFILE XOR
Corresponding Bit In
Bit In Word File B
File R
1
1
0
0
1
0
1
0
0
1
1
0
Instruction Overview:
Key sequence: [FILE] 19
Output instruction
Requires 5 words of user program
Counter is not modified by instruction. Needs to be externally indexed
by user program.
Programming WordtoFile XOR Instruction
WARNING: The counter address for the Word-to-File XOR
instruction should be reserved for the instruction and the
corresponding instructions which manipulate the accumulated
value. Do not inadvertently manipulate the preset or
accumulated values. Inadvertent changes to these values could
result in unpredictable or hazardous machine operation or a
run-time error. Damage to equipment and/or personal injury
could result.
To program a Word-to-File XOR, press keys [FILE] 19. The format and
technique for number insertion will be identical to that of the Word-to-File
AND (Figure 16.6, Section 16.2.1) except that XOR replaces AND.
The procedure for using the data mode for data entry or monitor is
presented in Chapter 12.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com