103
IR Area Settings and Functions
Section 9-3
Data Type
(Word m Bits 15 to 12)
These bits are used to set the counter value in BCD or hexadecimal.
Counter Input Type
(Word (m+1) or (m+2)
Bits 03 to 00)
Offset phase pulse inputs must be multiplied by 1, 2 or 4.
Control Mode
(Word (m+1) or (m+2)
Bits 04 to 07)
These bits are used to designate external control inputs IN1 and IN2 or inter-
nal control input IN1 and IN2 as control inputs IN1 and IN2.
Internal control inputs use the following bits.
Word n bits 08 or 10: Internal control input IN1
Word n bits 09 or 11: Internal control input IN2
9-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 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.
Set Time
(Word n Bits 01 or 02)
These bits are used only for sampling mode. The sampling time set in word
n+1 is enabled at the rising edge of bit 01 or 02.
If bit 01 or 02 is turned ON while the High-speed Counter Unit is operating,
the sampling time will be set after the Unit stops counting.
Sampling Time
(Word n+1)
The sampling time can be set in sampling mode only.
To set the two counters to sampling times different to each other, the sampling
times must be set during two I/O refresh cycles of the PC.
Set counter 1 to a sampling time by setting word n bit 01 to 1 and bit 02 to 0
and then set counter 2 by setting word n bit 01 to 0 and bit 02 to 1.
Data Type
(0: BCD; 1: Hexadecimal)
Input types
0: x 1
1: x 2
2: x 4
3: Up and down pulses input
4: Pulse and direction input
Offset phase inputs
Control input (0: External; 1: Internal)
Range: 1 to 9,999 ms
Unit: 1 ms
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 ...