logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

axistest - Used to allow testing of an axis. Used IN PnCconf.

Author

       Chris S. Morley

Functions

axistest.N.update (requires a floating-point thread)

License

       GPL

LinuxCNC Documentation                             2025-08-07                                        AXISTEST(9)

Name

       axistest - Used to allow testing of an axis. Used IN PnCconf.

Parameters

axistest.N.epsilon float rw (default: .001)
       axistest.N.elapsed float r
              Current value of the internal timer

Pins

axistest.N.jog-minus bit in
              Drive TRUE to jog the axis in its negative ('minus') direction.

       axistest.N.jog-plus bit in
              Drive TRUE to jog the axis in its positive direction.

       axistest.N.run bit in
              Drive TRUE to run the axis near its current position_fb with a trapezoidal velocity profile.

       axistest.N.maxvel float in
              Maximum velocity

       axistest.N.amplitude float in
              Approximate amplitude of positions to command during 'run'

       axistest.N.dir s32 in
              Direction from central point to test: 0 = both, 1 = positive, 2 = negative

       axistest.N.position-cmd float out
       axistest.N.position-fb float in
       axistest.N.running bit out
       axistest.N.run-target float out
       axistest.N.run-start float out
       axistest.N.run-low float out
       axistest.N.run-high float out
       axistest.N.pause s32 in (default: 0)
              Pause time for each end of run in seconds

Synopsis

loadrtaxistest[count=N|names=name1[,name2...]]

See Also