![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268046.webp)
7
General Instruction Characteristics
Section 1-1
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).
Specifying Indirect DM/EM Addresses in BCD Mode
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.
MOV #0001
@E1_00200
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.
Description
Example
Instruction example
@D00300
8 0 0 1
32,769
Decimal:
Specifies E0_00001.
@E1_00200
0 1 0 1
257
Decimal:
Specifies E1_00257.
@E1_00200
8 0 0 2
32770
Decimal:
Specifies E2_00002.
Method
Description
Example
Instruction example
Indirect DM/EM
addressing
(BCD mode)
MOV #0001
*
D00200
*
D
@@@@@
D
(BCD)
Content
0000 to 9999
When the
*
prefix is input before a DM
or EM address, the BCD contents of
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.
*
D00200
0 1 0 0
Specifies D00100.
Add the
*
prefix.
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...