Delta D25886 User Manual Page 178

  • Download
  • Add to my manuals
  • Print
  • Page
    / 339
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 177
4. Motion Control Instructions
DVP-MC operating manual 4-137
4.6.56. Offset
API
Controller
183
Offset
16-bit integer index register
instruction
10MC11T
Explanation of the instruction:
Offset instruction is used for operation of 16-bit integer index register.
When EN is on, add the In_E value to S register address and the result is the address of source index
register; add the Out_E value to D register address and the result is the address of the destination index
register. The destination index register value changes with the changing source index register value. When S
is linked to the output pin of other instruction with a line, the In_E value is invalid; When D is linked to the
input pin of other instruction with a line, the Out _E value is invalid.
Explanation of input and output parameter of the instruction:
Parameter
name
Explanation
Data
type
Available
device
EN “Offset” is executed as “EN” turns on. BOOL
M,I,Q,
constant
S The start address of source register INT D
In_E Address offset length of source register INT D
Out_E Address offset length of destination register INT D
D The start address of destination register INT D
Example 1:
Program Explanation:
When M0= on, S is D100; In_E=2 and the source index register address is D(100+2)=D102.
When D is D200 and Out_E=3, the destination index register address is D(200+3)=D203 and
meanwhile, the content of D102 is moved to D203.
Page view 177
1 2 ... 173 174 175 176 177 178 179 180 181 182 183 ... 338 339

Comments to this Manuals

No comments