Notation And Layout Of Instruction Descriptions - Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Notation and Layout of Instruction Descriptions

3-1
Notation and Layout of Instruction Descriptions
Item
Name and Mnemonic
Purpose
Ladder Symbol and Operand
Names
Variations
Variations
Variations
Variations
Immediate
Refreshing
Specification
Applicable Program Areas
86
Instructions are described in groups by function. Refer to Appendix C Alpha-
betical List of Instructions by Mnemonic 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.
The heading of each section consists of the name of the instruction followed by the
mnemonic with the function code in parentheses. Example: MOVE BIT: MOVB(082)
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(082)
S
C
D
The variations that can be used to control execution of the instruction under special
conditions are given using the mnemonic form. Any variation that is not supported by
an instruction is given as "Not supported."
• Executed Each Cycle for ON Condition: The instruction is executed as long as it
receives an ON execution condition.
• Executed Once for Upward Differentiation: The instruction is executed during the
next cycle only after the execution condition changes from OFF to ON.
• Executed Once for Downward Differentiation: The instruction is executed during the
next cycle only after the execution condition changes from ON to OFF.
• Always Executed: The instruction does not require an execution condition and is
executed each cycle.
• Creates ON Condition....: The instruction is executed each cycle to create an execu-
tion condition for the next instruction.
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentia-
tion
Executed Once for Downward Differenti-
ation
Immediate refreshing can be specified for some instructions to refresh I/O when the
instruction is executed. If immediate refreshing is supported, the specification is
given using the mnemonic form. If immediate refreshing is not support by an instruc-
tion "Not supported" is given.
Immediate Refreshing Specification
The program areas in which the instruction can be used are specified. "OK" indicates
the areas in which the instruction can be used.
Block program
Step program
areas
areas
OK
OK
Contents
S: Source word or data
C: Control word
D: Destination word
Not supported.
Subroutines
OK
Section 3-1
MOVB(082)
@MOVB(082)
Not supported
Interrupt tasks
OK

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents