public class AerotechPro165
extends org.lsst.ccs.drivers.ascii.Ascii
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, org.lsst.ccs.drivers.ascii.Ascii.Terminator| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_BAUD |
static String |
DEFAULT_DEV |
static int |
DEFAULT_PORT |
static double |
timeout
Public constants
|
| Constructor and Description |
|---|
AerotechPro165()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
abort()
abort any AerotechPro165 motion
|
void |
disableAxis(char axis)
disable AerotechPro165 axes
|
void |
enableAxis(char axis)
enable AerotechPro165 axes
|
void |
fullreset()
resets the positioner - communication will be lost
|
String |
getError()
Gets the AerotechPro165 errors
|
double |
getPos_x()
Deprecated.
|
double[] |
getPos_xyz()
Deprecated.
|
double |
getPos_y()
Deprecated.
|
double |
getPos_z()
Deprecated.
|
double |
getPosX()
Gets the AerotechPro165 x position
|
double[] |
getPosXYZ()
Gets the AerotechPro165 x,y and z positions
|
double |
getPosY()
Gets the AerotechPro165 y position
|
double |
getPosZ()
Gets the AerotechPro165 z position
|
String |
getVersion()
Gets the AerotechPro165 controller version
|
void |
goHome()
move AerotechPro165 to home position
|
void |
moveAbs_x(double dx)
Deprecated.
|
void |
moveAbs_y(double dy)
Deprecated.
|
void |
moveAbs_z(double dz)
Deprecated.
|
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 |
moveAbsX(double dx)
Move absolutely AerotechPro165 dx
|
void |
moveAbsY(double dy)
move absolutely AerotechPro165 dy
|
void |
moveAbsZ(double dz)
move absolutely AerotechPro165 dz
|
void |
moveInc_x(double dx)
Deprecated.
|
void |
moveInc_y(double dy)
Deprecated.
|
void |
moveInc_z(double dz)
Deprecated.
|
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 |
moveIncX(double dx)
move incrementally AerotechPro165 dx
|
void |
moveIncY(double dy)
move incrementally AerotechPro165 dy
|
void |
moveIncZ(double dz)
move incrementally AerotechPro165 dz
|
void |
open(org.lsst.ccs.drivers.commons.DriverConstants.ConnType type,
String ident,
int parm1,
int parm2)
Opens a connection to the device.
|
void |
open(String devname,
int baud)
Deprecated.
|
void |
openftdi(String serialname,
int baud)
Deprecated.
|
void |
opennet(String netaddress,
int port)
Deprecated.
|
void |
openserial(String serialname,
int baud)
Deprecated.
|
void |
rampMode(String mode)
ramp mode AerotechPro165 (units/s2)
|
void |
rampRate(double rate)
ramp rate AerotechPro165 (units/s2)
|
String |
readAerotechPro165()
Deprecated.
|
String |
readAerotechPro165(String command)
Deprecated.
|
String |
readAP(String command)
Reads a string after writing a command with error checking.
|
double |
readDoubleAP(String command)
Reads a double after writing a command with error checking.
|
void |
reset()
resets/clears the AerotechPro165 errors
|
void |
setSpeed(double speed)
ramp rate AerotechPro165 (units/s2)
|
void |
setupHome(int mode)
Set up AerotechPro165 home parameters
|
void |
softHighLim(String axis,
int param)
set software high limit on axis motion
|
void |
softLowLim(String axis,
int param)
set software low limit on axis motion
|
void |
writeAerotechPro165(String command)
Deprecated.
|
void |
writeAP(String command)
Writes a command with error checking.
|
close, closeSilent, flush, getTimeout, isOpen, makeDataCharacteristics, open, open, openFtdi, openFtdi, openFtdi, openNet, openNet, openSerial, openSerial, openSerial, read, read, readBytes, readBytes, setCommandTerm, setDefaultParm, setMultidrop, setOptions, setResponseTerm, setTerminator, setTimeout, setTimeout, write, writeBytes, writeBytespublic static double timeout
public static final int DEFAULT_PORT
public static final int DEFAULT_BAUD
public static final String DEFAULT_DEV
public void open(org.lsst.ccs.drivers.commons.DriverConstants.ConnType type,
String ident,
int parm1,
int parm2)
throws org.lsst.ccs.drivers.commons.DriverException
open in class org.lsst.ccs.drivers.ascii.Asciitype - The enumerated type of connection to makeident - The device identifier:
host name or IP address for network;
[node:]serial number for FTDI device;
device name for serialparm1 - The first device parameter:
port number for network;
baud rate for FTDI or serialparm2 - The second device parameter: always set to 0org.lsst.ccs.drivers.commons.DriverException@Deprecated public void open(String devname, int baud) throws org.lsst.ccs.drivers.commons.DriverException
devname - The device namebaud - The baud rateorg.lsst.ccs.drivers.commons.DriverException@Deprecated public void openserial(String serialname, int baud) throws org.lsst.ccs.drivers.commons.DriverException
serialname - The device namebaud - The baud rateorg.lsst.ccs.drivers.commons.DriverException@Deprecated public void openftdi(String serialname, int baud) throws org.lsst.ccs.drivers.commons.DriverException
serialname - The device namebaud - The baud rateorg.lsst.ccs.drivers.commons.DriverException@Deprecated public void opennet(String netaddress, int port) throws org.lsst.ccs.drivers.commons.DriverException
netaddress - The host addressport - The port numberorg.lsst.ccs.drivers.commons.DriverExceptionpublic String getVersion() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic String getError() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void reset()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void fullreset()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void abort()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double getPosX()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Deprecated public double getPos_x() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double getPosY()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Deprecated public double getPos_y() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double getPosZ()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Deprecated public double getPos_z() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic double[] getPosXYZ()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Deprecated public double[] getPos_xyz() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void enableAxis(char axis)
throws org.lsst.ccs.drivers.commons.DriverException
axis - org.lsst.ccs.drivers.commons.DriverExceptionpublic void disableAxis(char axis)
throws org.lsst.ccs.drivers.commons.DriverException
axis - org.lsst.ccs.drivers.commons.DriverExceptionpublic void goHome()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionpublic void setupHome(int mode)
throws org.lsst.ccs.drivers.commons.DriverException
mode - The mode to setorg.lsst.ccs.drivers.commons.DriverExceptionpublic void setSpeed(double speed)
throws org.lsst.ccs.drivers.commons.DriverException
speed - The ranp speedorg.lsst.ccs.drivers.commons.DriverExceptionpublic void rampRate(double rate)
throws org.lsst.ccs.drivers.commons.DriverException
rate - org.lsst.ccs.drivers.commons.DriverExceptionpublic void rampMode(String mode) throws org.lsst.ccs.drivers.commons.DriverException
mode - org.lsst.ccs.drivers.commons.DriverExceptionpublic void softLowLim(String axis, int param) throws org.lsst.ccs.drivers.commons.DriverException
axis - param - org.lsst.ccs.drivers.commons.DriverExceptionpublic void softHighLim(String axis, int param) throws org.lsst.ccs.drivers.commons.DriverException
axis - param - org.lsst.ccs.drivers.commons.DriverExceptionpublic void moveAbsX(double dx)
throws org.lsst.ccs.drivers.commons.DriverException
dx - org.lsst.ccs.drivers.commons.DriverException@Deprecated public void moveAbs_x(double dx) throws org.lsst.ccs.drivers.commons.DriverException
dx - org.lsst.ccs.drivers.commons.DriverExceptionpublic void moveAbsY(double dy)
throws org.lsst.ccs.drivers.commons.DriverException
dy - org.lsst.ccs.drivers.commons.DriverException@Deprecated public void moveAbs_y(double dy) throws org.lsst.ccs.drivers.commons.DriverException
dy - org.lsst.ccs.drivers.commons.DriverExceptionpublic void moveAbsZ(double dz)
throws org.lsst.ccs.drivers.commons.DriverException
dz - org.lsst.ccs.drivers.commons.DriverException@Deprecated public void moveAbs_z(double dz) throws org.lsst.ccs.drivers.commons.DriverException
dz - org.lsst.ccs.drivers.commons.DriverExceptionpublic void moveAbs(double dx,
double dy)
throws org.lsst.ccs.drivers.commons.DriverException
dx - dy - org.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 moveIncX(double dx)
throws org.lsst.ccs.drivers.commons.DriverException
dx - org.lsst.ccs.drivers.commons.DriverException@Deprecated public void moveInc_x(double dx) throws org.lsst.ccs.drivers.commons.DriverException
dx - org.lsst.ccs.drivers.commons.DriverExceptionpublic void moveIncY(double dy)
throws org.lsst.ccs.drivers.commons.DriverException
dy - org.lsst.ccs.drivers.commons.DriverException@Deprecated public void moveInc_y(double dy) throws org.lsst.ccs.drivers.commons.DriverException
dy - org.lsst.ccs.drivers.commons.DriverExceptionpublic void moveIncZ(double dz)
throws org.lsst.ccs.drivers.commons.DriverException
dz - org.lsst.ccs.drivers.commons.DriverException@Deprecated public void moveInc_z(double dz) throws org.lsst.ccs.drivers.commons.DriverException
dz - org.lsst.ccs.drivers.commons.DriverExceptionpublic void moveInc(double dx,
double dy)
throws org.lsst.ccs.drivers.commons.DriverException
dx - dy - org.lsst.ccs.drivers.commons.DriverExceptionpublic void moveInc(double dx,
double dy,
double dz)
throws org.lsst.ccs.drivers.commons.DriverException
dx - dy - dz - org.lsst.ccs.drivers.commons.DriverExceptionpublic void writeAP(String command) throws org.lsst.ccs.drivers.commons.DriverException
command - The command to writeorg.lsst.ccs.drivers.commons.DriverExceptionpublic String readAP(String command) throws org.lsst.ccs.drivers.commons.DriverException
command - The command to write, excluding terminatororg.lsst.ccs.drivers.commons.DriverExceptionorg.lsst.ccs.drivers.commons.DriverTimeoutExceptionpublic double readDoubleAP(String command) throws org.lsst.ccs.drivers.commons.DriverException
command - The command to write, excluding terminatororg.lsst.ccs.drivers.commons.DriverException@Deprecated public void writeAerotechPro165(String command) throws org.lsst.ccs.drivers.commons.DriverException
command - The command to writeorg.lsst.ccs.drivers.commons.DriverException@Deprecated public String readAerotechPro165() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Deprecated public String readAerotechPro165(String command) throws org.lsst.ccs.drivers.commons.DriverException
command - The command to write, excluding terminatororg.lsst.ccs.drivers.commons.DriverExceptionorg.lsst.ccs.drivers.commons.DriverTimeoutExceptionCopyright © 2018 LSST. All rights reserved.