On Saturday 09 December 2017 10:53:51 John Kasunich wrote: > 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.
Peter hit it dead on. 400+ lines on down the hal file was another identical statement setting it false. Duh... So now I can go restore sensible wiring, after I get back from the eats store. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) Genes Web page <http://geneslinuxbox.net:6309/gene> ------------------------------------------------------------------------------ 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
