public class TestA1000 extends Object
| Constructor and Description |
|---|
TestA1000() |
@Command(description="Open connection to device")
public void open(@Argument(description="Serial device name")
String devc,
@Argument(description="Slave node address")
int address,
@Argument(description="Baud Rate")
int baudRate)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Open connection to device")
public void open(@Argument(description="Serial device name")
String devc,
@Argument(description="Slave node address")
int address)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Open connection to device")
public void open(@Argument(description="Serial device name")
String devc)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Close connection to device")
public void close()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set remote control")
public void setRemoteControl()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set local control")
public void setLocalControl()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Read a register")
public void readRegister(@Argument(description="Register to read")
int number)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Read a set of registers")
public void readRegisters(@Argument(description="First register to read")
int number,
@Argument(description="Number of registers to read")
int count)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Write a set of registers")
public void writeRegisters(@Argument(description="First register to write")
int number,
@Argument(description="Values to write")
int... values)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Enter parameters")
public void enterParameters()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Save parameters")
public void saveParameters()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set node address")
public void setNodeAddress(@Argument(description="Node address")
int address)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show model name") public String showModelName() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show node address")
public int showNodeAddress()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set baud rate")
public void setBaudRate(@Argument(description="Baud rate enum")
A1000.BaudRate baudRate)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show baud rate") public String showBaudRate() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set parity")
public void setParity(@Argument(description="Parity enum")
A1000.Parity parity)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show parity") public A1000.Parity showParity() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set access level")
public void setAccessLevel(@Argument(description="Access level enum")
A1000.AccessLevel level)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show access level") public A1000.AccessLevel showAccessLevel() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set control mode")
public void setControlMode(@Argument(description="Control mode enum")
A1000.ControlMode mode)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show control mode") public A1000.ControlMode showControlMode() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set whether enter required")
public void setEnterRequired(@Argument(description="Whether enter required")
boolean required)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show whether enter required")
public boolean isEnterRequired()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set communications error action")
public void setErrorAction(@Argument(description="Error action enum")
A1000.ErrorAction action)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show communications error action") public A1000.ErrorAction showErrorAction() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set whether fault detected")
public void setFaultDetected(@Argument(description="Whether fault detected")
boolean detect)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show whether fault detected")
public boolean isFaultDetected()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set frequency reference source")
public void setFreqRefSrc(@Argument(description="Freq refc source enum")
A1000.FreqRefSrc source)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show frequency reference source") public A1000.FreqRefSrc showFreqRefSrc() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set input voltage")
public void setInputVoltage(@Argument(description="The voltage")
double voltage)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show input voltage")
public double showInputVoltage()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set whether reverse permitted")
public void setReversePermitted(@Argument(description="Whether reverse permitted")
boolean permit)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show whether reverse permitted")
public boolean isReversePermitted()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set whether run command style is forward/reverse")
public void setRunCmndFwdRev(@Argument(description="Whether forward/reverse")
boolean fwdRev)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show whether run command style is forward/reverse")
public boolean isRunCmndFwdRev()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set run command source")
public void setRunCmndSrc(@Argument(description="Run cmnd source enum")
A1000.RunCmndSrc source)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show run command source") public A1000.RunCmndSrc showRunCmndSrc() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set run/program interaction")
public void setRunProg(@Argument(description="Run/program enum")
A1000.RunProg runProg)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show run/program interaction") public A1000.RunProg showRunProg() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set stop method")
public void setStopMethod(@Argument(description="Stop method enum")
A1000.StopMethod method)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show stop method") public A1000.StopMethod showStopMethod() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set V/f profile selection")
public void setVfSelection(@Argument(description="V/f selection enum")
A1000.VfSelection select)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show V/f profile selection") public A1000.VfSelection showVfSelection() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set voltage units")
public void setVoltageUnits(@Argument(description="Voltage units enum")
A1000.VoltageUnits units)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show voltage units") public A1000.VoltageUnits showVoltageUnits() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set maximum frequency percentage")
public void setMaxFrequency(@Argument(description="The frequency percentage")
double freqPct)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show maximum frequency percentage")
public double showMaxFrequency()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set minimum frequency percentage")
public void setMinFrequency(@Argument(description="The frequency percentage")
double freqPct)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show minimum frequency percentage")
public double showMinFrequency()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set reference frequency")
public void setFrequency(@Argument(description="The frequency")
double freq)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show reference frequency")
public double showFrequency()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show applied reference frequency")
public double showFrequencyApp()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show drive status") public String showDriveStatus() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Run the motor forwards")
public void runForward()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Run the motor in reverse")
public void runReverse()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Stop the motor")
public void stop()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Read the frequency")
public double readFrequency()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Read the current")
public double readCurrent()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Read the voltage")
public double readVoltage()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Read the bus voltage")
public double readBusVoltage()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Read the heatsink temperature")
public double readTemperature()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show the cumulative operation time")
public int showOperationTime()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set the cumulative operation time")
public void setOperationTime(@Argument(description="The time (10 hrs)")
int time)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set whether cumulative operation time is only time active")
public void setOpTimeActive(@Argument(description="Whether to use time active")
boolean isActvTime)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show whether cumulative operation time is only time active")
public boolean isOpTimeActive()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show the cumulative fan operation time")
public int showFanOperationTime()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set the cumulative fan operation time")
public void setFanOperationTime(@Argument(description="The time")
int time)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show the run command count")
public int showRunCount()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show the cumulative output kilowatt hours")
public double showOutputKwh()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show the fan lifetime fraction used")
public double showFanLifetimeUsed()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show the capacitor lifetime fraction used")
public double showCapLifetimeUsed()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set the capacitor lifetime fraction used")
public void setCapLifetimeUsed(@Argument(description="The fraction used")
double fract)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show the soft charge bypass relay lifetime fraction used")
public double showScbrLifetimeUsed()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set the soft charge bypass relay lifetime fraction used")
public void setScbrLifetimeUsed(@Argument(description="The fraction used")
double fract)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show the IGBT lifetime fraction used")
public double showIgbtLifetimeUsed()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Set the IGBT lifetime fraction used")
public void setIgbtLifetimeUsed(@Argument(description="The fraction used")
double fract)
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Flash the display LEDs")
public void flashLeds()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show the alarm code")
public int showAlarmCode()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show the alarm codes") public Set<Integer> showAlarmCodes() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show the alarm description") public String showAlarmDesc() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show an alarm description") public String showAlarmDesc(int code) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show the current fault code")
public int showCurrFaultCode()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show the previous fault code")
public int showPrevFaultCode()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show the current fault description") public String showCurrFaultDesc() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show the previous fault description") public String showPrevFaultDesc() throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Show a fault description") public String showFaultDesc(int code) throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverException@Command(description="Reset the fault")
public void resetFault()
throws org.lsst.ccs.drivers.commons.DriverException
org.lsst.ccs.drivers.commons.DriverExceptionCopyright © 2023 LSST. All rights reserved.