
File Logic Instructions
Chapter 16
1610
Counter is not modified by instruction. Needs to be externally indexed
by user program.
Programming WordtoFile AND Instruction
WARNING: The counter address for the Word-to-File AND
instruction should be reserved for the instruction and the
instruction(s) which manipulate the accumulated value. Do not
inadvertently manipulate the preset or the 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 AND, press keys [FILE] 15. A display
represented by Figure 16.7 will appear.
Figure 16.7
WORDTOFILE AND Format
WORD TO FILE AND
COUNTER ADDR:
030
POSITION:
001
FILE LENGTH:
001
WORD ADDR:
110
FILE B:
110- 110
FILE R:
110- 110
030
(DN)
15
Numbers shown are default values. Bold numbers must be replaced by userentered values. The number of default address digits
initially displayed 3, 4, or 5 will depend on the size of the data table. Initially displayed default values are governed by the I/O rack
configuration.
COUNTER ADDRESS
: Address of the instruction in the accumulated value area of the data table.
POSITION
: Current word being operated upon (accumulated value of counter).
FILE LENGTH
: Number of words in file (preset value of the counter).
WORD ADDRESS
: Address of source word outside the file.
FILE B
: Starting address of source file B.
FILE R
: Starting address of destination file R.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com