Delta D25886 User Manual Page 131

  • Download
  • Add to my manuals
  • Print
  • Page
    / 339
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 130
4. Motion Control Instruction
4-90 DVP-MC operating manual
4.6. Logical Instruction
4.6.1. ADD
API Controller
128
ADD
Addition of 16-bit integer
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 Controller
129
ADD_DI
Addition of 32-bit integer
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
Page view 130
1 2 ... 126 127 128 129 130 131 132 133 134 135 136 ... 338 339

Comments to this Manuals

No comments