![background image](http://html1.mh-extra.com/html/omron/c200h-ct021/c200h-ct021_operation-manual_741966112.webp)
105
I/O Signal Timing Chart
Section 9-4
Status Data
(Word n+6)
The status of the High-speed Counter Unit is transferred to the PC.
9-4
I/O Signal Timing Chart
Refer to the following for the relationship between input and output bits in
gate, cumulative gate, and sampling modes.
Gate Mode
Values in parentheses are for counter 2.
1,2,3...
1.
The counter resets the count value and starts counting at the rising edge
of control input IN1.
2.
The counter stops counting at the falling edge of control input IN1 and the
count value is kept on hold until the counter restarts.
Bit
Flag
Function
00
Counter 1 Counting
Set to 1 when the counter is counting.
01
Input Z
Indicates the status of input Z.
02
Control input IN1
Indicates the status of external control input IN1.
External control inputs IN1 and IN2 must be turned ON for a period
longer than the PC’s cycle time so that the PC can properly read the sta-
tus of external control inputs IN1 and IN2.
03
Control input IN2
Indicates the status of external control input IN2.
1: ON
0: OFF
04
Counter overflow
Set to 1 when the count value is not within a range of –8,388,608 and
8,388,607.
Reset the counter with control input IN1 or restart the counter when this
bit is set to 1.
05
---
Not used
06
Counter operating
Set to 1 and the RUN indicator is lit while either of the counters is count-
ing.
07
Unit busy
Set to 1 while the IOWR instruction is processed for the C200HX,
C200HG, or C200HE PC or the Unit is restarted or initialized.
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
---
Not used
14
Data transfer completion
Set from 0 to 1 or vice versa when the Unit has completed processing the
IOWR instruction.
15
Error
Set to 1 when an error results.
External or internal
control input IN1
Word n bit 08 (10)
Present counter value
Word n+2 and n+3
(n+4 and n+5)
Counting
Word n+6 bit 00 (08)
(1)
(2)
(1)
(2)
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 ...