Programming Commands U511 User’s Manual
5-82 Aerotech, Inc. Version 1.1
SYNTAX:
SLEW h1 v1 h2 v2
SLEW C
h1 v1 h2 v2 Defines 2 horizontal and vertical axis/plane pairs (X, Y, Z,
and U) for the joystick.
C Cancels slew type motion (same as pressing the C button on
the joystick).
EXAMPLES:
SLEW ;No arguments. Slews all axes as defined below:
;X and Y axes are assigned to plane 1 which is enabled
;Z and U axes assigned to plane 2 that also is enabled
;X = joystick plane 1, horizontal joystick movement
;Y = joystick plane 1, vertical joystick movement
;Z = joystick plane 2, horizontal joystick movement
;U = joystick plane 2, vertical joystick movement
SLEW X Y Z 0 ;Slew the selected axes of the enabled contour plane
;The sequence of the axes (X, Y, Z, U, or 0 for blank)
;determines the joystick’s directional relationship:
;X = joystick plane 1, horizontal joystick movement
;Y = joystick plane 1, vertical joystick movement
;Z = joystick plane 2, horizontal joystick movement
;U = joystick plane 2, axis not affected
SLEW 1 2 3 4 ;Slew the selected drives (not axes). The selected drives do
;not need to be within the enabled contour plane. The
;sequence of the drives (1, 2, 3, 4, or blank) determines the
;joystick’s directional relationship
:
SLEW X Y ;Enable axis joystick
WAIT ON ;Wait for previous command to finish
SOFTWARE POSITION X Y
: ;Update absolute and relative position registers with
: ;adjusted machine position, then resume normal operation
Make certain a drive assigned to joystick slew motion has no other motion assigned
to it.
Related commands
WAIT, SOFTWARE POSITION X Y Z U
F
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com