EasyManuals Logo

Delta DVP-15MC Series User Manual

Delta DVP-15MC Series
972 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 #160 background imageLoading...
Page #160 background image
Chapter 8 Logic Instructions
8-73
8_
FB/FC
Explanation
Applicable model
FC
MOD finds the remainder for division of two integer variables or constants.
DVP15MC11T
DVP15MC11T-06
Parameters
Parameter
name
Meaning
Input/
Output
Description Valid range
In1
Dividend Input Dividend
Depends on the data type of
the variable that the input
parameter is connected to.
In2
Divisor Input Divisor
Depends on the data type of
the variable that the input
parameter is connected to. 0
is excluded.
Out Remainder Output
The remainder got by dividing
In1 by 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 to get the remainder of the division of two integer variables or constants.
The result is output to Out, that is, Out= In1 (In1/ In2)*In2.
The input variable and input variable or the input variable and output variable are allowed to be of
different data types in this instruction. When the data types of input and output variables are
different, the data type of the output variable must include the valid ranges of data types of all input
variables. Otherwise, there will be an error during the compiling of the software. For example, if the
data types of In1 and In2 are INT and DINT respectively, the data type of Out is DINT. There will be
an error during the compiling of the software if the data type of Out is INT. No error will occur during
the compiling of the software if the data type of Out is LINT.
MOD
EN ENO
In1 Out
In2

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Delta DVP-15MC Series and is the answer not in the manual?

Delta DVP-15MC Series Specifications

General IconGeneral
BrandDelta
ModelDVP-15MC Series
CategoryController
LanguageEnglish

Related product manuals