![Omron CJ1G-CPUxx Instructions Manual Download Page 228](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491228.webp)
207
Timer and Counter Instructions
Section 3-6
Note
1.
TIM PVs are refreshed at execution, at the end of program execution each
cycle, or every 80 ms by interrupt if the cycle time exceeds 80 ms.
2.
TIMH(015)/TIMHX(551) PVs are refreshed at execution, at the end of pro-
gram execution each cycle, and every 10 ms by interrupt.
Timer Operation
The following table shows the effects of operating and programming condi-
tions on the operation of the timers.
3-6-1
TIMER: TIM/TIMX(550)
Purpose
TIM or TIMX(550) operates a decrementing timer with units of 0.1-s. The set-
ting range for the set value (SV) is 0 to 999.9 s for TIM and 0 to 6,553.5 s for
TIMX(550). The timer accuracy is 0 to 0.01 s.
Note The timer accuracy for CS1D CPU Units is 10 ms + the cycle time.
Ladder Symbol
Value
after
reset
Comp.
flags
OFF
OFF
OFF
OFF
OFF
OFF
PVs
SV
SV
SV
0
SV
0
Item
TIM/TIMX(550)
TIMH(015)/
TIMHX(551)
TMHH(540)/
TMHHX(552)
TTIM(087)/
TTIMX(555)
TIML(542)/
TIMLX(553)
MTIM(543)/
MTIMX(554)
Item
TIM/
TIMX(550)
TIMH(015)/
TIMHX(551)
TMHH(540)/
TMHHX(552)
TTIM(087)/
TTIMX(555)
TIML(542)/
TIMLX(553)
MTIM(543)/
MTIMX(554)
Operating mode change
PV = 0
Completion Flag = OFF
---
---
Power interrupt/reset
PV = 0
Completion Flag = OFF
---
---
Execution of CNR(545)/
CNRX(547)
Binary: PV = FFFF, Completion Flag = OFF
BCD: PV = FFFF or 9999, Completion Flag = OFF
Not applicable
Not applicable
Operation in jumped pro-
gram section
(JMP(004)-JME(005))
Operating timers continue timing.
Timer status is maintained.
Operation in interlocked
program section
(IL(002)-ILC(003))
PV = SV
Completion Flag = OFF
Timer status
maintained.
PV = SV
Comp. flag =
OFF
Timer status
maintained.
Forced
set
Comp. flags
ON
---
---
PVs
Set to 0.
---
---
Forced
reset
Comp. flags
OFF
---
---
PVs
Reset to SV.
Set to 0.
---
---
PV
refresh
method
Symbol
Operands
BCD
N: 0000 to 4095 (decimal)
S: #0000 to #9999 (BCD)
Binary
N: 00000 to 4095 (decimal)
S: &0 to &65535 (decimal)
#0000 to #FFFF (hex)
N: Timer number
S: Set value
TIM
N
S
N: Timer number
S: Set value
TIMX(550)
N
S
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...