Delta Electronics DVP10MC11T [195/375] Mod_di

Delta Electronics DVP10MC11T [195/375] Mod_di
4. Motion Control Instructions
DVP-MC operating manual 4-151
4.6.50. MOD_DI
API
MOD_DI
Get remainder of 32-bit integer
Controller
177
10MC11T
Explanation of the instruction:
MOD_DI is used for getting the remainder of 32-bit integer through division operation.
When EN is on, divide S1 by S2 and the remainder of S1 is stored in D device.
Explanation of input and output parameter of the instruction:
Parameter
name
Explanation
Data
type
Available
device
EN “MOD_DI” is executed as “EN” turns on. BOOL M,I,Q, Constant
S1 Dividend DINT Constant, D
S2 Divisor DINT Constant, D
D Remainder DINT D
Note: Operand S1 and S2 must be the 32-bit integers.
4.6.51. MOD_R
API
MOD_R
Get remainder of floating number
Controller
178
10MC11T
Explanation of the instruction:
MOD_R is used for getting the remainder of floating number through division operation.
When EN is on, divide S1 by S2 and the remainder of S1 is stored in D device.
Explanation of input and output parameter of the instruction:
Parameter
name
Explanation
Data
type
Available
device
EN “MOD_R” is executed as “EN” turns on. BOOL M,I,Q, constant
S1 Dividend REAL Constant, D
S2 Divisor REAL Constant, D
D Remainder REAL D
Note: Operand S1 and S2 must be the floating numbers.

Содержание

Похожие устройства

Скачать