4.13 Examples for the CS152 Joystick Buttons
Right button (b=1) pressed moves Z up at constant velocity (f=2)
BUTTON,1,2
Left button (b=2) pressed moves Z down at constant velocity (f=3)
BUTTON,2,3
Release buttons (b=0) stops Z motor (f=1) (no buttons pressed)
BUTTON,0,1
Left button pressed implements TYA command
BUTTON 1,35,TYA
Left button pressed implements G,100,200,300
BUTTON 1,35,G,100,200,300
Left button press (b=2) toggles XY joystick speed 100%/50%/25%
BUTTON,2,
Pressing 'Fire' (b=3) stops Z motor (f=1)
BUTTON 3,1
© Prior Scientific Instruments Ltd
Version 1.12 June 2017
ProScan® III Manual
Page 63