![background image](http://html1.mh-extra.com/html/omron/sysmac-c200h/sysmac-c200h_operation-manual_742423101.webp)
88
did not exist. Diagram B from the TR bit and interlock example could be re-
drawn as shown below using a jump. Although 01 has been used as the
jump number, any number between 01 and 99 could be used as long as it
has not already been used in a different part of the program. JUMP and
JUMP END require no other operand and JUMP END never has conditions
on the instruction line leading to it.
Instruction 1
00002
00000
Instruction 2
Diagram B: Corrected with a Jump
00001
JME(05) 01
JMP(04) 01
Address
Instruction
Operands
00000
LD
00000
00001
JMP(04)
01
00002
LD
00001
00003
Instruction 1
00004
LD
00002
00005
Instruction 2
00006
JME(05)
015
This version of diagram B would have a shorter execution time when 00000
was OFF than any of the other versions.
The other type of jump is created with a jump number of 00. As many jumps
as desired can be created using jump number 00 and JUMP instructions us-
ing 00 can be used consecutively without a JUMP END using 00 between
them. It is even possible for all JUMP 00 instructions to move program
execution to the same JUMP END 00, i.e., only one JUMP END 00
instruction is required for all JUMP 00 instruction in the program. When 00 is
used as the jump number for a JUMP instruction, program execution moves
to the instruction following the next JUMP END instruction with a jump num-
ber of 00. Although, as in all jumps, no status is changed and no instructions
are executed between the JUMP 00 and JUMP END 00 instructions, the pro-
gram must search for the next JUMP END 00 instruction, producing a slightly
longer execution time.
Execution of programs containing multiple JUMP 00 instructions for one
JUMP END 00 instruction is similar to that of interlocked sections. The follow-
ing diagram is the same as that used for the interlock example above, except
redrawn with jumps. The execution of this diagram would differ from that of
the diagram described above (e.g., in the previous diagram interlocks would
reset certain parts of the interlocked section, however, jumps do not affect
the status of any bit between the JUMP and JUMP END instructions).
Instruction 1
00000
Instruction 2
00001
JME(05) 00
JMP(04) 00
00004
Instruction 3
Instruction 4
00006
00005
00003
00002
JMP(04) 00
Address
Instruction
Operands
00000
LD
00000
00001
JMP(04)
00
00002
LD
00001
00003
Instruction 1
00004
LD
00002
00005
JMP(04)
00
00006
LD
00003
00007
AND NOT
00004
00008
Instruction 2
00009
LD
00005
00010
Instruction 3
00011
LD
00006
00012
Instruction 4
00013
JME(05)
00
Inputting, Modifying, and Checking the Program
Section 4-6
Содержание 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 ...