Delta D25886 User Manual Page 133

  • Download
  • Add to my manuals
  • Print
  • Page
    / 339
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 132
4. Motion Control Instruction
4-92 DVP-MC operating manual
4.6.5. SUB_DI
API Controller
132
SUB_DI
Subtraction of 32-bit integer
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 Controller
133
SUB_R
Subtraction of floating number
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
Page view 132
1 2 ... 128 129 130 131 132 133 134 135 136 137 138 ... 338 339

Comments to this Manuals

No comments