Re: [Emc-users] Can't get XHC-HB04 MPG to work

2016-04-20 Thread dannym
Didn't realize I sent off-list.

OK, I think I see a key problem, under Hal Meter, "xhb-hb04.require_pendant = 
false", although "connected" is true.

Right in the main .ini:

[XHC_HB04_CONFIG]
require_pendant = yes

I tried "true" instead of "yes", no change.

[HALUI] for all the MDI_COMMAND stuff is in the main ini file now.  It shows up 
under the HAL meter- but are always false.  I pressed every button on the mpg.

The jog.enable-x show true/false when selected.

So, what I'm seeing is that any button listed inside my xhc-hb20.hal file works 
fine.  But all the  [HALUI] and [XHC_HB04_BUTTONS] stuff is inactive.


Danny


 Gene Heskett  wrote: 
> On Wednesday 20 April 2016 15:28:39 dan...@austin.rr.com wrote:
> Back to the list Danny, so its locateable in the list archives for the 
> next person with a similar error.  That IS the main reason this list 
> exists.
> 
> That, and to nag you unmercifully about your top posting,  We like to see 
> the answers mixed in so its a conversationally ordered read for the next 
> person.  Your emails header lines do not identify your "user agent" so I 
> can't sharpen a finger in its direction.
> 
> > Sorry I didn't type the complete sentence: "So you're saying [HALUI]
> > in a supplemental .ini file won't work?" was what I was shooting for.
> >
> > Looking over the other stuff.  This looks like a GREAT help!
> >
> > Is it ok that [XHC_HB04_BUTTONS],[XHC_HB04_CONFIG], [EMC], and
> > [APPLICATIONS] are still in that layout20.ini file and not the main
> > .ini?
> >
> > There is already an [EMC] in the main .ini:
> > MACHINE =   HM2-Stepper
> > DEBUG = 0
> >
> > layout20.ini additionally has:
> > [EMC]
> > MACHINE =  xhc-hb04 layout2
> >
> You may want to put that in its own file, with a suitable name, and then 
> source "suitable" name.
> 
> But OTOH, I have not done something like that (sourceing a file, which 
> when done, essentially is identical to opening  up a small gap in the 
> first .ini file and inserting the contents of the sourced file at that 
> point in the first file, but I haven't done that myself except in hal 
> files.  Laziness or my don't fix whats working attitude, flip a coin. :)
> 
> But it stands to reason it should work, at least till it throws it back 
> at you in a meaningfull error message.
> 
> > Is this ok?  Do they just combine into what's effectively "MACHINE=
> > HM2-Stepper xhc-hb04 layout2"?
> >
> > Danny
> >
> >  Gene Heskett  wrote:
> > > On Wednesday 20 April 2016 11:31:28 dan...@austin.rr.com wrote:
> > > > So you're saying [HALUI] in a supplemental .ini file?
> > > > Alright, that sounds like the problem!
> > >
> > > Not supplemental, but in the ini file as a marked [HALUI] section.
> > > Taken from the top of my ini file, the important parts:
> > > =SOF===
> > > [DISPLAY]
> > > DISPLAY = axis
> > > PYVCP = pyvcp-panel.xml
> > > EOF===
> > > this pyvcp_panel.xml was a community developed file, a bit long, but
> > > here it is after I elide some commented out code:
> > > SOF==
> > > 
> > >
> > > 
> > > 
> > > 
> > >   
> > > RAISED
> > > 3
> > > 
> > >   "spindle_rpm"
> > >   "Spindle"
> > >   "RPM"
> > >   235
> > >   0
> > >   2750
> > >   500
> > >   100
> > >   0,2250,"green"
> > >   2250,2600,"yellow"
> > >   2600,2750,"red"
> > > 
> > >   
> > >
> > > 
> > >   
> > > RAISED
> > > 2
> > > 
> > >   "SPWR"
> > >   ("Helvetica",12)
> > > 
> > > 
> > >   "on-led"
> > >   "20"
> > >   "72"
> > >   "green"
> > >   "red"
> > > 
> > >   
> > >
> > >   
> > > RAISED
> > > 2
> > > 
> > >   "FWD"
> > >   ("Helvetica",12)
> > > 
> > > 
> > >   "fwd-led"
> > >   "20"
> > >   "72"
> > >   "green"
> > >   "red"
> > > 
> > >   
> > >
> > >   
> > > RAISED
> > > 2
> > > 
> > >   "REV"
> > >   ("Helvetica",12)
> > > 
> > > 
> > >   "rev-led"
> > >   "20"
> > >   "72"
> > >   "green"
> > >   "red"
> > > 
> > >   
> > > 
> > > 
> > > 
> > >   
> > > 
> > >   "checkbutton1"
> > >   "CamOn"
> > >   ('Helvetica',10)
> > > 
> > > 
> > >   
> > > "button1"
> > > "CamOff"
> > > ('Helvetica',10)
> > >   
> > >   
> > > "button2"
> > > "CamStor"
> > > ('Helvetica',10)
> > >   
> > >   
> > > "button3"
> > > "CamCtr4"
> > > ('Helvetica',10)
> > >   
> > > 
> > >   
> > >
> > > 
> > >
> > >   
> > > 
> > > "align-start"
> > > "Align Start"
> > > ('Helvetica',10)
> > > 
> > > 
> > > 
> > > "align-y"
> > > "Align Y"
> > > ('Helvetica',10)
> > > 
> > > 
> > > "align-x"
> > >

Re: [Emc-users] Stepper Motors

2016-04-20 Thread Gregg Eshelman
One use of the term is for a stepper with an encoder for feedback. With the 
right driver they can act like a brushless DC servo motor.



 
  From: John Thornton 
 To: EMC Mailing List  
 Sent: Wednesday, April 20, 2016 6:06 AM
 Subject: [Emc-users] Stepper Motors
   
What does "hybrid" mean in stepper motor type descriptions?

   
 
--
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] Mesa 5i25/6i25 +7i76 problems with 2.7.4

2016-04-20 Thread Peter C. Wallace
On Wed, 20 Apr 2016, fritz wrote:

> Date: Wed, 20 Apr 2016 22:15:49 -0400
> From: fritz 
> Reply-To: "Enhanced Machine Controller (EMC)"
> 
> To: "Enhanced Machine Controller (EMC)" 
> Subject: [Emc-users] Mesa 5i25/6i25 +7i76 problems with 2.7.4
> 
> In the process of upgrading every computer I have, I've come up against some 
> problems with my cnc install.
>
> I have tried 4 different linuxcnc installs;  2.6.12 at an intermediate stage, 
> and 3 different 2.7.4 installs.  I've even tried building from source, so 
> technically I've done more than just 4.
>
> First, a i386 Debian Jessie install:
> - from buildbot:  2.7.4-uspace
> - from Jessie backports:  4.4 rt_preempt kernel
>
> Second, a amd64 Debian Jessie install:
> - from buildbot:  2.7.4-uspace
> - from Jessie backports:  4.4 rt_preempt kernel
>
> Third, an install using the current Debian Wheezy iso from linuxcnc.org, 
> apt-updated to linuxcnc 2.7.4
>
> My hardware:
> - AMD E350 dual-core with integrated graphics
> - Mesa hostmot2 6i25 + 7i76
>
> The mill:
> - Taig cnc micromill
> - Huang(?) VFD and spindle
> - Gecko 540 stepper driver
>
> I went about upgrading and ended up on linuxcnc 2.6.12.  I 'rebuilt' my 
> config using pncconf.  This had a strange result of that while the stepper 
> and digital I/O were working, the 7i76 spindle output no longer worked.  I 
> even tried doing a new config with pncconf, with the same result.
>
> I saw that linuxcnc 2.7 was stable, so I did an install on a separate drive 
> for that.  I installed linuxcnc 2.7.4 for uspace.  I carried over my conf 
> file, and rebuilt the config using pncconf again.
>
> Now, the VFD output works, the digital I/O works, but any axis movement 
> results in a following error.
>
> There *is* stepgen output, because I have one stepgen output as the charge 
> pump to the Gecko 540, and it clearly indicates when it is enabled.
>
> What is really funny is that even if I increase the following error by orders 
> of magnitude, this merely delays the following error, and produces no stepper 
> motion at all.
>
> How does linuxcnc make a following error with open-loop steppers?
> How would linuxcnc be able to setup the charge pump stepgen, but not my XYZA 
> axis?
>
> Attached is my config files, and one session of verbose debug output.
>
> My next move is to go back to some earlier linuxcnc version, but I'm not sure 
> which one, yet.
>

If you had working configuration files, use them. regenerating them with 
PnCConf is going to be much harder. There are only a few minor differences
that need changing on the hal files when upgrading from 2.6.x to 2.7.x
and these are easy to do by hand editing the files


>
>

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.


--
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] Mesa 5i25/6i25 +7i76 problems with 2.7.4

2016-04-20 Thread fritz
In the process of upgrading every computer I have, I've come up against 
some problems with my cnc install.


I have tried 4 different linuxcnc installs;  2.6.12 at an intermediate 
stage, and 3 different 2.7.4 installs.  I've even tried building from 
source, so technically I've done more than just 4.


First, a i386 Debian Jessie install:
- from buildbot:  2.7.4-uspace
- from Jessie backports:  4.4 rt_preempt kernel

Second, a amd64 Debian Jessie install:
- from buildbot:  2.7.4-uspace
- from Jessie backports:  4.4 rt_preempt kernel

Third, an install using the current Debian Wheezy iso from linuxcnc.org, 
apt-updated to linuxcnc 2.7.4


