Timer And Counter Instructions - Omron SYSMAC CP Series Instruction & Reference Manual

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

2 Instructions

Timer and Counter Instructions

Refresh Methods for Timer/Counter PV
Overview
There are two PV refresh methods for instructions related to timer/counters, "BCD" and "BINARY".
Method
BCD
Sets the timer set value in BCD.
Binary
Sets the timer set value in BINARY.
The PLC Setup for all of the timer/counter-related instructions. The refresh method is valid also when
setting an SV indirectly (i.e., using the contents of memory word). (That is, the contents of the
addressed word is taken as either BCD or binary data according to the refresh method that is set.)
Applicable Instructions
Classification
Timer/counter
HUNDRED-MS TIMER
instructions
TEN-MS TIMER
ONE-MS TIMER
ACCUMULATIVE TIMER
LONG TIMER
COUNTER
REVERSIBLE COUNTER
RESET TIMER/COUNTER
Setting method for PV refresh
BCD and binary PV refreshing can both be used in the same project. The setting of the PV refresh
method in the PLC Setup will be ignored.
Basic Timer Specifications
TIM/TIMX
Item
(550)
Timing method
Decrementing
Timing units
100 ms
TIM: 999.9 s
Maximum SV
TIMX: 6,553.5 s
Outputs/instruction
1
Timer numbers
Used
Completion Flag refresh-
When the instruction
ing
is executed
Timer PV refreshing
When the instruction
(See note)
is executed
Completion
OFF
Value after
Flags
reset
PVs
SV
2-60
Description
Instruction
TIMH(015)/
TMHH(540)/
TIMHX(551)
TMHHX(552)
Decrementing
Decrementing
10 ms
1 ms
TIMH: 99.99 s
TMHH: 9.999 s
TIMHX: 655.35 s
TMHHX: 65.535 s
1
1
Used
Used
When the instruction is
When the instruction is
executed
executed
When the instruction is
When the instruction is
executed
executed
OFF
OFF
SV
SV
Setting range
0~9.999
#0000~9999
0~65.535
&0~65535 or #0000~FFFF
Mnemonic
BCD
TIM
TIMH(015)
TMHH(540)
TTIM(087)
TIML(542)
CNT
CNTR(012)
CNR(545)
TTIM(087)/
TTIMX(555)
Incrementing
100 ms
TTIM: 999.9 s
TTIMX: 6,553.5 s
1
Used
When the instruction is
executed
When the instruction is
executed
OFF
0
CP1E CPU Unit Instructions Reference Manual(W483)
Set value
Binary
TIMX(550)
TIMHX(551)
TMHHX(552)
TTIMX(555)
TIMLX(553)
CNTX(546)
CNTRX(548)
CNRX(547)
TIML(542)/
TIMLX(553)
Decrementing
100 ms
TIML:115 days
TIMLX: 49,710 days
1
Not used
When the instruction is
executed
When the instruction is
executed
OFF
SV

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents