![background image](http://html1.mh-extra.com/html/omron/c200h-ct021/c200h-ct021_operation-manual_741966097.webp)
89
IR Area Settings and Functions
Section 8-3
Counter Preset Value
A maximum of 20 counter preset values (i.e., counter preset values 0 to 19)
can be set within a range of words from m+50 to m+89. Each counter preset
value uses two words. Set any unused counter preset value to 0.
Example: Counter preset value (BCD)
8-3
IR Area Settings and Functions
IR bits can be used to check the I/O data of the High-speed Counter Unit,
such as commands in use and the status data of the Unit.
n = 100 + 10 x Unit number (Unit number 0 to 9)
n = 400 + 10 x (Unit number – 10) (Unit number 10 to 15)
Output data means any data output from the PC to the High-speed Counter
Unit and input data means any data input from the High-speed Counter Unit to
the PC.
Start
(Word n Bits 00 or 01)
These bits are enabled only if start input settings DM m+1 (m+2) are set to 0.
Counter 1 or 2 is in decrement operation at the rising edge of bit 00 or 01
beginning with the counter preset value corresponding to the preset value
number set in word n+1.
Before starting, set in word n+1 the preset value number to be enabled.
The High-speed Counter Unit turns external outputs from 0 to 2 or from 4 to 6
at the external output ON/OFF count values.
If the present counter value reaches 0, the counter stops counting and exter-
nal output 3 or 7 is turned ON for the preset retention time, in which case reset
bit 00 or 01 to 0.
Operating Counter Preset
Value Number
The counter preset values of counters 1 and 2 can be changed to ones desig-
nated by counter preset value numbers (0 to 19), which have been set in
words m+50 to m+89. The numbers 00 to 19 are used. Bits 00 to 07 are for
counter 1 and bits 08 to 15 are for counter 2.
Counter Reset
(Word n Bit 04 or 05)
The count value is reset at the rising edge of bit 04 or 05.
When a counter is reset, the count value will be 0 and the counter turns inter-
nal and external outputs OFF.
Note
The count value can be reset with external control input IN1. Refer to
4-10
Counter Reset Conditions
.
Range: 1 to 8,388,607
The Unit cannot operate with
a counter preset value of 0.
Counter 1
(Operating counter preset value number 00 to 19)
Counter 2
(Operating counter preset value number 00 to 19)
Summary of Contents for C200H-CT021
Page 1: ...C200H CT021 High speed Counter Unit Operation Manual Revised December 2000 ...
Page 2: ...iv ...
Page 4: ...vi ...