Omron CS1G/H-CPUxxH Instructions Manual page 214

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Sequence Control Instructions
Item
Execution condition for jump
Number allowed
Instruction processing when jumped
Instruction execution time when
jumped
Status of outputs (bits and words)
when jumped
Status of operating timers when
jumped
Processing in block programs
Flags (JMP)
Precautions
Because all of instructions between JMP(004) and JME(005) are skipped
when the execution condition for JMP(004) is OFF, the cycle time is reduced
by the total execution time of the skipped instructions. In contrast, NOP(000)
processing is performed for instructions between JMP0(515) and JME0(516),
so the cycle time is not reduced as much with those jump instructions.
The following table compares the various jump instructions.
JMP(004)
JME(005)
OFF
ON
1,024 total
Not executed.
None
Bits and words maintain their previous status.
Operating timers continue timing.
Always jump.
Jump when ON.
Name
Label
Error Flag
ER
All of the outputs (bits and words) in jumped instructions retain their previous
status. Operating timers (TIM, TIMX(550), TIMH(015), TIMHX(551),
TMHH(540), and TMHHX(552)) continue timing because the PVs are updated
even when the timer instruction isn't being executed.
When there are two or more JME(005) instructions with the same jump num-
ber, only the instruction with the lower address will be valid. The JME(005)
with the higher program address will be ignored.
When JME(005) precedes JMP(004) in the program, the instructions between
JME(005) and JMP(004) will be executed repeatedly as long as the execution
condition for JMP(004) is OFF. A Cycle Time Too Long error will occur if the
execution condition isn't turned ON or END(001) isn't executed within the
maximum cycle time.
CJP(510)
CJPN(511)
JME(005)
JME(005)
OFF
Jump when OFF.
Operation
ON if N isn't within the specified range of 0000 to 03FF.
ON if there is a JMP(004) in the program without a
JME(005) with the same jump number.
ON if there is a JMP(004) in the task without a JME(005)
with the same jump number in the task.
OFF in all other cases.
Program section A is executed
repeatedly as long as execu
tion condition a is OFF.
Section 3-5
JMP0(515)
JME0(516)
OFF
No limit
NOP(000) processing
Same as NOP(000)
instructions
Not allowed.
193

Advertisement

Table of Contents
loading

Table of Contents