Installation manual

Publication 1747-RM001G-EN-P - November 2008
E-16 Data File Organization and Addressing
The following paragraphs explain user-created files as they apply to Bit Shift
instructions, Sequencer instructions, Copy File, and Fill File instructions.
Bit Shift Instructions
The following figure shows a user-defined file within bit data file 3. For this
particular user-defined file, you would enter the following parameters when
programming the instruction:
#B3:2 - The address of the bit array. This defines the starting bit as bit 0
in element 2, data file 3.
58 - This is the length of the bit array, 58 bits. Note that the bits “left
over” in element 5 are unusable.
You can program as many bit arrays as you like in a bit file. Be careful that they
do not overlap.
ATTENTION
If you are using file instructions and also indexed
addressing, make sure that you monitor and/or load
the correct offset value prior to using an indexed
address. Otherwise, unpredictable operation could
occur, resulting in possible personal injury and/or
damage to equipment.
Bit Data File 3
15 0
0
1
2
3
4
INVALID
5
6
Address of the bit array
is #B3:2. Length of the
bit array is 58, entered
as a separate parameter
in the Bit Shift
instruction.
#B3:2