Following some problems that Gene experienced with G33.1 , running the attached program , it was found to go down to the hole bottom and then reverse the spindle and stop waiting for whatever .
i found adding the following courtesy of Gene , allowed the file to continue perhaps it may assist others or indeed lead G33.1 to be improved , as i'm sure most users would find this slightly perplexing to solve # added for g33.1 to work # Now, lets see if we can track the G33.1 turnaround overtravel # first, make a sum2 a sub2 setp sum2.ovrtrvl.gain0 -1.0000 # then net the sample holds but sample needs s32, not float so use count net ovrtrvl1 hm2_7i43.0.encoder.00.count sample.dirchg.in sample.spndlchg.in net spindle-ccwcmd motion.spindle-reverse sample.dirchg.hold net spindle-reverse abs.encdir.is-negative sample.spndlchg.hold # and calc the overtravel from s32ś net ovrtrvl2 sample.dirchg.out s32_float.cmd.in net ovrtrvl3 s32_float.cmd.out sum2.ovrtrvl.in0 net ovrtrvl4 sample.spndlchg.out s32_float.spndl.in net ovrtrvl5 s32_float.spndl.out sum2.ovrtrvl.in1 # the hal pin sample.ovrtrvl.out should be shown with a hal__meter Dave ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
