Operation Processing With Standard Device Registers (Z) (Universal Model Qcpu And Lcpu Only) - Mitsubishi MELSEC Q Series Programming Manual

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

Advertisement

(2) Instructions for which subset processing can be used
Contact instructions
Output instructions
Comparison operation instruction
Arithmetic operation
Data conversion instructions
Data transfer instruction
Program branch instruction
Logic operations
Rotation instruction
Shift instruction
Data processing instructions
Structure creation instructions
3.5.2
Operation processing with standard device registers (Z)
(Universal model QCPU and LCPU only)
Operation processing time can be reduced with standard device registers (Z).
The following shows an example program with standard device registers.
Operation processing time is reduced with the instructions that the subset processing is possible.
For the number of steps, refer to Section 3.8.
For the operation time for each instruction, refer to Appendix 1.
3-26
Types of Instructions
+
D0 D10 D20
+
Z0 Z1 Z2
Because standard device registers are the same devices as index registers, do
not use device numbers of the standard device registers for the index registers.
LD,LDI,AND,ANI,OR,ORI,LDP,LDF,ANDP,ANDF,ORP,ORF,LDPI,ANDPI,ANDFI,
ORPI,ORFI
OUT,SET,RST
,
,
,
,
,
,D
• +,
,*,/,INC,DEC,D+,D
,D*,D/,DINC,DDEC
• B+,B
,B*,B/, E+,E
,E*,E/
• BCD, BIN, DBCD, DBIN, FLT, DFLT, INT, DINT
• MOV, DMOV, CML, DCML, XCH, DXCH
• FMOV, BMOV, EMOV
• CJ, SCJ, JMP
• WAND, DAND, WOR, DOR, WXOR, DXOR, WXNR, DXNR
• RCL, DRCL, RCR, DRCR, ROL, DROL, ROR, DROR
• SFL, DSFL, SFR, DSFR
• SUM, SEG
• FOR, CALL
Using data registers takes three steps and
the operation processing time of 28.5 ns.
(With Q4/Q06/Q10/Q13/Q20/Q26UD(E)HCPU)
Using standard device registers instead of
data registers takes one step and the
operation processing time of 9.5 ns.
(With Q4/Q06/Q10/Q13/Q20/Q26UD(E)HCPU)
Instruction Symbols
,D
,D
,D
,D
,D

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents