EasyManua.ls Logo

Mitsubishi MELSEC-Q/L

Mitsubishi MELSEC-Q/L
850 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
Loading...
103
2
3
4
5
6
7
8
3.5 Reducing Instruction Processing Time
3.5.2 Operation processing with standard device registers (Z) (Universal model QCPU and LCPU
only)
(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 Page 110, Section 3.8.
For the operation time for each instruction, refer to Page 706, 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 the Q4/Q06/Q10/Q13/Q20/Q26UD(E)HCPU
or Q50/Q100UDEHCPU)
Using standard device registers instead of
data registers takes one step and the
operation processing time of 9.5 ns.
(With the Q4/Q06/Q10/Q13/Q20/Q26UD(E)HCPU
or Q50/Q100UDEHCPU)

Table of Contents

Related product manuals