Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 274

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

Flags
Name
Error Flag
Function
• When
the
MTIM(543)/MTIMX(554) is ON and the reset and
timer bits are both OFF, MTIM(543)/MTIMX(554)
increments the PV in D2. If the pause bit is turned
ON, the timer will stop incrementing the PV, but
the
PV
MTIM(543)/MTIMX(554) will resume timing when
the pause bit goes OFF again.
• The PV (content of D2) is compared to the eight
SVs
in
S
MTIM(543)/MTIMX(554) is executed, and if any of
the SVs is less than or equal to the PV, the
corresponding Completion Flag (D1 bits 00
through 07) is turned ON.
• When the PV reaches 9999, the PV will be reset
to 0 and all of the Completion Flags will be turned
OFF. If the reset bit is turned ON while the timer is
operating or paused, the PV will be reset to 0 and
all of the Completion Flags will be turned OFF.
• The set value is 0 to 999.9 s for MTIM(543) and 0
to 6,553.5 s for MTIMX(554), and the timer
accuracy is 0 to 0.01 s.
Note The timer accuracy for CS1D CPU Units is 10 ms +
the cycle time
• The following table shows the operation of MTIM(543)/MTIMX(554) for the four possible
combinations of the reset and pause bits
Reset bit
Pause bit
(Bit 08)
(Bit 09)
OFF
OFF
ON
ON
OFF
ON
• The reset and pause bits are effective only when the execution condition for MTIM(543)/MTIMX(554)
is ON
Hint
• If a word in the CIO area is specified for D1, the SET and RSET instructions can be used to control
the pause and reset bits.
Precautions
• Unlike most timers, MTIM(543)/MTIMX(554) does not use a timer number. (Timer area PV refreshing
is not performed for MTIM(543)/MTIMX(554).)
• When the PV reaches 9999, the PV will be reset to 0 and all of the Completion Flags will be turned
OFF.
• If in BCD mode and an SV in S through S+7 does not contain BCD data, that SV will be ignored. An
error will not occur and the Error Flag will not be turned ON.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Label
ER
• ON if the PV contained in D2 is not BCD, when MTIM(543) is used.
• OFF in all other cases.
execution
condition
will
retain
its
through
S+7
each
time
The PV will be updated and the corresponding Completion Flag will be turned ON
when SV
PV.
The PV will not be updated and MTIM(543)/MTIMX(554) will be treated as NOP(000).
The PV will be reset to 0 and the Completion Flags will be turned OFF. The PV will not
be updated.
Operation
for
Timer PV
Timer SVs
value.
to
that
Timer input
SV 7
SV 2
SV 1
Timer PV (D2)
SV 0
0
Bit 7
Completion
Bit 2
flags (D1)
Bit 1
Bit 0
Operation
3. Instructions
to
to
to
to
0
3
237

Advertisement

Table of Contents
loading

Table of Contents