//INTEGRAS/ELS/PAGINATION/ELSEVIER UK/PLC/3B2/FINALS-7-6-04/0750656794-CH02 8.3D – 293 – [293–297/5]
19.6.2004 9:20PM
28
Index registers V and Z
Index registers are similar to data registers in that they can store 16-bit data. However,
the main function of these registers is to provide an offset value to other PLC devices.
In all of the FX range of PLCs, there are a total of 16 index registers.
V0–V7;
Z0–Z7.
28.1 Index register instructions
The following is a list of Index register instructions used in this chapter.
(a) MOV K5 Z0 Load index register Z0 register with the constant value of 5.
(b) MOV D20Z0 D1 With Z0 ¼ 5, move the contents of D(20 þ 5) into D1,
i.e. move the contents of D25 into data register D1.
(c) MOVP D2 Z0 Move on a closing input,