64
4-4-1
Data Allocation
DM Area
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
Function
m
07
−
00
Set to 0.
11
−
08
Operating mode (Here, 4: gate; 5: latch; or 6: sampling)
15
−
12
Set to 0.
m+1
03
−
00
Control origin
0000: External (connector input)
0001: Internal (IR area)
07
−
04
Set to 0.
11
−
08
Gate mode type (gate mode only)
0000: Normal
0001: Cumulative
15
−
12
Set to 0.
m+2
through
m+99
Not used.
IR Area
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
Function
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
n+9
Not used.
Word
Bit
Function
n+4
00
Counting flag.
01
Not used.
02
IN1 flag
03
IN2 flag
04
Not used.
05
Error flag
06
Count overflow flag.
15
−
07
Not used.
n+5
07
−
00
Error location
15
−
08
Error code
Outputs
Inputs
Gate, Latch, and Sampling Modes
Section 4-4
Содержание SYSMAC C200H-CT001-V1
Страница 1: ...Cat No W141 E1 4 High speed Counter Units SYSMAC C200H CT001 V1 CT002 OPERATION MANUAL...
Страница 2: ......
Страница 3: ...C200H CT001 V1 CT002 High speed Counter Units Operation Manual Revised September 2000...
Страница 4: ...iv...
Страница 6: ...vi...
Страница 8: ......
Страница 10: ......
Страница 20: ......
Страница 46: ......
Страница 96: ......
Страница 98: ......