Specifying Operands - Omron CJ - INSTRUCTIONS Reference Manual

Table of Contents

Advertisement

1. Basic Understanding of Instructions

Specifying Operands

Operand
Specifying bit
The word and bit numbers are specified
addresses
directly to specify a bit (input bits).
@@@@.@@
The same addresses are used to access
timer/counter Completion Flags and
Present Values. There is also only one
address for a Task Flag.
Specifying word
The word number is specified directly to
addresses
specify the 16-bit word.
@@@@
Specifying offsets for
In brackets, specify the number of bits to
*1
offset the specified starting bit address.
bit addresses
@@@@.@@ [@@]
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 physical address
or symbol is used. A constant or word
address in I/O memory can be used for the
offset. If a word address is specified, the
contents of the word is used directly as the
offset.
12
Example: EM Area
The address for word E200 in the current bank would be as shown
below.
E200
Word address
Example: EM Area Bank 1
The address for word E200 in bank 1 would be as shown below.
E01_200
Word address
Bank number
Description
Bit number
(00 to 15)
Indicates the word address.
Indicates the word address.
Offset
Constant 0 to 15 or word
address in I/O memory
Starting bit address
Notation
1.02
Bit number (02)
Word number: 1
3
Word number: 3
D200
Word number: 200
10.00[2]
Number of bits to
10.02
offset the address
Starting bit address
10.00[
WO
]
Number of bits to
10.02
offset the address
(W0 = &2)
Starting bit address
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Application
examples
1.02
MOV 3 D200
10.00[2]

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents