Omron CS1G/H-CPUxxH Instructions Manual page 250

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

Advertisement

Timer and Counter Instructions
Flags
Precautions
Reset bit
Pause bit
(Bit 08)
(Bit 09)
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.
If in BCD mode and an SV in S through S+7 does not contain BCD data, that
SV will be ignored. An error won't occur and the Error Flag won't be turned
ON.
Since the Completion Flag for MTIM(543)/MTIMX(554) is in a data area it can
be forced set or forced reset like other bits, but the PV will not change.
When eight or fewer SVs are required, set the word after the last SV to 0000.
MTIM(543)/MTIMX(554) will ignore the SV that is set to 0000 and all of the
remaining SVs.
to
The timer's PV is refreshed only when MTIM(543)/MTIMX(554) is executed,
so the timer will not operate properly when the cycle time exceeds 100 ms
because the timer increments in 100-ms units. To ensure precise timing and
prevent problems caused by long cycle times, input the same MTIM(543)/
MTIMX(554) instruction at several points in the program.
The timer's Completion Flag is refreshed only when MTIM(543)/MTIMX(554)
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.
When MTIM(543)/MTIMX(554) 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
MTIM(543)/MTIMX(554) is programmed between IL(002) and ILC(003).
When an operating MTIM(543)/MTIMX(554) 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
MTIM(543)/MTIMX(554) is programmed between JMP(004) and JME(005).
Be sure that the words specified for the Completion Flags and PV (D1 and
D2) are not used in other instructions. If these words are affected by other
instructions, the timer might not time out properly.
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.
Operation
Operation
ON if the PV contained in D2 is not BCD.
OFF in all other cases.
to
Section 3-6
These SVs
are ignored.
229

Advertisement

Table of Contents
loading

Table of Contents