OFFSETS: Difference between revisions
no edit summary
No edit summary |
No edit summary |
||
Line 1:
Offsets are a bridge between the [[Registers|math]] within teach pendant programs and the [[Motion Instructions|motion instructions]] themselves. With offsets, you can control the destination of a motion instruction depending on sensors, counters, math equations, user inputs, or virtually any variable available on your robot.
==Offset PR[] Syntax==
{| class="wikitable"
Line 41:
<u>Results:</u>
* The robot will move in a linear fashion at 100mm/s to reach the coordinates 100, 121, 0, 0, 0, 94
* The contents of P[1] are unchanged.
▲<small>The speed variable is unchanged.</small>
<u>Reasoning:</u>
Line 57 ⟶ 53:
== When to Use Offset PR[] ==
The [[Motion Instructions#Motion Modification|motion option]] is useful when working on a program requiring repetitive, predictable, or non-arbitrary motion instructions.
<br />
|