Omron CVM1D Operation Manual page 129

Hide thumbs Also See for CVM1D:
Table of Contents

Advertisement

JUMP and JUMP END: JMP(004) and JME(005)
Timer Operation in Jumps
Instruction
TIMER: TIM
HIGH-SPEED TIMER:
TIMH(015)
ACCUMULATIVE TIMER:
TTIM(120)
LONG TIMER: TIML(121) • Timing is disabled when the execution condition for JMP(004) is OFF, even if the timer's
MULTI-OUTPUT TIMER:
MTIM(122)
124
The operation of timers in CVM1D PCs is the same as in C-series, CVM1, and
CV-series PCs, although timer PVs are refreshed differently in jumped program
sections. The following table describes the operation of timers in a jumped pro-
gram section, i.e., when the execution condition for the JMP(004) controlling the
jump is OFF.
CVM1D Operation
• Count decrementing continues while the
timer's execution condition is ON, but the
timer PV is not refreshed.
• When the execution condition for JMP(004)
goes ON, the elapsed time (while the timer
was jumped) is subtracted and count decre-
j
p
)
menting continues.
i
i
• The Timer Completion Flag will not be turned
ON while the timer is jumped, even if the tim-
er times out.
• If the timer has timed out while jumped, the
Completion Flag is turned ON when the exe-
cution condition for JMP(004) goes ON.
• Count incrementing continues while the tim-
er's execution condition is ON, but the timer
PV is not refreshed.
• When the execution condition for JMP(004)
goes ON, the elapsed time (while the timer
was jumped) is added and count increment-
ing continues.
• The Timer Completion Flag will not be turned
ON while the timer is jumped, even if the tim-
er times out.
• If the timer has timed out while jumped, the
Completion Flag is turned ON when the exe-
cution condition for JMP(004) goes ON.
g
execution condition is ON.
The following program example demonstrates the operation of a timer instruc-
tion programmed between JMP(004) and JME(005).
a
b
T000
T000
• The timer PV is refreshed every scan during program execution.
• While the timer is jumped (execution condition of JMP(004) OFF), timing
(decrementing or incrementing) is not started and the timer PV is not refreshed
even if the timer's execution condition (b) is ON.
C/CVM1/CV-series Operation
• Count decrementing continues and the timer
PV is refreshed while the timer's execution
condition is ON.
• The Timer Completion Flag will not be turned
ON while the timer is jumped, even if the tim-
er times out.
• If the timer has timed out while jumped, the
Completion Flag is turned ON when the exe-
cution condition for JMP(004) goes ON.
• Timing is disabled when the execution con-
dition for JMP(004) is OFF, even if the timer's
execution condition is ON.
(
)
,
004
JMP
001
TIM
001
#0100
005
JME
001
Section 5-9
10.0 s
c
d

Advertisement

Table of Contents
loading

Table of Contents