Chapter 6 FBD Block Diagram Programming
174
AS (ADD-SUB) function block
There is a maximum of 250 AS (Addition and Subtraction) function blocks under FBD mode, and the function is
same as Ladder mode.
Compute formula:
3
2
1
V
V
V
AS
−
+
=
Parameters V1, V2, and V3 can be a constant or other function current value. The output coil will be set to 1 when the
result is overflow.
Example:
AQ01 = AS01 = 100 + A01 - V02
FBD display:
Enable Input
→
Parameter
→
Parameter display:
Stopping
Running
←
AS output value
Preset V1
→
←
Current value V1
Preset V2
→
←
Current value V2
Preset V3
→
←
Current value V3
AS and V1~V3, values range from -32768~32767
PDF compression, OCR, web optimization using a watermarked evaluation copy of CVISION PDFCompressor