148
IR Area
Section 3-2
3-2
IR Area
The functions of the IR area are explained below.
3-2-1
Input and Output Areas
IR area bits are allocated to terminals on I/O Output Units and Dedicated I/O
Units. They reflect the ON/OFF status of input and output signals. Input bits
begin at IR 00000, and output bits begin at IR 10000. With the CQM1H, only
IR 00000 through IR 01515 can be used as input bits and only IR 10000
through IR 11515 can be used as output bits.
Note
Input bits cannot be used in output instructions. Do not use the same output
bit in more than one OUT and/or OUT NOT instruction, or the program will not
execute properly.
3-2-2
Work Areas
The work bits can be used freely within the program. They can only be used
within the program, however, and not for direct external I/O. Work bits are
reset (i.e., turned OFF) when the CQM1H power supply is turned OFF or
when operation begins or stops. The following table shows the parts of the IR
area that have been set aside for use as work areas.
The bits in the ranges shown below have specific functions, but can still be
used as work bits when their specific functions are not being used.
3-2-3
I/O Allocation
I/O words are allocated to I/O Units and Dedicated I/O Units in order from the
left, beginning with IR 001 for inputs and IR 100 for outputs. The CPU Unit’s
16 input points are allocated to IR 000. I/O bits are allocated in one-word
units, even for I/O Units that require only 8 bits.
Note
Input and output bits are not allocated to Inner Boards or Communications
Units.
Words
Bits
IR 016 to IR 089 (74 words)
IR 01600 to IR 08915 (1,184 bits)
IR 116 to IR 189 (74 words)
IR 11600 to IR 18915 (1,184 bits)
IR 216 to IR 219 (4 words)
IR 21600 to IR 21915 (64 bits)
IR 224 to IR 229 (6 words)
IR 22400 to IR 22915 (96 bits)
Range
Function
IR 001 to IR 015
When allocated to Input Units, these bits serve as input bits.
IR 090 to IR 095
When a Controller Link Unit is mounted to the PC, these bits
indicate the status of the Data Link.
IR 096 to IR 099
When the MACRO instruction is used, these bits serve as
operand input bits.
IR 100 to IR 115
When allocated to Output Units, these bits serve as output bits.
IR 190 to IR 195
When a Controller Link Unit is mounted to the PC, these bits
indicate information on errors and nodes in the network.
IR 196 to IR 199
When the MACRO instruction is used, these bits serve as
operand output bits.
IR 200 to IR 215
These bits are used by an Inner Board mounted in slot 1.
IR 220 to IR 223
These bits serve to store the analog settings when an Analog
Setting Board is installed.
IR 230 to IR 231
When high-speed counter 0 is used, these bits are used to store
its present value.
IR 232 to IR 243
These bits are used by an Inner Board mounted in slot 2.
Содержание SYSMAC CQM1H Series
Страница 3: ...iv...
Страница 5: ...vi...
Страница 9: ......
Страница 11: ......
Страница 15: ...xvi...
Страница 87: ...62 Calculating with Signed Binary Data Section 1 7...
Страница 169: ...144 Serial Communications Board Section 2 6...
Страница 537: ......
Страница 565: ......
Страница 569: ......
Страница 573: ......
Страница 577: ......