Omron C200H-CT021 Operation Manual page 69

High-speed counter unit
Hide thumbs Also See for C200H-CT021:
Table of Contents

Advertisement

DM Area Allocation in Preset Mode
Word
Bit
(input)
n+4, n+5 00 to 15
n+6
00 Counter
1
01
02
03
04
05
06
07
08 Counter
2
09
10
11
12
13
14
15
n+7
00 to 15
n+8
00 to 15
n+9
00 to 07
08 to 15
Flag
Present Counter 2 Value
Counting
Input Z
Control Input IN1
Control Input IN2
Counter Overflow
Reset
Counter Operating
Unit Busy
Counting
Input Z
Control Input IN1
Control Input IN2
Counter Overflow
Reset
Data Transfer Completion Set to 0 from 1 or vice versa when the Unit has completed data
Error
Error Data
Currently Effective
Counter Preset Value No.
Internal/External Outputs
0 to 7
---
Refer to the information on the above present counter 1 value.
Set to 1 when the counter is counting.
Indicates the status of input Z (1: H; 0: L)
Indicates the status of control input IN1 (1: H; 0: L)
Indicates the status of control input IN2 (1: H; 0: L)
Set to 1 when the count value exceeds 8,388,607. Reset the counter
when this bit is set to 1.
Set to 1 during a scan of the PC after the counter is reset.
Set to 1 while either of the counters is counting.
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.
Refer to the information on the above counter 1
transfer and processing the IOWR instruction.
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.
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.
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.
Not used.
Function
Counter 1 (00 to 19)
Counter 2 (00 to 19)
Section 5-3
59

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents