38
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
00
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
00
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
START command
TRANSFER DATA command
ENABLE OUTPUT command
Not used.
CHANGE RANGES command
READ ERROR command
RESET COUNTER command
ENABLE FORCED OUTPUT command
Output #0 force bit
Output #1 force bit
Output #2 force bit
Output #3 force bit
Output #4 force bit
Output #5 force bit
Output #6 force bit
Output #7 force bit
Range #0 enable bit
Range #1 enable bit
Range #2 enable bit
Range #3 enable bit
Range #4 enable bit
Range #5 enable bit
Range #6 enable bit
Range #7 enable bit
Range #8 enable bit
Range #9 enable bit
Range #10 enable bit
Range #11 enable bit
Range #12 enable bit
Range #13 enable bit
Range #14 enable bit
Range #15 enable bit
n+2
15
−
00
n+3
03
−
00
07
−
04
15
−
08
TRANSFER DATA beginning word
number, 4 digits
TRANSFER DATA data area, 0 to 4
Not used. (Set to 0.)
Number of transfers, 1 to 3
n
n+1
Word
Bit
Function
00
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
00
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
n+8
n+9
00
01
02
03
04
05
06
07
08
n+4
Counting flag
Z flag
IN1 flag
IN2 flag
Transfer completed flag
Error flag
Count overflow flag
Reset flag
Not used
Error location
Error code
Current counter value, 7 digits with sign
(–8,388,608 to +8,388,607)
Range #0 flag
Range #1 flag
Range #2 flag
Range #3 flag
Range #4 flag
Range #5 flag
Range #6 flag
Range #7 flag
Range #8 flag
Range #9 flag
Range #10 flag
Range #11 flag
Range #12 flag
Range #13 flag
Range #14 flag
Range #15 flag
Output #0 flag (external output possible)
Output #1 flag (external output possible)
Output #2 flag (external output possible)
Output #3 flag (external output possible)
Output #4 flag (external output possible)
Output #5 flag (external output possible)
Output #6 flag (external output possible)
Output #7 flag (external output possible)
Output #8 flag (internal output only)
15
−
08
07
−
00
15
−
00
15
−
00
n+5
n+6
n+7
Outputs
Inputs
Output #9 flag (internal output only)
Output #10 flag (internal output only)
Output #11 flag (internal output only)
Output #12 flag (internal output only)
Output #13 flag (internal output only)
Output #14 flag (internal output only)
Output #15 flag (internal output only)
Linear and Circular Modes
Section 4-2
Содержание 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: ......