EasyManua.ls Logo

NAiS FP1

Default Icon
280 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
169
Outline Subtracts the 16-bit data from the minuend and stores the result in the
specified area.
Program example
Operands
Explanation of example
• Subtracts the contents of data register DT2 from the contents of data register DT0 when trigger X0 turns ON. The
subtracted result is stored in word external output relay WY1.
Bit position
DT2
0000
0001
11 8
1100
0100
30
Subtrahend [S2]: K452
X0: ON
15
••12 •• ••
74
••
Bit position
WY1
0000
0001
11 8
1011
1001
30
Result [D]: K441
15 ••12 •• ••
74
••
Bit position
DT0
0000
0011
11 8
0111
1101
30
Minuend [S1]: K893
15 ••12 •• ••
74
••
Timer/Counter
EV
Relay
SVWRWYWX
Operand
S1
AAA A
A:
N/A: Not Available
Register
DT
A
IYIX
AA
HK
AA
Constant
Index
modifier
A
Index
register
Available
A
S2
AAA A A A A A A AA
N/A A A A A A A N/A N/A AA
D
F27
()
16-bit data [S1 – S2 D]
Availability
Step
7 All series
6-3. Description of High-level Instructions
16-bit equivalent constant or 16-bit area (for minuend)
16-bit equivalent constant or 16-bit area (for subtrahend)
16-bit area (for result)
Ladder Diagram
Boolean Non-ladder
Address Instruction
10
X0
F27 , DT 0 , DT 2 , WY1
S1
D
Trigger
S2
10
11
ST X 0
F27( )
DT 0
DT 2
WY 1
S1
S2
D

Table of Contents

Related product manuals