149
○
○
○
○
○
○
○
○
○
○
○ ○ ○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
○
20
21
22
23
24
25
29
26
27
28
○ ○○
○ ○○
○ ○○
D A D D P
S1
S2
D
D S U B P
S1
S2
D
D M U L P
S1
S2
D
D D V
I
P
S1
S2
D
D
I
N C P
D
D D E C P
D
D N E G P
D
D PW A N D
S1
S2
D
D W O R P
S1
S2
D
D W X O R P
S1
S2
D
Mnemonic in Ladder Diagram
Function Description
Applicable VS
1
2
M
3
FNC
No.
6-4 Arithmetic and Logical Operation Instructions
Addition (S1)+(S2) → (D)
Subtraction (S1) – (S2) → (D)
Multiplication (S1)×(S2) → (D+1,D)
Division (S1)÷(S2) → (D),(D+1)
Increment (D)+1 → (D)
Decrement (D) – 1 → (D)
Logic Word OR (S1)ˇ(S2) → (D)
Logic Word AND (S1) (S2) → (D)
ˇ
Logic Word Exclusive OR
(S1)ˇ(S2) → (D)
Negation (D)+1 → (D)