Mitsubishi MELSEC Q Series Programming Manual page 1154

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

Appendix 2.1.7
Because the QCPU, LCPU does not have accumulators (A0, A1), the format of AnUCPU,
AnACPU and AnNCPU instructions that used accumulators has been changed.
Function
16-bit
rotation to right
16-bit
rotation to left
32-bit
rotation to right
32-bit
rotation to left
16-bit data search
32-bit data search
16-bit
data bit check
16-bit
data bit check
Partial refresh
8-character ASCII conversion
Carry flag set
Carry flag reset
Jump to END instruction
*1
CHK instruction
App-146
Instructions whose designation format has been
changed (Except dedicated instructions for
AnACPU and AnUCPU)
TableApp.2.7 Instructions Whose Expression Has Changed
QCPU/LCPU
Instruction Format
ROR
D n
RCR
D n
ROL
D n
RCL
D n
DROR
D n
DRCR
D n
DROL
D n
DRCL
D n
SER
S1 S2
D n
DSER
S1 S2
D n
SUM
S D
DSUM
S D
RFS
D n
$MOV
(Character string)
D
SET
SM700
RST
SM700
GOEND
CHKST
CHK
*1: Unusable for the Q00J/Q00/Q01CPU/Universal model QCPU/LCPU.
Remarks
• D : Rotation data
ROR
• D : Rotation data
• SM700 is used for
RCR
carry flag.
• D : Rotation data
ROL
• D : Rotation data
• SM700 is used for
RCL
carry flag.
• D : Rotation data
DROR
• D : Rotation data
• SM700 is used for
DRCR
carry flag.
• D : Rotation data
DROL
• D : Rotation data
• SM700 is used for
DRCL
carry flag.
• Search results are
stored at the D and
SER
D+1 devices.
• Search results are
stored at the D and
DSER
D+1 devices.
• Check results are
stored at the D
SUM
device.
• Check results are
stored at the D
DSUM
device.
• Dedicated
SEG
instruction is added.
––
ASC
• No dedicated
STC
instruction
• No dedicated
CLC
instruction
• Dedicated
CJ
instruction is added.
• The CHKST
instruction is added.
P254
AnUCPU/AnACPU/AnNCPU
Instruction Format
• Rotation data are set
n
at A0.
• Rotation data are set
at A0.
n
• M9012 is used for
carry flag.
• Rotation data are set
n
at A0.
• Rotation data are set
at A0.
n
• M9012 is used for
carry flag.
• Rotation data are set
n
at A0 and A1.
• Rotation data are set
at A0 and A1.
n
• M9012 is used for
carry flag.
• Rotation data are set
n
at A0 and A1.
• Rotation data are set
at A0 and A1.
n
• M9012 is used for
carry flag.
• Search results are
S1 S2
n
stored at A0 and A1.
• Search results are
S1 S2
n
stored at A0 and A1.
• Check results are
S
stored at A0.
• Check results are
S
stored at A0.
• Only when M9052 is
D n
ON
(Character string)
D
• P255: END instruction
P255
designation
CJ Pn
CHK
Remarks
––
––
––
––

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents