Data Allocation - Omron SYSMAC C200H-CT001-V1 Operation Manual

High-speed counter units
Hide thumbs Also See for SYSMAC C200H-CT001-V1:
Table of Contents

Advertisement

Gate, Latch, and Sampling Modes
4-4-1

Data Allocation

DM Area
IR Area
Outputs
Inputs
64
The DM area contains the user-input parameters that are to be set into the
Counter Unit. The first DM word for each Counter Unit is indicated by m and
equals 1,000 plus 100 times the unit number.
Word
Bit
m
Set to 0.
07
00
Operating mode (Here, 4: gate; 5: latch; or 6: sampling)
11
08
Set to 0.
15
12
m+1
Control origin
03
00
0000: External (connector input)
0001: Internal (IR area)
Set to 0.
07
04
Gate mode type (gate mode only)
11
08
0000: Normal
0001: Cumulative
Set to 0.
15
12
m+2
Not used.
through
m+99
The IR area contains commands and status information. Inputs and outputs
are given in reference to the PC, i.e., output data is sent from the PC to the
Counter Unit; input data, from the Counter Unit to the PC. The first IR word
for each Counter Unit is indicated by n and equals 100 plus 10 times the unit
number.
Word
Bit
n
00
Not used.
01
SET TIME command (sampling mode only)
02
Not used.
03
Internal IN1
04
Internal IN2.
05
READ ERROR command
15–06
Not used.
n+1
15–00
Sampling time, 4 digits in ms (sampling mode only)
n+2
Not used.
n+9
Word
Bit
n+4
00
Counting flag.
01
Not used.
02
IN1 flag
03
IN2 flag
04
Not used.
05
Error flag
06
Count overflow flag.
Not used.
15
07
n+5
Error location
07
00
Error code
15
08
Section 4-4
Function
Function
Function

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c200h-ct002-v1

Table of Contents