Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 292

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Timer and Counter Instructions
Note
252
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 TIMH(015)/TIMHX(551) is executed.
When an operating TIMH(015)/TIMHX(551) 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 TIMH(015)/TIMHX(551) instruction will not be executed,
but the PV will be refreshed every 10 ms and 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 TIMH(015)/TIMHX(551) 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 a TIMH(015)/TIMHX(551) timer is forced set, its Completion Flag will
be turned ON and its PV will be set to 0000. When a TIMH(015)/TIMHX(551)
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 or the model of CPU Unit.
Refer to Flags for details.
The timer's Completion Flag is refreshed only when TIMH(015)/TIMHX(551)
is executed, 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 overwrite a timer instruction, always reset the Com-
pletion Flag. The timer will not operate properly unless the Completion Flag is
reset.
A TIMH(015)/TIMHX(551) instruction's PV and Completion Flag can be
refreshed in the following ways depending on the timer number that is used.
Timers Created with Timer Numbers 0000 to 0255
Execution of
TIMH(015)/
TIMHX(551)
10-ms interval
refreshing
Timers Created with Timer Numbers 0256 to 2047
Execution of
TIMH(015)/
TIMHX(551)
After executing all
tasks
80-ms interval
refreshing
Timers Created with Timer Numbers 2048 to 4095
Execution of
TIMH(015)/
TIMHX(551)
The Completion Flag is turned ON if the PV is 0000.
The Completion Flag is turned OFF if the PV is not 0000.
The timer's PV is updated every 10 ms.
The PV is updated every time that TIMH(015)/TIMHX(551) is
executed.
The Completion Flag is turned ON if the PV is 0000.
The Completion Flag is turned OFF if the PV is not 0000.
The PV is also updated every cycle at the end of program execu-
tion.
If the cycle time exceeds 80 ms, the timer's PV is updated every
80 ms.
The PV is updated every time that TIMH(015) is executed.
The Completion Flag is turned ON if the PV is 0000.
The Completion Flag is turned OFF if the PV is not 0000.
Section 3-6

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents