On Sat, Dec 9, 2017, at 10:31 AM, Gene Heskett wrote: > On Saturday 09 December 2017 05:59:58 andy pugh wrote: > > > On 9 December 2017 at 04:06, Gene Heskett <[email protected]> wrote: > > > So I > > > tried to invert_output on gpio.001, which ack the above, should have > > > done it. > > > > Yes, I agree, it should. > > > > So, did it? > > So, lets see if this will work instead: > > setp hm2_5i25.0.pwmgen.00.out0.invert_output true > > No change, I half expected an init error > 12 bit RW FALSE hm2_5i25.0.pwmgen.00.out0.invert_output
Let me get this straight: you typed a "setp" command referencing a parameter (or pin) that you know exists and should be writable, and the command didn't work (meaning it didn't change the value of the parameter)? That is a red flag right there and needs to be investigated. If you can't change the value of a parameter with a setp command something is seriously busted. To be honest, I've never typed out "true" or "false" on a setp command, and I'm not 100% sure that halcmd accepts that. Try just using 1 or 0: halcmd show param hm2_5i25.0.pwmgen.00.out0.invert_output (see what it's current value is) halcmd setp hm2_5i25.0.pwmgen.00.out0.invert_output 1 halcmd show param hm2_5i25.0.pwmgen.00.out0.invert_output (it should be true now) halcmd setp hm2_5i25.0.pwmgen.00.out0.invert_output 0 halcmd show param hm2_5i25.0.pwmgen.00.out0.invert_output (it should be false now) If the above doesn't work, either the driver is writing to the parameter, or something is seriously busted in your install of LinuxCNC. -- John Kasunich [email protected] ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
