On Fri, 28 Nov 2014, a k wrote: > Date: Fri, 28 Nov 2014 16:42:34 -0800 > From: a k <[email protected]> > Reply-To: "Enhanced Machine Controller (EMC)" > <[email protected]> > To: "Enhanced Machine Controller (EMC)" <[email protected]> > Subject: Re: [Emc-users] conv_s32_u32.0--?? > > hi > i did fix most of problem but one new how up > here is my code > ################# > > ######################### > > ######################## > > loadrt mux_generic config=bb7 > > loadrt conv_s32_u32 > > > > addf conv-s32-u32.0 servo-thread > > addf mux-gen.00 servo-thread > > > > setp hm2_5i20.0.gpio.040.is.output true > > setp hm2_5i20.0.gpio.040.invert_output true > > > > net mode-signed motion.motion-type => conv-s32-u32.0.in > > net mode-unsigned conv-s32-u32.out => mux-gen.00.sel-int > > net mode-out mux-gen.00.out => hm2_5i20.0.gpio.040.out > > > > > > setp mux-gen.00.in-bit-01 0 ## rapid feed > > setp mux-gen.00.in-bit-02 1 ## straight feed > > setp mux-gen.00.in-bit-03 1 ## arc feed > > setp mux-gen.00.in-bit-04 0 ## toolchange > > setp mux-gen.00.in-bit-05 0 ## probing > > setp mux-gen.00.in-bit-06 0 ## index rotary > > > ####################### > > > and error is > > > > Debug file information: > > . > > hm2-servo.hal:243: parameter or pin 'hm2_5i20.0.gpio.040.is.output' not > found
the parameter name is hm2_5i20.0.gpio.040.is_output typing man hostmot2 in a terminal window will display the manual page for the hostmot2 driver if you scroll down to the "General Purpose I/O" section the is-output parameter is explained another option is to look at the hm2 sample files for proper pin and parameter names > > 5118 > > PID TTY STAT TIME COMMAND > > > > Thank you > aram > > On Sat, Nov 22, 2014 at 12:53 PM, Peter C. Wallace <[email protected]> wrote: > >> >> This works (I was wrong about the manual. it is correct) >> >> loadrt conv_s32_u32 >> addf conv-s32-u32.0 servo-thread >> >> available pins: >> >> conv-s32-u32.0.in >> conv-s32-u32.0.out >> conv-s32-u32.0.out-of-range >> >> available parameters: >> >> conv-s32-u32.0.clamp >> conv-s32-u32.0.time >> conv-s32-u32.0.tmax >> conv-s32-u32.0.tmax-increased >> >> Note that all names except the component name in the loadrt line use >> hyphens >> only the nam ein the loadrt line uses underlines >> >> Peter Wallace >> Mesa Electronics >> >> (\__/) >> (='.'=) This is Bunny. Copy and paste bunny into your >> (")_(") signature to help him gain world domination. >> >> >> >> ------------------------------------------------------------------------------ >> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server >> from Actuate! Instantly Supercharge Your Business Reports and Dashboards >> with Interactivity, Sharing, Native Excel Exports, App Integration & more >> Get technology previously reserved for billion-dollar corporations, FREE >> >> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk >> _______________________________________________ >> Emc-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/emc-users >> > ------------------------------------------------------------------------------ > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server > from Actuate! Instantly Supercharge Your Business Reports and Dashboards > with Interactivity, Sharing, Native Excel Exports, App Integration & more > Get technology previously reserved for billion-dollar corporations, FREE > http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users > Peter Wallace Mesa Electronics (\__/) (='.'=) This is Bunny. Copy and paste bunny into your (")_(") signature to help him gain world domination. ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
