On Mon, 19 Oct 2020 at 14:50, Todd Zuercher <[email protected]> wrote: > > For example my drives have two different modbus unlock commands, one unlocks > the drive to accept normal inputs that you would use for controlling the > drive every day. The other unlock command requires writing a pass code to a > register to unlock writing to all the different parameter registers as well > as the normal drive control registers.
I am using the LinuxCNC hy_vfd module. It looks like I could add some extra command line options to set PD014 / PD015 (the accel/decel limits) Or perhaps there should be an option to set generic values by raw PD addresses. This code looks ripe for an extra layer of abstraction.. https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/user_comps/huanyang-vfd/hy_vfd.c#L398 -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1912 _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
