public class AerotechPro165
extends org.lsst.ccs.drivers.ascii.Ascii
org.lsst.ccs.drivers.ascii.Ascii.ConnType, org.lsst.ccs.drivers.ascii.Ascii.DataBits, org.lsst.ccs.drivers.ascii.Ascii.FlowCtrl, org.lsst.ccs.drivers.ascii.Ascii.Option, org.lsst.ccs.drivers.ascii.Ascii.Parity, org.lsst.ccs.drivers.ascii.Ascii.StopBits| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_BAUD |
static String |
DEFAULT_DEV |
static double |
timeout |
| Constructor and Description |
|---|
AerotechPro165()
Constructor * *
**************************************************************************
|
| Modifier and Type | Method and Description |
|---|---|
void |
abort()
abort any AerotechPro165 motion
|
void |
close()
Closes the connection.
|
void |
disableAxis(char axis)
disable AerotechPro165 axes *
********************************************************************
|
void |
enableAxis(char axis)
enable AerotechPro165 axes *
********************************************************************
|
String |
getError()
Gets the AerotechPro165 errors
|
double |
getPos_x()
Gets the AerotechPro165 x position
|
double[] |
getPos_xyz()
Gets the AerotechPro165 x,y and z positions
|
double |
getPos_y()
Gets the AerotechPro165 x position
|
double |
getPos_z()
Gets the AerotechPro165 z position
|
String |
getVersion()
Gets the AerotechPro165 controller version
|
void |
goHome()
move AerotechPro165 to home position*
**************************************************************************
|
void |
moveAbs_x(double dx)
move absolutely AerotechPro165 dx *
**************************************************************************
|
void |
moveAbs_y(double dy)
move absolutely AerotechPro165 dy *
**************************************************************************
|
void |
moveAbs_z(double dz)
move absolutely AerotechPro165 dz *
**************************************************************************
|
void |
moveAbs(double dx,
double dy)
move absolutely AerotechPro165 dx, dy *
**************************************************************************
|
void |
moveAbs(double dx,
double dy,
double dz)
move absolutely AerotechPro165 dx, dy, dz *
**************************************************************************
|
void |
moveInc_x(double dx)
move incrementally AerotechPro165 dx *
**************************************************************************
|
void |
moveInc_y(double dy)
move incrementally AerotechPro165 dy *
**************************************************************************
|
void |
moveInc_z(double dz)
move incrementally AerotechPro165 dz *
**************************************************************************
|
void |
moveInc(double dx,
double dy)
move incrementally AerotechPro165 dx, dy *
**************************************************************************
|
void |
moveInc(double dx,
double dy,
double dz)
move incrementally AerotechPro165 dx, dy, dz *
**************************************************************************
|
void |
open(String devname,
int port) |
void |
openftdi(String serialname,
int port)
Opens an FTDI connection.
|
void |
opennet(String netaddress,
int port)
Opens a Network connection.
|
void |
openserial(String serialname,
int port)
Opens a serial connection.
|
void |
rampMode(String mode)
ramp mode AerotechPro165 (units/s2) *
**************************************************************************
|
void |
rampRate(double rate)
ramp rate AerotechPro165 (units/s2) *
**************************************************************************
|
String |
readAerotechPro165()
Reads a response.
|
String |
readAerotechPro165(String command)
Reads a response after writing a command.
|
void |
reset()
resets/clears the AerotechPro165 errors
|
void |
setSpeed(double speed)
ramp rate AerotechPro165 (units/s2) *
**************************************************************************
|
void |
writeAerotechPro165(String command)
Writes a command.
|
public static double timeout
public static final int DEFAULT_BAUD
public static final String DEFAULT_DEV
public AerotechPro165()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void open(String devname, int port) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void openserial(String serialname, int port) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void openftdi(String serialname, int port) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void opennet(String netaddress, int port) throws org.lsst.ccs.drivers.commons.DriverException
netaddress - port - org.lsst.ccs.drivers.commons.DriverExceptionpublic void close()
throws org.lsst.ccs.drivers.commons.DriverException
close in class org.lsst.ccs.drivers.ascii.Asciiorg.lsst.ccs.drivers.commons.DriverException - *************************************************************************public String getVersion() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException - **************************************************************************public String getError() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException - **************************************************************************public void reset()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException - **************************************************************************public void abort()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException - **************************************************************************public double getPos_x()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException - **************************************************************************public double getPos_y()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException - **************************************************************************public double getPos_z()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException - **************************************************************************public double[] getPos_xyz()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException - **************************************************************************public void enableAxis(char axis)
throws org.lsst.ccs.drivers.commons.DriverException
axis - ***** @throws org.lsst.ccs.drivers.commons.DriverExceptionorg.lsst.ccs.drivers.commons.DriverExceptionpublic void disableAxis(char axis)
throws org.lsst.ccs.drivers.commons.DriverException
axis - ***** @throws org.lsst.ccs.drivers.commons.DriverExceptionorg.lsst.ccs.drivers.commons.DriverExceptionpublic void moveAbs(double dx,
double dy,
double dz)
throws org.lsst.ccs.drivers.commons.DriverException
dx - dy - dz - org.lsst.ccs.drivers.commons.DriverExceptionpublic void goHome()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setSpeed(double speed)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void rampRate(double rate)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void rampMode(String mode) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void moveAbs_x(double dx)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void moveAbs_z(double dz)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void moveAbs_y(double dy)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void moveAbs(double dx,
double dy)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void moveInc(double dx,
double dy,
double dz)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void moveInc_x(double dx)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void moveInc_z(double dz)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void moveInc_y(double dy)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void moveInc(double dx,
double dy)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void writeAerotechPro165(String command) throws org.lsst.ccs.drivers.commons.DriverException
The - command to writeorg.lsst.ccs.drivers.commons.DriverException - *
*************************************************************************public String readAerotechPro165() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException - *************************************************************************public String readAerotechPro165(String command) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverTimeoutException - *
*************************************************************************org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2016 LSST. All rights reserved.