File Logic Instructions
Chapter 16
168
Figure 16.5 shows the format of Figure 16.4 after values for the following
condition have been entered:
COUNTER ADDR – word 050
POSITION – 003
FILE LENGTH – 006
FILE A – 474-501
FILE R – 410-415
RATE PER SCAN – 006. This is the complete mode.
The procedure using the data monitor mode for data entry and/or monitor
is presented in Chapter 12.
Figure 16.5
FILE COMPLEMENT Example Rung
FILE COMPLEMENT
COUNTER ADDR: 050
POSITION: 001
FILE LENGTH: 006
FILE A: 474- 501
FILE R: 410- 415
RATE PER SCAN: 006
050
(EN)
17
050
(DN)
15
The Word-to-File logic instructions are:
Word-to-File AND
Word-to-File OR
Word-to-File EXCLUSIVE OR (XOR)
These three instructions are output instructions which, during a true rung
decision, perform a logical operation on a data table word (Figure 16.6)
and a word from File B. It places the result of the operation into the
corresponding word of File R. A counter accumulated value points to the
particular file word to be operated upon.
NOTE: This section assumes the reader has read Chapter 12, Data
Transfer File Instructions, and is familiar with the concepts introduced in
that chapter.
16.2
WordtoFile Logic
Instructions
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com