Instructions And Operands - Omron CJ - PROGRAMMING MANUAL 08-2008 Programming Manual

Programmable controllers
Hide thumbs Also See for CJ - PROGRAMMING MANUAL 08-2008:
Table of Contents

Advertisement

Changing the Timer/Counter PV Refresh Mode
6-4-6

Instructions and Operands

Instructions
Instructions and Operands
Timer and Counter Instructions
Instruction
type
Timer and
HUNDRED-MS TIMER
Counter
TEN-MS TIMER
Instructions
ONE-MS TIMER
TENTH-MS TIMER
(CJ1-H-R CPU Units only)
HUNDREDTH-MS TIMER
(CJ1-H-R CPU Units only)
ACCUMULATIVE TIMER (100 ms)
LONG TIMER (100 ms)
MULTI-OUTPUT TIMER (100 ms)
COUNTER
REVERSIBLE COUNTER
RESET TIMER/COUNTER
Block program
TIMER WAIT (100 ms)
instructions
HIGH-SPEED TIMER WAIT (10 ms) TMHW
COUNTER WAIT
HUNDRED-MS TIMER
Instruction name
Mnemonic
S (timer set value)
Setting time (unit: 0.1 s)
TEN-MS TIMER
Instruction name
Mnemonic
S (timer set value)
Setting time (unit: 0.01 s)
ONE-MS TIMER
Instruction name
Mnemonic
S (timer set value)
Setting time (unit: 0.001 s) 0 to 9.999 s
Name
TIM
TIMH
TMHH
TIMU
TMUH
TTIM
TIML
MTIM
CNT
CNTR
CNR
TIMW
CNTW
BCD mode
TIM
#0000 to #9999 (BCD)
0 to 999.9 s
BCD mode
TIMH
#0000 to #9999 (BCD)
0 to 99.99 s
BCD mode
TMHH
#0000 to #9999 (BCD)
Section 6-4
Mnemonic
BCD mode
Binary mode
TIMX
TIMHX
TMHHX
TIMUX
TMUHX
TTIMX
TIMLX
MTIMX
CNTX
CNTRX
CNRX
TIMWX
TMHWX
CNTWX
Binary mode
TIMX
&0 to &65535 (decimal)
or #0000 to #FFFF (hexa-
decimal)
0 to 6,553.5 s
Binary mode
TIMHX
&0 to &65535 (decimal)
or #0000 to #FFFF (hexa-
decimal)
0 to 655.35 s
Binary mode
TMHHX
&0 to &65535 (decimal)
or #0000 to #FFFF (hexa-
decimal)
0 to 65.535 s
317

Advertisement

Table of Contents
loading

Table of Contents