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

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

Advertisement

Timer and Counter Instructions
Flags
Precautions
Name
Error Flag
Equals Flag
Negative Flag
Note In CS1 and CJ1 CPU Units, these are turned OFF.
In CS1-H, CJ1-H, CJ1M, and CS1D CPU Units, these Flags are left
unchanged.
Timer numbers are shared with other timer instructions. If two timers share
the same timer number, but are not used simultaneously, a duplication error
will be generated when the program is checked, but the timers will operate
normally. Timers which share the same timer number will not operate properly
if they are used simultaneously.
Timers created with timer numbers 2048 to 4095 will not operate properly
when the CPU Unit cycle time exceeds 80 ms. Use timer numbers 0000 to
2047 when the cycle time is longer than 80 ms.
The present value of timers programmed with timer numbers 0000 to 2047 will
be updated even when the timer is on standby. The present value of timers
programmed with timer numbers 2048 to 4095 will be held when the timer is
on standby.
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))
Note
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
Label
ER
ON if N is indirectly addressed through an Index Register
but the address in the Index Register is not the address of
a timer Completion Flag or timer PV.
ON if in BCD mode and S does not contain BCD data.
OFF in all other cases.
=
OFF or unchanged (See note.)
N
OFF or unchanged (See note.)
0000
2
0000
BCD: 9999
Binary: FFFF
Reset to SV.
PV continues decre-
menting.
Section 3-6
Operation
PV
Completion Flag
OFF
OFF
OFF
OFF
Retains previous sta-
tus.
247

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents