71
IR Area Settings and Functions
Section 7-3
If the range of upper and lower limits includes 0, the lower limit will be larger
than the upper limit in circular mode. Refer to the following example.
Example: Upper and lower limit ranges in circular mode
No pattern output will be obtained with pulse input frequencies if the upper
and lower limits are too close.
In such a case, extend the range.
Output Pattern
The output pattern will set output bits to 1 when the present counter value is
between upper and lower limits.
The data of internal outputs (bits 15 to 00) will be transferred to IR word n+9.
The data of external outputs (bits 07 to 00) will be output to output points 0 to
7 of the external connector if the external outputs are enabled with IR word n
bit 07 set to 1.
If the count value is within more than one range, the OR of the output patterns
is output.
Note
Any unused range must be set to 0.
The High-speed Counter Unit checks all ranges when the Unit is initialized. An
error will result if any unused range is not set to 0 even if the bit is disabled
with words m+5 and m+6.
The High-speed Counter in circular mode checks the relationship between
each valid range and the corresponding maximum count value. An error will
result if the relationship between a valid range and the corresponding maxi-
mum count value is incorrect.
7-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 the commands in use and the status data of the Unit.
n = 100 + 10 x Unit No. (Unit No. 0 to 9)
n = 400 + 10 x (Unit No. – 10) (Unit No. 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/Stop
(Word n Bit 00)
The High-speed Counter Unit starts counting at the rising edge of this bit and
stops counting at the falling edge of this bit.
If the forced external output function is disabled, the preset counter value and
output pattern in use will be kept on hold. The output pattern of forced exter-
nal outputs 0 to 7 (word n bits 08 to 15) will be output if the external output
function is enabled with word n bit 07 together with the forced external output
function.
Counter Reset
(Word n Bits 04 or 05)
The count value is reset to 0 at the rising edge of this bit.
If counter 1 or 2 not in operation is reset, the count value will be cleared and
the internal and external outputs will be turned OFF.
Note
The count value can be reset with counter input Z or external control input
IN1. Refer to
4-10 Counter Reset Conditions
.
Range N
Range M
Lower limit
Upper limit
Lower limit
Upper limit
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 ...