Very High-Speed Timer: Tmhh - Omron CPM1 Programming Manual

Hide thumbs Also See for CPM1:
Table of Contents

Advertisement

Flags

7-15-4 VERY HIGH-SPEED TIMER: TMHH(- - - -)

Limitations
Description
Precautions
Flags
ER:
N is not a valid TC number.
C is not 000 or 001.
Ladder Symbol
TMHH(----)
N
SV
000
This instruction is supported by CPM2A/CPM2C PCs only.
Each TC number can be used as the definer in only one TIMER or COUNTER
instruction. TC numbers run from 000 through 255 in the CPM2A/CPM2C PCs.
SV is BCD between 0000 and 9999 (0 to 9.999 s).
Set the third operand to 000. (This operand is ignored.)
TMHH(----) is a decrementing ON-delay timer that times in 1-ms units. The timer
set value can be 0 to 9.999 s and the timer has a accuracy of 1 ms.
A very high-speed timer is activated when its execution condition goes ON and is
reset (to the SV) when the execution condition goes OFF. Once activated,
TMHH(----) times down from the SV in units of 1 ms.
The timer will time out when the PV reaches #0000 (0 ms). Once the timer has
timed out, the PV and Completion Flag status will be maintained. The timer can
be restarted by temporarily turning its execution condition from ON to OFF or
changing its PV to a value other than #0000 with an instruction such as
MOV(21).
The operation of very high-speed timers in jumped program sections depends
upon the TC number used to define the timer, as shown in the following table.
TC number
000 to 003,
The timer will stop when the execution condition for JMP(04) is OFF.
008 to 255
This can greatly reduce the accuracy of timers in jumped program
sections.
004 to 007
If jump number 00 is used, the timer will stop timing when the
execution condition for JMP(04) is OFF. This can greatly reduce the
accuracy of timers in jumped program sections.
If any other jump number is used, the timer will continue timing
normally when the execution condition for JMP(04) is OFF.
Very high-speed timers with timer numbers other than TC 004 through TC 007
may not be accurate when the cycle time exceeds 1 ms. (The cycle time will not
affect very high-speed timers defined with TC 004 through TC 007.)
Very high-speed timers in interlocked program sections are reset (to the SV)
when the execution condition for IL(02) is OFF.
ER:
N is not a valid TC number.
Section
CPM2A/CPM2C ONLY
Operand Data Areas
N: TC number
TC
SV: Set value
IR, SR, AR, DM, HR, LR, #
000
Set to 000.
Operation
7-15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Srm-v2Cpm1aCpm2aSrm1Cpm2c

Table of Contents