Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual page 45

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

General Instruction Characteristics
Specifying Bit Addresses
Description
To specify a bit address, specify the word
address and bit address directly.
@@@@
@@
Bit number
Word address
Note The word address + bit number format is
not used for Timer/Counter Completion
Flags or Task Flags.
Specifying Word Addresses
Description
To specify a word address, specify the word
address directly.
@@@@
Word address
Specifying Indirect DM/EM Addresses in Binary Mode
Description
When the @ prefix is input before a DM or EM
address, the contents of that word specifies
another word that is used as the operand. The
contents can be 0000 to 7FFF (0 to 32,767),
corresponding to the desired word address in the
DM or EM Area.
@D@@@@@
Content
D
When the contents of @D@@@@@ is between
0000 and 7FFF (00000 to 32,767), the corre-
sponding word between D00000 and D32767 is
specified.
6
Note An instruction's operands may also be referred to by their position in the
instruction (first operand, second operand, ...). The codes used for the oper-
and vary with the specific function of the operand.
0001 02
0003
D00200
---
00000 to 32767
(0000 to 7FFF)
@D00300
MOV
First operand
#0000
Second operand
D00000
Example
Bit 02
Word CIO 0001
Example
Word CIO 0003
Word D00200
Example
0 1 0 0
Decimal:
256
Specifies D00256.
Add the @ prefix.
Section 1-1
Instruction example
0001
02
Instruction example
MOV 0003 D00200
Instruction example
---
MOV #0001
@D00300

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SYSMAC CJ - REFERENCE MANUAL 01-2008 and is the answer not in the manual?

Questions and answers

Table of Contents