Manual Reference
Public control classes
Class |
Role |
|---|---|
|
Single-process controller |
|
Multiprocess controller |
|
Device command layer |
|
TCP transport |
Common operations
API |
Purpose |
|---|---|
|
Read current position |
|
Absolute or relative motion |
|
Relative motion |
|
Wait for motion completion |
|
Controlled / emergency stop |
|
Read motor status |
|
Set / read speed (see generated API for exact arguments) |
|
Software limits (see generated API for exact arguments) |
Boolean results generally indicate success or failure. Read operations may return None on failure. Invalid arguments can raise exceptions.
Motion signatures
move(target: int, motor: Optional[int] = None, backlash: Union[str, bool, None] = True, relative: bool = False) -> bool
move_relative(target: int, motor: Optional[int] = None, backlash: Union[str, bool, None] = True) -> bool
Implementation-defined limits
PM2CDDevice defines position limits of -8388608 to 8388607, speed limits of 5 to 100000 pps, backlash limits of -9999 to 9999, and hold times of 50 to 3000 ms. Refer to the implementation for method-specific validation.
Before moving hardware, verify wiring, limit switches, travel direction, and permissible travel. The examples have not been run against a physical controller.