Section 3Notation And Layout Of Instruction Descriptions - Omron SYSMAC CS Series Instruction & Reference Manual

Hide thumbs Also See for SYSMAC CS Series:
Table of Contents

Advertisement

Notation and Layout of Instruction Descriptions
Instructions are described in groups by function. Refer to Appendix A List of Instructions by Function Code for a
list of instructions by mnemonic that lists the page number in this section for each instruction.
The description of each instruction is organized as described in the following table.
Item
Instruction
Mnemonic
Variations
Function code
Function
Symbol
Applicable Program Areas
Operands
Operand Specifications
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Indicates the name of the instruction. Example: MOVE BIT
Indicates the mnemonic.
Example: MOVB(082)
Differentiation
@ Instruction that differentiates when the execution condition turns ON.
% Instruction that differentiates when the execution condition turns OFF.
Immediate refreshing
! Refreshes data in the I/O area specified by the operands or the Special I/O Unit words when the
instruction is executed.
!
@
MOV
Instruction (mnemonic)
Differentiation variation
Immediate refresh variation
Indicates the function code.
The basic purpose of the instruction is described after the section heading.
The ladder symbol used to represent the instruction on the CX-Programmer is shown, as in the example
for the MOVE BIT instruction given below. The name of each operand is also provided with the ladder
symbol.
MOVB
S
S: Source word or data
C
C: Control word
D: Destination word
D
The program areas in which the instruction can be used are specified. "OK" indicates the areas in which
the instruction can be used.
Function block
Area
Block program areas
definitions
Usage
OK
OK
Indicates a description of the operand, the data type, and the size.
Where necessary, the meaning of words and bits used in specific operands, such as control words, is
given.
15
8
7
C
m
n
Destination bit: 00 to 0F
(0 to 15 decimal)
The memory areas addresses that can be used each operand are listed in a table like the following one.
The letters used in the column headings on the above are the same as those used in the ladder symbol.
"---" is used to indicate when an area cannot be specific for an operand.
Word addresses
Area
CIO
WR
HR
AR
T
S
C
OK
OK
OK
OK
OK
D
Contents
Step program areas
Subroutines
OK
OK
0
Source bit: 00 to 0F
(0 to 15 decimal)
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
C
DM
EM
@EM
*EM
OK
OK
OK
OK
OK
OK
---
3. Instructions
SFC action or transition
Interrupt tasks
programs
OK
OK
Registers
Flags
Pulse
TR
bits
bits
Indirect
DR
IR
TK
CF
using IR
OK
---
OK
---
---
---
3
---
51

Advertisement

Table of Contents
loading

Table of Contents