A-1-4 Timer And Counter Instructions - Omron CJ2 - 02-2010 User Manual

Cj2 cpu unit software
Table of Contents

Advertisement

Appendices
A-1-4
Timer and Counter Instructions
Instruction
Mnemonic
HUNDRED-MS
TIM
---
TIMER
(BCD)
TIMX
550
(Binary)
TEN-MS TIMER
TIMH
015
(BCD)
TIMHX
551
(Binary)
ONE-MS
TMHH
540
TIMER
(BCD)
TMHHX
552
(BCD)
A-10
Code
Symbol/Operand
TIM/TIMX(550) operates a decrementing timer with
TIM
units of 0.1-s. The setting range for the set value
N
(SV) is 0 to 999.9 s for BCD and 0 to 6,553.5 s for
binary (decimal or hexadecimal).
S
N: Timer number
Timer input
S: Set value
TIMX(550)
Timer PV
N
S
Completion
Flag
N: Timer number
S: Set value
Timer Input Turned OFF before Completion Flag
Turns ON
Timer input
Timer PV
Completion
Flag
TIMH(015)/TIMHX(551) operates a decrementing
TIMH(015)
timer with units of 10-ms. The setting range for the
N
set value (SV) is 0 to 99.99 s for BCD and 0 to
S
655.35 s for binary (decimal or hexadecimal).
N: Timer number
Timer input
S: Set value
Timer PV
TIMHX(551)
N
S
Completion
Flag
N: Timer number
S: Set value
Timer Input Turned OFF before Completion Flag Turns
ON
Timer input
Timer PV
Completion
Flag
TMHH(540)/TMHHX(552) operates a decrementing timer with
TMHH(540)
units of 1-ms. The setting range for the set value (SV) is 0 to
N
9.999 s for BCD and 0 to 65.535 s for binary (decimal or hexa-
S
decimal).
N: Timer number
The timing charts for TMHH(540) and TMHHX(552) are the
S: Set value
same as those given above for TIMH(015).
Timer input ON
TMHHX(552)
N
S
Timer PV
N: Timer number
Completion
S: Set value
Flag
Timer Input Turned OFF before Completion
Flag Turns ON
Timer input
Timer PV
Completion
Flag
Function
SV
SV
SV
SV
OFF
SV
0
ON
OFF
ON
OFF
SV
0
ON
OFF
CJ2 CPU Unit Software User's Manual
Execution
Location
condition
Output
Required
Output
Required
Output
Required

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents