(j) Indirect specification with general purpose registers (R1 to R4, D1 to D4)
You can indirectly specify the setting values of the "SPN", "STA", "STB", "STC", "STD", "MOV",
"MOVI", "MOVA", "MOVIA", "TIM", and "TIMES" commands.
The value, which is stored in each general purpose register (R1 to R4, D1 to D4), is used as the
setting value of each command.
While the program is not executed by a communication command, you can change the general
purpose registers by using Setup software (MR Configurator2
TM
) or a communication command.
The data of the general purpose registers is erased at power-off of the driver. Note that you can
store the data of the general purpose registers (R1 to R4) in EEP-ROM.
The setting range of each general purpose register is that of the instruction for which each register is
used.
The following explains a case where the general purpose registers are set as shown below before
the execution of the program.