![background image](http://html1.mh-extra.com/html/omron/sysmac-c200h/sysmac-c200h_operation-manual_742423124.webp)
111
any instructions in between. The status of timers, counters, bits used in OUT,
bits used in OUT NOT, and all other status bits controlled by the instructions
between JMP(04) and JMP(05) will not be changed. Each of these jump
numbers can be used to define only one jump. Because all of instructions
between JMP(04) and JME(05) are skipped, jump numbers 01 through 99
can be used to reduce cycle time.
If the jump number for JMP(04) is 00, the CPU will look for the next JME(05)
with a jump number of 00. To do so, it must search through the program,
causing a longer cycle time (when the execution condition is OFF) than for
other jumps. The status of timers, counters, bits used in OUT, bits used in
OUT NOT, and all other status controlled by the instructions between
JMP(04) 00 and JMP(05) 00 will not be changed. jump number 00 can be
used as many times as desired. A jump from JMP(04) 00 will always go to
the next JME(05) 00 in the program. It is thus possible to use JMP(04) 00
consecutively and match them all with the same JME(05) 00. It makes no
sense, however, to use JME(05) 00 consecutively, because all jumps made
to them will end at the first JME(05) 00.
Although DIFU(13) and DIFD(14) are designed to turn ON the designated bit
for one cycle, they will not necessarily do so when written between JMP(04)
and JMP (05). Once either DIFU(13) or DIFD(14) has turned ON a bit, it will
remain ON until the next time DIFU(13) or DIFD(14) is executed again. In
normal programming, this means the next cycle. In a jump, this means the
next time the jump from JMP(04) to JME(05) is not made, i.e., if a bit is
turned ON by DIFU(13) or DIFD(14) and then a jump is made in the next
cycle so that DIFU(13) or DIFD(14) are skipped, the designated bit will re-
main ON until the next time the execution condition for the JMP(04) control-
ling the jump is ON.
When JMP(04) and JME(05) are not used in pairs, an error message will ap-
pear when the program check is performed. Although this message also ap-
pears if JMP(04) 00 and JME(05) 00 are not used in pairs, the program will
execute properly as written.
Flags
There are no flags affected by these instructions.
Examples of jump programs are provided in 4-6-8 Jumps.
5-10
END – END(01)
Ladder Symbol
END(01)
END(01) is required as the last instruction in any program. If there are sub-
routines, END(01) is placed after the last subroutine. No instruction written
after END(01) will be executed. END(01) can be placed anywhere in the pro-
gram to execute all instructions up to that point, as is sometimes done to de-
bug a program, but it must be removed to execute the remainder of the pro-
gram.
If there is no END(01) in the program, no instructions will be executed and
the error message “NO END INST” will appear.
Flags
END(01) turns OFF the ER, CY, GR, EQ, and LE flags.
DIFU(13) and DIFD(14) in
Jumps
Precautions
Examples
Description
END – END(01)
Section 5-10
Содержание SYSMAC C200H
Страница 1: ...OPERATION MANUAL C200H CPU01 E 03 E 11 E SYSMAC Programmable Controllers Cat No W130 E1 05 ...
Страница 2: ...C200H Programmable Controllers CPU01 E 03 E 11 E Operation Manual Revised June 2003 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 8: ...TABLE OF CONTENTS ix Glossary 345 Index 363 Revision History 369 ...
Страница 342: ...336 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage ...
Страница 374: ...Cat No W130 E1 05 C200H Programmable Controllers CPU01 E 03 E 11 E OPERATION MANUAL ...