Delta Electronics DVP10MC11T [153/375] Sub_di

Delta Electronics DVP10MC11T [153/375] Sub_di
4. Motion Control Instructions
DVP-MC operating manual 4-109
4.6.5. SUB_DI
API
SUB_DI
Subtraction of 32-bit integer
Controller
132
10MC11T
Explanation of the instruction:
SUB_DI is used for subtraction operation of 32-bit integers. As EN is on, subtract S2 from S1 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 “SUB_DI” instruction is executed as “EN” turns on BOOL M,I,Q, constant
S1 Minuend DINT Constant, D
S2 Subtrahend DINT Constant, D
D Remainder DINT D
4.6.6. SUB_R
API
SUB_R
Subtraction of floating number
Controller
133
10MC11T
Explanation of the instruction:
SUB_R is used for subtraction operation of 32-bit floating number. As EN is on, subtract S2 from S1 and their
result value is saved in D register.
Explanation of input and output parameter of the instruction
Parameter
name
Explanation
Data
type
Available
evice
EN “SUB_R” instruction is executed as “EN” turns on BOOL M,I,Q, constant
S1 Minuend REAL Constant, D
S2 Subtrahend
REAL
Constant, D
D Remainder
REAL
D

Содержание

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

Скачать