Mitsubishi Electric M800VW Series Programming Manual page 273

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

Advertisement

M800V/M80V Series PLC Programming Manual (1/2)
8 Function Instructions
8.5 Program Branch Instructions
JMP
 A program of specified pointer No. in the same program file is executed unconditionally.
POINT
Note the following points when using the jump instruction.
(1) Jump instructions can be used only for pointer numbers within the same program file.
(2) After the timer coil has gone ON, accurate measurements cannot be made if there is an attempt to jump the timer
of a coil that has been turned ON using the CJ or JMP instructions.
(3) Scan time is shortened if the CJ or JMP instruction is used to force a jump to the rear.
(4) The CJ and JMP instructions can be used to jump to a step prior to the step currently being executed.
X9
P8
30
M3
1001
X10
1004
(5) The device to which a jump has been made with CJ or JMP does not change.
XB
20
XC
23
XB
25
X9
P19
27
(6) The lable (P**) occupies step 1.
14
17
Occupies
step 1
19
P9
21
24
 Operation errors
 In the following cases, an arithmetic error occurs, the error flag (SM0) turns ON, and an error code is stored at SD0.
- A pointer number which is not in use as a label in the same program has been designated.
(Error code: 20 or 85)
- A common pointer in the other program has been designated. (Error code: 20 or 85)
IB-1501667-B
Y80
CJ
P8
Y91
CJ
P19
Y43
Y49
Y4C
X8
CJ
M33
M3
M36
X9
Jumps to P8 label when M3 goes ON.
Executes when M3 is OFF.
Jumps to label P19 when XB goes ON.
Y43 and Y49 do not change regardless of
whether XB and XC are ON/OFF during
execution of CJ instruction.
P9
Y30
Y36
Y39
Y3E
252

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents