|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AxisMotor
Nested Class Summary | |
---|---|
static class |
AxisMotor.Range
|
Method Summary | |
---|---|
void |
dda(int speed,
int x1,
int deltaY)
|
void |
dispose()
Dispose of this object |
int |
getPosition()
|
AxisMotor.Range |
getRange(int speed)
|
void |
homeReset(int speed)
|
boolean |
isAvailable()
Is the comms working? |
boolean |
queuePoint(int endX,
int endY,
int movementSpeed,
int control)
Add an XY point to the firmware buffer for plotting Only works for recent firmware. |
void |
refreshPreferences()
Reload the preferences |
void |
resetPosition()
|
void |
seek(int speed,
int position)
|
void |
seekBlocking(int speed,
int position)
|
void |
setIdle()
|
void |
setMaxTorque(int maxTorque)
|
void |
setPosition(int position)
|
void |
setSpeed(int speed)
Set the motor speed (or turn it off) |
void |
setSync(byte syncType)
|
void |
stepBackward()
|
void |
stepForward()
|
void |
waitTillNotBusy()
|
boolean |
wasAvailable()
|
Method Detail |
---|
void dispose()
void waitTillNotBusy() throws java.io.IOException
java.io.IOException
void refreshPreferences()
boolean queuePoint(int endX, int endY, int movementSpeed, int control) throws java.io.IOException
endX
- endY
- movementSpeed
-
java.io.IOException
void setSpeed(int speed) throws java.io.IOException
speed
- A value between -255 and 255.
ReprapException
java.io.IOException
void setIdle() throws java.io.IOException
java.io.IOException
void stepForward() throws java.io.IOException
java.io.IOException
void stepBackward() throws java.io.IOException
java.io.IOException
void resetPosition() throws java.io.IOException
java.io.IOException
void setPosition(int position) throws java.io.IOException
position
-
java.io.IOException
boolean isAvailable()
boolean wasAvailable()
int getPosition() throws java.io.IOException
java.io.IOException
void seek(int speed, int position) throws java.io.IOException
speed
- position
-
java.io.IOException
void seekBlocking(int speed, int position) throws java.io.IOException
speed
- position
-
java.io.IOException
AxisMotor.Range getRange(int speed) throws java.io.IOException, IncomingMessage.InvalidPayloadException
speed
-
java.io.IOException
IncomingMessage.InvalidPayloadException
void homeReset(int speed) throws java.io.IOException, IncomingMessage.InvalidPayloadException
speed
-
java.io.IOException
IncomingMessage.InvalidPayloadException
void setSync(byte syncType) throws java.io.IOException
syncType
-
java.io.IOException
void dda(int speed, int x1, int deltaY) throws java.io.IOException
speed
- x1
- deltaY
-
java.io.IOException
void setMaxTorque(int maxTorque) throws java.io.IOException
maxTorque
- An integer value 0 to 100 representing the maximum torque percentage
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |