Chapter 16 PLC Function Applications
│
CFP2000
16-85
API
ESUB
Subtraction of binary floating point numbers
121
D
P
Bit device
Word device
16-bit command
-
-
-
-
32-bit command (13 STEP)
DESUB
Continuous
execution type
DESUBP
Pulse
execution type
Flag signal: none
X
Y M
K
H KnX KnY KnM T
C
D
S1
*
*
*
S2
*
*
*
D
*
Notes on operand usage:
Please refer to the function specifications table for each device in
series for the scope of device usage
S
1
: minuend.
S
2
: subtrahend.
D
: difference.
When the content of the register designated by
S
2
is subtracted from the content
of the register designated by
S
1
, the difference will be stored in the register
designated by
D
; subtraction is performed entirely using binary floating-point
numbers.
If the source operand S
1
or
S
2
designates a constant K or H, the command will
transform that constant into a binary floating point number for use in subtraction.
In the situation when S
1
and
S
2
designate identical register numbers, if a
"continuous execution" command is employed, when conditional contact is On,
the register will perform addition once during each scan. Pulse execution type
commands (DESUBP) are generally used under ordinary circumstances.
When X0=On, a binary floating point number (D1, D0) will be subtracted to a
binary floating point number (D3, D2), and the results stored in (D11, D10).
X0
DESUB
D0
D2
D10
When X2 =On, the binary floating point number (D1, D0) will be subtracted from
K1234 (which has been automatically converted to a binary floating-point
number), and the results stored in (D11, D10).
X2
DESUB
D0
K1234
D10
Содержание CFP2000 Series
Страница 3: ......
Страница 12: ...Chapter 1 Introduction CFP2000 1 3 1 2 Model Name 1 3 Serial Number ...
Страница 15: ...Chapter 1 Introduction CFP2000 1 6 Frame B RFI 1 RFI 1 RFI 1 RFI 2 RFI 2 RFI 2 Figure 1 5 ...
Страница 37: ...Chapter 1 Introduction CFP2000 1 28 1 7 Digital Keypad KPC CC01 ...
Страница 42: ...Chapter 3 Unpacking CFP2000 3 1 Chapter 3 Unpacking 3 1 Unpacking 3 2 The Lifting Hook ...
Страница 54: ...Chapter 4 Wiring CFP2000 4 5 Figure 4 4 ...
Страница 55: ...Chapter 4 Wiring CFP2000 4 6 4 2 1 SINK NPN SOURCE PNP Mode Figure 4 5 Figure 4 6 Figure 4 7 Figure 4 8 ...
Страница 57: ...Chapter 4 Wiring CFP2000 4 8 4 4 Basic Waterproof Component Wiring Diagram Frame A Frame B ...
Страница 58: ...Chapter 4 Wiring CFP2000 4 9 Frame C D0 ...
Страница 75: ...Chapter 5 Main Circuit Terminals CFP2000 5 16 This page intentionally left blank ...
Страница 120: ...Chapter 7 Optional Accessories CFP2000 7 35 Wall Mounting Embedded Mounting ...
Страница 137: ...Chapter 7 Optional Accessories CFP2000 7 52 This page intentionally left blank ...
Страница 141: ...Chapter 8 Option Cards CFP2000 8 4 Communication extension card Slot 1 CMC PD01 CMC DN01 CMC EIP01 EMC COP01 CMC PN01 ...
Страница 144: ...Chapter 8 Option Cards CFP2000 8 7 I O Relay Card EMC D42A EMC D611A EMC R6AA EMC BPS01 EMC A22A ...
Страница 146: ...Chapter 8 Option Cards CFP2000 8 9 I O Relay Card EMC D42A EMC D611A EMC R6AA EMC BPS01 EMC A22A ...
Страница 173: ...Chapter 9 Specifications CFP2000 9 8 9 5 Efficiency Curve Figure 9 5 ...
Страница 245: ...Chapter 11 Summary of Parameter Settings CFP2000 11 36 11 Advanced Parameters Group 11 Advanced Parameters are reserved ...
Страница 251: ...Chapter 11 Summary of Parameter Settings CFP2000 11 42 This page intentionally left blank ...
Страница 304: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 3 3 4 5 ...
Страница 305: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 4 6 7 8 ...
Страница 306: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 5 9 10 11 ...
Страница 307: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 6 12 13 14 ...
Страница 308: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 7 15 16 17 ...
Страница 309: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 8 18 19 20 ...
Страница 310: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 9 21 22 23 ...
Страница 311: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 10 24 25 26 ...
Страница 312: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 11 27 28 29 ...
Страница 313: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 12 30 31 32 ...
Страница 314: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 13 33 34 35 ...
Страница 315: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 14 36 37 38 ...
Страница 326: ...Chapter 12 Description of Parameter Settings CFP2000 12 1 03 25 ...
Страница 415: ...12 Description of Parameter Setting CFP2000 12 1 11 1 11 Advanced Parameters Group 11 Advanced parameters are reserved ...
Страница 449: ...Chapter 12 Description of Parameter Settings CFP2000 12 2 00 6 III PM SVC Carrier Start up Adjustment ...
Страница 451: ...Chapter 12 Description of Parameter Settings CFP2000 12 2 00 8 This page intentionally left blank ...
Страница 545: ...Chapter 14 Fault Codes and Descriptions CFP2000 14 50 This page intentionally left blank ...
Страница 725: ...Chapter 16 PLC Function Applications CFP2000 16 152 Step 3 Physical configuration Step 4 Write to PLC program ...
Страница 726: ...Chapter 16 PLC Function Applications CFP2000 16 153 ...
Страница 728: ...Chapter 16 PLC Function Applications CFP2000 16 155 ...
Страница 731: ...Chapter 16 PLC Function Applications CFP2000 16 158 This page intentionally left blank ...
Страница 747: ...Chapter 17 Introduction to BACnet CFP2000 17 16 This page intentionally left blank ...