Mitsubishi Electric M800VW Series Programming Manual page 135

Plc programming
Hide thumbs Also See for M800VW Series:
Table of Contents

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
6 Explanation of Instructions and Functions
6.7 Counting Step Number
Number of steps during storage
This is the number of steps to be consumed when each instruction is stored in built-in ROM. This is stored in the instruction
code format which is compatible with the MELSEC universal model QCPU sequencer.
When ZR/Z device is used, the number of steps will increase/decrease compared to the number of steps described in "6.1
Instruction List".
When using ZR/Z device, check the number of steps referring to the following.
 When using ZR/Z device as argument
When any of the following argument conditions is applied, the number of steps of following instructions increase/decrease
according to the argument position using ZR/Z device.
 Word device or constant number
 Device No. being multiple of 16 when the bit device digit designation is used for argument
 K4 for the word designating instruction, K8 for the double word designating instruction at the time of using the bit device
digit designation for argument
Instruction sign
LD=,LD<>,LD<,LD<=,LD>,LD>=,
AND=,AND<>,AND<,AND<=,AND>,AND>=,
OR=,OR<>,OR<.OR<=,OR>,OR>=
LDD=,LDD<>,LDD<,LDD<=,LDD>,LDD>=,
ANDD=,ANDD<>,ANDD<,ANDD<=,ANDD>,
AND>=,ORD=,ORD<>,ORD<.ORD<=,
ORD>,ORD>=
+, -,+P, -P,D+,D-,D+P,D-P,
WAND,WOR,WXOR,WXNR,
DAND,DOR,DXOR,DXNR,
WANDP,WORP,WXORP,WXNRP,
DANDP,DORP,DXORP,DXNRP
(2 devices)
+, -,+P, -P,D+,D -,D+P,D -P,
WAND,WOR,WXOR,WXNR,
DAND,DOR,DXOR,DXNR,
WANDP,WORP,WXORP,WXNRP,
DANDP,DORP,DXORP,DXNRP
(3 devices)
*, *P, /, /P
D*, D*P, D/, D/P
INC,INCP,DEC,DECP,DINC,DINCP,
DDEC,DDECP
MOV,MOVP,DMOV,DMOVP
BCD,BCDP,BIN,BINP,DBCD,DBCDP,
DBIN,DBINP,CML,CMLP,DCML,DCMLP
 For the conditions and the instructions that are not specified in "When using ZR/Z device as argument"
The number of steps will increase by one step every time ZR device is used. (The number of steps will not decrease even
when the Z device is used.)
Number of steps during execution
This is the number of steps to be consumed when each instruction is executed. When executed, a sequence program is
analyzed, and then it optimizes the references and converts into the instruction code for the PLC processing processor which
is unique to the CNC.
Thus, the length of each instruction (number of step) is varied before and after the conversion.
IB-1501667-B
Device
Argument position
Index register Z
File register ZR
Index register Z
File register ZR
S1 and S2 and D
Index register Z
(S1 or S2) and D
File register ZR
Index register Z
File register ZR
Index register Z
File register ZR
Index register Z
File register ZR
114
Increased/de-
creased steps
S1 or S2
-1
S1 and S2
-2
S1 or S2
+1
D
-1
S1 and S2
-2
S1
+1
D
+3
-2
-1
S1 or S2
+1
D
+2
D
-1
D
+3
S and D
-1
S or D
+1
S and D
-1
S
+1
D
+2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents