Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 281

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Data Movement Instructions
Description
Flags
Example
3-7-2
MOVE NOT: MVN(022)
Purpose
Ladder Symbol
248
Area
Indirect DM addresses
in binary
Indirect DM addresses
in BCD
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
Transfers S to D. If S is a constant, the value can be used for a data setting.
Source word
MOV(021) has an immediate refreshing variation (!MOV(021)). External input
bits can be specified for S and external output bits can be specified for D.
Input bits used for S will refreshed just before, and output bits used for D will
be refreshed just after execution.
Name
Label
Error Flag
ER
Equals Flag
=
Negative Flag
N
When CIO 0.00 is ON in the following example, the content of CIO 1000 is
copied to D100.
0.00
1000
D100
CIO 1000
Transfers the complement of a word of data to the specified word.
MVN(022)
S
D
S
@ D0 to @ D32767
*D0 to *D32767
#0000 to #FFFF (binary)
DR0 to DR15
---
,IR0 to ,IR15
–2048 to +2047, IR0 to –2048 to +2047, IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –) IR0 to, –(– –) IR15
Bit status not
changed.
Operation
OFF
ON if the data being transferred is 0000.
OFF in all other cases.
ON if the leftmost bit of the data being transferred is 1.
OFF in all other cases.
D100
S: Source
D: Destination
Section 3-7
D
---
Destination word

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents