32
Circular Mode
Section 4-4
If the present counter value is 600, outputs 7, 6, and 5 will be turned ON
because the present counter value is within ranges 1 and 2, in which case the
OR of the outputs will be turned ON.
If the present counter value is 4,500, outputs 3, 2, and 1 will be turned ON
because the present counter value is within ranges 0 and 3.
In the case the ranges of counters 1 and 2 are different from each other, if the
present counter value is within a range of counter 1 or 2, the OR of outputs
corresponding to the range will be turned ON.
4-4-1
Configuration of Range
Note
The configuration of the range of the High-speed Counter Unit in circular
mode is briefly described below to explain the functions of the High-speed
Counter Unit. Besides the settings described in this section, a variety of set-
tings, such as operating mode, input type, and counter reset condition set-
tings, are required. Refer to
5-2 DM Area Allocation in Linear and Circular
Modes
for data area allocation in detail.
Circular mode requires settings for the maximum count value of the High-
speed Counter Unit. Except for the maximum count value, the configuration of
the High-speed Counter Unit in circular mode is the same as that of the High-
speed Counter Unit in linear mode.
The lower and upper limits use two words each and the output pattern uses
one word. Up to 16 ranges are available.
Maximum Count Value
The maximum count value can be set to 1 to 65,535.
BCD
Set value: 1 to 65,535
Hexadecimal
Set value: 0001 to FFFF
The above is an example of the maximum count value of counter 1.
Counter 2 uses words m+10 and m+9.
Note
If the maximum count value is changed with the IOWR instruction, reset the
count value to 0, otherwise the count value will not be reset to 0 after the
count value reaches the new maximum count value.
Set to 0.
Set to 0.
Содержание C200H-CT021
Страница 1: ...C200H CT021 High speed Counter Unit Operation Manual Revised December 2000 ...
Страница 2: ...iv ...
Страница 4: ...vi ...