165
F22
(+)
16-bit data [S1 + S2
→
D]
Availability
Step
7
All series
6-3. Description of High-level Instructions
Outline
Adds two 16-bit data and stores the result in the specified area.
Program example
■
Operands
■
Explanation of example
• The contents of data registers DT0 and DT1 are added when trigger X0 turns ON. The added result is stored in
word external output relay WY0.
Bit position
DT1
0 0 0 0
0 0 0 0
11
8
0 0 1 0
1 1 0 1
3
0
Addend [S2]: K45
X0: ON
15
•
•
12
•
•
•
•
7
4
•
•
Bit position
WY0
0 0 0 0
0 0 0 0
11
8
1 0 1 0
1 0 0 0
3
0
Result [D]: K168
15
•
•
12
•
•
•
•
7
4
•
•
Bit position
DT0
0 0 0 0
0 0 0 0
11
8
0 1 1 1
1 0 1 1
3
0
Augend [S1]: K123
15
•
•
12
•
•
•
•
7
4
•
•
+
Timer/Counter
EV
Relay
SV
WR
WY
WX
Operand
S1
A
A
A
A
A:
N/A: Not Available
Register
DT
A
IY
IX
A
A
H
K
A
A
Constant
Index
modifier
A
Index
register
Available
A
S2
A
A
A
A
A
A
A
A
A
A
A
N/A A
A
A
A
A
A
N/A N/A
A
A
D
16-bit equivalent constant or 16-bit area (for augend)
16-bit equivalent constant or 16-bit area (for addend)
16-bit area (for result)
Ladder Diagram
Boolean Non-ladder
Address
Instruction
10
X0
F22
+
DT0 , DT1 , WY0
S1
D
Trigger
S2
10
11
ST
X
0
F
22
(+ )
DT
0
DT
1
WY
0
S1
S2
D
Summary of Contents for FP1
Page 1: ...PROGRAMMABLE CONTROLLER FP1 is a global brand name of Matsushita Electric Works Hardware ...
Page 28: ...20 ...
Page 98: ...90 ...
Page 150: ...142 ...
Page 208: ...200 ...
Page 226: ...218 ...
Page 280: ...272 ...