Iai-america XSEL-QX Manuel d'utilisateur Page 226

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 558
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 225
202
Part 4 Commands
z OFST (Set offset)
Command, declaration
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command,
declaration
Operand 1 Operand 2
Output
(Output, flag)
Optional Optional OFST
Axis
pattern
Offset
value
CP
[Function] Reset the target value by adding the offset value specified in operand 2 to the original
target value when performing the actuator movement specified in operand 1.
The offset is set in mm, and the effective resolution is 0.001 mm.
A negative offset may be specified as long as the operation range is not exceeded.
(Note) An OFST command cannot be used outside the applicable program. To use OFST in
multiple programs, the command must be executed in each program.
An OFST command cannot be used with MVPI, MVLI, TMLI, and TMPI commands.
[Example 1] OFST 110 50 Add 50 mm to the specified positions of the Y and Z-
axes.
[Example 2] An axis pattern can be indirectly specified using a variable. An example of specifying
the operation in [Example 1] indirectly using a variable is shown below.
110 (binary) o 6 (decimal)
LET 1 6
OFST *1 50
Assign 6 to variable 1.
[Example 3] LET 1 30 Assign 30 to variable 1.
OFST 1000 *1
Add the content of variable 1 (30q) to the specified
position of the R-axis.
Vue de la page 225
1 2 ... 221 222 223 224 225 226 227 228 229 230 231 ... 557 558

Commentaires sur ces manuels

Pas de commentaire