14
Word Settings
Section 2-2
IR Bit Allocation
Note
1.
Only 512 words of data can be read or written, 4 words are used for com-
mand data.
2.
At the leading edge of a command signal, the data of word n+1 through
word n+3 is valid.
3.
The unused bits are provided for expansion. Do not use as work bits.
Word
Bit number
Bit name
Function
n
00
Command
execution flag
At the leading edge of the signal, the ID Sensor Unit reads
and executes the command.
01
Error reset flag
While the ID Sensor Unit is waiting for a command, the error
reset flag is turned ON and the error flags in word n+4, bits 08
through 15 are turned OFF.
02 through 15
–
Not used (see note 3).
n+1
(see note 2)
00 through 11
No. of command
data words
Indicates, in Binary Coded Decimal (BCD), the number of
words in the command to be executed. The maximum number
of words is 516 (see note 1).
12 through 15
–
Not used (see note 3).
n+2
(see note 2)
00 through 11
Command data
storage area
beginning word
number
Indicates, in BCD, the beginning word of the command to be
executed (stored in the CPU).
When the DM area exceeds DM 1000, turn ON bit 12.
12 through 15
Command data
storage area
n+3
(see note 2)
00 through 11
Read data receiving
area beginning word
number
The CPU reads the data from the Data Carrier using Read or
Auto Read. Specifies the beginning word of the area (in the
CPU) where the data is stored. The data is ignored when
Write, Auto Write, Clear-all, or Auto Read/Write Abort is
executed.
12 through 15
Read data receiving
area
Specifies the area in the CPU in which the data read from the
Data Carrier (using Read or Auto Read) is stored. Refer to
word n+2, bits 12 through 15, to determine data areas. The
data is ignored when Write, Auto Write, Clear-all or Auto Read
or Auto Read/Write Abort is executed.
Indicates the area where the command to be executed is
stored.
Bit number
15
14
13
12
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
***
1
1
1
1
1
1
Area name
DM area
IR area
HR area
AR area
LR area
TIM/CNT
***When the DM area exceeds DM 1000, turn ON bit 12.
Содержание SYSMAC C200H-IDS01-V1
Страница 1: ...OPERATION MANUAL ID Sensor SYSMAC C200H IDS01 V1 IDS21 Cat No W153 E1 04...
Страница 3: ...iv...
Страница 5: ...vi...
Страница 7: ...viii TABLE OF CONTENTS Glossary 89 Index 91 Revision History 95...
Страница 9: ......
Страница 15: ...xvi Application Precautions 5...
Страница 25: ......
Страница 95: ......
Страница 97: ......
Страница 98: ...83 Appendix C ASCII Code List ASCII Code List Lower digit lower 4 bits Higher digit higher 4 bits...
Страница 99: ......
Страница 103: ......
Страница 109: ......
Страница 111: ......
Страница 114: ...SYSMAC C200H IDS01 V1 IDS21 ID Sensor Cat No W153 E1 04 OPERATION MANUAL...