User manual

Highlevel Instructions
3 272
Flag conditions
Error flag (R9007): Turns on and stays on when the area specified using the starting 16-bit area
(D1) is larger than the area specified by the ending 16-bit area (D2)
(when D1 > D2).
Error flag (R9008): Turns on for an instant when the area specified using the starting 16-bit area
(D1) is larger than the area specified by the ending 16-bit area (D2)
(when D1 > D2).
Carry flag (R9009): Turns on for an instant when the bit shifted-out is “1”.
Cautions on shift input detection
In a F119 (LRSR) instruction, shift takes place when the offon rise of the shift input is detected.
If the shift input remains continuously on, a shift will only take place at the rise. No further shifts will take place.
In cases where the shift input is initially on such as when the mode is changed to RUN or when the power is
turned on with the mode set to RUN, a shift will not take place at the first scan.
Shift input
Operation of
instruction
No shift made
Shift made
RUN
(Power: on)
When you use the F119 (LRSR) instruction with one of the following instructions that changes the order of the
execution of instructions, be aware that the operation of the instructions will differ depending on the timing of
their execution and their shift input.
MC to MCE instructions
JP to LBL instructions
F19 (SJP) to LBL instructions
LOOP to LBL instructions
CNDE instruction
Step ladder instructions
Subroutine instructions
Precautions during programming
When combining the F119 (LRSR) instruction with an AND stack instruction or POP stack instruction, be
careful that the programming is correct.