T-Series/Installation/T-JOY

From ZaberWiki
Jump to navigation Jump to search

Installation

During normal operation, the T-JOY joystick does not need to be connected to a computer, however, it must be connected to a computer initially in order to change its settings (for example to change button functions from the defaults or to change what additional devices will be controlled by each axis of the joystick). Devices that will be used with the joystick must also be connected so that the computer may issue a renumber instruction which assigns all connected devices a unique device number. This is necessary so that the T-JOY can direct instructions to the appropriate device to control the correct axis of motion.

To connect the device properly please carefully follow the steps illustrated below:


STEP 1 1. Either plug the Mini-DIN to D-Sub serial adaptor (T-DSUB9) into your computer’s serial port, or the Mini-DIN to USB adapter (T-USBDC) into one of your computer's USB ports, then plug the device’s data cable into the adaptor. For the USB adaptor, new computers will often be able to install the necessary drivers automatically when the cable is plugged in for the first time. If the computer reports that the driver installation was unsuccessful, you can download the drivers for Windows, Mac, or Linux here. Installation instructions and troubleshooting information are available for each operation system here. You may need to use a cable extension to reach your computer. There is no need to power-down or reboot the computer.
STEP 2&3 2. Connect the T-Series devices that you will be using with the joystick to the female end of the T-JOY data cable.


3. Connect the power plug from your power supply (2.1mm center positive) to the T-JOY power connector. The green LED light should light on the T-JOY and any connected T-series devices. We recommend connecting additional power supplies to every second or third device to reduce the current draw through the data cables.


Note: not all T-series devices have LEDs.

STEP 4 4. Download and install a desired software control program from the Software page. For initial set-up,
we recommend Zaber Console. To begin controlling your device using the Zaber Console, select the correct COM port from the drop down menu (top left), and then press the open button next to the drop down tab. As a simple first test, try entering these instructions:
  1. Renumber all devices - Device:0, Cmd:2, Data:0
  2. Home device 1 - Device:1, Cmd:1, Data:0


Note: Zaber motion devices must be homed before entering any other commands. Homing a device gives it a starting referencing point. Your device will not move through its maximum range without issuing this command first.

STEP 5 5. Once the renumbering command has been sent, the first three devices connected to the joystick will each be controlled by a joystick axis. The defaults are:
Axis # Axis 1 Axis 2 Axis 3
Movement left-right up-down twist joystick
Device # 2 (or first device # after joystick) 3 (or second device # after joystick) 4 (or third device # after joystick)

Note: If additional Zaber devices are connected before the T-JOY, the device numbers corresponding to the joystick axes will be the the first three devices connected after the joystick.


STEP 6

6. All buttons (keys) are programmable.


The default settings are shown here:

Key Press and Release Within 1 second Press and Release After 1 second
1 Stop All Devices Home All Devices
2 Echo "0" on press
Echo "1" on release
Echo "0" on press
Echo "2" after 1 second
Echo "3" on release
3 Go to stored position 0 (all devices) Store current position 0 (all devices)
4 Go to stored position 1 (all devices) Store current position 1 (all devices)
5 Go to stored position 2 (all devices) Store current position 2 (all devices)

Note that by default, key #2 has no direct effect on connected devices but it can be used to trigger execution of a script on the computer.