DVP-15MC Series Motion Controller Operation Manual 
8-70 
 
FC 
DIV is used for the division operation of two variables or constants. 
 
 
  Parameters 
Meaning 
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 
Out  Quotient  Output 
The division result of In1 
andIn2 
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 division of two variables or constants. The result is output to Out, 
that is, Out= In1 / In2. 
  The input parameters In1 and In2 are allowed to be the variables of different data types in this 
instruction. When In1 and In2 are the variables of different data types, the division will be 
performed based on the data type which can contain valid ranges of In1 and In2. For example, the 
data type of Out is DINT if the data type of In1 is INT and In2 is DINT.   
 
 
In1 In2
Result
assignment
Input parameter
Division
Out
Output
parameter