C40K-CDR-A Omron, C40K-CDR-A Datasheet - Page 123
C40K-CDR-A
Manufacturer Part Number
C40K-CDR-A
Description
PROGRAMMABLE CONTROLLER CPU
Manufacturer
Omron
Datasheet
1.C28P-EDR-A.pdf
(225 pages)
Specifications of C40K-CDR-A
Leaded Process Compatible
No
Peak Reflow Compatible (260 C)
No
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
- Current page: 123 of 225
- Download datasheet (2Mb)
DATA COMPARE – CMP(20)
5-13-2
5-14
112
Description
Precautions
Limitations
Description
Precautions
DATA COMPARE – CMP(20)
MOVE NOT – MVN(22)
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.
TC numbers cannot be designated as D to change the PV of the timer or
counter.
EQ:
This section describes the instruction used for comparing data. CMP(20) is
used to compare the contents of two words.
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:
LE:
GR:
Ladder Symbols
Ladder Symbol
ON when all zeros are transferred to D.
ON if Cp1 equals Cp2.
ON if Cp1 is less than Cp2.
ON if Cp1 is greater than Cp2.
Source word
MVN(22)
CMP(20)
Cp1
Cp2
S
D
Bit status
inverted.
Cp2 : Second compare word
Cp1 : First compare word
Operand Data Areas
Operand Data Areas
IR, SR, DM, HR, TC, #
IR, SR, DM, HR, TC, #
IR, SR, DM, HR, TC, #
D : Destination word
S : Source word
Destination word
IR, DM, HR
Section 5-14
Related parts for C40K-CDR-A
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
G6S-2GLow Signal Relay
Manufacturer:
Omron Corporation
Datasheet:
Part Number:
Description:
Compact, Low-cost, SSR Switching 5 to 20 A
Manufacturer:
Omron Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
Omron Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
Omron Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
Omron Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
Omron Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
Omron Corporation
Datasheet:
Part Number:
Description:
Manufacturer:
Omron Corporation
Datasheet: