EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 305

Omron CP - PROGRAMMING MANUAL 05-2007
1175 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
272
Data Movement Instructions Section 3-7
Flags
Precautions MOVR(560) cannot set the PLC memory addresses of timer/counter PVs.
Use MOVRW(561) to set the PLC memory addresses of timer/counter PVs.
The contents of an index register in an interrupt task is not predictable until it
is set. Be sure to set a register using MOVR(560) in an interrupt task before
using the register.
Any changes to the contents of an IR or DR made in an interrupt task will not
affect the contents of the register in a cyclic task.
Example When CIO 0.00 is ON in the following example, MOVR(560) writes the PLC
memory address of CIO 200 to IR0.
3-7-15 MOVE TIMER/COUNTER PV TO REGISTER: MOVRW(561)
Purpose Sets the PLC memory address of the specified timer or counter’s PV in the
specified Index Register. (Use MOVR(560) to set the PLC memory address of
a word, bit, or timer/counter Completion Flag in an Index Register.)
Ladder Symbol
Variations
Applicable Program Areas
Operands D: Destination
The destination must be an Index Register (IR0 to IR15).
Operand Specifications
Name Label Operation
Error Flag ER OFF or unchanged
Equals Flag = OFF or unchanged
Negative Flag N OFF or unchanged
S: 200
D: IR0
1
4
14
0.00
200
Internal I/O memory address
Internal I/O memory
address of CIO 200
S
D
MOVRW(561)
S: Source (desired TC number)
D: Destination (Index Register)
Variations Executed Each Cycle for ON Condition MOVR(561)
Executed Once for Upward Differentiation @MOVR(561)
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification Not supported
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK
Area S D
CIO Area ---
Work Area ---
Holding Bit Area ---

Table of Contents

Related product manuals