EasyManuals Logo
Home>Omron>Controller>SYSMAC C28K

Omron SYSMAC C28K User Manual

Omron SYSMAC C28K
225 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #123 background imageLoading...
Page #123 background image
112
5-13-2 MOVE NOT – MVN(22)
S
: Source word
IR, SR, DM, HR, TC, #
D : Destination word
IR, DM, HR
Ladder Symbol Operand Data Areas
MVN(22)
S
D
When the execution condition is OFF, MVN(22) is not executed and the next
instruction is moved to. When the execution condition is ON, MOV(21) trans-
fers the inverted content of S (specified word or four-digit hexadecimal con-
stant) to D, i.e., for each ON bit in S, the corresponding bit in D is turned
OFF, and for each OFF bit in S, the corresponding bit in D is turned ON.
Source
word
Destination word
Bit status
inverted.
TC numbers cannot be designated as D to change the PV of the timer or
counter.
EQ: ON when all zeros are transferred to D.
5-14 DATA COMPARE – CMP(20)
This section describes the instruction used for comparing data. CMP(20) is
used to compare the contents of two words.
Cp1
: First compare word
IR, SR, DM, HR, TC, #
Cp2 : Second compare word
IR, SR, DM, HR, TC, #
Ladder Symbols Operand Data Areas
CMP(20)
Cp1
Cp2
When comparing a value to the PV of a timer or counter, the value must be
four-digit BCD.
When the execution condition is OFF, CMP(20) is not executed and the next
instruction is moved to. When the execution condition is ON, CMP(20) com-
pares Cp1 and Cp2 and outputs the result to the GR, EQ, and LE flags in the
SR area.
Placing other instructions between CMP(20) and accessing the EQ, LE, and
GR flags may change the status of these flags. Be sure to access them be-
fore the desired status is changed.
EQ: ON if Cp1 equals Cp2.
LE: ON if Cp1 is less than Cp2.
GR: ON if Cp1 is greater than Cp2.
Description
Precautions
Limitations
Description
Precautions
DATA COMPARE – CMP(20) Section 5-14

Table of Contents

Other manuals for Omron SYSMAC C28K

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC C28K and is the answer not in the manual?

Omron SYSMAC C28K Specifications

General IconGeneral
BrandOmron
ModelSYSMAC C28K
CategoryController
LanguageEnglish

Related product manuals