Bit Shifts
Chapter 14
144
Figure 14.2
BIT SHIFT LEFT Format
BIT SHIFT SHIFT
COUNTER ADDR: 030
NUMBER OF BITS: 001
FILE: 110- 110
INPUT: 010/00
OUTPUT: 010/00
030
(EN)
17
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.
NUMBER OF BITS : Number of bits in the file.
FILE : Starting address of file.
INPUT : Address of input bit.
OUTPUT : Address of output bit.
030
(DN)
15
Figure 14.3 shows the format of Figure 14.2 after the following conditions
have been entered.
COUNTER ADDR – 200
NUMBER OF BITS – 128
FILE – The bit register starts and ends at word 400
8
and 407
8
respectively.
INPUT – The input bit is bit 17 of word 130
8
.
OUTPUT – The output bit is bit 00 of word 420
8
.
The procedure for using the data monitor mode for data entry on the
monitor is presented in Chapter 12. Note that bit 00 is the right side on
the file display and bit 17 is on the left.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com