Delta Electronics DVP10MC11T [152/375] Motion control instruction

Delta Electronics DVP10MC11T [152/375] Motion control instruction
4. Motion Control Instruction
4-108 DVP-MC operating manual
4.6.3. ADD_R
API
ADD_R
Addition of floating number
Controller
130
10MC11T
Explanation of the instruction:
ADD_R is used for addition operation of 32-bit floating numbers. As EN is on, add S1 to S2 and their sum
value is saved in D register.
Explanation of input and output parameter of the instruction:
Parameter
name
Explanation
Data
type
Available
device
EN “Add_R” instruction is executed as “EN” turns on BOOL M,I,Q, constant
S1 Augend REAL Constant, D
S2 Addend REAL Constant, D
D Sum REAL D
4.6.4. SUB
API
SUB
Subtraction of 16-bit integer
Controller
131
10MC11T
Explanation of the instruction:
SUB is used for subtraction operation of 16-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” instruction is executed as “EN” turns on BOOL M,I,Q, constant
S1 Minuend INT Constant, D
S2 Subtrahend INT Constant, D
D Remainder INT D

Содержание

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

Скачать