Changing The Timer/Counter Pv Refresh Mode; Overview - Omron SYSMAC CS/CJ Series Programming Manual

Table of Contents

Advertisement

Changing the Timer/Counter PV Refresh Mode

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

Overview

Note
276
Previously, CS1 CPU Units used only BCD for the timer/counter PV refresh
mode. Therefore, all timer/counter settings were input as BCD values. Other
CPU Units (see notes 1 and 2) can use either BCD mode or binary mode to
refresh the present values of timer and counter instructions (see note 3).
When binary mode is used, the previous timer/counter setting time of 0 to
9999 can be expanded to 0 to 65535. Binary data calculated using other
instructions can also be used for the timer/counter set values. The timer/
counter PV refresh mode can also be specified when the timer/counter set
value is specified as an address (indirect specification). (The setting of the
mode as BCD mode or binary mode will determine whether the contents of
the addressed word are taken as a BCD or binary value.)
There are differences in the instruction operands for BCD mode and binary
mode, however, so check and understand the differences between the BCD
and binary modes before changing the timer/counter PV refresh mode.
1. Here, the CPU Units other than CS1 CPU Units are as follows:
• CS1-H CPU Units
• CJ1-H CPU Units
• CJ1M CPU Units
2. When the mnemonic is monitored from the Programming Console for CS1-
H/CJ1-H CPU Units manufactured on or before 31 May 2002 with the tim-
er/counter PV refresh mode set to binary mode, the mnemonic of the bina-
ry is displayed as the mnemonic or the BCD instruction (example: TIMX
#0000 &16 is displayed as TIM #0000 &16), but operations are performed
in binary mode.
3. The PV refresh mode can be selected with CX-Programmer Ver 3.0 only.
Mode selection is not supported by CX-Programmer Ver 2.1 or earlier, or
the Programming Consoles.
4. CX-Programmer Ver. 2.1 or earlier cannot read user programs for the CPU
Unit containing binary-mode instructions, but it can read those set using
BCD-mode instructions.
Section 6-4

Advertisement

Table of Contents
loading

Table of Contents