CS1D-IC102D Omron, CS1D-IC102D Datasheet - Page 347
![no-image](/images/manufacturer_photos/0/4/494/omron_sml.jpg)
CS1D-IC102D
Manufacturer Part Number
CS1D-IC102D
Description
CS1D Dual IO Control Unit
Manufacturer
Omron
Datasheet
1.CS1D-SP002.pdf
(638 pages)
Specifications of CS1D-IC102D
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
- Current page: 347 of 638
- Download datasheet (12Mb)
Example
312
Index Registers
Indirect addressing
Indirect addressing
with constant offset
Indirect addressing
with DR offset
Indirect addressing
with auto-increment
Indirect addressing
with auto-decrement
Variation
The content of IR@ is treated as
the PLC memory address of a bit
or word.
The constant prefix is added to the
content of IR@ and the result is
treated as the PLC memory
address of a bit or word.
The constant may be any integer
from –2,048 to 2,047.
The content of the Data Register
is added to the content of IR@ and
the result is treated as the PLC
memory address of a bit or word.
After referencing the content of
IR@ as the PLC memory address
of a bit or word, the content is
incremented by 1 or 2.
The content of IR@ is decre-
mented by 1 or 2 and the result is
treated as the PLC memory
address of a bit or word.
Note It is possible to specify regions outside of I/O memory and generate an Illegal
Function
With the offset and increment/decrement variations, the Index Registers can
be set to base values with MOVR(560) or MOVRW(561) and then modified as
pointers in each instruction.
Access Error when indirectly addressing memory with Index Registers. Refer
to Appendix E Memory Map for details on the limits of PLC memory
addresses.
The following table shows the variations available when indirectly addressing
I/O memory with Index Registers. (IR@ represents an Index Register from IR0
to IR15.)
This example shows how to store the PLC memory address of a word
(CIO 0002) in an Index Register (IR0), use the Index Register in an instruc-
tion, and use the auto-increment variation.
• In addition to basic indirect addressing, the PLC memory address in an
Index Register can be offset with a constant or Data Register, auto-incre-
mented, or auto-decremented. These functions can be used in loops to
read or write data while incrementing or decrementing the address by one
each time that the instruction is executed.
MOVR(560)
Set to a base value
with MOVR(560) or
MOVRW(561).
0002
,IR@
Constant ,IR@
(Include a + or –
in the constant.)
DR@,IR@
Increment by 1:
,IR@+
Increment by 2:
,IR@++
Decrement by 1:
,–IR@
Decrement by 2:
,– –IR@
Syntax
IR0
Pointer
LD ,IR0
LD +5,IR0
LD
DR0,IR0
LD , IR0++
LD , – –IR0 Decrements the content of
Stores the PLC memory address of
CIO 0002 in IR0.
I/O Memory
Loads the bit at the PLC
memory address contained
in IR0.
Adds 5 to the contents of IR0
and loads the bit at that PLC
memory address.
Adds the contents of DR0 to
the contents of IR0 and
loads the bit at that PLC
memory address.
Loads the bit at the PLC
memory address contained
in IR0 and then increments
the content of IR0 by 2.
IR0 by 2 and then loads the
bit at that PLC memory
address.
Example
Section 8-17
Related parts for CS1D-IC102D
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![CS1D-II102D](/images/manufacturer_photos/0/4/494/omron_tmb.jpg)
Part Number:
Description:
CS1D Dual IO Interface Unit
Manufacturer:
Omron
Datasheet:
![CS1D-BC042D](/images/manufacturer_photos/0/4/494/omron_tmb.jpg)
Part Number:
Description:
CS1D Dual CPU Exp
Manufacturer:
Omron
Datasheet:
![CS1D-BI082D](/images/manufacturer_photos/0/4/494/omron_tmb.jpg)
Part Number:
Description:
CS1D Dual Exp Rack
Manufacturer:
Omron
Datasheet:
![CS1D-DPL02D](/images/manufacturer_photos/0/4/494/omron_tmb.jpg)
Part Number:
Description:
CS1D Dual IO Exp
Manufacturer:
Omron
Datasheet:
![G6S-2G](/images/no-image3.png)
Part Number:
Description:
G6S-2GLow Signal Relay
Manufacturer:
Omron Corporation
Datasheet:
![G3NE-220T](/images/no-image3.png)
Part Number:
Description:
Compact, Low-cost, SSR Switching 5 to 20 A
Manufacturer:
Omron Corporation
Datasheet:
![G6K-2G-Y](/images/no-image3.png)
Part Number:
Description:
Manufacturer:
Omron Corporation
Datasheet:
![G4A-1A-E](/images/no-image3.png)
Part Number:
Description:
Manufacturer:
Omron Corporation
Datasheet:
![G5NB-1A-E](/images/no-image3.png)
Part Number:
Description:
Manufacturer:
Omron Corporation
Datasheet: