91
IR Area Settings and Functions
Section 8-3
Status Data
(Word n+6)
The status of the High-speed Counter Unit is transferred to the PC.
Operating Counter Preset
Value Number (Word n+8)
This word stores the numbers of counter preset values in use. Bits 00 to 07
are for counter 1 and bits 08 to 15 are for counter 2.
Output Status
(Word n+9)
These bits indicate the status of outputs. Bits 07 to 00 correspond to external
outputs 0 to 7.
These bits are set to 1 regardless of the setting of word n bit 07 for the exter-
nal output enabled function.
Bit
Flag
Function
00
Counter 1
Counting
Set to 1 when the counter is counting.
01
Input Z
Indicates the status of input Z.
Indicates the status of control input IN1.
Indicates the status of control input IN2
1: ON
0: OFF
02
Control input IN1.
03
Control input IN2.
04
Counter overflow
Set to 1 when the count value exceeds 8,388,607.
Reset the counter when this bit is set to 1.
05
Reset
Set to 1 during a scan of the PC after the counter is reset.
06
Counter operating
Set to 1 and the RUN indicator is lit while either of the counters is
counting.
07
Unit busy
Set to 1 while the IOWR instruction is processed for the C200HX,
C200HG, or C200HE PC or while data transfer is being processed. It is
set to 1 while the Unit is being initialized after it is restarted.
08
Counter 2
Counting
Refer to the information on the above counter 1.
09
Input Z
10
Control input IN1.
11
Control input IN2.
12
Counter overflow
13
Reset
14
Data transfer completion
Set from 1 to 0 or vice versa when the data transfer is completed or the
Unit has completed processing the IOWR instruction.
15
Error
Set to 1 when an error results.
Counter 1 (00 to 19)
Counter 2 (00 to 19)
Status of external outputs 7 to 0
(O; OFF; 1: ON)
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 ...