Overview
Programs run on the controller itself, which makes execution deterministic and means you don't need a PC connected once it's deployed.
Program Structure
TrioBASIC programs are split into processes that run concurrently on the controller. Each one can drive one or more axes on its own:
- Up to 14 concurrent processes (model dependent)
- Each process runs in its own time slice within the servo cycle
- Processes can communicate via global variables and TABLE data
- Priority-based scheduling with deterministic execution
- AUTORUN capability for automatic program startup
Motion Commands
The motion commands hide the servo drive communication underneath. MOVE, MOVEABS, and MOVECIRC handle basic moves; CAM, CONNECT, and MOVELINK handle synchronized motion. Every command is axis-aware, and you set which axes it acts on with the BASE and AXIS directives.
Debugging with Motion Perfect
Motion Perfect is Trio's IDE for TrioBASIC. You get live variable watching, breakpoint debugging, oscilloscope plotting, and program upload and download. The scope is the part you'll lean on when tuning motion profiles. It captures position, velocity, following error, and current, all synchronized to the servo cycle.
Typical applications
- Custom machine motion sequences
- Multi-axis coordinated motion
- Electronic line shafting
- Registration and print mark correction
Related products
All Trio Motion controllers. See them on the Trio Motion page or ask us for a quote.