hello,
theres an bug in your hal file.
Move the line "addf lcec.write-all servo-thread" at the last position of the addf's, after your line "addf conv-float-s32.7 servo-thread ".
at the moment your are constantly writing zero to the drives, because you are sending the output (write-all) before you are doing scaling and calculations.
And you have to move all convertions that are related to inputs (feedback) between
lcec-read and motion, otherwise motion reads zero or old values to.
-addf lcec.read-all
-addf input conversions....
-addf motion, pids, classic ladder...
-addf output conversions....
-addf lcec.write-all (the last)
all modules are called in every cycle in the order you have placed addf in the hal.
read this answer again:
forum.linuxcnc.org/24-hal-components/223...er?start=1140#199443