EasyManuals Logo
Home>Delta Electronics>Controller>DVP15MC11T

Delta Electronics DVP15MC11T User Manual

Delta Electronics DVP15MC11T
601 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
Page #127 background imageLoading...
Page #127 background image
DVP15MC11T Operation Manual
_8
8.8.2 SUB
FB/FC Explanation
Applicable
model
FC
SUB is used for the subtraction operation of two variables or constants.
DVP15MC11T
Parameters
Parameter
name
Meaning
Input/
Output
Description Valid range
In1 Minuend Input Minuend
Depends on the data type of
the variable that the input
parameter is connected to.
In2 Subtrahend Input Subtrahend
Depends on the data type of
the variable that the input
parameter is connected to.
Out Difference Output
The subtraction result of In1
and In2
Depends on the data type of
the variable that the output
parameter is connected to.
Boolean
Bit string Integer
Real
number
Time, date
String
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
In1
In2
Out
Note:
The symbol indicates that the parameter is allowed to connect to the variable or constant of the data type.
Function Explanation
The instruction is used for the subtraction of two or more variables or constants. The result is output
to Out, that is, Out= In1 - In2.
The input parameters In1 and In2 in this instruction are allowed to be the variables of different data
types among bits, integers and real numbers. When In1 and In2 are the variables of different types,
the subtraction operation will be performed based on the data type which can contain valid ranges of
In1 and In2 values. For example, the data type of Out is DINT if the data type of In1 is INT and In2 is
DINT.
SUB
EN ENO
In1 Out
In2
8-56

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Delta Electronics DVP15MC11T and is the answer not in the manual?

Delta Electronics DVP15MC11T Specifications

General IconGeneral
BrandDelta Electronics
ModelDVP15MC11T
CategoryController
LanguageEnglish

Related product manuals