Counter; Display Instruction; Instructions With Changed Specified Formats - Mitsubishi Electric MELSEC-A0J2H Series Handbook

Table of Contents

Advertisement

7
PROGRAMS REPLACEMENT

7.7.5 Counter

Function
Specifying method
Updating current value
Turning contacts ON/OFF

7.7.6 Display instruction

Instruction
PR
PRC

7.7.7 Instructions with changed specified formats

As QCPU does not have an accumulator (A0, A1), the A0J2HCPU instruction using the accumulator is
changed in the instruction format on the Basic Model QCPU.
Accumulator A0 is changed to SD718 and accumulator A1 is changed to SD719.
Function
16-bit data search
Rotating 32-bit data
to right
16-bit data search
Rotating 32-bit data
to left
32-bit data search
Rotating 32-bit data
to right
32-bit data search
Rotating 32-bit data
to left
7
- 34
QnUCPU
• At execution of OUT Cn instruction
QnUCPU
Display instructions cannot be used for a
Universal model QCPU.
Consider replacing with a display unit or touch
panel.
QCPU
Instruction format
• D: Rotation data
ROR D n
• D: Rotation data
• Use SM700 for a
RCR D n
carry flag
• D: Rotation data
ROL
D n
• D: Rotation data
• Use SM700 for a
D n
RCL
carry flag
• D: Rotation data
DROR D n
• D: Rotation data
• Use SM700 for a
DRCR D n
carry flag
• D: Rotation data
DROL D n
• D: Rotation data
• Use SM700 for a
DRCL D n
carry flag
K100
C0
• At END processing
• With M9049 OFF: Outputs characters before
00
.
H
• With M9049 ON: Outputs 16 characters.
• Outputs comment in 16 characters.
Remarks
Instruction format
ROR n
RCR n
ROL
n
n
RCL
DROR n
DRCR n
DROL n
DRCL n
A0J2HCPU
K100
C0
A0J2HCPU
A0J2HCPU
Remarks
• Set rotation data to
A0
• Set rotation data to
A0
• Use M9012 for a
carry flag
• Set rotation data to
A0
• Set rotation data to
A0
• Use M9012 for a
carry flag
• Set rotation data to
A0 and A1
• Set rotation data to
A0 and A1
• Use M9012 for a
carry flag
• Set rotation data to
A0 and A1
• Set rotation data to
A0 and A1
• Use M9012 for a
carry flag

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec q series

Table of Contents