EasyManuals Logo

Omron CJ2 CPU UNIT SOFTWARE User Manual

Omron CJ2 CPU UNIT SOFTWARE
670 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #163 background imageLoading...
Page #163 background image
5-71
5 Understanding Programming
CJ2 CPU Unit Software User’s Manual
5-6 Instructions
5
5-6-2 Specifying Operands
Specifying Operands
Operand Description Notation Application examples
Specifying bit
addresses
The word and bit numbers are specified
directly to specify a bit (input bits).
*1
Specifying word
addresses
The word number is specified directly to
specify the 16-bit word.
MOV 3 D200
Specifying offsets for bit
addresses
In brackets, specify the number of bits
to offset the specified starting bit
address.
A symbol can also be specified for the
starting bit address. Only Holding,
Work, DM, and EM Area addresses can
be used regardless of whether a physi-
cal address or symbol is used.
A constant or word address in I/O mem-
ory can be used for the offset. If a word
address is specified, the contents of the
word is used directly as the offset.
Specifying offsets for
word addresses
In brackets, specify the number of bits
to offset the specified starting bit
address.
A symbol can also be specified for the
starting word address. Only Holding,
Work, DM, and EM Area addresses can
be used regardless of whether a physi-
cal address or symbol is used.
A constant or word address in I/O mem-
ory can be used for the offset. If a word
address is specified, the contents of the
word is used directly as the offset.
MOV 3 D0[200]
*1 The same addresses are used to access timer/counter Completion Flags and Present Val-
ues. There is also only one address for a Task Flag.
@@@@
.
@@
Indicates the word address.
Bit number
(00 to 15)
1.02
Bit number (02)
Word number: 1
1.02
@@@@
Indicates the word address.
3
D200
Word number: 200
Word number: 3
@@@@
.
@@
[
@@
]
Offset
Constant 0 to 15 or word
address in I/O memory
Starting bit address
10.00[2]
10.02
10.00[ ]
10.02
WO
Number of bits to
offset the address
Number of bits to
offset the address
(W0 = &2)
Starting bit address
Starting bit address
10.00[2]
@@@@
.
@@
[
@@
]
Offset
Constant 0 to 15 or word
address in I/O memory
Starting word address
D0[2]
D2
D0[ ]
D2
WO
Number of words to
offset address
Number of words to
offset address
(W0 = &2)
Starting word address
Starting word address

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ2 CPU UNIT SOFTWARE and is the answer not in the manual?

Omron CJ2 CPU UNIT SOFTWARE Specifications

General IconGeneral
BrandOmron
ModelCJ2 CPU UNIT SOFTWARE
CategorySoftware
LanguageEnglish

Related product manuals