Panasonic FP7 Series Command Reference Manual page 176

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

3.23 SR (Shift Register)
Precautions for shift input detection
● The SR instruction performs a shift when an OFF to ON rise is detected.
● While the shift input remains ON, shifting is performed at the leading edge only and not
performed later.
● The register contents will not be shifted for the first scan if the shift input is already ON when
the operation mode is switched to RUN or the power is turned on in the RUN mode.
RUN
(Power on)
Shift input
Instruction
operation
● Be careful when using this instruction with an instruction that changes the order of instruction
execution such as MC - MCE or JP - LBL (1 to 6, shown below), because the operation of
the instruction may change depending on the timing of the instruction execution and shift
input.
1) MC - MCE instructions
2) JP - LBL instructions
3) LOOP - LBL instructions
4) CNDE instruction
5) Step ladder instructions
6) Subroutine instructions
Related instructions
● The left/right shift register (LRSR) instruction is also provided in addition to this instruction for
the shift register. You can also use the data shift or data rotate instruction to implement the
same operation.
3-72
Shifted
Not shifted
WUME-FP7CPUPGR-12

Advertisement

Table of Contents
loading

Table of Contents