Machinekit Documentation
HAL Component — DUMMY_STEPGEN
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
dummy_stepgen —
SYNOPSIS
-
A dummy stepgen compatible component. Just feeds back the position-cmd*
USAGE SYNOPSIS
-
A dummy stepgen compatible component. Just feeds back the position-cmd*
FUNCTIONS
dummy_stepgen.N.read.funct ( OR <newinstname>.read.funct (requires a floating-point thread) )
dummy_stepgen.N.write.funct ( OR <newinstname>.write.funct (requires a floating-point thread) )
PINS
dummy_stepgen.N.rawcounts s32 in ( OR <newinstname>.rawcounts s32 in )
dummy_stepgen.N.counts s32 out ( OR <newinstname>.counts s32 out )
dummy_stepgen.N.position-scale float in ( OR <newinstname>.position-scale float in )
dummy_stepgen.N.position-cmd float in ( OR <newinstname>.position-cmd float in )
dummy_stepgen.N.velocity-cmd float in ( OR <newinstname>.velocity-cmd float in )
dummy_stepgen.N.enable bit in ( OR <newinstname>.enable bit in )
dummy_stepgen.N.position-fb float out ( OR <newinstname>.position-fb float out )
dummy_stepgen.N.frequency float in ( OR <newinstname>.frequency float in )
dummy_stepgen.N.maxvel float io ( OR <newinstname>.maxvel float io )
dummy_stepgen.N.maxaccel float io ( OR <newinstname>.maxaccel float io )
dummy_stepgen.N.steplen u32 io ( OR <newinstname>.steplen u32 io )
dummy_stepgen.N.stepspace u32 io ( OR <newinstname>.stepspace u32 io )
dummy_stepgen.N.dirsetup u32 io ( OR <newinstname>.dirsetup u32 io )
dummy_stepgen.N.dirhold u32 io ( OR <newinstname>.dirhold u32 io )
dummy_stepgen.N.dirdelay u32 io ( OR <newinstname>.dirdelay u32 io )
dummy_stepgen.N.step bit out ( OR <newinstname>.step bit out )
dummy_stepgen.N.dir bit out ( OR <newinstname>.dir bit out )
dummy_stepgen.N.up bit out ( OR <newinstname>.up bit out )
dummy_stepgen.N.down bit out ( OR <newinstname>.down bit out )
AUTHOR
Alexander Roessler
LICENCE
GPL