Number Of Steps - Mitsubishi Electric MELSEC Q Series Programming Manual

Motion controller
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

5 SEQUENCE INSTRUCTIONS FOR MOTION CPU

5.2.2 Number of steps

The basic number of steps in the sequence instruction includes step 1 to step 6.
Main examples of each step are shown below.
Basic No. of steps
Instruction (mnemonic)
LD, ANI, ANB, ORB,
Step 1
FEND, RET, P**
INC, DEC, PLS, PLF,
Step 2
CJ, CALL
Step 3
MOV, =, BCD, OUT T
Step 4
DMOV, +, -, XCH
Step 5
D+, D-
Step 6
D*, D/
The instruction code, source and destination in basic number of steps for the
instruction are equivalent to one step each. Only some of the instruction codes and the
32-bit instruction constant K or H use two steps.
Note) Number of steps described above is the number of internal steps when
executing the sequence program in Motion CPU. The number of steps that
appear in GX Works2/GX Developer may be different
5 - 11
Circuit display
FEND
INC D2000
CALL P20
MOV K100 D2000
=
D2000 D2001
BCD D2000 D2001
K1
T1
DMOV K12345 D2000
2 steps worth
+ D2000 K100 D2001
XCH D2000 D2010
2 steps worth
D+ D2000 H12345678 D2010
2 steps worth
D* D2000 H123456 D2010
2 steps worth

Advertisement

Table of Contents
loading

Table of Contents