Omron CS1G/H-CPUxxH Instructions Manual page 231

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

Advertisement

Timer and Counter Instructions
Note
210
Timers will be reset or paused in the following cases. (When a timer is reset,
its PV is reset to the SV and its Completion Flag is turned OFF.)
Condition
Operating mode changed from RUN or
MONITOR mode to PROGRAM mode
1
or vice versa.
Power supply interrupted and reset
Execution of CNR(545)/CNRX(547),
the RESET TIMER/COUNTER
3
instructions
Operation in interlocked program sec-
tion
(IL(002)–ILC(003))
Operation in jumped program section
(JMP(004)–JME(005))
1. If the IOM Hold Bit (A50012) has been turned ON, the status of timer Com-
pletion Flags and PVs will be maintained when the operating mode is
changed.
2. If the IOM Hold Bit (A50012) has been turned ON and the status of the IOM
Hold Bit itself is protected in the PLC Setup, the status of timer Completion
Flags and PVs will be maintained even when the power is interrupted.
3. The PV will be set to the SV when TIM/TIMX(550) is executed.
When TIM/TIMX(550) is in a program section between IL(002) and ILC(003)
and the program section is interlocked, the PV will be reset to the SV and the
Completion Flag will be turned OFF.
When an operating TIM/TIMX(550) timer created with a timer number
between 0000 and 2047 is in a jumped program section (JMP(004),
CJMP(510), CJPN(511), JME(005)), the timer's PV will continue timing. (See
note.) The jumped TIM/TIMX(550) instruction won't be executed, but the PV
will be refreshed each cycle after all tasks have been executed.
Note With the CS1D CPU Units, the PV will not be refreshed in the above case.
When a TIM/TIMX(550) timer is forced set, its Completion Flag will be turned
ON and its PV will be set to 0000. When a TIM/TIMX(550) timer is forced
reset, its Completion Flag will be turned OFF and its PV will be reset to the
SV.
The operation of the = Flag and N Flag depends on the model of the CPU
Unit. Refer to Flags, above, for details.
The timer's Completion Flag is refreshed only when TIM/TIMX(550) is exe-
cuted, so a delay of up to one cycle may be required for the Completion Flag
to be turned ON after the timer times out.
If online editing is used to convert a timer to another kind of timer with the
same timer number (such as TIM/TIMX(550) ↔ TIMH(015)/TIMHX(551) or
TIM/TIMX(550) ↔ TMHH(540)/TMHHX(552)), be sure to reset the Comple-
tion Flag. The timer will not operate properly unless the Completion Flag is
reset.
A TIM/TIMX(550) instruction's PV and Completion Flag can be refreshed in
the following ways depending on the timer number that is used.
PV
0000
2
0000
BCD: 9999
Binary: FFFF
Reset to SV.
PV continues decre-
menting.
Section 3-6
Completion Flag
OFF
OFF
OFF
OFF
Retains previous sta-
tus.

Advertisement

Table of Contents
loading

Table of Contents