![Omron C200H-CT021 Скачать руководство пользователя страница 69](http://html1.mh-extra.com/html/omron/c200h-ct021/c200h-ct021_operation-manual_741966069.webp)
59
DM Area Allocation in Preset Mode
Section 5-3
Word
(input)
Bit
Flag
Function
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
Counter
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 control input IN1 (1: H; 0: L)
03
Control Input IN2
Indicates the status of control input IN2 (1: H; 0: L)
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 while either of the counters is counting.
07
Unit Busy
Set to 1 while data transfer is executed or the IOWR instruction is
processed for the C200HX, C200HG, or C200HE PC or the Unit is
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
Reset
14
Data Transfer Completion Set to 0 from 1 or vice versa when the Unit has completed data
transfer and processing 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 Error Read Flag to 1.
n+7
00 to 15
Error Data
n+8
00 to 15
Currently Effective
Counter Preset Value No.
n+9
00 to 07
Internal/External Outputs
0 to 7
Indicate the status of outputs.
These bit numbers correspond to output numbers. A bit is set to 1
when the corresponding output is turned ON.
These bits are set to 1 regardless of the setting of word n bit 07.
08 to 15
---
Not used.
An error code and error location are output in the following format.
Error code
Error location
Two rightmost DM digits are indicated.
Refer to
11-1 Error Processing
.
The number of the counter preset value in use will be stored within
a range of 00 to 19.
Bits 00 to 07 are for counter 1 and bits 08 to 15 are for counter 2.
Counter 1 (00 to 19)
Counter 2 (00 to 19)
Содержание C200H-CT021
Страница 1: ...C200H CT021 High speed Counter Unit Operation Manual Revised December 2000 ...
Страница 2: ...iv ...
Страница 4: ...vi ...