Re: [Emc-users] 7i80 with ethernet, *.ini and *.hal files
I will use this driver as a starting point since I did not work with linuxcnc before and later on I will probably switch to a standard protocol. I have worked with CANopen and guess the aproach used for PDO communication but sent via UDP would be good but some drawbacks could be accepted if it is a standard protocol. The hostmot FPGA cards seems really good but I think there may be cases then MCU is a better approach but time will tell. It is probably a few months away but any suggestions for a standard protocol would be appreciated? Nicklas Karlsson On Sun, 14 Sep 2014 15:33:01 -0700 (PDT) "Peter C. Wallace" wrote: > On Sun, 14 Sep 2014, Karlsson & Wang wrote: > > > Date: Sun, 14 Sep 2014 23:30:40 +0200 > > From: Karlsson & Wang > > Reply-To: "Enhanced Machine Controller (EMC)" > > > > To: "Enhanced Machine Controller (EMC)" > > Subject: Re: [Emc-users] 7i80 with ethernet, *.ini and *.hal files > > > > It seems to work but I do not have an 7i80 card. It send UDP packages but > > and ask for MAC address bur for some reason fail to find the MAC address > > although it is sent over the Ethernet card from my STM32 board. The 7i80 > > card might be a better option, there are advantages with FPGA but micro > > controller is what I am used to and it have all the suitable peripherals. > > > > Nicklas Karlsson > > > > > The hm2_eth driver is written specifically for the Ethernt hostmot2 cards > so unless your ucontroller based card emulates this down to the register > level, it is not going to work (This is not impossible, all protocol details > are available in the 7I80 manuals). But unless you want to emulate the > hostmot2 register interface its probably better to write a different driver > > The basic structure of the hm2_eth driver can probably be used but > practically > speaking you will have implement your own protocol for communication with the > remote device. > > > > > > > > > On Sat, 13 Sep 2014 14:10:13 -0700 (PDT) > > "Peter C. Wallace" wrote: > > > >> On Sat, 13 Sep 2014, Karlsson & Wang wrote: > >> > >>> Date: Sat, 13 Sep 2014 21:44:26 +0200 > >>> From: Karlsson & Wang > >>> Reply-To: "Enhanced Machine Controller (EMC)" > >>> > >>> To: emc-users@lists.sourceforge.net > >>> Subject: [Emc-users] 7i80 with ethernet, *.ini and *.hal files > >>> > >>> Do anyone know how to write configure the 7i80 driver? > >>> > >>> Best regards Nicklas Karlsson > >> > >> > >> > >> The hm2-stepper and hm2-servo example files should be very close > >> > >> you just need to invoke the correct driver and specify the ip address of > >> the > >> FPGA card in the ini file > >> > >> (read the hm2_eth manual for details) > >> like this for example: > >> > >> > >> [HOSTMOT2] > >> DRIVER=hm2_eth board_ip="10.10.10.10" > >> BOARD=7i80 > >> CONFIG="num_encoders=1 num_stepgens=5 sserial_port_0=20xx" > >> > >> (this assumes the Ethernet FPGA card has had its EEPROM IP address changed > >> to > >> 10.10.10.10 and that that option is selected) > >> > >> > >>> > >>> -- > >>> 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-users mailing list > >>> Emc-users@lists.sourceforge.net > >>> 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. > >> > >> > >> -- > >> 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-users mailing list > >> Emc-users@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/emc-users > > > > -- > > 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-users mailing list > > Emc-users@lists.sourceforge.net > > 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. > > > ---
Re: [Emc-users] XHC-HB04 pendant: how to step increment down
On Mon, Sep 15, 2014 at 7:47 AM, John Alexander Stewart wrote: > Mark, et al: > > On Mon, Sep 15, 2014 at 5:12 AM, Mark Wendt wrote: > > > > Buttons? We don't need no steenkin' buttons! > > > > Increment, decrement, all on one knob. ;-) > > > > http://www.automationtechnologiesinc.com/products-page/mpgs/mpg2-pendant > > > I have one of these connected to one of my mills (purchased from > cnc4pc.com, > though) and it is built incredibly well. Except for the fluid cover for the > enable switch, which keeps coming off, but that's not an issue in my clean, > flood-coolantless shop. > > I did pick up a wired (batteries are the bane of my existence) XHC-LHB04, > it is in the mail at the moment. It will be nice to have the display on the > unit, but we'll see which one stays with which mill. > > If the XHC one is even 10% as nice as the one Mark links to, I'll be > happily impressed. > > JohnS. > Yep, I've had one on my CNC saw beveler since it's been up and running. Incredibly solid build, been bounced off concrete due to my fumble fingers numerous times. Mark -- 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-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] XHC-HB04 pendant: how to step increment down
Mark, et al: On Mon, Sep 15, 2014 at 5:12 AM, Mark Wendt wrote: > > Buttons? We don't need no steenkin' buttons! > > Increment, decrement, all on one knob. ;-) > > http://www.automationtechnologiesinc.com/products-page/mpgs/mpg2-pendant I have one of these connected to one of my mills (purchased from cnc4pc.com, though) and it is built incredibly well. Except for the fluid cover for the enable switch, which keeps coming off, but that's not an issue in my clean, flood-coolantless shop. I did pick up a wired (batteries are the bane of my existence) XHC-LHB04, it is in the mail at the moment. It will be nice to have the display on the unit, but we'll see which one stays with which mill. If the XHC one is even 10% as nice as the one Mark links to, I'll be happily impressed. JohnS. -- 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-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] XHC-HB04 pendant: how to step increment down
On Sun, Sep 14, 2014 at 3:29 PM, Marius Alksnys wrote: > I strongly disagree with you from two points of view: > 1. freedom - the component is great and it would be even greater with a > bit more freedom. > 2. In my opinion, control has to be fast and simple. And user / customer > is always right. At least almost. And when he brakes something due to > what he asked - let him decide, don't push. > > Instead of forcing user pushing step button 4 times every time he wants > to reduce the step, we could take some measures to make unintended > cycling to highest step harder or to be noted by sound, indicator, > vibration, etc. Or even use two buttons - one for increasing and one for > decreasing step size, without rollover. > > I configured this pendant before 2.6.0 was out and I made changes to .cc > file to invert stepsize direction. And the user was very happy till > 2.6.0 has overwritten my compiled component. > > One more question / idea is to let user select step sequence freely, I > mean instead of default: > > 1,10,100,1000 > something like: > 1000,200,50,10,1 > > Is this possible? Can pendant display any number in stepsize position? > Buttons? We don't need no steenkin' buttons! Increment, decrement, all on one knob. ;-) http://www.automationtechnologiesinc.com/products-page/mpgs/mpg2-pendant Mark -- 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-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users