C40K-CDR-A Omron, C40K-CDR-A Datasheet - Page 43

no-image

C40K-CDR-A

Manufacturer Part Number
C40K-CDR-A
Description
PROGRAMMABLE CONTROLLER CPU
Manufacturer
Omron
Datasheet

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
The Ladder Diagram
OR and OR NOT
Combining AND and OR
Instructions
0000
0200
0001
0002
HR 000
0000
0100
0003
When two or more conditions lie on separate instruction lines running in par-
allel and then joining together, the first condition corresponds to a LOAD or
LOAD NOT instruction; the rest of the conditions correspond to OR or OR
NOT instructions. The following example shows three conditions which corre-
spond in order from the top to a LOAD NOT, an OR NOT, and an OR instruc-
tion.
The instruction at the right would have an ON execution condition when any
one of the three conditions was ON, i.e., when IR 0000 was OFF, when IR
0100 was OFF, or when HR 000 was ON.
OR and OR NOT instructions can also be considered individually, each tak-
ing the logical OR between its execution condition and the status of the OR
instruction’s operand bit. If either one of these were ON, an ON execution
condition would be produced for the next instruction.
When AND and OR instructions are combined in more complicated dia-
grams, they can sometimes be considered individually, with each instruction
performing a logic operation on the execution condition and the status of the
operand bit. The following is one example.
Here, an AND is taken between the status of 0000 and that of 0001 to deter-
mine the execution condition for an OR with the status of 0200. The result of
this operation determines the execution condition for an AND with the status
of 0002, which in turn determines the execution condition for an AND with the
inverse of the status of 0003. In more complicated diagrams, however, it is
necessary to consider logic blocks before an execution condition can be de-
termined for the final instruction, and that’s where AND LOAD and OR LOAD
instructions are used.
Instruction
Instruction
Address
0000
0001
0002
0003
Address
0000
0001
0002
0003
0004
0005
Instruction
LD
OR NOT
OR
Instruction
Instruction
LD
AND
OR
AND
AND NOT
Instruction
HR
Operands
Operands
0000
0100
Section 4-3
000
0000
0001
0200
0002
0003
31

Related parts for C40K-CDR-A