My hardware:
- AMD E350 dual-core with integrated graphics
- Mesa hostmot2 6i25 + 7i76

The mill:
- Taig cnc micromill
- Huang(?) VFD and spindle
- Gecko 540 stepper driver

I went about upgrading and ended up on linuxcnc 2.6.12.  I 'rebuilt' my 
config using pncconf.  This had a strange result of that while the 
stepper and digital I/O were working, the 7i76 spindle output no longer 
worked.  I even tried doing a new config with pncconf, with the same result.


I saw that linuxcnc 2.7 was stable, so I did an install on a separate 
drive for that.  I installed linuxcnc 2.7.4 for uspace.  I carried over 
my conf file, and rebuilt the config using pncconf again.


Now, the VFD output works, the digital I/O works, but any axis movement 
results in a following error.


There *is* stepgen output, because I have one stepgen output as the 
charge pump to the Gecko 540, and it clearly indicates when it is enabled.


What is really funny is that even if I increase the following error by 
orders of magnitude, this merely delays the following error, and 
produces no stepper motion at all.


How does linuxcnc make a following error with open-loop steppers?
How would linuxcnc be able to setup the charge pump stepgen, but not my 
XYZA axis?


Attached is my config files, and one session of verbose debug output.

My next move is to go back to some earlier linuxcnc version, but I'm not 
sure which one, yet.





config_files.tar.xz
Description: application/xz
$ linuxcnc -d -v
Debug mode on
+ getopts dvlhkr opt
+ case "$opt" in
+ tty -s
+ PRINT_FILE=/dev/fd/1
+ echo 'Verbose mode on'
Verbose mode on
+ getopts dvlhkr opt
+ shift 2
+ case "" in
+ '[' -z ']'
+ tty -s
+ trap ErrorCheck EXIT
+ '[' '!' -z '' ']'
+ EXTRA_ARGS=
+ RUN_IN_PLACE=no
+ echo RUN_IN_PLACE=no
RUN_IN_PLACE=no
+ LINUXCNCVERSION=2.7.4-55-g8c082ea
+ export LINUXCNCVERSION
+ INIVAR=inivar
+ HALCMD='halcmd '
+ PICKCONFIG='/usr/bin/wish8.6 /usr/lib/tcltk/linuxcnc/bin/pickconfig.tcl'
+ LINUXCNC_EMCSH=/usr/bin/wish8.6
+ echo LINUXCNC_DIR=
LINUXCNC_DIR=
+ echo LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_BIN_DIR=/usr/bin
+ echo LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
+ echo LINUXCNC_SCRIPT_DIR=
LINUXCNC_SCRIPT_DIR=
+ echo LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
LINUXCNC_RTLIB_DIR=/usr/lib/linuxcnc/modules
+ echo LINUXCNC_CONFIG_DIR=
LINUXCNC_CONFIG_DIR=
+ echo LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
+ echo INIVAR=inivar
INIVAR=inivar
+ echo HALCMD=halcmd
HALCMD=halcmd
+ echo LINUXCNC_EMCSH=/usr/bin/wish8.6
LINUXCNC_EMCSH=/usr/bin/wish8.6
+ export LINUXCNC_TCL_DIR
+ export LINUXCNC_EMCSH
+ export LINUXCNC_HELP_DIR
+ export LINUXCNC_LANG_DIR
+ export REALTIME
+ export HALCMD
+ export LINUXCNC_NCFILES_DIR
+ '[' -z ']'
+ echo 'LINUXCNC - 2.7.4-55-g8c082ea'
LINUXCNC - 2.7.4-55-g8c082ea
+ '[' '!' -z '' ']'
+ '[' '!' -n '' ']'
++ /usr/bin/wish8.6 /usr/lib/tcltk/linuxcnc/bin/pickconfig.tcl
+ 
INIFILE=/home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini
+ '[' 
/home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini.demo 
= /home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini ']'
+ '[' '!' -n 
/home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini ']'
++ handle_includes 
/home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini
++ hdr='# handle_includes():'
++ 
inifile=/home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini
+++ dirname 
/home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini
++ cd /home/thomas/linuxcnc/configs/my_LinuxCNC_machine
++ grep '^#INCLUDE' 
/home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini
++ status=1
++ '[' 1 -ne 0 ']'
++ echo 
/home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini
++ return 0
+ 
INIFILE=/home/thomas/linuxcnc/configs/my_LinuxCNC_machine/my_LinuxCNC_machine.ini
+ INI_NAME=my_LinuxCNC_machine.ini
+ INI_DIR=/home/thomas/linuxcnc/configs/my_LinuxCNC_machine
+ CONFIG_DIR=/home/thomas/linuxcnc/configs/my_LinuxCNC_machine
+ export CONFIG_DIR
+ export 
PATH=/home/thomas/linuxcnc/configs/my_LinuxCNC_machine/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ 

Re: [Emc-users] Can't get XHC-HB04 MPG to work

2016-04-20 Thread Gene Heskett
On Wednesday 20 April 2016 15:28:39 dan...@austin.rr.com wrote:
Back to the list Danny, so its locateable in the list archives for the 
next person with a similar error.  That IS the main reason this list 
exists.

That, and to nag you unmercifully about your top posting,  We like to see 
the answers mixed in so its a conversationally ordered read for the next 
person.  Your emails header lines do not identify your "user agent" so I 
can't sharpen a finger in its direction.

> Sorry I didn't type the complete sentence: "So you're saying [HALUI]
> in a supplemental .ini file won't work?" was what I was shooting for.
>
> Looking over the other stuff.  This looks like a GREAT help!
>
> Is it ok that [XHC_HB04_BUTTONS],[XHC_HB04_CONFIG], [EMC], and
> [APPLICATIONS] are still in that layout20.ini file and not the main
> .ini?
>
> There is already an [EMC] in the main .ini:
> MACHINE =   HM2-Stepper
> DEBUG = 0
>
> layout20.ini additionally has:
> [EMC]
> MACHINE =  xhc-hb04 layout2
>
You may want to put that in its own file, with a suitable name, and then 
source "suitable" name.

But OTOH, I have not done something like that (sourceing a file, which 
when done, essentially is identical to opening  up a small gap in the 
first .ini file and inserting the contents of the sourced file at that 
point in the first file, but I haven't done that myself except in hal 
files.  Laziness or my don't fix whats working attitude, flip a coin. :)

But it stands to reason it should work, at least till it throws it back 
at you in a meaningfull error message.

> Is this ok?  Do they just combine into what's effectively "MACHINE=
> HM2-Stepper xhc-hb04 layout2"?
>
> Danny
>
>  Gene Heskett  wrote:
> > On Wednesday 20 April 2016 11:31:28 dan...@austin.rr.com wrote:
> > > So you're saying [HALUI] in a supplemental .ini file?
> > > Alright, that sounds like the problem!
> >
> > Not supplemental, but in the ini file as a marked [HALUI] section.
> > Taken from the top of my ini file, the important parts:
> > =SOF===
> > [DISPLAY]
> > DISPLAY = axis
> > PYVCP = pyvcp-panel.xml
> > EOF===
> > this pyvcp_panel.xml was a community developed file, a bit long, but
> > here it is after I elide some commented out code:
> > SOF==
> > 
> >
> > 
> > 
> > 
> >   
> > RAISED
> > 3
> > 
> >   "spindle_rpm"
> >   "Spindle"
> >   "RPM"
> >   235
> >   0
> >   2750
> >   500
> >   100
> >   0,2250,"green"
> >   2250,2600,"yellow"
> >   2600,2750,"red"
> > 
> >   
> >
> > 
> >   
> > RAISED
> > 2
> > 
> >   "SPWR"
> >   ("Helvetica",12)
> > 
> > 
> >   "on-led"
> >   "20"
> >   "72"
> >   "green"
> >   "red"
> > 
> >   
> >
> >   
> > RAISED
> > 2
> > 
> >   "FWD"
> >   ("Helvetica",12)
> > 
> > 
> >   "fwd-led"
> >   "20"
> >   "72"
> >   "green"
> >   "red"
> > 
> >   
> >
> >   
> > RAISED
> > 2
> > 
> >   "REV"
> >   ("Helvetica",12)
> > 
> > 
> >   "rev-led"
> >   "20"
> >   "72"
> >   "green"
> >   "red"
> > 
> >   
> > 
> > 
> > 
> >   
> > 
> >   "checkbutton1"
> >   "CamOn"
> >   ('Helvetica',10)
> > 
> > 
> >   
> > "button1"
> > "CamOff"
> > ('Helvetica',10)
> >   
> >   
> > "button2"
> > "CamStor"
> > ('Helvetica',10)
> >   
> >   
> > "button3"
> > "CamCtr4"
> > ('Helvetica',10)
> >   
> > 
> >   
> >
> > 
> >
> >   
> > 
> > "align-start"
> > "Align Start"
> > ('Helvetica',10)
> > 
> > 
> > 
> > "align-y"
> > "Align Y"
> > ('Helvetica',10)
> > 
> > 
> > "align-x"
> > "Align X"
> > ('Helvetica',10)
> > 
> > 
> > 
> >  "clear-offset"
> >  "Clear Offset"
> >  ('Helvetica',10)
> > 
> >   
> > 
> > EOF===
> >
> > then later,
> > Example from my .ini for a G0704 I'm still tuning for original
> > mistakes. ==SOF===
> > [HAL]
> > HALUI = halui
> > HALFILE = GO704fast.hal
> > POSTGUI_HALFILE = postgui_call_list.hal
> > SHUTDOWN = shutdown.hal
> >
> > [HALUI]
> > MDI_COMMAND=o<_camon> call
> > MDI_COMMAND=o<_camoff> call
> > MDI_COMMAND=o<_camstore> call
> > MDI_COMMAND=o<_camcenter3> call
> > MDI_COMMAND=o<_camcenter4> call
> > MDI_COMMAND=o call
> > MDI_COMMAND=o call
> > MDI_COMMAND=o call
> > MDI_COMMAND=o call
> >
> > Those are all subroutine calls whose links are created by the
> > postgui files that also add a tach, spindle power & direction
> > tallies, and a series of clickable buttons that will execute those
> > above HALUI commands.
> >
> > postgui_call_list.hal:
> > 

Re: [Emc-users] Question on DM860 stepper drivers

2016-04-20 Thread Peter Homann
Hi,

One of the advantages of Geckodrives over other drives is that they morph from 
microstepping to full stepping after the speed gets above a
  a few RPS.

That way, at low speed you get very smooth motion, and at high speed the=re is 
no torque lose due to microstepping.

BTW, microstepping does not combat resonance, specific functionality in the 
stepper drive is need to address it which all Geckodrives have.

Cheers,

Peter

On 20-Apr-16 9:38 PM, John Thornton wrote:
> Is that a Leadshine drive? I thought they were pretty good. I do like my
> G203V's they run smooth and fast.
>
> http://www.geckodrive.com/geckodrive-step-motor-drives/g203v.html
>
> JT
>
> On 4/19/2016 11:33 PM, Gene Heskett wrote:
>> Greetings;
>>
>> One of the things I am noticing, when running this crippled Z drive at
>> various speeds, is that up to about 3/4 rps at its shaft, it moves dead
>> silently, but by 2 rps, its rattling tools off the table, exactly as if
>> is was being full stepped, and it doesn't become at all smooth again
>> until its moving the head at 25 ipm or more, then stalls at just under
>> 48 ipm.
>>
>> 2 related questions then;
>>
>> This is a DM860 drive.  It it known to drop the microstepping at an
>> unusually low rps?
>>
>> I'm looking at the DQ2722MA, 110-220VAC, 7.0A, 200 Microstep, driver/psu
>> combined, which is 110-250 volt AC powered, which would remove the 350
>> watter doing that job now, but its close to $185 in a box on my front
>> deck. So by the time I get the 906 oz motor Greg B. recommends, and hang
>> some counterweighting springs on this thing I'll have close to $300 USD
>> in solving this problem once and for all.
>>
>> What say you folks?  Will this truly solve it?
>>
>> Thank you all.
>>
>> Cheers, Gene Heskett
>
>
> --
> 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


[Emc-users] John T's Plasma o ?

2016-04-20 Thread Jim Craig
John,

I have been looking at your o subroutine. I plan on using it 
on the plasma cutter I am building with a buddy. My question is what are 
typical values that you are using for pierce height, pierce delay and 
cut height?

Do you switch to THC after the o subroutine? If so what are 
you using to toggle the thc.enable pin? Are you using an M62-M65 command 
to to toggle the thc.enable?

Thanks,

Jim



--
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] Can't get XHC-HB04 MPG to work

2016-04-20 Thread dannym
Sorry I didn't type the complete sentence: "So you're saying [HALUI] in a 
supplemental .ini file won't work?" was what I was shooting for.

Looking over the other stuff.  This looks like a GREAT help!

Is it ok that [XHC_HB04_BUTTONS],[XHC_HB04_CONFIG], [EMC], and [APPLICATIONS] 
are still in that layout20.ini file and not the main .ini?

There is already an [EMC] in the main .ini:
MACHINE =   HM2-Stepper
DEBUG = 0

layout20.ini additionally has:
[EMC]
MACHINE =  xhc-hb04 layout2 

Is this ok?  Do they just combine into what's effectively "MACHINE= HM2-Stepper 
xhc-hb04 layout2"?

Danny

 Gene Heskett  wrote: 
> On Wednesday 20 April 2016 11:31:28 dan...@austin.rr.com wrote:
> 
> > So you're saying [HALUI] in a supplemental .ini file?
> > Alright, that sounds like the problem!
> >
> Not supplemental, but in the ini file as a marked [HALUI] section.
> Taken from the top of my ini file, the important parts:
> =SOF===
> [DISPLAY]
> DISPLAY = axis
> PYVCP = pyvcp-panel.xml
> EOF===
> this pyvcp_panel.xml was a community developed file, a bit long, but here 
> it is after I elide some commented out code:
> SOF==
> 
> 
> 
> 
> 
>   
> RAISED
> 3
> 
>   "spindle_rpm"
>   "Spindle"
>   "RPM"
>   235
>   0
>   2750
>   500
>   100
>   0,2250,"green"
>   2250,2600,"yellow"
>   2600,2750,"red"
> 
>   
> 
> 
>   
> RAISED
> 2
> 
>   "SPWR"
>   ("Helvetica",12)
> 
> 
>   "on-led"
>   "20"
>   "72"
>   "green"
>   "red"
> 
>   
> 
>   
> RAISED
> 2
> 
>   "FWD"
>   ("Helvetica",12)
> 
> 
>   "fwd-led"
>   "20"
>   "72"
>   "green"
>   "red"
> 
>   
> 
>   
> RAISED
> 2
> 
>   "REV"
>   ("Helvetica",12)
> 
> 
>   "rev-led"
>   "20"
>   "72"
>   "green"
>   "red"
> 
>   
> 
>  
> 
>   
> 
>   "checkbutton1"
>   "CamOn"
>   ('Helvetica',10)
> 
> 
>   
> "button1"
> "CamOff"
> ('Helvetica',10)
>   
>   
> "button2"
> "CamStor"
> ('Helvetica',10)
>   
>   
> "button3"
> "CamCtr4"
> ('Helvetica',10)
>   
> 
>   
>   
> 
> 
>   
> 
> "align-start"
> "Align Start" 
> ('Helvetica',10)
> 
> 
> 
> "align-y"
> "Align Y" 
> ('Helvetica',10)
> 
> 
> "align-x"
> "Align X" 
> ('Helvetica',10)
> 
> 
> 
>  "clear-offset"
>  "Clear Offset" 
>  ('Helvetica',10)
> 
>   
> 
> EOF=== 
> 
> then later,
> Example from my .ini for a G0704 I'm still tuning for original mistakes.
> ==SOF===
> [HAL]
> HALUI = halui
> HALFILE = GO704fast.hal
> POSTGUI_HALFILE = postgui_call_list.hal
> SHUTDOWN = shutdown.hal
> 
> [HALUI]
> MDI_COMMAND=o<_camon> call
> MDI_COMMAND=o<_camoff> call
> MDI_COMMAND=o<_camstore> call
> MDI_COMMAND=o<_camcenter3> call
> MDI_COMMAND=o<_camcenter4> call
> MDI_COMMAND=o call
> MDI_COMMAND=o call
> MDI_COMMAND=o call
> MDI_COMMAND=o call
> 
> Those are all subroutine calls whose links are created by the postgui 
> files that also add a tach, spindle power & direction tallies, and a 
> series of clickable buttons that will execute those above HALUI 
> commands.
> 
> postgui_call_list.hal:
> source postgui.hal
> 
> This may not be 100% correct as its being taken out of context, but it 
> should serve as a somewhat poor tutorial to show what can be done.  I've 
> abused the list enough by posting the .xml file already.
> 
> > Are there more elements which will only work if placed in the main
> > .ini file?
> >
> > layout20.ini has [XHC_HB04_BUTTONS], [EMC], [HAL], [XHC_HB04_CONFIG],
> > and [APPLICATIONS].
> >
> > I'm guessing [EMC] and [HAL] need to be in the main .ini, right?  What
> > about [APPLICATIONS]?
> >
> >
> > [XHC_HB04_BUTTONS]
> > step= xhc-hb04.stepsize-up
> > spindle = halui.spindle.start
> >
> > So, the step size did not go up when I pressed the button.  Spindle
> > didn't start.  Those are NOT an MDI, so I still have another problem,
> > right?  What might it be?
> 
> Best guess is that the action from the jog wheel kit is not all properly 
> linked in your hal file. Clear dmesg by running it as root 
> with "dmesg -c", then run LCNC and stop it after its finished loading, 
> then run as root, "dmesg". Screen copy it to get a list of everything it 
> found, then check your hal file to see if its in there, both as a source 
> for a "net" "name" "source_of_sig" "where_it_goes". The latter can be a 
> space/tab separated list. If the list is too long, add another 
> identical "net name" line anyplace below the first one, and 

Re: [Emc-users] Question on DM860 stepper drivers

2016-04-20 Thread Gene Heskett
On Wednesday 20 April 2016 11:40:44 Jon Elson wrote:

> On 04/20/2016 06:04 AM, Gene Heskett wrote:
> > Halscope shows a very small amplitude ripple, perhaps 5%
> > of the instant output at pid.z.output
>
> Look at PID..error, it will magnify the deviation.
> Although, I guess, if the PID output is only varying by 5%,
> then the step rate should not be varying more than that.
> That shouldn't be the cause of loss of sync of the motor.

Its not losing sync unless it throws the following error, and halscope if 
I catch it right, show a huge ringing as it errors, when it ran 
perfectly on the previous peck with no ringing.  It may occasionally be 
triggered by the .0008" backlash offset application shortly after it 
crosses the zero velocity mark, but far more likely will occur at the 
end of the g33.1 invocation after its unlocked, and the spindle is 
returned to fwd, while the z is being run back down to starting point. 
That motion is only restricted in delta v by the ini files max_accel 
setting.  And faster accel's seem to reduce it, most of the time.

Now, I have got to boogie and take care of some honeydo's involving 
replacing a single tub laundry sink with a double tub, and giving a 
dehumidifier that has been draining into that sink staining it to beat 
the band (its a $#@^&*$ plastic casting that weighs about 5 lbs) and 
needs lagged to the wall to keep it from busting its drain plumbing 
loose, getting a drain connector assembly that will let me drain the 
dehumidifier like is was a garbage disposal, in addition to acquiring 
some garage door cable pulleys and a long spring assortment and some 
metal to make pulley holders from.  Springs to be screen door and 
bigger. I may have to goto the lathe and make me some anchor knobs to 
hook the eyes of the springs up for easy changing, until I hit the 
balance point where it stalls at the same speed going both ways.

Later folks.

Thanks Jon

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] Question on DM860 stepper drivers

2016-04-20 Thread Peter C. Wallace
On Wed, 20 Apr 2016, Gene Heskett wrote:

> Date: Wed, 20 Apr 2016 14:13:38 -0400
> From: Gene Heskett 
> Reply-To: "Enhanced Machine Controller (EMC)"
> 
> To: emc-users@lists.sourceforge.net
> Subject: Re: [Emc-users] Question on DM860 stepper drivers
> 
> On Wednesday 20 April 2016 11:36:58 Jon Elson wrote:
>
>> On 04/20/2016 03:20 AM, Nicklas Karlsson wrote:
 Greetings;

 One of the things I am noticing, when running this crippled Z drive
 at various speeds, is that up to about 3/4 rps at its shaft, it
 moves dead silently, but by 2 rps, its rattling tools off the
 table, exactly as if is was being full stepped, and it doesn't
 become at all smooth again until its moving the head at 25 ipm or
 more, then stalls at just under 48 ipm.
 ...
 What say you folks?  Will this truly solve it?
>>>
>>> I would guess resonance or step signal have to toggle between two
>>> different frequencies but have no experience. An oscilloscope would
>>> tell if there are problems with the step signal. I can also tell if
>>> stepper driver behave as expected.
>>
>> You can also hook up an old PC speaker with a 150 Ohm
>> resistor in series to the step signal and listen to it.  The
>> ear has a great system for picking out multiple
>> frequencies.  Since my (Pico Systems) stepper board is
>> essentially a servo, where the computer sends a velocity,
>> step pulses are counted as if they were coming from an
>> encoder, and then run through the PID hal component, bad PID
>> parameters can cause nasty frequency hopping at certain
>> speeds.  So, I listen to it and twiddle until I get smooth
>> tones that sound like turning the dial on an audio
>> oscillator.  (You can also do this with Halscope.)
>>
>> Jon
>
> For software stepping, halscope is neat, but the 5i25 does not expose the
> step/dir signals for halscope perusal so a real scope or better yet the
> speaker is needed for this.  And its an idea I hadn't thought of to try,
> thanks Jon.  The ear is a fantastic device for hearing odd sounds that
> aren't supposed to be there!  The eyes are overloaded trying to analyse
> a moving target.
>
> 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 

Not quite true, you can look at the step/dir signals with halscope (by 
looking ta the assosciated GPIO input pins), but you will not see much
on the step signal unless you have a very wide step pulse width
(or quadrature mode)

If you think there is step generator misbehaviour, the best way to check is 
via the following error, its not difficult to get the error less than a
very small fraction of a step (say 1/100) with proper tuning.

>
> --
> 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
>

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.


--
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] Question on DM860 stepper drivers

2016-04-20 Thread Gene Heskett
On Wednesday 20 April 2016 11:36:58 Jon Elson wrote:

> On 04/20/2016 03:20 AM, Nicklas Karlsson wrote:
> >> Greetings;
> >>
> >> One of the things I am noticing, when running this crippled Z drive
> >> at various speeds, is that up to about 3/4 rps at its shaft, it
> >> moves dead silently, but by 2 rps, its rattling tools off the
> >> table, exactly as if is was being full stepped, and it doesn't
> >> become at all smooth again until its moving the head at 25 ipm or
> >> more, then stalls at just under 48 ipm.
> >> ...
> >> What say you folks?  Will this truly solve it?
> >
> > I would guess resonance or step signal have to toggle between two
> > different frequencies but have no experience. An oscilloscope would
> > tell if there are problems with the step signal. I can also tell if
> > stepper driver behave as expected.
>
> You can also hook up an old PC speaker with a 150 Ohm
> resistor in series to the step signal and listen to it.  The
> ear has a great system for picking out multiple
> frequencies.  Since my (Pico Systems) stepper board is
> essentially a servo, where the computer sends a velocity,
> step pulses are counted as if they were coming from an
> encoder, and then run through the PID hal component, bad PID
> parameters can cause nasty frequency hopping at certain
> speeds.  So, I listen to it and twiddle until I get smooth
> tones that sound like turning the dial on an audio
> oscillator.  (You can also do this with Halscope.)
>
> Jon

For software stepping, halscope is neat, but the 5i25 does not expose the 
step/dir signals for halscope perusal so a real scope or better yet the 
speaker is needed for this.  And its an idea I hadn't thought of to try, 
thanks Jon.  The ear is a fantastic device for hearing odd sounds that 
aren't supposed to be there!  The eyes are overloaded trying to analyse 
a moving target.

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] Can't get XHC-HB04 MPG to work

2016-04-20 Thread Gene Heskett
On Wednesday 20 April 2016 11:31:28 dan...@austin.rr.com wrote:

> So you're saying [HALUI] in a supplemental .ini file?
> Alright, that sounds like the problem!
>
Not supplemental, but in the ini file as a marked [HALUI] section.
Taken from the top of my ini file, the important parts:
=SOF===
[DISPLAY]
DISPLAY = axis
PYVCP = pyvcp-panel.xml
EOF===
this pyvcp_panel.xml was a community developed file, a bit long, but here 
it is after I elide some commented out code:
SOF==





  
RAISED
3

  "spindle_rpm"
  "Spindle"
  "RPM"
  235
  0
  2750
  500
  100
  0,2250,"green"
  2250,2600,"yellow"
  2600,2750,"red"

  


  
RAISED
2

  "SPWR"
  ("Helvetica",12)


  "on-led"
  "20"
  "72"
  "green"
  "red"

  

  
RAISED
2

  "FWD"
  ("Helvetica",12)


  "fwd-led"
  "20"
  "72"
  "green"
  "red"

  

  
RAISED
2

  "REV"
  ("Helvetica",12)


  "rev-led"
  "20"
  "72"
  "green"
  "red"

  

 

  

  "checkbutton1"
  "CamOn"
  ('Helvetica',10)


  
"button1"
"CamOff"
('Helvetica',10)
  
  
"button2"
"CamStor"
('Helvetica',10)
  
  
"button3"
"CamCtr4"
('Helvetica',10)
  

  
  


  

"align-start"
"Align Start" 
('Helvetica',10)



"align-y"
"Align Y" 
('Helvetica',10)


"align-x"
"Align X" 
('Helvetica',10)



 "clear-offset"
 "Clear Offset" 
 ('Helvetica',10)

  

EOF=== 

then later,
Example from my .ini for a G0704 I'm still tuning for original mistakes.
==SOF===
[HAL]
HALUI = halui
HALFILE = GO704fast.hal
POSTGUI_HALFILE = postgui_call_list.hal
SHUTDOWN = shutdown.hal

[HALUI]
MDI_COMMAND=o<_camon> call
MDI_COMMAND=o<_camoff> call
MDI_COMMAND=o<_camstore> call
MDI_COMMAND=o<_camcenter3> call
MDI_COMMAND=o<_camcenter4> call
MDI_COMMAND=o call
MDI_COMMAND=o call
MDI_COMMAND=o call
MDI_COMMAND=o call

Those are all subroutine calls whose links are created by the postgui 
files that also add a tach, spindle power & direction tallies, and a 
series of clickable buttons that will execute those above HALUI 
commands.

postgui_call_list.hal:
source postgui.hal

This may not be 100% correct as its being taken out of context, but it 
should serve as a somewhat poor tutorial to show what can be done.  I've 
abused the list enough by posting the .xml file already.

> Are there more elements which will only work if placed in the main
> .ini file?
>
> layout20.ini has [XHC_HB04_BUTTONS], [EMC], [HAL], [XHC_HB04_CONFIG],
> and [APPLICATIONS].
>
> I'm guessing [EMC] and [HAL] need to be in the main .ini, right?  What
> about [APPLICATIONS]?
>
>
> [XHC_HB04_BUTTONS]
> step= xhc-hb04.stepsize-up
> spindle = halui.spindle.start
>
> So, the step size did not go up when I pressed the button.  Spindle
> didn't start.  Those are NOT an MDI, so I still have another problem,
> right?  What might it be?

Best guess is that the action from the jog wheel kit is not all properly 
linked in your hal file. Clear dmesg by running it as root 
with "dmesg -c", then run LCNC and stop it after its finished loading, 
then run as root, "dmesg". Screen copy it to get a list of everything it 
found, then check your hal file to see if its in there, both as a source 
for a "net" "name" "source_of_sig" "where_it_goes". The latter can be a 
space/tab separated list. If the list is too long, add another 
identical "net name" line anyplace below the first one, and continue 
your list of "where_it_goes".  Hal will append them when the duplicate 
net name is found later.

> Danny
>
>  andy pugh  wrote:
> > On 20 April 2016 at 07:29, Danny Miller 
> > wrote: IIRC the halui.mdi-command-01 etc didn't seem to exist under
> > halui.
>
> Those pins are created by halui based on the MDI_COMMAND entries in
> the [HALUI] section of the main INI file.
>
> So, you need to find or create a [HALUI] section in your main .ini
> file (as many as you need) and each one will define a single-line
> G-code command that will be run when the corresponding HAL pin is
> triggered.
>
> http://linuxcnc.org/docs/2.7/html/config/ini-config.html#_halui_sectio
>n
>
> For more complex actions your MDI_COMMAND can be a subroutine call
> such as O CALL


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 


Re: [Emc-users] Question on DM860 stepper drivers

2016-04-20 Thread Todd Zuercher
Gene,

I think he is referring to "Auto Tune" function that is activated by toggling 
DIP switch #4
(see the bottom of page 8)
http://www.americanmotiontech.com/upload/Manuals/DM860m.pdf

No, idea what it does or how. (no experience with these drives.)

- Original Message -
From: "Gene Heskett" 
To: emc-users@lists.sourceforge.net
Sent: Wednesday, April 20, 2016 1:03:13 PM
Subject: Re: [Emc-users] Question on DM860 stepper drivers

On Wednesday 20 April 2016 10:25:47 Claude Froidevaux wrote:

> Hi,
>
> Your are most probably in some mechanical resonance. You can try to
> tune the DM860 for this, using the tools from leadshine "protuner"
>
> http://www.leadshine.com/productdetail.aspx?type=products=ste
>pper-products=stepper-drives=DM=DM870
>
> Claude

That leads to a different driver, one I've never seen advertised yet, 
which reads as if it may be "next generation" software in it, says auto 
tune, which the MA860 has none of.

Its also, about $132, 2x the MA860.  What I just ordered may be better, 
and since I ordered a dual shaft motor, I can put a damper on it.
At 4.4 mh connected bipolar-parallel, compared to the 23mh of this one, 
it ought to fairly scream for rapids once I get the counterweight 
springs sorted.



--
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] Question on DM860 stepper drivers

2016-04-20 Thread Gene Heskett
On Wednesday 20 April 2016 11:00:57 Thomas Powderly wrote:

> if
> the stepper is direct coupled to screw
>
> can a damper be put on the far end of the transmission
> ( end of leadscrew vs end of motor)?
>
> may not be optimal but may help
>
> ( hmmm maybe a belt drive is auto damped ? ;-)
>
> tomp
>
Not in my experience Tomp. If the belt is loose maybe, but loose 
belts=backlash, lots of it. The way my toy mill is setup, driving the AC 
ball bearing mounted nut, I'd guess I have 30+ lbs of tension on the 
belt, and I can adjust the nut pair for less than 2 thou of backlash 
total.  Thats also with the ball bearing wheelbase stretchers that about 
triple the "wheelbase" of the vways on the head's sled/gib setup. 
Virtually no z stiction now.  If I note some when its moving slow and 
silent, a shot of vactra on the ways and a quickie full stroke run to 
distribute it will stop that for several days.

FWIW, I am seeing this same effect on the G0704 when the gibs are snugged 
up to stop any side to side head wiggle.  Same cure, I keep an oiler 
loaded with vactra 68 for that within reach. But that observation was 
made when the Z nut holder was coming loose too.  Not noticed since I 
took a torque wrench to those 2 screws that marry the nut holder to the 
carriage. I still lube it before any real work is to be done.

> On 04/20/16 22:25, Claude Froidevaux wrote:
> > Hi,
> >
> > Your are most probably in some mechanical resonance. You can try to
> > tune the DM860 for this, using the tools from leadshine "protuner"
> >
> > http://www.leadshine.com/productdetail.aspx?type=products=s
> >tepper-products=stepper-drives=DM=DM870
> >
> > Claude
> >
> > Le 20.04.2016 06:33, Gene Heskett a écrit :
> >> Greetings;
> >>
> >> One of the things I am noticing, when running this crippled Z drive
> >> at various speeds, is that up to about 3/4 rps at its shaft, it
> >> moves dead silently, but by 2 rps, its rattling tools off the
> >> table, exactly as if is was being full stepped, and it doesn't
> >> become at all smooth again until its moving the head at 25 ipm or
> >> more, then stalls at just under 48 ipm.
> >>
> >> 2 related questions then;
> >>
> >> This is a DM860 drive.  It it known to drop the microstepping at an
> >> unusually low rps?
> >>
> >> I'm looking at the DQ2722MA, 110-220VAC, 7.0A, 200 Microstep,
> >> driver/psu combined, which is 110-250 volt AC powered, which would
> >> remove the 350 watter doing that job now, but its close to $185 in
> >> a box on my front deck. So by the time I get the 906 oz motor Greg
> >> B. recommends, and hang some counterweighting springs on this thing
> >> I'll have close to $300 USD in solving this problem once and for
> >> all.
> >>
> >> What say you folks?  Will this truly solve it?
> >>
> >> Thank you all.
> >>
> >> Cheers, Gene Heskett
> >
> > 
> >-- 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


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] Question on DM860 stepper drivers

2016-04-20 Thread Gene Heskett
On Wednesday 20 April 2016 10:25:47 Claude Froidevaux wrote:

> Hi,
>
> Your are most probably in some mechanical resonance. You can try to
> tune the DM860 for this, using the tools from leadshine "protuner"
>
> http://www.leadshine.com/productdetail.aspx?type=products=ste
>pper-products=stepper-drives=DM=DM870
>
> Claude

That leads to a different driver, one I've never seen advertised yet, 
which reads as if it may be "next generation" software in it, says auto 
tune, which the MA860 has none of.

Its also, about $132, 2x the MA860.  What I just ordered may be better, 
and since I ordered a dual shaft motor, I can put a damper on it.
At 4.4 mh connected bipolar-parallel, compared to the 23mh of this one, 
it ought to fairly scream for rapids once I get the counterweight 
springs sorted.

> Le 20.04.2016 06:33, Gene Heskett a écrit :
> > Greetings;
> >
> > One of the things I am noticing, when running this crippled Z drive
> > at various speeds, is that up to about 3/4 rps at its shaft, it
> > moves dead silently, but by 2 rps, its rattling tools off the table,
> > exactly as if is was being full stepped, and it doesn't become at
> > all smooth again until its moving the head at 25 ipm or more, then
> > stalls at just under 48 ipm.
> >
> > 2 related questions then;
> >
> > This is a DM860 drive.  It it known to drop the microstepping at an
> > unusually low rps?
> >
> > I'm looking at the DQ2722MA, 110-220VAC, 7.0A, 200 Microstep,
> > driver/psu combined, which is 110-250 volt AC powered, which would
> > remove the 350 watter doing that job now, but its close to $185 in a
> > box on my front deck. So by the time I get the 906 oz motor Greg B.
> > recommends, and hang some counterweighting springs on this thing
> > I'll have close to $300 USD in solving this problem once and for
> > all.
> >
> > What say you folks?  Will this truly solve it?
> >
> > Thank you all.
> >
> > Cheers, Gene Heskett
>
> --
> 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


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] Question on DM860 stepper drivers

2016-04-20 Thread Gene Heskett
On Wednesday 20 April 2016 07:38:39 John Thornton wrote:

> Is that a Leadshine drive? I thought they were pretty good. I do like
> my G203V's they run smooth and fast.
>
> http://www.geckodrive.com/geckodrive-step-motor-drives/g203v.html
>
> JT

Where do you program the microsteps it uses?  Ah, found it, $24 optional 
plugin card and that brings it up to $166 USD + ship.  Ouch.  I can beat 
that, self powered, 9.8 amps, the usual microstep setting dip switches:



for $177.  At one point yesterday I had that driver and a 920 oz 4,4 mh 
motor lumped together, for about $220 IIRC and if I can find it again, 
will order it. ebays search function sucks.

Couldn't find the kit with that driver, ordered separately, about 10 
days. $265 IIRC. No clue what the motor coil peak volts is but its got 
to be a heck of a lot faster than the 1600 oz/in, 23 mh 3.5 amp snail, 
with a 60 volt 5.85 amp, + an MA860 driver 3 piece combo in there now.  
Maybe even faster than the XY setups on it, they peter out at about 60 
ipm if asked to go clear to the end of the x ways.  And I'll go see what 
I can get from tractor supply in the way of pulleys, springs and bars to 
hold the upper end where the pulleys will live.  Just like on my HF toy, 
but a heck of a lot neater looking I hope. I might even get 4 pulleys so 
I can stretch the springs forward to get a hold on the head somewhat 
closer to its CG. Slim possibility of attaching the pulley mounting bars 
on angle stock on top of the motor if the motor has any tapped holes on 
the top face. TBD of course. Now I have a 15" abrasive saw I didn't have 
when a cobbled up the toy mill so I can cut steel a little neater.

Thanks John.

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] Can't get XHC-HB04 MPG to work

2016-04-20 Thread Rick Lair
No, you need to create a [HALUI] section in you main INI file, and add
these elements.


Rick

On 04/20/2016 11:31 AM, dan...@austin.rr.com wrote:
> So you're saying [HALUI] in a supplemental .ini file?  
> Alright, that sounds like the problem!
> 
> 
> Are there more elements which will only work if placed in the main .ini file?
> 
> layout20.ini has [XHC_HB04_BUTTONS], [EMC], [HAL], [XHC_HB04_CONFIG], and 
> [APPLICATIONS].
> 
> I'm guessing [EMC] and [HAL] need to be in the main .ini, right?  What about 
> [APPLICATIONS]?
> 
> 
> [XHC_HB04_BUTTONS]
> step= xhc-hb04.stepsize-up
> spindle = halui.spindle.start
> 
> So, the step size did not go up when I pressed the button.  Spindle didn't 
> start.  Those are NOT an MDI, so I still have another problem, right?  What 
> might it be?
> 
> Danny
> 
> 
>  andy pugh  wrote: 
>> On 20 April 2016 at 07:29, Danny Miller  wrote:
>> IIRC the halui.mdi-command-01 etc didn't seem to exist under halui.
> 
> 
> Those pins are created by halui based on the MDI_COMMAND entries in
> the [HALUI] section of the main INI file.
> 
> So, you need to find or create a [HALUI] section in your main .ini
> file (as many as you need) and each one will define a single-line
> G-code command that will be run when the corresponding HAL pin is
> triggered.
> 
> http://linuxcnc.org/docs/2.7/html/config/ini-config.html#_halui_section
> 
> For more complex actions your MDI_COMMAND can be a subroutine call
> such as O CALL
> 

-- 
Thanks


Rick Lair
Superior Roll & Turning LLC
399 East Center Street
Petersburg MI, 49270
PH: 734-279-1831
FAX: 734-279-1166
www.superiorroll.com

--
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-20 Thread andy pugh
On 20 April 2016 at 16:06, Sebastian Kuzminsky  wrote:
> The hostmot2 driver exports a "write_gpio" function exactly for this
> kind of use case.  It updates just the gpios, runs quickly, and is
> intended to be called from a faster thread.

Yes, but the GPIO on the 7i76 is smart-serial. This is why I was
suggesting using some 5i25 pins wired as step/dir on the 7i76  as GPIO
for the purpose.

-- 
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] Question on DM860 stepper drivers

2016-04-20 Thread Jon Elson
On 04/20/2016 06:04 AM, Gene Heskett wrote:
> Halscope shows a very small amplitude ripple, perhaps 5% 
> of the instant output at pid.z.output
Look at PID..error, it will magnify the deviation. 
Although, I guess, if the PID output is only varying by 5%, 
then the step rate should not be varying more than that.  
That shouldn't be the cause of loss of sync of the motor.

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] Question on DM860 stepper drivers

2016-04-20 Thread Jon Elson
On 04/20/2016 03:20 AM, Nicklas Karlsson wrote:
>> Greetings;
>>
>> One of the things I am noticing, when running this crippled Z drive at
>> various speeds, is that up to about 3/4 rps at its shaft, it moves dead
>> silently, but by 2 rps, its rattling tools off the table, exactly as if
>> is was being full stepped, and it doesn't become at all smooth again
>> until its moving the head at 25 ipm or more, then stalls at just under
>> 48 ipm.
>> ...
>> What say you folks?  Will this truly solve it?
> I would guess resonance or step signal have to toggle between two different 
> frequencies but have no experience. An oscilloscope would tell if there are 
> problems with the step signal. I can also tell if stepper driver behave as 
> expected.
>
>
You can also hook up an old PC speaker with a 150 Ohm 
resistor in series to the step signal and listen to it.  The 
ear has a great system for picking out multiple 
frequencies.  Since my (Pico Systems) stepper board is 
essentially a servo, where the computer sends a velocity, 
step pulses are counted as if they were coming from an 
encoder, and then run through the PID hal component, bad PID 
parameters can cause nasty frequency hopping at certain 
speeds.  So, I listen to it and twiddle until I get smooth 
tones that sound like turning the dial on an audio 
oscillator.  (You can also do this with Halscope.)

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] Can't get XHC-HB04 MPG to work

2016-04-20 Thread dannym
So you're saying [HALUI] in a supplemental .ini file?  
Alright, that sounds like the problem!


Are there more elements which will only work if placed in the main .ini file?

layout20.ini has [XHC_HB04_BUTTONS], [EMC], [HAL], [XHC_HB04_CONFIG], and 
[APPLICATIONS].

I'm guessing [EMC] and [HAL] need to be in the main .ini, right?  What about 
[APPLICATIONS]?


[XHC_HB04_BUTTONS]
step= xhc-hb04.stepsize-up
spindle = halui.spindle.start

So, the step size did not go up when I pressed the button.  Spindle didn't 
start.  Those are NOT an MDI, so I still have another problem, right?  What 
might it be?

Danny


 andy pugh  wrote: 
> On 20 April 2016 at 07:29, Danny Miller  wrote:
> IIRC the halui.mdi-command-01 etc didn't seem to exist under halui.


Those pins are created by halui based on the MDI_COMMAND entries in
the [HALUI] section of the main INI file.

So, you need to find or create a [HALUI] section in your main .ini
file (as many as you need) and each one will define a single-line
G-code command that will be run when the corresponding HAL pin is
triggered.

http://linuxcnc.org/docs/2.7/html/config/ini-config.html#_halui_section

For more complex actions your MDI_COMMAND can be a subroutine call
such as O CALL

-- 
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



--
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-20 Thread Sebastian Kuzminsky


On 04/20/2016 02:32 AM, andy pugh wrote:
> On 20 April 2016 at 09:13, adit bhargava  wrote:
>
>> I can't understand why I can't get the correct output on FPGA, although I am
>> getting on HALSCOPE ?
>
> Which output pin are you trying to drive? The IO pins on the 7i76 only
> update every 1mS.
> Haslcope (and the PWM function) are updating every 100uS.

The hostmot2 driver exports a "write_gpio" function exactly for this 
kind of use case.  It updates just the gpios, runs quickly, and is 
intended to be called from a faster thread.


-- 
Sebastian Kuzminsky

--
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] Question on DM860 stepper drivers

2016-04-20 Thread Thomas Powderly
if
the stepper is direct coupled to screw

can a damper be put on the far end of the transmission
( end of leadscrew vs end of motor)?

may not be optimal but may help

( hmmm maybe a belt drive is auto damped ? ;-)

tomp

On 04/20/16 22:25, Claude Froidevaux wrote:
> Hi,
>
> Your are most probably in some mechanical resonance. You can try to tune
> the DM860 for this, using the tools from leadshine "protuner"
>
> http://www.leadshine.com/productdetail.aspx?type=products=stepper-products=stepper-drives=DM=DM870
>
> Claude
>
>
>
> Le 20.04.2016 06:33, Gene Heskett a écrit :
>> Greetings;
>>
>> One of the things I am noticing, when running this crippled Z drive at
>> various speeds, is that up to about 3/4 rps at its shaft, it moves dead
>> silently, but by 2 rps, its rattling tools off the table, exactly as if
>> is was being full stepped, and it doesn't become at all smooth again
>> until its moving the head at 25 ipm or more, then stalls at just under
>> 48 ipm.
>>
>> 2 related questions then;
>>
>> This is a DM860 drive.  It it known to drop the microstepping at an
>> unusually low rps?
>>
>> I'm looking at the DQ2722MA, 110-220VAC, 7.0A, 200 Microstep, driver/psu
>> combined, which is 110-250 volt AC powered, which would remove the 350
>> watter doing that job now, but its close to $185 in a box on my front
>> deck. So by the time I get the 906 oz motor Greg B. recommends, and hang
>> some counterweighting springs on this thing I'll have close to $300 USD
>> in solving this problem once and for all.
>>
>> What say you folks?  Will this truly solve it?
>>
>> Thank you all.
>>
>> Cheers, Gene Heskett
> --
> 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] Question on DM860 stepper drivers

2016-04-20 Thread Claude Froidevaux
Hi,

Your are most probably in some mechanical resonance. You can try to tune 
the DM860 for this, using the tools from leadshine "protuner"

http://www.leadshine.com/productdetail.aspx?type=products=stepper-products=stepper-drives=DM=DM870

Claude



Le 20.04.2016 06:33, Gene Heskett a écrit :
> Greetings;
>
> One of the things I am noticing, when running this crippled Z drive at
> various speeds, is that up to about 3/4 rps at its shaft, it moves dead
> silently, but by 2 rps, its rattling tools off the table, exactly as if
> is was being full stepped, and it doesn't become at all smooth again
> until its moving the head at 25 ipm or more, then stalls at just under
> 48 ipm.
>
> 2 related questions then;
>
> This is a DM860 drive.  It it known to drop the microstepping at an
> unusually low rps?
>
> I'm looking at the DQ2722MA, 110-220VAC, 7.0A, 200 Microstep, driver/psu
> combined, which is 110-250 volt AC powered, which would remove the 350
> watter doing that job now, but its close to $185 in a box on my front
> deck. So by the time I get the 906 oz motor Greg B. recommends, and hang
> some counterweighting springs on this thing I'll have close to $300 USD
> in solving this problem once and for all.
>
> What say you folks?  Will this truly solve it?
>
> Thank you all.
>
> Cheers, Gene Heskett

--
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] Stepper Motors

2016-04-20 Thread John Thornton
Thanks

On 4/20/2016 7:43 AM, andy pugh wrote:
> On 20 April 2016 at 13:37, John Thornton  wrote:
>> So if it is just a 4 wire step motor then it is a permanent magnet rotor?
> If there is no encoder then it is just what has become a conventional
> stepper motor.
>


--
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] Stepper Motors

2016-04-20 Thread andy pugh
On 20 April 2016 at 13:37, John Thornton  wrote:
> So if it is just a 4 wire step motor then it is a permanent magnet rotor?

If there is no encoder then it is just what has become a conventional
stepper motor.

-- 
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] Stepper Motors

2016-04-20 Thread John Thornton
So if it is just a 4 wire step motor then it is a permanent magnet rotor?

For example this one:
http://www.amazon.com/DC-HOUSE-23HS8430-Hybrid-Stepper/dp/B017OYHUBG/ref=sr_1_2?ie=UTF8=1461155754=8-2

JT

On 4/20/2016 7:16 AM, andy pugh wrote:
> On 20 April 2016 at 13:06, John Thornton  wrote:
>> What does "hybrid" mean in stepper motor type descriptions?
> Two things...
>
> It used to mean that the motor had a permanent magnet rotor.
>
> It now sometimes gets used to refer to a closed-loop step-servo, where
> the stepper motor is driven as a 50-pole brushless servo.
>


--
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] Stepper Motors

2016-04-20 Thread andy pugh
On 20 April 2016 at 13:06, John Thornton  wrote:
> What does "hybrid" mean in stepper motor type descriptions?

Two things...

It used to mean that the motor had a permanent magnet rotor.

It now sometimes gets used to refer to a closed-loop step-servo, where
the stepper motor is driven as a 50-pole brushless servo.

-- 
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] Stepper Motors

2016-04-20 Thread John Thornton
What does "hybrid" mean in stepper motor type descriptions?

JT

--
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] Question on DM860 stepper drivers

2016-04-20 Thread John Thornton
Is that a Leadshine drive? I thought they were pretty good. I do like my 
G203V's they run smooth and fast.

http://www.geckodrive.com/geckodrive-step-motor-drives/g203v.html

JT

On 4/19/2016 11:33 PM, Gene Heskett wrote:
> Greetings;
>
> One of the things I am noticing, when running this crippled Z drive at
> various speeds, is that up to about 3/4 rps at its shaft, it moves dead
> silently, but by 2 rps, its rattling tools off the table, exactly as if
> is was being full stepped, and it doesn't become at all smooth again
> until its moving the head at 25 ipm or more, then stalls at just under
> 48 ipm.
>
> 2 related questions then;
>
> This is a DM860 drive.  It it known to drop the microstepping at an
> unusually low rps?
>
> I'm looking at the DQ2722MA, 110-220VAC, 7.0A, 200 Microstep, driver/psu
> combined, which is 110-250 volt AC powered, which would remove the 350
> watter doing that job now, but its close to $185 in a box on my front
> deck. So by the time I get the 906 oz motor Greg B. recommends, and hang
> some counterweighting springs on this thing I'll have close to $300 USD
> in solving this problem once and for all.
>
> What say you folks?  Will this truly solve it?
>
> Thank you all.
>
> Cheers, Gene Heskett


--
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] Question on DM860 stepper drivers

2016-04-20 Thread Gene Heskett
On Wednesday 20 April 2016 05:23:22 Sarah Armstrong wrote:

> simply drop the high microstepping , you dont need it , high
> microstepping = missing steps , and decreaced Torque
> Microstepping should only really be used for removing resonance .
>
In my playing with the 2m542's and 400+ oz/in nema 23's, 4 is noisy, 8 is 
much quieter and 16 is very quiet. I can go back to 8 on this just to 
test.  At 8 I can hear it even at 1 rps.  Single shaft motors, so I 
can't put dampers on any of these.  Darn it.  Dampers on the toy mill, 
and on the lathes z are a huge help, tripling the rapids capability.

Thanks Sarah.
[...]

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] Question on DM860 stepper drivers

2016-04-20 Thread Gene Heskett
On Wednesday 20 April 2016 04:20:14 Nicklas Karlsson wrote:

> > Greetings;
> >
> > One of the things I am noticing, when running this crippled Z drive
> > at various speeds, is that up to about 3/4 rps at its shaft, it
> > moves dead silently, but by 2 rps, its rattling tools off the table,
> > exactly as if is was being full stepped, and it doesn't become at
> > all smooth again until its moving the head at 25 ipm or more, then
> > stalls at just under 48 ipm.
> > ...
> > What say you folks?  Will this truly solve it?
>
> I would guess resonance or step signal have to toggle between two
> different frequencies but have no experience. An oscilloscope would
> tell if there are problems with the step signal. I can also tell if
> stepper driver behave as expected.
>
>
> Nicklas Karlsson

Halscope shows a very small amplitude ripple, perhaps 5% of the instant 
output at pid.z.output to the 5i25 when this is going on. This while the 
peck loop using g33.1 is cutting air. Certainly not a rail to rail jog 
that it sounds like.

My thinking is that this driver is keeping the math correct, but is 
switching off the microstepping long before rotor inertia would result 
in a smoothed move.  The 2m542 drivers doing the x/y, show no evidence 
of doing that.  I have had the microstepping ratios set for everything 
above 4, currently at 64, and the only noticeable change is from 4 to 8 
to 16. At 8, even slow movement is audible, at 64, 1 rps is dead silent. 
At 3 rps its sounding rough, at 5 rps its rattling tools off the table.  
Changing the current up and down half an amp has little effect on this 
noise.  I haven't looked at a motor phase from the driver as I've read 
that the scope probes capacitance can blow the driver.  Since the probes 
are 10x, maybe 16 pf's, that sounds like an old wives tail as its happy 
driveing 9 feet of a shielded cable to the x motor & 6 feet to the z 
motor.

So that explains why I'd like to change the driver for another type, but 
thats an expensive way to test...  Thats why I am asking for other users 
experience with this far more expensive driver before I have paypal 
issue the payment.

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] Can't get XHC-HB04 MPG to work

2016-04-20 Thread Gene Heskett
On Wednesday 20 April 2016 02:29:18 Danny Miller wrote:

> It's loading without error.   The LCD works, the handwheel does jog
> the axes, and the selector knob does change the axes.  But none of the
> buttons function, including the Step Size, so it's stuck moving by
> 0.001".
>
> I have LinuxCNC 2.7.4  and the Linux Preempt-RTK.  I did what was
> specified about adding USB permissions.
>
> So 7i92_general_XHC20.ini is the main ini file. I added a
> [XHC_HB04_CONFIG] section which gives setup parameters. I added
> HALFILE = xhc-hb20.hal to the [HAL] section.
>
> xhc-hb20.hal is a renamed copy of a modified xhc-hb04.hal. The homing
> routines don't exist, nor does an A-axis, so that's removed. Loadusr
> got changed to the local name "loadusr -W xhc-hb04 -I
> xhc-hb04-layout20.ini -H"
>
> xhc-hb04-layout20.ini has layout2.inc added into it directly. For
> whatever reason layout2.inc didn't seem to be loading correctly into
> it so I just added it.
>
> The HAL viewer does show there's an XHC section.  However (I'm not in
> front of the machine now) IIRC the halui.mdi-command-01 etc didn't
> seem to exist under halui.  I found what should have been the STEP++
> pin  but it didn't show TRUE when I pressed it.  But I'm not sure how
> that works, if it's a momentary press and I just manually reload the
> HAL status I would probably never catch it.
>
> Thanks,
> Danny

The halmeter is pretty close to real time, so if you can find that 
signals name in the show-hal, halmeter can tell you whats going on in 
millisecond response times.

This might be a case for a rockhopper run, but that, by the time it is 
blown up enough to be readable, will take posterizer set for 6 to 12 
pages on a complex machine to show it all legibly.  That can be a quite 
informative troubleshooting tool.  Rockhopper has one gotcha, it does 
not record and draw, a pin with no target defined.

And many times, a sudo dmesg -c, start linuxcnc, then a fresh dmesg might 
show you errors.  All are handy tools.

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] Can't get XHC-HB04 MPG to work

2016-04-20 Thread andy pugh
On 20 April 2016 at 07:29, Danny Miller  wrote:
> IIRC the halui.mdi-command-01 etc didn't seem to exist under halui.


Those pins are created by halui based on the MDI_COMMAND entries in
the [HALUI] section of the main INI file.

So, you need to find or create a [HALUI] section in your main .ini
file (as many as you need) and each one will define a single-line
G-code command that will be run when the corresponding HAL pin is
triggered.

http://linuxcnc.org/docs/2.7/html/config/ini-config.html#_halui_section

For more complex actions your MDI_COMMAND can be a subroutine call
such as O CALL

-- 
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] Question on DM860 stepper drivers

2016-04-20 Thread Sarah Armstrong
simply drop the high microstepping , you dont need it , high microstepping
= missing steps , and decreaced Torque
Microstepping should only really be used for removing resonance .

On 20 April 2016 at 09:20, Nicklas Karlsson 
wrote:

> > Greetings;
> >
> > One of the things I am noticing, when running this crippled Z drive at
> > various speeds, is that up to about 3/4 rps at its shaft, it moves dead
> > silently, but by 2 rps, its rattling tools off the table, exactly as if
> > is was being full stepped, and it doesn't become at all smooth again
> > until its moving the head at 25 ipm or more, then stalls at just under
> > 48 ipm.
> > ...
> > What say you folks?  Will this truly solve it?
>
> I would guess resonance or step signal have to toggle between two
> different frequencies but have no experience. An oscilloscope would tell if
> there are problems with the step signal. I can also tell if stepper driver
> behave as expected.
>
>
> 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
>



-- 

The information contained in this message is confidential and is intended
for the addressee only. If you have received this message in error or there
are any problems please notify the originator immediately. The unauthorised
use, disclosure, copying or alteration of this message is strictly
forbidden. This mail and any attachments have been scanned for viruses
prior to leaving the RcTechnix network. RcTechnix will not be liable for
direct, special, indirect or consequential damages arising from alteration
of the contents of this message by a third party or as a result of any
virus being passed on.

RcTechnix reserves the right to monitor and record e-mail messages being
sent to and from this address for the purposes of investigating or
detecting any unauthorised use of its system and ensuring effective
operation.

(c) RcTechnix
--
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-20 Thread andy pugh
On 20 April 2016 at 09:13, adit bhargava  wrote:

