![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268282.webp)
243
Timer and Counter Instructions
Section 3-6
Refresh Methods for Timer/Counter PV
■
Overview
In the CS1-H, CS1D, CJ1-H, and CJ1M CPU Units, the PV refresh method
can be set to either BCD or binary for all of the timer/counter-related instruc-
tions. (See notes 1 and 2.)
Using binary data instead of BCD allows the SV range for timers and counter
to be increased from 0 to 9999 to 0 to 65535. It also enables using binary data
calculated with other instructions directly as a timer/counter SV. The refresh
method is valid even 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.)
Refer to
6-4 Changing the Timer/Counter PV Refresh Mode
in the
CS/CJ
Series Programming Manual
(W394) for details on refresh methods.
Note
1.
With CS1-H and CJ1-H CPU Units manufactured prior to 31 May 2002, the
binary instructions will be displayed on the Programming Console with the
mnemonic of the equivalent instruction for BCD operation. (For example,
TIMX0 &16 will be displayed as TIM0 &16.) The instruction, however, will
operate using binary mode.
2.
The refresh method can be selected only with CX-Programmer version 3.0
or later. It cannot be selected with version 2.1 or early, or from a Program-
ming Console.
3.
User programs that use the binary update mode cannot be read with CX-
Programmer version 2.1 or lower. They can be read only by changing to
BCD mode.
■
Applicable Instructions
Note
TIMU(541), TIMUX(556), TMUH(544), and TMUHX(557) are supported by
CJ1-H-R CPU Units only.
Classification
Instruction
Mnemonic
BCD
Binary
Timer/counter
instructions
HUNDRED-MS TIMER
TIM
TIMX(550)
TEN-MS TIMER
TIMH(015)
TIMHX(551)
ONE-MS TIMER
TMHH(540)
TMHHX(552)
TENTH-MS TIMER (See note.)
TIMU(541)
TIMUX(556)
HUNDREDTH-MS TIMER (See note.) TMUH(544)
TMUHX(557)
ACCUMULATIVE TIMER
TTIM(087)
TTIMX(555)
LONG TIMER
TIML(542)
TIMLX(553)
MULTI-OUTPUT TIMER
MTIM(543)
MTIMX(554)
COUNTER
CNT
CNTX(546)
REVERSIBLE COUNTER
CNTR(012)
CNTRX(548)
RESET TIMER/COUNTER
CNR(545)
CNRX(547)
Block
programming
instructions
HUNDRED-MS TIMER WAIT
TIMW(813)
TIMWX(816)
TEN-MS TIMER WAIT
TMHW(815)
TMHWX(817)
COUNTER WAIT
CNTW(814)
CNTWX(818)
Summary of Contents for SYSMAC CS1D-CPU**
Page 3: ...iv...
Page 29: ...xxx...
Page 185: ...146 List of Instructions by Function Code Section 2 4...
Page 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Page 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Page 1391: ...1352 ASCII Code Table Appendix A...