62
DM Area Allocation in Gate, Cumulative Gate, and Sam-
Section 5-4
Word
(input)
Bit
Flag
Function
n+2, n+3 00 to 15
Present Counter 1 Value
n+4, n+5 00 to 15
Present Counter 2 Value
Refer to the information on the above present counter 1 value.
n+6
00
Count-
er 1
Counting
Set to 1 when the counter is counting.
01
Input Z
Indicates the status of input Z (1: H; 0: L)
02
Control Input IN1
Indicates the status of external control input IN1 (1: H; 0: L)
03
Control Input IN2
Indicates the status of external control input IN2 (1: H; 0: L)
04
Counter Overflow
Set to 1 when the count value is not within a range of –8,388,608 to
8,388,607. Reset or restart the counter when this bit is set to 1.
05
---
Not used.
06
Counter Operating
Set to 1 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 the Unit is initialized after restarted.
08
Count-
er 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 to 0 from 1 or vice versa when the Unit has completed process-
ing the IOWR instruction.
15
Error
Set to 1 when an error results. The error code and error location will
be output to word n+7 by setting the READ ERROR Command to 1.
n+7
00 to 15
Error Data
n+8
00 to 15
Counter 1 Sampling Time Indicate the current sampling time for counter 1.
n+9
00 to 15
Counter 2 Sampling Time Indicate the current sampling time for counter 2.
BCD
Stored data range:
−
8,388,608 to 8,388,607
Hexadecimal
Stored data ranges: 800000 to FFFFFF (
−
8,388,608 to
−
1) and
000000 to 7FFFFF (0 to 8,388,607)
Sign
Set to 0.
An error code and error location are output in the following format.
Error code
Error location
Two rightmost DM digits are indicated.
Refer to
SECTION 11 Error Processing and Troubleshooting
.
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 ...