Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 312

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Timer and Counter Instructions
Flags
Precautions
The PV (content of D2) is compared to the eight SVs in S through S+7 each
time that 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 0000 and all of the Com-
pletion 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 0000 and all of the Completion
Flags will be turned OFF.
to
Timer input
Timer PV (D2)
Completion
flags (D1)
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
The PV will be updated and the corresponding Completion
Flag will be turned ON when SV
ON
The PV will not be updated and MTIM(543)/MTIMX(554)
will be treated as NOP(000).
ON
OFF
The PV will be reset to 0000 and the Completion Flags will
be turned OFF. The PV will not be updated.
ON
The reset and pause bits are effective only when the execution condition for
MTIM(543)/MTIMX(554) is ON.
Name
Label
Error Flag
ER
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 0000 and all of the Com-
pletion Flags will be turned OFF.
Timer PV
Timer SVs
SV 7
SV 2
SV 1
SV 0
0
Bit 7
Bit 2
Bit 1
Bit 0
Operation
Operation
ON if the PV contained in D2 is not BCD.
OFF in all other cases.
Section 3-6
0
to
PV.
273

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents