Re: [Emc-users] Multiple XHC mpg pendants?

2016-04-27 Thread Bruce Layne
I use the Logitech K400 small wireless keyboards with small touch pads 
on my LinuxCNC projects, for both a keyboard and in lieu of a wireless 
control pendant.  I think something like 32 of them can be used in close 
proximity, without any cross talk or jamming interference.  I'm not sure 
what technology they use, but it seems like it might be a spread 
spectrum technology.  There is no problem with one keyboard talking to 
another machine... ever.  I assume Logitech imagined a company buying a 
dozen of these and putting them in the same office, or a classroom 
having one of these per student. The keyboards never get confused about 
which one controls which machine, but I get confused about that on 
occasion if I carry the keyboards away from their respective machines 
for no good reason.

Hopefully, your MPG will use a similar wireless technology.

If I were contemplating your application, I'd be less concerned with one 
wireless MPG jamming another, and more concerned about a wireless MPG 
being jammed by the radiated RFI from a plasma cutter. I'm a bit 
concerned about potentially dangerous loss of control with a wireless 
keyboard.  Even worse, imagine the damage that could occur if a wireless 
keyboard dongle interpreted electrical noise as a RUN command as you're 
reaching in to unload a part.



On 04/27/2016 09:31 PM, Danny Miller wrote:
> I do love this wireless XHC mpg.
>
> Had some long-term plans of installing a CNC plasma not too far away,
> with the same system.   Then I began to wonder if two of these can even
> exist in the same building at the same time.
>
> Obviously I don't want one broadcasting to both machines, or allow the
> plasma cutter's mpg to connect to the CNC router even if the router's
> mpg is off and the plasma cutter is powered down.
>
> There's no "pairing" process or anything.  I don't see an unique ID.
> IIRC it's a chip commonly used for wireless keyboards.
>
> http://forum.planet-cnc.com/viewtopic.php?f=12=1125
>
> It does go through that wireless USB dongle, but it's probably not
> hardwired to only talk to that dongle, it is?
>
> Danny
>
>
>
> --
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
>


--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Multiple XHC mpg pendants?

2016-04-27 Thread Danny Miller
I do love this wireless XHC mpg.

Had some long-term plans of installing a CNC plasma not too far away, 
with the same system.   Then I began to wonder if two of these can even 
exist in the same building at the same time.

Obviously I don't want one broadcasting to both machines, or allow the 
plasma cutter's mpg to connect to the CNC router even if the router's 
mpg is off and the plasma cutter is powered down.

There's no "pairing" process or anything.  I don't see an unique ID.  
IIRC it's a chip commonly used for wireless keyboards.

http://forum.planet-cnc.com/viewtopic.php?f=12=1125

It does go through that wireless USB dongle, but it's probably not 
hardwired to only talk to that dongle, it is?

Danny



--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] modbus2hal is possible to setting as SLAVE?

2016-04-27 Thread Nicklas Karlsson
I would guess Linuxcnc always is the master.

> I not understand if there is this possibility .. in my test I receive 
> only a list of error (debug level 1) . 
> If someone have use with succes mb2hal in slave conf ... can suggest my the 
> right way to do this?
> 
> Regards
> Giorgio
> 
> --
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


-- 
Nicklas Karlsson 

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Timing belt size? --> Microstepping accuracy

2016-04-27 Thread Gregg Eshelman
That's why it won't go more than 1/2 step. 400 1/2 steps through a 2:1 
reduction makes 800 per lead screw revolution. With the 16mm per turn ball 
screw that will get 0.02mm carriage movement per motor 1/2 step.
Translation. Good enough for the intended use for the lathe.



 
  From: Nicklas Karlsson 
 To: Enhanced Machine Controller (EMC)  
 Sent: Wednesday, April 27, 2016 5:25 AM
 Subject: Re: [Emc-users] Timing belt size? --> Microstepping accuracy
   
> Also please be aware of
> http://www.micromo.com/microstepping-myths-and-realities
> 
> a consistent amount of movement from a microstep is not going to happen
> 
> Dave Caroline

I expect very little increased acccuracy for microstepping like 32 microsteps 
instead of one full step. I however expect smother motion, less noise and not 
the least less wear.


Nicklas Karlsson

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


   
 
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] PCB circuit board drill file

2016-04-27 Thread Jon Elson
On 04/27/2016 11:26 AM, Brian Mihulka wrote:
> His youtube directive is not working, so just take the id and either search
> youtube with it or put it in a watch link.  I have done it below.
>
> https://www.youtube.com/watch?v=fBMfXbh5uY4
>
>
I built a contraption to do robot soldering.  It had no 
rotation, but that is not needed in many cases.
It attached a spring-loaded soldering iron held at an angle 
in the spindle of my mill.  I built a little motor-feeder 
for the solder wire, and some logic to feed forward on 
command, then retract just a bit when the command signal 
ends.  It basically worked, but was just a bit clunky.  I 
refitted it to use a larger diameter solder and and have not 
tried it again.  I think the larger solder should make it 
work better.

Jon

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Need to add a faster thread base-thread with 100 microseconds, Compilation changes required !!!

2016-04-27 Thread Gene Heskett
On Wednesday 27 April 2016 12:12:22 adit bhargava wrote:

> Hello Andy,
>
> I checked the pins 4 and 17 on the 5i25 header, but there is no
> output.We do have a full set of wires connected to parallel port
> cable.I don't know how to proceed now.
>
> BRÁdit

In case you missed the read of the docs, those GPIO's so created are 
inputs. So to use as outputs, you need to add some hal file lines that 
turn them into outputs.

An example from my mills .hal file might be helpfull:

#*
# First - setup 5i25's p3-p17 for servo enable use
#*
setp hm2_5i25.0.gpio.007.is_output true
setp hm2_5i25.0.gpio.007.invert_output false
net spindle-enable  <=  motion.spindle-on => boot.spindle.enable
net spindle-enable => hm2_5i25.0.gpio.007.out # pwmgen-enable on P3-17

This signal serves as the enabling input to one of the Pico Systems
PWM-Servo amplifiers that I am using as the spindle motor driver, a 1HP 
rated PM DC motor, from a 125 volt DC source good for about 2KW in ICAS.  
1500 watts CCS.  This enable signal is used because the PWMGEN facility 
in the 5i25 does not supply that enabling signal to the outputs, it only 
supply's the PWM and DIR.

The boot.spindle.enable is a module that goes with the PWM-Servo and it 
issues both fwd and reverse pulses to the PWM-Servo to properly 
pre-charge the output hexfets gate driving working voltages. They are so 
short the motor never moves but they do the job. You do not see its 
additional hal "wiring" in the above snippet as it contributes nothing 
to this lesson.

The same I assume must be done in order to use P3-pin 4, you'll need to 
get the GPIO numbers from the dmesg after running LCNC as their is 
little to zero relationship between the p2|3 pin number and the 3 digit 
GPIO numbers you see above.  The above is mine, get yours for the 
corresponding pin, like p3-17 FROM your dmesg output.  They will be 
consistent from run to run as long as the hal files loadrt line remains 
the same, and you don't mesaflash a different configuration into the 
5i25.

I hope this helps?

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 

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] modbus2hal is possible to setting as SLAVE?

2016-04-27 Thread giorgio foga
I not understand if there is this possibility .. in my test I receive only 
a list of error (debug level 1) . 
If someone have use with succes mb2hal in slave conf ... can suggest my the 
right way to do this?

Regards
Giorgio
  
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] PCB circuit board drill file

2016-04-27 Thread Brian Mihulka
His youtube directive is not working, so just take the id and either search
youtube with it or put it in a watch link.  I have done it below.

https://www.youtube.com/watch?v=fBMfXbh5uY4

On Wed, Apr 27, 2016 at 3:33 AM, Marius Liebenberg 
wrote:

> Hi Peter
> I cannot see the link to the video on you website. I would like to see
> your solder machine at work.
>
>
> -- Original Message --
> From: "Peter Homann" 
> To: "Enhanced Machine Controller (EMC)"
> 
> Sent: 2016-04-27 10:16:29
> Subject: Re: [Emc-users] PCB circuit board drill file
>
> >Hi,
> >
> >I haven't checked if its been mentioned yet but Sheetcam will take a
> >drill
> >file and produce a Gcode file from it.
> >http://www.sheetcam.com/features/drilling
> >
> >I used it here to make a PCB jig.
> >
> http://www.homanndesigns.com/info/index.php/projects/35-smt/53-selective-soldering-machine-mach3-
> >
> >
> >Also Sheetcam runs on Linux.
> >
> >Cheers,
> >
> >Peter
> >
> >On 26-Apr-16 2:56 AM, Nicklas Karlsson wrote:
> >>  I am looking at using linuxcnc to drill my circuit boards. There is a
> >>few commands in file, a tool table and coordinates. It is not possible
> >>run the file directly in linuxcnc. I think this kind of file could be
> >>of general use then a pattern of holes need to be drilled. Do anyone
> >>have any suggestions on how to attack it?
> >>
> >>  Tool table:
> >> M48
> >> INCH
> >> T73 ...
> >> T73 ...
> >> T73 ...
> >> ...
> >>
> >>  Coordinates for each tool:
> >> %
> >> T73
> >> X..Y..
> >> X..Y..
> >> X..Y..
> >> ...
> >> T71
> >> X..Y..
> >> X..Y..
> >> X..Y..
> >> ...
> >>
> >>
> >>  Regards Nicklas Karlsson
> >>
> >>
>
> >>--
> >>  Find and fix application performance issues faster with Applications
> >>Manager
> >>  Applications Manager provides deep performance insights into multiple
> >>tiers of
> >>  your business applications. It resolves application problems quickly
> >>and
> >>  reduces your MTTR. Get your free trial!
> >>  https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> >>  ___
> >>  Emc-users mailing list
> >>  Emc-users@lists.sourceforge.net
> >>  https://lists.sourceforge.net/lists/listinfo/emc-users
> >>
> >
> >--
>
> >-
> >eStore: http://www.homanndesigns.com/store
> >Web : http://www.homanndesigns.com
> >email : sa...@homanndesigns.com
> >Phone : +61 421 601 665
> >
> >---
> >This email has been checked for viruses by Avast antivirus software.
> >https://www.avast.com/antivirus
> >
> >
>
> >--
> >Find and fix application performance issues faster with Applications
> >Manager
> >Applications Manager provides deep performance insights into multiple
> >tiers of
> >your business applications. It resolves application problems quickly
> >and
> >reduces your MTTR. Get your free trial!
> >https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> >___
> >Emc-users mailing list
> >Emc-users@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/emc-users
>
> --
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Need to add a faster thread base-thread with 100 microseconds, Compilation changes required !!!

2016-04-27 Thread andy pugh
On 27 April 2016 at 17:12, adit bhargava  wrote:

> I checked the pins 4 and 17 on the 5i25 header, but there is no output.
> We do have a full set of wires connected to parallel port cable.
> I don't know how to proceed now.

Have you set the GPIO pins to output mode?
http://linuxcnc.org/docs/2.7/html/man/man9/hostmot2.9.html#General Purpose I/O



-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Need to add a faster thread base-thread with 100 microseconds, Compilation changes required !!!

2016-04-27 Thread adit bhargava
Hello Andy,

I checked the pins 4 and 17 on the 5i25 header, but there is no output.We do 
have a full set of wires connected to parallel port cable.I don't know how to 
proceed now.

BRÁdit


  From: andy pugh 
 To: adit bhargava  
Cc: Enhanced Machine Controller (EMC) 
 Sent: Wednesday, April 27, 2016 4:46 PM
 Subject: Re: [Emc-users] Need to add a faster thread base-thread with 100 
microseconds, Compilation changes required !!!
   
On 27 April 2016 at 15:33, adit bhargava  wrote:

> But, I am not able to get the pulses on the Oscilloscope connected to 7i78
> between Pin 21 and GND.(Find attached 7i78 pin diagram).

maybe try pins 4 and 17 on the 5i25 header, as shown in the dmesg.

[ 2136.149174] hm2/hm2_5i25.0:    IO Pin 023 (P2-04): IOPort
[ 2136.149176] hm2/hm2_5i25.0:    IO Pin 024 (P2-17): IOPort

Your annotation to the drawing makes me wonder if you have a problem
with the 7i78 (or maybe with the parallel-port cable, many do not
contain the full set of wires)

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

  
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Need to add a faster thread base-thread with 100 microseconds, Compilation changes required !!!

2016-04-27 Thread andy pugh
On 27 April 2016 at 15:33, adit bhargava  wrote:

> But, I am not able to get the pulses on the Oscilloscope connected to 7i78
> between Pin 21 and GND.(Find attached 7i78 pin diagram).

maybe try pins 4 and 17 on the 5i25 header, as shown in the dmesg.

[ 2136.149174] hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort
[ 2136.149176] hm2/hm2_5i25.0: IO Pin 024 (P2-17): IOPort

Your annotation to the drawing makes me wonder if you have a problem
with the 7i78 (or maybe with the parallel-port cable, many do not
contain the full set of wires)

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Need to add a faster thread base-thread with 100 microseconds, Compilation changes required !!!

2016-04-27 Thread adit bhargava
Hello Andy,
Thanks for suggestion.Now I am getting the software PWM output pulses  on GPIO 
I/O pin 23 :hm2_5i25.0.gpio.023.out
show pin
 5  bit   OUT FALSE  hm2_5i25.0.gpio.023.in
 5  bit   OUT  TRUE  hm2_5i25.0.gpio.023.in_not
 5  bit   IN  FALSE  hm2_5i25.0.gpio.023.out
 5  bit   OUT FALSE  hm2_5i25.0.gpio.024.in
 5  bit   OUT  TRUE  hm2_5i25.0.gpio.024.in_not
 5  bit   IN  FALSE  hm2_5i25.0.gpio.024.out

But, I am not able to get the pulses on the Oscilloscope connected to 7i78 
between Pin 21 and GND.(Find attached 7i78 pin diagram).
Where to check the output on the 7i78 if its hardwired to disabled highest 
stepgen(GPIO pin 23)? 

BRAdit

  


         

  From: andy pugh 
 To: adit bhargava  
Cc: Enhanced Machine Controller (EMC) 
 Sent: Wednesday, April 27, 2016 2:17 PM
 Subject: Re: [Emc-users] Need to add a faster thread base-thread with 100 
microseconds, Compilation changes required !!!
   
On 27 April 2016 at 13:08, adit bhargava  wrote:
> I tried to redirect the PWM output to one of this pin as follows but it says
> this pin dosen't exist
>
> net pwm-generate    => hm2_5i25.0.gpio.023

You can get a pin listing by starting the driver from the command-line

halrun
loadrt hostmot2
loadrt hm2_pci config="num_stepgens=8"
show pin
exit

See what that lists as GPIO pins on the 5i25.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

  
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Timing belt size?

2016-04-27 Thread Gene Heskett
On Wednesday 27 April 2016 04:34:33 Gregg Eshelman wrote:

> Center distance of the shafts for the motor and leadscrew on my lathe
> are just a bit over 77mm. Motor shaft is 3/8". Screw shaft is 10mm.
> (Yup, surplus parts, ya gets what there is.) I want to do a 2:1
> reduction, which with 1/2 stepping the 200 step motor will get 0.02 mm
> move per step from the 16 mm per turn ball screw. It's a 9x20 lathe
> and the motor is a Slo-Syn brand, label says 450oz holding torque.
> Specs on the motor say 5% accuracy so I wouldn't expect 1/16th
> stepping to consistently produce 0.01 mm movement with a 2:1
> reduction.
>
> There's very little adjustment on the motor mount so I'll likely need
> to use a smooth idler against the back of the belt. There is room
> where I could put an idler on the inside of the belt and use some
> arbitrary length, but shorter belt = stiffer and better accuracy,
> right?
>
> Recommendations on pulleys, tooth profile and belt length / number of
> teeth? I have lathes so I can ream a 3/8" out to 10mm.

Not a recommendation Gregg, but I didn't use a belt for Z drive on my 
7x12. I'd bought a full set of metal change gears for it and since I 
wasn't using them anymore, I made miniature taper-lock hubs for two of 
them. 1/4" bore on the 425 motor into a 40 tooth gear, and a 10mm for 
the stub of the 16x5mm Z screw I used was fitted into one of the 80 
teeth gears for a 2/1 reduction.  But my 2m542 driver is set for a /8 
microstep as that got me a huge reduction in gear rattling when combined 
with a damper on the other end of the motor.  With about 37 volts for 
the motors, my rapids on the Z are set for 60 IPM limit which is a bit 
of overkill for a 7x12, but its bulletproof.  And if I run it into the 
tailstock it just shoves it on down the bed even if its tightened well 
for drilling a big hole.

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 

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Need to add a faster thread base-thread with 100 microseconds, Compilation changes required !!!

2016-04-27 Thread andy pugh
On 27 April 2016 at 13:08, adit bhargava  wrote:
> I tried to redirect the PWM output to one of this pin as follows but it says
> this pin dosen't exist
>
> net pwm-generate=> hm2_5i25.0.gpio.023

You can get a pin listing by starting the driver from the command-line

halrun
loadrt hostmot2
loadrt hm2_pci config="num_stepgens=8"
show pin
exit

See what that lists as GPIO pins on the 5i25.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Need to add a faster thread base-thread with 100 microseconds, Compilation changes required !!!

2016-04-27 Thread adit bhargava
Hello Andy,
I tried to disable the highest numbered Stepgen(9th in our case) and got the 
following DMESG o/P : 

[ 2136.149105] hm2/hm2_5i25.0: 34 I/O Pins used:
[ 2136.149109] hm2/hm2_5i25.0: IO Pin 000 (P3-01): StepGen #0, pin 
Direction (Output)
[ 2136.149112] hm2/hm2_5i25.0: IO Pin 001 (P3-14): StepGen #0, pin Step 
(Output)
[ 2136.149115] hm2/hm2_5i25.0: IO Pin 002 (P3-02): StepGen #1, pin 
Direction (Output)
[ 2136.149118] hm2/hm2_5i25.0: IO Pin 003 (P3-15): StepGen #1, pin Step 
(Output)
[ 2136.149121] hm2/hm2_5i25.0: IO Pin 004 (P3-03): StepGen #2, pin 
Direction (Output)
[ 2136.149123] hm2/hm2_5i25.0: IO Pin 005 (P3-16): StepGen #2, pin Step 
(Output)
[ 2136.149126] hm2/hm2_5i25.0: IO Pin 006 (P3-04): StepGen #3, pin 
Direction (Output)
[ 2136.149129] hm2/hm2_5i25.0: IO Pin 007 (P3-17): StepGen #3, pin Step 
(Output)
[ 2136.149131] hm2/hm2_5i25.0: IO Pin 008 (P3-05): StepGen #4, pin 
Direction (Output)
[ 2136.149134] hm2/hm2_5i25.0: IO Pin 009 (P3-06): StepGen #4, pin Step 
(Output)
[ 2136.149137] hm2/hm2_5i25.0: IO Pin 010 (P3-07): Smart Serial Interface 
#0, pin TxData0 (Output)
[ 2136.149140] hm2/hm2_5i25.0: IO Pin 011 (P3-08): Smart Serial Interface 
#0, pin RxData0 (Input)
[ 2136.149143] hm2/hm2_5i25.0: IO Pin 012 (P3-09): IOPort
[ 2136.149145] hm2/hm2_5i25.0: IO Pin 013 (P3-10): IOPort
[ 2136.149148] hm2/hm2_5i25.0: IO Pin 014 (P3-11): Encoder #0, pin Index 
(Input)
[ 2136.149150] hm2/hm2_5i25.0: IO Pin 015 (P3-12): Encoder #0, pin B (Input)
[ 2136.149153] hm2/hm2_5i25.0: IO Pin 016 (P3-13): Encoder #0, pin A (Input)
[ 2136.149156] hm2/hm2_5i25.0: IO Pin 017 (P2-01): StepGen #5, pin 
Direction (Output)
[ 2136.149158] hm2/hm2_5i25.0: IO Pin 018 (P2-14): StepGen #5, pin Step 
(Output)
[ 2136.149161] hm2/hm2_5i25.0: IO Pin 019 (P2-02): StepGen #6, pin 
Direction (Output)
[ 2136.149165] hm2/hm2_5i25.0: IO Pin 020 (P2-15): StepGen #6, pin Step 
(Output)
[ 2136.149167] hm2/hm2_5i25.0: IO Pin 021 (P2-03): StepGen #7, pin 
Direction (Output)
[ 2136.149172] hm2/hm2_5i25.0: IO Pin 022 (P2-16): StepGen #7, pin Step 
(Output)
[ 2136.149174] hm2/hm2_5i25.0: IO Pin 023 (P2-04): IOPort
[ 2136.149176] hm2/hm2_5i25.0: IO Pin 024 (P2-17): IOPort
[ 2136.149179] hm2/hm2_5i25.0: IO Pin 025 (P2-05): PWMGen #0, pin Out0 (PWM 
or Up) (Output)
[ 2136.149182] hm2/hm2_5i25.0: IO Pin 026 (P2-06): PWMGen #0, pin 
Not-Enable (Output)
[ 2136.149185] hm2/hm2_5i25.0: IO Pin 027 (P2-07): PWMGen #0, pin Out1 (Dir 
or Down) (Output)
[ 2136.149187] hm2/hm2_5i25.0: IO Pin 028 (P2-08): IOPort
[ 2136.149189] hm2/hm2_5i25.0: IO Pin 029 (P2-09): IOPort
[ 2136.149191] hm2/hm2_5i25.0: IO Pin 030 (P2-10): IOPort
[ 2136.149194] hm2/hm2_5i25.0: IO Pin 031 (P2-11): Encoder #1, pin Index 
(Input)
[ 2136.149196] hm2/hm2_5i25.0: IO Pin 032 (P2-12): Encoder #1, pin B (Input)
[ 2136.149199] hm2/hm2_5i25.0: IO Pin 033 (P2-13): Encoder #1, pin A (Input)
I changed num_stepgen=8 in config string  rather than 9 earlier.
So, the highest numbered stepgen become GPIO pins as 023 and 024 .
I tried to redirect the PWM output to one of this pin as follows but it says 
this pin dosen't exist
net pwm-generate    => hm2_5i25.0.gpio.023

1.) How should I use this pin now ?
And also, I called write_gpio function as follows within base thread:
 addf hm2_5i25.0.write_gpio base-thread
BRAdit
  From: andy pugh 
 To: adit bhargava  
Cc: Enhanced Machine Controller (EMC) 
 Sent: Friday, April 22, 2016 4:50 PM
 Subject: Re: [Emc-users] Need to add a faster thread base-thread with 100 
microseconds, Compilation changes required !!!
   
On 22 April 2016 at 15:43, adit bhargava  wrote:
> Does this mean that if I redirect the PWM output to 5i25 GPIO pin(after
> disabling the stepgen),
> the PWM signal will be forwarded to 7i76 also ?

No, the 5i25 pins currently associated with the highest-numbered
stepgen are hard-wired to the port that you (probably) have the 7i78
connected to.
Though you could swap the 7i78 and 7i76 ports.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

  
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Timing belt size? --> Microstepping accuracy

2016-04-27 Thread Nicklas Karlsson
> Also please be aware of
> http://www.micromo.com/microstepping-myths-and-realities
> 
> a consistent amount of movement from a microstep is not going to happen
> 
> Dave Caroline

I expect very little increased acccuracy for microstepping like 32 microsteps 
instead of one full step. I however expect smother motion, less noise and not 
the least less wear.


Nicklas Karlsson

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Timing belt size?

2016-04-27 Thread Dave Caroline
Also please be aware of
http://www.micromo.com/microstepping-myths-and-realities

a consistent amount of movement from a microstep is not going to happen

Dave Caroline

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Timing belt size?

2016-04-27 Thread andy pugh
On 27 April 2016 at 09:34, Gregg Eshelman  wrote:
> Recommendations on pulleys, tooth profile and belt length / number of teeth? 
> I have lathes so I can ream a 3/8" out to 10mm.

This might help
http://www.hpcgears.com/n/left_menu/calc/calc.php

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Timing belt size?

2016-04-27 Thread Gregg Eshelman
Center distance of the shafts for the motor and leadscrew on my lathe are just 
a bit over 77mm. Motor shaft is 3/8". Screw shaft is 10mm. (Yup, surplus parts, 
ya gets what there is.)
I want to do a 2:1 reduction, which with 1/2 stepping the 200 step motor will 
get 0.02 mm move per step from the 16 mm per turn ball screw.
It's a 9x20 lathe and the motor is a Slo-Syn brand, label says 450oz holding 
torque. Specs on the motor say 5% accuracy so I wouldn't expect 1/16th stepping 
to consistently produce 0.01 mm movement with a 2:1 reduction.

There's very little adjustment on the motor mount so I'll likely need to use a 
smooth idler against the back of the belt. There is room where I could put an 
idler on the inside of the belt and use some arbitrary length, but shorter belt 
= stiffer and better accuracy, right?

Recommendations on pulleys, tooth profile and belt length / number of teeth? I 
have lathes so I can ream a 3/8" out to 10mm.
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] PCB circuit board drill file

2016-04-27 Thread Marius Liebenberg
Hi Peter
I cannot see the link to the video on you website. I would like to see 
your solder machine at work.


-- Original Message --
From: "Peter Homann" 
To: "Enhanced Machine Controller (EMC)" 

Sent: 2016-04-27 10:16:29
Subject: Re: [Emc-users] PCB circuit board drill file

>Hi,
>
>I haven't checked if its been mentioned yet but Sheetcam will take a 
>drill
>file and produce a Gcode file from it.
>http://www.sheetcam.com/features/drilling
>
>I used it here to make a PCB jig.
>http://www.homanndesigns.com/info/index.php/projects/35-smt/53-selective-soldering-machine-mach3-
>
>
>Also Sheetcam runs on Linux.
>
>Cheers,
>
>Peter
>
>On 26-Apr-16 2:56 AM, Nicklas Karlsson wrote:
>>  I am looking at using linuxcnc to drill my circuit boards. There is a 
>>few commands in file, a tool table and coordinates. It is not possible 
>>run the file directly in linuxcnc. I think this kind of file could be 
>>of general use then a pattern of holes need to be drilled. Do anyone 
>>have any suggestions on how to attack it?
>>
>>  Tool table:
>> M48
>> INCH
>> T73 ...
>> T73 ...
>> T73 ...
>> ...
>>
>>  Coordinates for each tool:
>> %
>> T73
>> X..Y..
>> X..Y..
>> X..Y..
>> ...
>> T71
>> X..Y..
>> X..Y..
>> X..Y..
>> ...
>>
>>
>>  Regards Nicklas Karlsson
>>
>>  
>>--
>>  Find and fix application performance issues faster with Applications 
>>Manager
>>  Applications Manager provides deep performance insights into multiple 
>>tiers of
>>  your business applications. It resolves application problems quickly 
>>and
>>  reduces your MTTR. Get your free trial!
>>  https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
>>  ___
>>  Emc-users mailing list
>>  Emc-users@lists.sourceforge.net
>>  https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>
>--
>-
>eStore: http://www.homanndesigns.com/store
>Web : http://www.homanndesigns.com
>email : sa...@homanndesigns.com
>Phone : +61 421 601 665
>
>---
>This email has been checked for viruses by Avast antivirus software.
>https://www.avast.com/antivirus
>
>
>--
>Find and fix application performance issues faster with Applications 
>Manager
>Applications Manager provides deep performance insights into multiple 
>tiers of
>your business applications. It resolves application problems quickly 
>and
>reduces your MTTR. Get your free trial!
>https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
>___
>Emc-users mailing list
>Emc-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/emc-users
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] PCB circuit board drill file

2016-04-27 Thread Peter Homann
Hi,

I haven't checked if its been mentioned yet but Sheetcam will take a drill 
file and produce a Gcode file from it.
http://www.sheetcam.com/features/drilling

I used it here to make a PCB jig.
http://www.homanndesigns.com/info/index.php/projects/35-smt/53-selective-soldering-machine-mach3-


Also Sheetcam runs on Linux.

Cheers,

Peter

On 26-Apr-16 2:56 AM, Nicklas Karlsson wrote:
> I am looking at using linuxcnc to drill my circuit boards. There is a few 
> commands in file, a tool table and coordinates. It is not possible run the 
> file directly in linuxcnc. I think this kind of file could be of general use 
> then a pattern of holes need to be drilled. Do anyone have any suggestions on 
> how to attack it?
>
> Tool table:
>M48
>INCH
>T73 ...
>T73 ...
>T73 ...
>...
>
> Coordinates for each tool:
>%
>T73
>X..Y..
>X..Y..
>X..Y..
>...
>T71
>X..Y..
>X..Y..
>X..Y..
>...
>
>
> Regards Nicklas Karlsson
>
> --
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

-- 
-
eStore: http://www.homanndesigns.com/store
Web : http://www.homanndesigns.com
email : sa...@homanndesigns.com
Phone : +61 421 601 665

---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus


--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users