Delta Electronics DVP10MC11T [151/375] Motion control instructions

Delta Electronics DVP10MC11T [151/375] Motion control instructions
4. Motion Control Instructions
DVP-MC operating manual 4-107
4.6. Logic Instruction
4.6.1. ADD
API
ADD
Addition of 16-bit integer
Controller
128
10MC11T
Explanation of the instruction:
ADD is used for addition operation of 16-bit integers. 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” instruction is executed as “EN” is on. BOOL M,I,Q, constant
S1 Augend INT Constant, D
S2 Addend INT Constant, D
D Sum INT D
4.6.2. ADD_DI
API
ADD_DI
Addition of 32-bit integer
Controller
129
10MC11T
Explanation of the instruction:
ADD_DI is used for addition operation of 32-bit integers. 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_DI” instruction is executed as “EN” turns on BOOL M,I,Q, constant
S1 Augend DINT Constant,D
S2 Addend DINT Constant, D
D Sum DINT D

Содержание

Скачать