Mitsubishi Electric MELSEC-Q/L Programming Manual page 1070

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Comparison of display instructions
Instruction
*1
PR
*1
PRC
*1 Unusable for the Q00J/Q00/Q01CPU.
Instructions whose designation format has been changed
*1 Except dedicated instructions for AnACPU and AnUCPU
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
32-bit data bit check
Partial refresh
8-character ASCII
conversion
Carry flag set
Carry flag reset
Jump to END
instruction
*2
CHK instruction
*2 Unusable for the Q00J/Q00/Q01CPU/Universal model QCPU/LCPU.
APPENDICES
1068
Appendix 2 CPU Performance Comparison
QCPU/LCPU
• When SM701 is OFF: Output continued until 00H
encountered
• When SM701 is ON: 16 characters output
• When SM701 is OFF: 32-character comment output
• When SM701 is ON: Upper 16 characters output
QCPU/LCPU
Instruction format
Remark
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
• D: Rotation data
• D: Rotation data
• SM700 is used for carry flag.
• D: Rotation data
• D: Rotation data
• SM700 is used for carry flag.
• D: Rotation data
• D: Rotation data
• SM700 is used for carry flag.
• D: Rotation data
• D: Rotation data
• SM700 is used for carry flag.
• Search results are stored at
the D and D+1 devices.
• Search results are stored at
the D and D+1 devices.
• Check results are stored at
the D device.
• Check results are stored at
the D device.
• Dedicated instruction is
added.
• No dedicated instruction
• No dedicated instruction
• Dedicated instruction is
added.
• The CHKST instruction is
added.
AnUCPU
AnACPU
• When M9049 is OFF: Output continued until 00H
encountered
• When M9049 is ON: 16 characters output
16-character comment output
*1
AnUCPU/AnACPU/AnNCPU
Instruction format
ROR
n
RCR
n
ROL
n
RCL
n
DROR
n
DRCR
n
DROL
n
DRCL
n
SER
S1 S2
n
DSER
S1 S2
n
SUM
S
DSUM
S
SEG
D n
ASC
(Character string)
D
STC
CLC
CJ
P255
CJ Pn
CHK
P254
AnNCPU
Remark
• Rotation data are set at A0.
• Rotation data are set at A0.
• M9012 is used for carry flag.
• Rotation data are set at A0.
• Rotation data are set at A0.
• M9012 is used for carry flag.
• Rotation data are set at A0
and A1.
• Rotation data are set at A0
and A1.
• M9012 is used for carry flag.
• Rotation data are set at A0
and A1.
• Rotation data are set at A0
and A1.
• M9012 is used for carry flag.
• Search results are stored at
A0 and A1.
• Search results are stored at
A0 and A1.
• Check results are stored at
A0.
• Check results are stored at
A0.
• Only when M9052 is ON
• P255: END instruction
designation

Advertisement

Table of Contents
loading

Table of Contents