Machinekit Documentation
HAL Component — STEPTEST
INSTANTIABLE COMPONENTS — General
All instantiable components can be loaded in two manners
Using loadrt with or without count= | names= parameters as per legacy components
Using newinst, which names the instance and allows further parameters and arguments
primarily pincount= which can set the number of pins created for that instance (where applicable)
NAME
steptest —
SYNOPSIS
-
Used by Stepconf to allow testing of acceleration and velocity values for an axis.*
USAGE SYNOPSIS
-
Used by Stepconf to allow testing of acceleration and velocity values for an axis.*
FUNCTIONS
steptest.N.funct ( OR <newinstname>.funct (requires a floating-point thread) )
PINS
steptest.N.jog-minus bit in ( OR <newinstname>.jog-minus bit in ) - Drive TRUE to jog the axis in its minus direction
steptest.N.jog-plus bit in ( OR <newinstname>.jog-plus bit in ) - Drive TRUE to jog the axis in its positive direction
steptest.N.run bit in ( OR <newinstname>.run bit in ) - Drive TRUE to run the axis near its current position_fb with a trapezoidal velocity profile
steptest.N.maxvel float in ( OR <newinstname>.maxvel float in ) - Maximum velocity
steptest.N.maxaccel float in ( OR <newinstname>.maxaccel float in ) - Permitted Acceleration
steptest.N.amplitude float in ( OR <newinstname>.amplitude float in ) - Approximate amplitude of positions to command during 'run'
steptest.N.dir s32 in ( OR <newinstname>.dir s32 in ) - Direction from central point to test: 0 = both, 1 = positive, 2 = negative
steptest.N.position-cmd float out ( OR <newinstname>.position-cmd float out )
steptest.N.position-fb float in ( OR <newinstname>.position-fb float in )
steptest.N.running bit out ( OR <newinstname>.running bit out )
steptest.N.run-target float out ( OR <newinstname>.run-target float out )
steptest.N.run-start float out ( OR <newinstname>.run-start float out )
steptest.N.run-low float out ( OR <newinstname>.run-low float out )
steptest.N.run-high float out ( OR <newinstname>.run-high float out )
steptest.N.pause s32 in (default: 0) ( OR <newinstname>.pause s32 in (default: 0) ) - pause time for each end of run in seconds
steptest.N.epsilon float io (default: .001) ( OR <newinstname>.epsilon float io (default: .001) )
steptest.N.elapsed float io ( OR <newinstname>.elapsed float io ) - Current value of the internal timer
LICENCE
GPL