Indirectly Addressing The Dm And Em Areas - Omron CQM1H - PROGRAM Programming Manual

Programmable controllers; inner boards
Table of Contents

Advertisement

Indirectly Addressing the DM and EM Areas

4-8

Indirectly Addressing the DM and EM Areas

Direct Addresses
Indirect Addresses
206
The DM and EM areas can be addressed either directly or indirectly. Indirect
addresses are indicated using an asterisk before the address, e.g., *DM
0000.
When IR 00000 is ON, the constant FFFF is moved to DM 0000.
#FFFF
DM 0000
With indirect addresses, the contents of the address given in the operand is
treated as BCD and used as the final address in the EM or DM area.
When IR 00000 is ON, the constant FFFF is moved to the address
specified in DM 0000, i.e., DM 0123.
DM 0000
DM 0123
Note The contents of a word used as an indirect must be BCD and must not exceed
the addressing range of the DM or EM area. If it is not BCD, a BCD error will
occur. If the DM or EM area is exceeded, an indirect addressing error will
occur. The Error Flag (SR 25503) will turn ON for either of these errors and
the instruction will not be executed.
00000
FFFF
00000
0123
#FFFF
#FFFF
Section 4-8
MOV(21)
#FFFF
DM 0000
MOV(21)
#FFFF
*
DM 0000

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents