Differentiated And Immediate Refresh Instructions - Omron SYSMAC CV Series Operation Manual

Ladder diagrams
Hide thumbs Also See for SYSMAC CV Series:
Table of Contents

Advertisement

Differentiated and Immediate Refresh Instructions

Binary Indirect Addressing
Index and Data Registers
5-4

Differentiated and Immediate Refresh Instructions

Differentiated Instructions
When indirect DM data is designated as binary, the content of the *D or *E ad-
dress specifies the PC memory address, and thus can have any value between
$0000 and $FFFF, as long as the instruction can be executed with the specified
PC memory address.
When an indirect DM or EM address is specified in binary (hexadecimal), the
designated DM or EM word will contain the PC memory address of the word that
contains the data that will be used as the operand of the instruction. If, for exam-
ple, *E00001 was designated as the first operand of MOV(030), the contents of
E00001 was $0A00, and $0A00 (G000, CPU Bus Link Area) contained 8014, the
value 8014 would be moved to the word specified for the second operand.
(030)
MOV *E00001 D02000
Indirect
address
Index and data registers can also be used to indirectly address memory. Refer to
3-12 Index and Data Registers (IR and DR) for details and examples.
Most instructions are provided in both non-differentiated and differentiate up
forms, and some instructions are also provided with a differentiate down form.
Differentiated instructions are distinguished by an up or down arrow, j or i, just
before the instruction mnemonic.
A non-differentiated instruction is executed each time it is scanned. A differenti-
ate up instruction is executed only once after its execution condition goes from
OFF to ON. If the execution condition has not changed or has changed from ON
to OFF since the last time the instruction was scanned, the instruction will not be
executed.
A differentiate down instruction is executed only once after its execution condi-
tion goes from ON to OFF. If the execution condition has not changed or has
changed from OFF to ON since the last time the instruction was scanned, the
instruction will not be executed.
Note: Do not use A50013 (Always ON Flag), A50014 (Always OFF Flag), or A50015
(First Cycle Flag) to control execution of differentiated instructions. The instruc-
tions will never be executed.
The following examples show how this works with MOV(030) and jMOV(030)
which are used to move the data in the address designated by the first operand
to the address designated by the second operand.
Word
Content
E00000
4C59
E00001
0A00
E00002
F35A
G000
8014
G001
2506
G002
D541
Section 5-4
Indicates
G000 ($0A00).
8014 moved
to D02000.
117

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cv2000Cvm1Cv500Cv1000

Table of Contents