> I can't understand why I can't get the correct output on FPGA, although I am
> getting on HALSCOPE ?

Which output pin are you trying to drive? The IO pins on the 7i76 only
update every 1mS.
Haslcope (and the PWM function) are updating every 100uS.

> Also, is there any tutorial to " how to disable one of the step/dir
> channels" on 5i25  ?

There is this (which is somewhat out of date in that it does not
mention the newer cards, like the 5i25, which have a flashed-in
firmware and do not need firmware download when LinuxCNC starts)
http://linuxcnc.org/docs/2.7/html/drivers/hostmot2.html

And then there is the up-to-date but less well-written:
http://linuxcnc.org/docs/2.7/html/man/man9/hostmot2.9.html
(The "config modparam" section is the part that really matters, you
typically don't use any options on the "loadrt hostmot2" line in the
HAL file.)

-- 
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] Question on DM860 stepper drivers

2016-04-20 Thread Nicklas Karlsson
> Greetings;
> 
> One of the things I am noticing, when running this crippled Z drive at 
> various speeds, is that up to about 3/4 rps at its shaft, it moves dead 
> silently, but by 2 rps, its rattling tools off the table, exactly as if 
> is was being full stepped, and it doesn't become at all smooth again 
> until its moving the head at 25 ipm or more, then stalls at just under 
> 48 ipm.
> ...
> What say you folks?  Will this truly solve it?

I would guess resonance or step signal have to toggle between two different 
frequencies but have no experience. An oscilloscope would tell if there are 
problems with the step signal. I can also tell if stepper driver behave as 
expected.


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] Need to add a faster thread base-thread with 100 microseconds, Compilation changes required !!!

2016-04-20 Thread adit bhargava
Hello Andy,

Yes, I am using the software PWM component output to MESA fpga card. Still, I 
can't understand why I can't get the correct output on FPGA, although I am 
getting on HALSCOPE ?

Why hardware PWM and new firmware is needed and how can I get it ? 

Also, is there any tutorial to " how to disable one of the step/dir channels" 
on 5i25  ?


Best Regards,Adit 

  From: andy pugh 
 To: adit bhargava  
Cc: Enhanced Machine Controller (EMC) 
 Sent: Monday, April 18, 2016 8:48 PM
 Subject: Re: [Emc-users] Need to add a faster thread base-thread with 100 
microseconds, Compilation changes required !!!
   
On 18 April 2016 at 19:34, adit bhargava  wrote:

> Oscilloscope connect to 7176 daughtercard
>
> Plus:      TB6 PIN24  => OUT7
> Gnd:      TB3 PIN15 => GND
>
> PWM Signal Routed to OUT 7

So, you are using software PWM with a Mesa FPGA card?
It would be better to use hardware PWM in the FPGA, but that might
need a different firmware.

The GPIO on the 7i76 is only updated once per mS, at the servo-thread rate.

There is an option to control _5i25_ GPIO at a faster rate by running
the hm2_5i25.0.write_gpio function in the faster thread.
This is not the same as the 7i76 GPIO.
By default all of the 5i25 GPIO is allocated. What you could do is
disable one of the step/dir channels and use that as GPIO (the
step/dir channels are wired direct to the 5i25, the 7i76 channels are
addressed by a serial interface and handled on the 7i76). Once you
have disabled the step generator and worked out which 5i25 IO pin that
corresponds to (the dmesg output will tell you) then you can run
software PWM to that pin.

However, I think that this would also disable all the step/dir
channels on the 7i78. So it would be better to disable only one
step/dir channel for this purpose.

Better still would be a custom firmware with a PWM generator connected
to one of the step-dir pins.

Alternatively, another user recently connected the 7i76
spindle-control potentiometer output in place of the potentiometer of
one of these devices to run an RC ESC:
http://www.ebay.co.uk/itm/Mini-3CH-Servo-Tester-Servo-Consistency-Master-Tester-for-RC-Helicopter-UK-/291289742212?hash=item43d238bb84:g:kMgAAOSwrx5UXGe~
and apparently it worked well.

-- 
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] Can't get XHC-HB04 MPG to work

2016-04-20 Thread Danny Miller
It's loading without error.   The LCD works, the handwheel does jog the 
axes, and the selector knob does change the axes.  But none of the 
buttons function, including the Step Size, so it's stuck moving by 0.001".


I have LinuxCNC 2.7.4  and the Linux Preempt-RTK.  I did what was 
specified about adding USB permissions.


So 7i92_general_XHC20.ini is the main ini file. I added a 
[XHC_HB04_CONFIG] section which gives setup parameters. I added HALFILE 
= xhc-hb20.hal to the [HAL] section.


xhc-hb20.hal is a renamed copy of a modified xhc-hb04.hal. The homing 
routines don't exist, nor does an A-axis, so that's removed. Loadusr got 
changed to the local name "loadusr -W xhc-hb04 -I xhc-hb04-layout20.ini -H"


xhc-hb04-layout20.ini has layout2.inc added into it directly. For 
whatever reason layout2.inc didn't seem to be loading correctly into it 
so I just added it.


The HAL viewer does show there's an XHC section.  However (I'm not in 
front of the machine now) IIRC the halui.mdi-command-01 etc didn't seem 
to exist under halui.  I found what should have been the STEP++ pin  but 
it didn't show TRUE when I pressed it.  But I'm not sure how that works, 
if it's a momentary press and I just manually reload the HAL status I 
would probably never catch it.


Thanks,
Danny


[HOSTMOT2]
DRIVER=hm2_eth board_ip="10.10.10.10" 
# DRIVER=hm2_eth board_ip="10.10.10.10" debug=1
BOARD=7i92
CONFIG="num_encoders=0 num_stepgens=4 sserial_port_0=20xx"




[EMC]

# Name of machine, for use with display, etc.
MACHINE =   HM2-Stepper

# Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others
#DEBUG =0x0003
#DEBUG =0x0007
DEBUG = 0




[DISPLAY]

# Name of display program, e.g., tkemc
#DISPLAY =   tkemc
DISPLAY =  axis

# Cycle time, in seconds, that display will sleep between polls
CYCLE_TIME =0.100

# Path to help file
HELP_FILE = tkemc.txt

# Initial display setting for position, RELATIVE or MACHINE
POSITION_OFFSET =   RELATIVE

# Initial display setting for position, COMMANDED or ACTUAL
POSITION_FEEDBACK = ACTUAL

# Highest value that will be allowed for feed override, 1.0 = 100%
MAX_FEED_OVERRIDE = 30

# Prefix to be used
PROGRAM_PREFIX = ../../nc_files/

# Introductory graphic
INTRO_GRAPHIC = emc2.gif
INTRO_TIME =5


[FILTER]
PROGRAM_EXTENSION = .png,.gif,.jpg Grayscale Depth Image
PROGRAM_EXTENSION = .py Python Script
png = image-to-gcode
gif = image-to-gcode
jpg = image-to-gcode
py = python


[TASK]

# Name of task controller program, e.g., milltask
TASK =  milltask

# Cycle time, in seconds, that task controller will sleep between polls
CYCLE_TIME =0.010




[RS274NGC]

# File containing interpreter variables
PARAMETER_FILE =hm2-stepper.var




[EMCMOT]

EMCMOT =motmod

# Timeout for comm to emcmot, in seconds
COMM_TIMEOUT =  1.0

# Interval between tries to emcmot, in seconds
COMM_WAIT = 0.010

# Servo task period, in nanoseconds
SERVO_PERIOD =  100




[HAL]

# The run script first uses halcmd to execute any HALFILE
# files, and then to execute any individual HALCMD commands.

# list of hal config files to run through halcmd
# files are executed in the order in which they appear

HALUI=halui


HALFILE =   7i92_general.hal
HALFILE = xhc-hb20.hal
#HALFILE = LIB:xhc-hb04.tcl
# list of halcmd commands to execute
# commands are executed in the order in which they appear
#HALCMD =   save neta




[TRAJ]

AXES =  3
COORDINATES =   X Y Z
#HOME =  0 0 0
LINEAR_UNITS =  inch
ANGULAR_UNITS = degree
CYCLE_TIME =0.001

 
DEFAULT_VELOCITY = 30
#In machines with nontrivial kinematics, the acceleration used for "teleop" 
(Cartesian space) jogs, in machine units per second per second.
DEFAULT_ACCELERATION = 60  
MAX_VELOCITY = 30
MAX_ACCELERATION = 60.0 


[AXIS_0]

# 
# Step timing is 1 us steplen + 1 us stepspace
# That gives 2 us step period = 500 KHz max step freq
#
#
# Scale is 2000 steps/rev * 5 revs/inch = 1 steps/inch
#
# This gives a maxvel of 25/1 = 50 ips
#


TYPE =  LINEAR
MAX_VELOCITY =   15
MAX_ACCELERATION =   50
MAX_JERK =   2000
# Set Stepgen max 20% higher than the axis
STEPGEN_MAX_VEL =21
STEPGEN_MAX_ACC =96

BACKLASH =   0.000

SCALE =1736.236364

MIN_LIMIT = -50.0
MAX_LIMIT = 98.0

FERROR =.0002
MIN_FERROR = .0001


#HOME =  0.000
#HOME_OFFSET =   0.10
#HOME_SEARCH_VEL =   0.10
#HOME_LATCH_VEL =-0.01
#HOME_USE_INDEX =YES
#HOME_IGNORE_LIMITS =YES

# these are in nanoseconds
DIRSETUP   =  6000
DIRHOLD=  6000
STEPLEN=  8000
STEPSPACE  =  8000

# PID tuning params
DEADBAND =  0
P =