EasyManuals Logo

Mitsubishi MELSEC Q Series Programming Manual

Mitsubishi MELSEC Q Series
1296 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #116 background imageLoading...
Page #116 background image
3-26
(2) Instructions for which subset processing can be used
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.
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.
Types of Instructions Instruction Symbols
Contact instructions
LD,LDI,AND,ANI,OR,ORI,LDP,LDF,ANDP,ANDF,ORP,ORF,LDPI,ANDPI,ANDFI,
ORPI,ORFI
Output instructions OUT,SET,RST
Comparison operation instruction
• , , , , , ,D ,D ,D ,D ,D ,D
Arithmetic operation
• +, ,*,/,INC,DEC,D+,D ,D*,D/,DINC,DDEC
• B+,B ,B*,B/, E+,E ,E*,E/
Data conversion instructions • BCD, BIN, DBCD, DBIN, FLT, DFLT, INT, DINT
Data transfer instruction
• MOV, DMOV, CML, DCML, XCH, DXCH
• FMOV, BMOV, EMOV
Program branch instruction • CJ, SCJ, JMP
Logic operations • WAND, DAND, WOR, DOR, WXOR, DXOR, WXNR, DXNR
Rotation instruction • RCL, DRCL, RCR, DRCR, ROL, DROL, ROR, DROR
Shift instruction • SFL, DSFL, SFR, DSFR
Data processing instructions • SUM, SEG
Structure creation instructions • FOR, CALL
+
D0 D10 D20
+
Z0 Z1 Z2
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)

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC Q Series and is the answer not in the manual?

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC Q Series
CategoryController
LanguageEnglish

Related product manuals