Omron SYSMAC CS Series Instruction & Reference Manual page 192

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

3. Instructions
• 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.
• 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 0. MTIM(543)/MTIMX(554)
will ignore the SV that is set to 0 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 will not 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.
Example Programming
When CIO 0.00 is ON and the pause bit (CIO 010009) is OFF in the following example, the timer will
start operating when the reset bit (CIO 010009) is turned from ON to OFF. The timer's PV will begin
timing up from 0.
The eight SVs in D200 through D207 are compared to the PV and the corresponding Completion Flags
(CIO 010000 through CIO 010007) are turned on when the SV ≤ PV.
158
to
These SVs
are ignored.
CS/CJ/NSJ Series Instructions Reference Manual (W474)

Advertisement

Table of Contents
loading

Table of Contents