Chapter 5 Applied Instructions 5.4 Using Index Registers to Modify Operands V devices are 16-bit index registers. There are 6 V devices (V0~V5). Z devices are 32-bit index registers. There are 8 Z devices (Z0~Z7). 16 bits V0~V7 V devices are 16-bit registers. Data can be freely written into a V device, and data can be freely read from a V device. If a 32-bit value is required, please use a Z device. 32 bits Z0~Z7 High byte Low byte Index registers can be used to modify X/Y/M/S/KnM/KnS/T/C/D/SM/SR devices, but they can not be used to modify index registers, constants, and Kn. For example, K4@Z0 is invalid, K4M0@Z0 is valid, and K0@Z0M0 is invalid.
The devices marked with “●” in the table in the explanation of an applied instruction can be modified by V devices and Z devices.
5.5 Instruction Index Arranging applied instructions in alphabetical order 5-15 Instruction code Pulse Step Page Type API Function 16-bit 32-bit instruction 16-bit 32-bit number A 87 ABS DABS Absolute value 3 3 5-77 20 ADD DADD Binary addition 7 9 5-38 134 – DACOS Arccosine of a binary floating-point number – 6 5-100 172 – DADDR Floating-point addition – 9 5-105 66 ALT – Alternating between ON and OFF 3 – 5-74 218 AND& DAND& – S1&S2 5 7 5-110 220 AND^ DAND^ – S1^S2 5 7 5-110 219 AND| DAND| – S1|S2 5 7 5-110 234 AND DAND – S1<S2 5 7 5-113 237 AND DAND – S1≦S2 5 7 5-113 236 AND DAND – S1≠S2 5 7 5-113 232 AND= DAND= – S1=S2 5 7 5-113 233 AND> DAND> – S1>S2 5 7 5-113 238 AND>= DAND>= – S1≧S2 5 7 5-113 47 ANR – Resetting an annunciator 1 – 5-68 46 ANS – – Driving an annunciator 7 – 5-67 133 – DASIN Arcsine of a binary floating-point number – 6 5-99 135 – DATAN Arctangent of a binary floating-point number – 6 5-101 B 18 BCD DBCD Converting a binary number into a binary-coded decimal number 5 5 5-36 19 BIN DBIN Converting a binary-coded decimal number into a binary number 5 5 5-37 15 BMOV – Transferring values 7 – 5-32 44 BON DBON Checking the state of a bit 7 8 5-65 258 BRET – – Returning to a busbar 1 – 5-125 C 01 CALL – Calling a subroutine 3 – 5-22