Delta Electronics DVP10MC11T [156/375] Motion control instruction

Delta Electronics DVP10MC11T [156/375] Motion control instruction
4. Motion Control Instruction
4-112 DVP-MC operating manual
4.6.11. DIV_DI
API
DIV_DI
Division of 32-bit integer
Controller
138
10MC11T
Explanation of the instruction:
DIV_DI is used for division operation of 32-bit integer. As EN is on, divide S1 by S2 and their result value is
saved in D register.
Explanation of input and output parameter of the instruction:
Parameter
name
Explanation
Data
type
Available
device
EN “DIV_DI” instruction is executed as “EN” turns on BOOL M,I,Q, constant
S1 Dividend DINT Constant, D
S2 Divisor (0 is forbidden)
DINT
Constant, D
D Quotient
DINT
D
4.6.12. DIV_R
API
DIV_R
Division of floating number
Controller
139
10MC11T
Explanation of the instruction:
DIV_R is used for division operation of 32-bit floating number. As EN is on, divide S1 by S2 and their result
value is saved in D register.
Explanation of input and output parameter of the instruction:
Parameter
name
Explanation
Data
type
Available
device
EN “DIV_R” instruction is executed as “EN” turns on BOOL M,I,Q, constant
S1 Dividend
REAL
Constant, D
S2 Divisor (0 is forbidden) REAL Constant, D
D Quotient
REAL

Содержание

Скачать