6. BASIC INSTRUCTIONS
6
−
59
MELSEC-A
JMP
(1) Executes the program of specified pointer number unconditionally.
Consider the following when the jump instructions are used.
(2) Even if the timer, of which coil is on, is jumped by the CJ, SCJ, or JMP
instruction after the coil of timer is turned on, the timer continues counting.
(3) If the OUT instruction is jumped by CJ, SCJ or JMP, coil status is held
unchanged.
(4) When a jump is made to a memory location by CJ, SCJ, or JMP, the scan timer
is shortened.
(5) The CJ, SCJ, and JMP instructions are also capable of jumping to a step with
lower number. However, it is necessary to exit this closed loop before the watch
dog timer times out.
(6) The device jumped by CJ, SCJ, or JMP does not change.
(7) The label (P**) occupies one step.
(
)
(
)
Closed loop
when X3 is
ON.
P8
X000
X007
X003
X006
P9
CJ P9
CJ P8
Y040
Y042
Exits the loop when X7 is
turned ON.
(
)
(
)
(
)
When XB turn on, jump is made to the label P19.
Even if XB and C turn on/off during the execution of
CJ instruction, Y43 and 49 do not change.
10
14
16
18
X00B
X00C
X00B
X009
P19
CJ P19
Y043
Y049
Y04C
(
)
(
)
(
)
(
)
10
14
16
18
21
P9
X008
M33
M3
M36
X009
Occupies
one step.
CJ P9
Y030
Y036
Y039
Y03B
Содержание MELSEC-A series
Страница 1: ......
Страница 2: ......
Страница 13: ...A 11 MEMO...
Страница 505: ...APPENDICES APP 100 MELSEC A MEMO...
Страница 507: ......
Страница 508: ......