Omron CS1G/H-CPUxxH Instructions Manual page 242

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

Advertisement

Timer and Counter Instructions
Flags
Precautions
Name
Error Flag
Timer numbers are shared by the TIM, TIMX(550), TIMH(015), TIMHX(551),
TMHH(540), TMHHX(552), TTIM(087), TTIMX(555), TIMW(813),
TIMWX(816), TMHW(815), and TMHWX(817) 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 will be reset or paused in the following cases. (When a TTIM(087)/
TTIMX(555) timer is reset, its PV is reset to 0000 and its Completion Flag is
turned OFF.)
Operating mode changed from RUN or
MONITOR mode to PROGRAM mode or
1
vice versa.
Power supply interrupted and reset
Execution of CNR(545)/CNRX(547), the
RESET TIMER/COUNTER instructions
Operation in interlocked program section
(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 TTIM(087)/TTIMX(555) is executed.
When TTIM(087)/TTIMX(555) is in a program section between IL(002) and
ILC(003) and the program section is interlocked, the PV will retain its previous
value (it won't be reset). Be sure to take this fact into account when
TTIM(087)/TTIMX(555) is programmed between IL(002) and ILC(003).
When an operating TTIM(087)/TTIMX(555) timer is in a program section
between JMP(004) and JME(005) and the program section is jumped, the PV
will retain its previous value. Be sure to take this fact into account when
TTIM(087)/TTIMX(555) is programmed between JMP(004) and JME(005).
When a TTIM(087)/TTIMX(555) timer is forced set, its Completion Flag will be
turned ON and its PV will be reset to 0000. When a TTIM(087)/TTIMX(555)
timer is forced reset, its Completion Flag will be turned OFF and its PV will be
reset to 0000. The forced set and forced reset operations take priority over the
status of the timer and reset inputs.
The timer's PV is refreshed only when TTIM(087)/TTIMX(555) is executed, so
the timer will not operate properly when the cycle time exceeds 100 ms
because the timer increments in 100-ms units.
Label
ER
ON if N is indirectly addressed through an Index Register
but the address in the Index Register is not the PV
address of a timer.
ON if in BCD mode and S does not contain BCD data.
OFF in all other cases.
Condition
2
3
Operation
PV
Completion Flag
0000
OFF
0000
OFF
BCD: 9999
OFF
Binary: FFFF
Retains previ-
Retains previous status.
ous status.
Retains previ-
Retains previous status.
ous status.
Section 3-6
221

Advertisement

Table of Contents
loading

Table of Contents