Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 47

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

General Instruction Characteristics
Description
When the contents of @D@@@@@ is between
8000 and FFFF (32,768 to 65,535), the corre-
sponding word between E0_00000 and E0_32767
in EM bank 0 is specified.
When the contents of @En@_@@@@@ is between
0000 and 7FFF (00000 to 32,767), the corre-
sponding word between En@_00000 and
En@_32767 is specified.
When the contents of @En@_@@@@@ is between
8000 and FFFF (32,768 to 65,535), the corre-
sponding word between E (@+1) _00000 and E
(@+1) _32767 (in the next EM bank) is specified.
Specifying Indirect DM/EM Addresses in BCD Mode
Method
Indirect DM/EM
When the * prefix is input before a DM
addressing
or EM address, the BCD contents of
(BCD mode)
that word specify another word that is
used as the operand. The contents can
be 0000 to 9999, corresponding to the
desired word address in the DM or EM
Area.
Content
@D00300
Specifies E0_00001.
@E1_00200
@E1_00200
Note When binary mode is selected in the PLC Setup, the DM Area and current EM
bank addresses (bank 0 to C) are treated as consecutive memory addresses.
A word in EM bank 0 will be specified if an indirectly addressed DM word con-
tains a value greater than 32,767. For example, E00000 in bank 0 will be
specified when the indirect-addressing DM word contains a hexadecimal
value of 8000 (32,768).
A word in the next EM bank will be specified if an indirectly addressed EM
word contains a value greater than 32,767. For example, E3_00000 will be
specified when the indirect-addressing EM word in bank 2 contains a hexa-
decimal value of 8000 (32,768).
Description
*D@@@@@
0000 to 9999
(BCD)
D
Example
8 0 0 1
Decimal:
32,769
0 1 0 1
Decimal:
257
Specifies E1_00257.
8 0 0 2
Decimal:
32770
Specifies E2_00002.
Example
*D00200
0 1 0 0
Specifies D00100.
Add the * prefix.
Section 1-1
Instruction example
---
MOV #0001
@E1_00200
Instruction example
MOV #0001 *D00200
7

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents