C60K-CDR-A Omron, C60K-CDR-A Datasheet - Page 51

no-image

C60K-CDR-A

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

Specifications of C60K-CDR-A

Peak Reflow Compatible (260 C)
No
Leaded Process Compatible
No
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
The Ladder Diagram
4-3-7
4-3-8
HR 000
0000
0001
0002
0000
0000
Coding Multiple Right-hand Instructions
Branching Instruction Lines
Branching
Branching
point
point
0003
Diagram B: Needs Correction
Diagram A: OK
0002
0001
0002
If there is more than one right-hand instruction executed with the same exe-
cution condition, they are coded consecutively following the last condition on
the instruction line. In the following example, the last instruction line contains
one more condition that corresponds to an AND.
When an instruction line branches into two or more lines, it is sometimes
necessary to use either interlocks or TR bits to maintain the execution condi-
tion that existed at a branching point. This is because instruction lines are
executed across to a terminal instruction on the right before returning to
branching points to execute instructions on the branch lines. If the execution
condition has changed during this time, the previous execution condition is
lost and proper execution will not be possible without some means of pre-
serving the previous condition. The following diagrams illustrate this. In both
diagrams, instruction 1 is executed before returning to the branching point
and moving on to the branch line leading to instruction 2.
If, as shown in diagram A, the execution condition that existed at the branch-
ing point is not changed before returning to the branch line (instructions at
the far right do not change the execution condition), then the branch line will
be executed correctly and no special programming measure is required.
If, as shown in diagram B, a condition exists between the branching point
and the last instruction on the top instruction line, the execution condition at
the branching point and the execution condition at the end of the top line will
sometimes be different, making it impossible to ensure correct execution of
the branch line. The system remembers only the current execution condition
(i.e., the logical sum for an entire line) and does not remember partial logical
sums at points within a line.
HR 002
Instruction 1
Instruction 2
Instruction 1
Instruction 2
001
0107
0106
HR
Address
Address
0000
0001
0002
0003
0000
0001
0002
0003
0004
Address Instruction
0000
0001
0002
0003
0004
0005
0006
0007
0008
Instruction
Instruction
LD
Instruction 1
AND
Instruction 2
LD
AND
Instruction 1
AND
Instruction 2
LD
OR
OR
OR
AND
OUT
OUT
AND
OUT
HR
HR
HR
Operands
Operands
Operands
Section 4-3
0000
0002
0000
0001
0002
0000
0001
0002
0003
0107
0106
000
001
002
39

Related parts for C60K-CDR-A