
4. PMC BASIC INSTRUCTIONS
B–61863E/15
PMC SEQUENCE PROGRAM
130
(1) Format
(Address)
Address number
Bit number
(2) Stacks the intermediate results of a logical operations. Shifts the
stack register left one bit, inverts the status of a signal at a specified
address and sets it in ST0.
(3) Is used when the signal to be specified is contact B (
).
(4) See Fig. 4.1.10 and Table 4.1.10 for an example of using the
RD.NOT.STK instruction.
A B
W1
X1.0
C
X1.1
D
Y15.7
E
Y1.2
G
Y1.3
H
R1.5 X1.6 Y1.7
F
R1.4
Fig. 4.1.10 Ladder diagram
Table 4.1.10 Coding for Fig. 4.1.10
Coding sheet Status of operating result
Step
Number
Instruction
Address
No.
Bit No. Remarks ST2 ST1 ST0
1 RD X1 . 0 A A
2 AND. NOT X1 . 1 B A@B
3 RD.NOT.STK R1 . 4 C A@B C
4 AND. NOT R1 . 5 D A@B C@D
5 OR. STK A@B+C@D
6 RD. STK Y1 . 2 E A@B+C@D E
7 AND Y1 . 3 F A@B+C@D E@F
8 RD.STK X1 . 6 G A@B+C@D E@F G
9 AND. NOT Y1 . 7 H A@B+C@D E@F G@H
10 OR. STK A@B+C@D E@F+G@H
11 AND. STK (A@B+C@D)@(E@F+G@H)
12 WRT Y15 . 7 W1 output (A@B+C@D)@(E@F+G@H)
13
14
4.1.10
RD. NOT. STK