Re: [Emc-users] Address in of parrallel port not used in PNCCONF ?
Hi Marius, On 02/09/2014 08:46 PM, Marius Liebenberg wrote: > Mattieu > > Chris did confirm that there is a bug when you dont use the default > port. What happens if you use this line > > loadrt hm2_7i43 config="ioaddr=0x3bc firmware=hm2/7i43-2/SVST4_4.BIT > num_encoders=0 num_pwmgens=0 num_3pwmgens=0 num_stepgens=3 " > Also, you must make sure that the parallel port is in EPP mode. It's not working with this line, the port is in EPP mode it's working well when I do stepconf. Matthieu. > > On 2014-02-10 00:53, Matthieu Patou wrote: >> Marius, >> >> Well I have only one parallel port in this laptop and I want that the >> 7i43 that is connected to it to the port at the address 0x3BC. >> >> When I connect the same 7i43 to an atom based workstation it works well >> because the address of the port is 0x378. >> >> Matthieu. >> >> >> On 02/09/2014 12:32 AM, Marius Liebenberg wrote: >>> Matthieu >>> >>> The HAL file is correct. The PNCCONF utility will load the Mesa card >>> drivers as it does. >>> >>> What you are wanting to do is load an extra parallel port. This is not >>> the same as the 7i43 card but rather a parport. You should add to your >>> HAL file the following stuff. >>> >>> Have a look at this first >>> http://www.linuxcnc.org/docs/2.4/html/hal_parallel_port.html >>> >>> loadrt hal_parport cfg="0x378 out" >>> >>> setp parport.0.reset-time 5000 >>> >>> loadrt stepgen step_type=0,0,0 >>> >>> addf parport.0.read base-thread >>> >>> addf stepgen.make-pulses base-thread >>> >>> addf parport.0.write base-thread >>> >>> addf parport.0.reset base-thread >>> >>> addf stepgen.capture-position servo-thread >>> >>> >>> >>> >>> On 2014-02-09 09:41, Matthieu Patou wrote: >>>> Hi Marius, >>>> >>>> See the attached file, I don't see anything related to loading the >>>> parport driver. >>>> It seems that the hm2_7i43 module is trying to use the default address. >>>> >>>> I get this on the dmesg >>>> hm2_7i43.0: board at (ioaddr=0x0378, ioaddr_hi=0x0778, epp_wide ON) >>>> not found! >>>> >>>> I suspect that I should change the line from: >>>> loadrt hm2_7i43 config="firmware=hm2/7i43-2/SVST4_4.BIT num_encoders=0 >>>> num_pwmgens=0 num_3pwmgens=0 num_stepgens=3 " >>>> to >>>> loadrt hm2_7i43 config="ioaddr=0x3bc firmware=hm2/7i43-2/SVST4_4.BIT >>>> num_encoders=0 num_pwmgens=0 num_3pwmgens=0 num_stepgens=3 " >>>> >>>> If it is the case then it's confirmed that PNCConf has a bug because >>>> it should generate this kind of configuration when a non default >>>> address is specified for the parallel port. >>>> >>>> Matthieu. >>>> On 02/05/2014 12:57 AM, Marius Liebenberg wrote: >>>>> See if the address that is used when the parport driver is loaded in the >>>>> HAL file is what you expected it to be. You can also post you HAL file >>>>> here so we can have look at that for you. >>>>> >>>>> >>>>> On 2014-02-05 10:10, Matthieu Patou wrote: >>>>>> Hello All, >>>>>> >>>>>> I have an atom desktop with a partport at 0x378 and a 7i43 + 7i42 >>>>>> hooked >>>>>> to it and it's working well with LinuxCNC 2.5.3. >>>>>> On a thinkpad laptop I have a PCMCIA parport card at 0x3bc and when I >>>>>> try to run Axis, after configuring this laptop for the same card, I got >>>>>> errors about missing card at address 0x378 even though I configured it >>>>>> to 0x3BC. >>>>>> >>>>>> Did I miss something or is the port specified during PNCConf ignored ? >>>>>> >>>>>> Matthieu. >>>>>> >>>>>> -- >>>>>> >>>>>> Managing the Performance of Cloud-Based Applications >>>>>> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. >>>>>> Read the Whitepaper. >>>>>> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk >>>&g
Re: [Emc-users] Address in of parrallel port not used in PNCCONF ?
Marius, Well I have only one parallel port in this laptop and I want that the 7i43 that is connected to it to the port at the address 0x3BC. When I connect the same 7i43 to an atom based workstation it works well because the address of the port is 0x378. Matthieu. On 02/09/2014 12:32 AM, Marius Liebenberg wrote: > Matthieu > > The HAL file is correct. The PNCCONF utility will load the Mesa card > drivers as it does. > > What you are wanting to do is load an extra parallel port. This is not > the same as the 7i43 card but rather a parport. You should add to your > HAL file the following stuff. > > Have a look at this first > http://www.linuxcnc.org/docs/2.4/html/hal_parallel_port.html > > loadrt hal_parport cfg="0x378 out" > > setp parport.0.reset-time 5000 > > loadrt stepgen step_type=0,0,0 > > addf parport.0.read base-thread > > addf stepgen.make-pulses base-thread > > addf parport.0.write base-thread > > addf parport.0.reset base-thread > > addf stepgen.capture-position servo-thread > > > > > On 2014-02-09 09:41, Matthieu Patou wrote: >> Hi Marius, >> >> See the attached file, I don't see anything related to loading the >> parport driver. >> It seems that the hm2_7i43 module is trying to use the default address. >> >> I get this on the dmesg >> hm2_7i43.0: board at (ioaddr=0x0378, ioaddr_hi=0x0778, epp_wide ON) >> not found! >> >> I suspect that I should change the line from: >> loadrt hm2_7i43 config="firmware=hm2/7i43-2/SVST4_4.BIT num_encoders=0 >> num_pwmgens=0 num_3pwmgens=0 num_stepgens=3 " >> to >> loadrt hm2_7i43 config="ioaddr=0x3bc firmware=hm2/7i43-2/SVST4_4.BIT >> num_encoders=0 num_pwmgens=0 num_3pwmgens=0 num_stepgens=3 " >> >> If it is the case then it's confirmed that PNCConf has a bug because >> it should generate this kind of configuration when a non default >> address is specified for the parallel port. >> >> Matthieu. >> On 02/05/2014 12:57 AM, Marius Liebenberg wrote: >>> See if the address that is used when the parport driver is loaded in the >>> HAL file is what you expected it to be. You can also post you HAL file >>> here so we can have look at that for you. >>> >>> >>> On 2014-02-05 10:10, Matthieu Patou wrote: >>>> Hello All, >>>> >>>> I have an atom desktop with a partport at 0x378 and a 7i43 + 7i42 >>>> hooked >>>> to it and it's working well with LinuxCNC 2.5.3. >>>> On a thinkpad laptop I have a PCMCIA parport card at 0x3bc and when I >>>> try to run Axis, after configuring this laptop for the same card, I got >>>> errors about missing card at address 0x378 even though I configured it >>>> to 0x3BC. >>>> >>>> Did I miss something or is the port specified during PNCConf ignored ? >>>> >>>> Matthieu. >>>> >>>> -- >>>> >>>> Managing the Performance of Cloud-Based Applications >>>> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. >>>> Read the Whitepaper. >>>> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk >>>> >>>> ___ >>>> Emc-users mailing list >>>> Emc-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/emc-users >>>> >> >> >> -- >> Managing the Performance of Cloud-Based Applications >> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. >> Read the Whitepaper. >> http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk >> >> >> ___ >> Emc-users mailing list >> Emc-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/emc-users -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] Address in of parrallel port not used in PNCCONF ?
Hi Marius, See the attached file, I don't see anything related to loading the parport driver. It seems that the hm2_7i43 module is trying to use the default address. I get this on the dmesg hm2_7i43.0: board at (ioaddr=0x0378, ioaddr_hi=0x0778, epp_wide ON) not found! I suspect that I should change the line from: loadrt hm2_7i43 config="firmware=hm2/7i43-2/SVST4_4.BIT num_encoders=0 num_pwmgens=0 num_3pwmgens=0 num_stepgens=3 " to loadrt hm2_7i43 config="ioaddr=0x3bc firmware=hm2/7i43-2/SVST4_4.BIT num_encoders=0 num_pwmgens=0 num_3pwmgens=0 num_stepgens=3 " If it is the case then it's confirmed that PNCConf has a bug because it should generate this kind of configuration when a non default address is specified for the parallel port. Matthieu. On 02/05/2014 12:57 AM, Marius Liebenberg wrote: See if the address that is used when the parport driver is loaded in the HAL file is what you expected it to be. You can also post you HAL file here so we can have look at that for you. On 2014-02-05 10:10, Matthieu Patou wrote: Hello All, I have an atom desktop with a partport at 0x378 and a 7i43 + 7i42 hooked to it and it's working well with LinuxCNC 2.5.3. On a thinkpad laptop I have a PCMCIA parport card at 0x3bc and when I try to run Axis, after configuring this laptop for the same card, I got errors about missing card at address 0x378 even though I configured it to 0x3BC. Did I miss something or is the port specified during PNCConf ignored ? Matthieu. -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users # Generated by PNCconf at Sun Jan 19 14:11:23 2014 # If you make changes to this file, they will be # overwritten when you run PNCconf again loadrt trivkins loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES loadrt probe_parport loadrt hostmot2 loadrt hm2_7i43 config="firmware=hm2/7i43-2/SVST4_4.BIT num_encoders=0 num_pwmgens=0 num_3pwmgens=0 num_stepgens=3 " setp hm2_7i43.0.watchdog.timeout_ns 1000 addf hm2_7i43.0.read servo-thread addf motion-command-handler servo-thread addf motion-controller servo-thread addf hm2_7i43.0.write servo-thread addf hm2_7i43.0.pet_watchdog servo-thread # external output signals # external input signals #*** # AXIS X #*** # Step Gen signals/setup setp hm2_7i43.0.stepgen.00.dirsetup[AXIS_0]DIRSETUP setp hm2_7i43.0.stepgen.00.dirhold [AXIS_0]DIRHOLD setp hm2_7i43.0.stepgen.00.steplen [AXIS_0]STEPLEN setp hm2_7i43.0.stepgen.00.stepspace [AXIS_0]STEPSPACE setp hm2_7i43.0.stepgen.00.position-scale [AXIS_0]STEP_SCALE setp hm2_7i43.0.stepgen.00.step_type0 setp hm2_7i43.0.stepgen.00.control-type 0 setp hm2_7i43.0.stepgen.00.maxaccel 2.5 setp hm2_7i43.0.stepgen.00.maxvel 16.7 net x-pos-fb axis.0.motor-pos-fb <= hm2_7i43.0.stepgen.00.position-fb net x-pos-cmdaxis.0.motor-pos-cmd => hm2_7i43.0.stepgen.00.position-cmd net x-enable axis.0.amp-enable-out => hm2_7i43.0.stepgen.00.enable # ---setup home / limit switch signals--- net x-home-sw => axis.0.home-sw-in net x-neg-limit => axis.0.neg-lim-sw-in net x-pos-limit => axis.0.pos-lim-sw-in #*** # AXIS Y #*** # Step Gen signals/setup setp hm2_7i43.0.stepgen.01.dirsetup[AXIS_1]DIRSETUP setp hm2_7i43.0.stepgen.01.dirhold [AXIS_1]DIRHOLD setp hm2_7i43.0.stepgen.01.steplen [AXIS_1]STEPLEN setp hm2_7i43.0.stepgen.01.stepspace [AXIS_1]STEPSPACE setp hm2_7i43.0.stepgen.01.position-scale [AXIS_1]STEP_SCALE setp hm2_7i43.0.stepgen.01.step_type0 setp hm2_7i43.0.stepgen.01.control-type 0 setp hm2_7i43.0.stepgen.01.maxaccel 2.5 setp hm2_7i43.0.stepgen.01.maxvel 16.7 net y-pos-fb axis.1.motor-pos-fb <= hm2_7i43.0.stepgen.01.position-fb net y-pos-cmdaxis.1.motor-pos-cmd => hm2_7i43.0.stepgen.01.position-cmd net y-enable axis.1.amp-enable-out => hm2_7i43.0.stepgen.01.enable # ---setup home / limit switch signals--- net y-home-sw => axis.1.home-sw-in net y-neg-limit => axis.1.neg-lim-sw-in net y-pos-limit => axis.1.pos-lim-sw-in #*** # AXIS Z #*** # Step Gen signals/setup setp hm2_7i43.0.stepgen.02.dirsetup[AXIS_2]DIRSETUP setp hm2_7i43.0.stepgen.02.dirhold [AXIS_2]DIRHOLD setp hm2_7i43.0.stepgen.02.steplen [AXIS_2]STEPLEN setp
[Emc-users] Address in of parrallel port not used in PNCCONF ?
Hello All, I have an atom desktop with a partport at 0x378 and a 7i43 + 7i42 hooked to it and it's working well with LinuxCNC 2.5.3. On a thinkpad laptop I have a PCMCIA parport card at 0x3bc and when I try to run Axis, after configuring this laptop for the same card, I got errors about missing card at address 0x378 even though I configured it to 0x3BC. Did I miss something or is the port specified during PNCConf ignored ? Matthieu. -- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
Re: [Emc-users] mesa 7I43 + MPG + speed control rotary switch
Hello Chris, Any news on this ? Do you have any ideas ? Anybody else ? Thanks. Matthieu. On 11/23/2012 02:53 PM, Matthieu Patou wrote: > On 11/18/2012 12:42 PM, Chris Morley wrote: >> >>> Then we tried this while keeping all the physical connections in place: >>> >>> * Reconfigure just the MPG with PNCconf: every thing is working on 3 >>> axis the motion switch behave as expected >>> * Reconfigure just the speed control: changing the switch position >>> correctly change the speed >>> >>> Do you have any clue to understand the issue we have when both the MPG >>> and speed control switch are configured in PNCconf ? >>> >> Thanks for the bug report. >> A few questions: >> PNCconf has a few options that use MPG are you speaking of manual >> axis jogging? >> Same question on speed switch - do you mean manual axis jogging >> increments? >> if so, I use this same set up and seem not to have problems. > I'm not sure to understand the question part of my problem might be > that the UI is in French so that my father can use it and I'm not too > much confident in the traduction that has been done. I guess the > attached pncconf should tell you more about what we tried. >> >> What version of linuxcnc are you using? eg 2.5 or 2.51 etc > 2.5 >> Could you post your .pncconf config file (not your actual config folder) > Sure find it attached, I can provide the .hal and the .ini as well if > needed. > > Matthieu > > > -- > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > > > ___ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users -- Keep yourself connected to Go Parallel: TUNE You got it built. Now make it sing. Tune shows you how. http://goparallel.sourceforge.net ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users
[Emc-users] mesa 7I43 + MPG + speed control rotary switch
Hello all, My father and I are trying to hook a MPG + a speed control rotary switch to a MESA 7i43 and it seems not to work as expected. The rotary switch has 4 position to control speed increment. We tried the configuration in PNCconf and we stumble into the following issues: * most of the time we have to manipulate the speed switch in order to have a change on the jog reflected in axis * most of the time we have to manipulate the jog switch in order to have a change on the speed switch reflected in axis It looks like both switch are somehow interdependent, we tried to tweak the debounce but with no success. Then we tried this while keeping all the physical connections in place: * Reconfigure just the MPG with PNCconf: every thing is working on 3 axis the motion switch behave as expected * Reconfigure just the speed control: changing the switch position correctly change the speed Do you have any clue to understand the issue we have when both the MPG and speed control switch are configured in PNCconf ? Thanks ! Matthieu. -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users