Re: [Emc-users] next big thing

2014-02-26 Thread andy pugh
On 26 February 2014 06:11, a k pccncmach...@gmail.com wrote:
 my question is can i use on one system 3 ac servomotors and 2 stepper
 motors?

Yes, there is absolutely no reason why not.
(Your extra axes would conventionally be U and V rather than A and B)

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis  security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Startup error when switched to 10.04

2014-02-26 Thread andy pugh
On 26 February 2014 02:29, Leonardo Marsaglia
leonardomarsagli...@gmail.com wrote:
 libnml/buffer/physmem.cc 143: PHYSMEM_HANDLE: Can't write 11592 bytes at
 offset 60 from buffer of size 10208.

See 
http://wiki.linuxcnc.org/cgi-bin/wiki.pl?UPDATING#Changes_between_2_3_x_and_2_4_x
section 1.1

It looks like you need to remove the NML file reference from the INI.
(though that was a 2.3 to 2.4 change)

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis  security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Startup error when switched to 10.04

2014-02-26 Thread Leonardo Marsaglia
Hi Andy,

Yes. That was causing the error. Didn't know too much about those changes.
Also, you're right, the old version installed on this computer was 2.3.X.

Thanks for helping me out!

Leonardo.


2014-02-26 7:14 GMT-03:00 andy pugh bodge...@gmail.com:

 On 26 February 2014 02:29, Leonardo Marsaglia
 leonardomarsagli...@gmail.com wrote:
  libnml/buffer/physmem.cc 143: PHYSMEM_HANDLE: Can't write 11592 bytes at
  offset 60 from buffer of size 10208.

 See
 http://wiki.linuxcnc.org/cgi-bin/wiki.pl?UPDATING#Changes_between_2_3_x_and_2_4_x
 section 1.1

 It looks like you need to remove the NML file reference from the INI.
 (though that was a 2.3 to 2.4 change)

 --
 atp
 If you can't fix it, you don't own it.
 http://www.ifixit.com/Manifesto


 --
 Flow-based real-time traffic analytics software. Cisco certified tool.
 Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
 Customize your own dashboards, set traffic alerts and generate reports.
 Network behavioral analysis  security monitoring. All-in-one tool.

 http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




-- 
*Leonardo Marsaglia*.
--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis  security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] beaglebone fpga with linuxcnc

2014-02-26 Thread Dave Cole
On 2/25/2014 11:26 PM, Gregg Eshelman wrote:
 On 2/25/2014 7:21 AM, Charles Steinkuehler wrote:
 On 2/25/2014 8:16 AM, Dave Cole wrote:
 I'm sure it would depend upon how Xylotex or others are implementing
 their cape..

 BTW, I'm curious; Does anyone know who came up with the term cape ??
 That seems totally non-obvious to me, compared to add-on board,
 daughter board, etc.
 Did that arrive out of a language translation?  Or was that a TI
 invention.   I used to work for TI long ago and some of those guys lived
 a little over the edge.   ;-)
 It's a twist on shield from the Arduino world.  The Beagle folks
 wanted a new term to avoid confusion with existing sheilds, and you
 apparently can't just call it a daughter-card or add-on-module because
 the target audience is creative types who need to be shielded (pun
 intended) from such harsh real-world concepts.  :)
 Remember Underdog? The super flying beagle who wore a cape?


Oh Yes!

But I was a kid and didn't really consider what breed he was at the time.
Was he really a Beagle?
Underdog was one of my favorite cartoon characters back when I used to
look forward to Saturday morning cartoons!

Dave

--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis  security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Fwd: Trying to merge the hal files etc For Crackling Motors

2014-02-26 Thread Mark Tucker


This is my first attempt at merging the hal files and ini files 
following discussions over the crackling motors.

Using 7i76e.zip from Peter Wallace
I have attatched the Hal and ini file.
All i get is no movement and a joint following error. Could anyone have 
a look and see if there is anything obvious?.

Not sure if the files will be stripped from the post?

Regards Mark

# These buffer ALL siginal used on the DB25 port
# The board also has a pair of a set of four 0805 size jumper resistors
# these can be used to output either the standard Spindle/Mist/flood and
# input ALIM from the DB25 pins
# or allow BBB SPI singals to be routed to the DB25 connector instead.
# The ALIM RC buffer Capacitor would need to change if this
# option was used.  The LIM Switch input signals are pulled to 3V3 through
# 10K resistors
# then go through a 1K resistor and bypassed with a .22uF cap.   This is
# the cap that should be removed
# if the SPI port (untested option)  is used.  The 4 SPI signals are also
# directly routed
# to six through-holes which include 3V3 and GND.  This singals are
# otherwise Unbuffered and
# go directly to the BBB
# At powerup the LVC541 enabl;e signals are pulled high, disabling the
# drivers until
# the BBB and LinuxCNC pull the enable signal low.
#



# Launch the setup script to make sure hardware setup looks good
loadusr -w /home/linuxcnc/linuxcnc/configs/Xylotex/setup.sh

# ###
# Core EMC/HAL Loads
# ###

# kinematics
loadrt trivkins

# motion controller, get name and thread periods from ini file
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD 
num_joints=[TRAJ]AXES


# load low-level drivers
loadrt hal_bb_gpio output_pins=107,113,119,126,214 
input_pins=109,110,114,118,241
loadrt [PRUCONF](DRIVER) [PRUCONF](CONFIG)
#(JP) Not suing PID loop so comment out
loadrt pid num_chan=3
loadrt limit1 count=2

# 
# THREADS
# 

addf [PRUCONF](DRIVER).capture-position   servo-thread
addf bb_gpio.read servo-thread
addf motion-command-handler   servo-thread
addf motion-controllerservo-thread
#(JP) Not doing PID for temperature sensor for PWM output
addf pid.0.do-pid-calcs   servo-thread
addf pid.1.do-pid-calcs   servo-thread
addf pid.2.do-pid-calcs   servo-thread
addf limit1.0 servo-thread
addf limit1.1 servo-thread
addf [PRUCONF](DRIVER).update servo-thread
addf bb_gpio.writeservo-thread


# ##
# Axis-of-motion Specific Configs (not the GUI)
# ##

# 
# X [0] Axis
# 

# axis enable chain
newsig emcmot.00.enable bit
sets emcmot.00.enable FALSE

net emcmot.00.enable = axis.0.amp-enable-out
net emcmot.00.enable = [PRUCONF](DRIVER).stepgen.00.enable pid.0.enable

# position command and feedback
net emcmot.00.pos-cmd axis.0.motor-pos-cmd = pid.0.command
net emcmot.00.vel-cmd axis.0.joint-vel-cmd = pid.0.command-deriv
net motor.00.pos-fb = [PRUCONF](DRIVER).stepgen.00.position-fb 
axis.0.motor-pos-fb pid.0.feedback
net motor.00.command pid.0.output [PRUCONF](DRIVER).stepgen.00.velocity-cmd
setp pid.0.error-previous-target true
setp pid.0.maxerror .0005
#net emcmot.00.pos-cmd = [PRUCONF](DRIVER).stepgen.00.position-cmd

#net motor.00.pos-fb = [PRUCONF](DRIVER).stepgen.00.position-fb
#net motor.00.pos-fb = axis.0.motor-pos-fb

# timing parameters
setp [PRUCONF](DRIVER).stepgen.00.dirsetup[AXIS_0]DIRSETUP
setp [PRUCONF](DRIVER).stepgen.00.dirhold [AXIS_0]DIRHOLD

setp [PRUCONF](DRIVER).stepgen.00.steplen [AXIS_0]STEPLEN
setp [PRUCONF](DRIVER).stepgen.00.stepspace   [AXIS_0]STEPSPACE

setp [PRUCONF](DRIVER).stepgen.00.position-scale  [AXIS_0]SCALE

setp [PRUCONF](DRIVER).stepgen.00.maxvel  [AXIS_0]STEPGEN_MAX_VEL
setp [PRUCONF](DRIVER).stepgen.00.maxaccel[AXIS_0]STEPGEN_MAX_ACC

#setp [PRUCONF](DRIVER).stepgen.00.step_type   0
setp [PRUCONF](DRIVER).stepgen.00.steppin 0x4C
setp [PRUCONF](DRIVER).stepgen.00.dirpin  0x4D

# set PID loop gains from inifile
setp pid.0.Pgain [AXIS_0]P
setp pid.0.Igain [AXIS_0]I
setp pid.0.Dgain [AXIS_0]D
setp pid.0.bias [AXIS_0]BIAS
setp pid.0.FF0 [AXIS_0]FF0
setp pid.0.FF1 [AXIS_0]FF1
setp pid.0.FF2 [AXIS_0]FF2
setp pid.0.deadband [AXIS_0]DEADBAND
setp pid.0.maxoutput [AXIS_0]MAX_OUTPUT

#(JP) Add home switch input
net home-xyz bb_gpio.p8.in-10 = axis.0.home-sw-in
setp bb_gpio.p8.in-10.invert 1

# 
# Y [1] Axis
# 

# axis enable chain
newsig emcmot.01.enable bit
sets emcmot.01.enable FALSE

net emcmot.01.enable = axis.1.amp-enable-out
net 

Re: [Emc-users] Fwd: Trying to merge the hal files etc For Crackling Motors

2014-02-26 Thread Charles Steinkuehler
On 2/26/2014 8:10 AM, Mark Tucker wrote:
 
 This is my first attempt at merging the hal files and ini files
 following discussions over the crackling motors.
 Using 7i76e.zip from Peter Wallace
 I have attatched the Hal and ini file.
 All i get is no movement and a joint following error. Could anyone have
 a look and see if there is anything obvious?.
 Not sure if the files will be stripped from the post?

I don't have time to fully review your changes, but you have to put the
stepgen code in velocity mode or it will continue tracking the
position_cmd and ignore the velocity_cmd.  There is a control-type HAL
pin that needs to be set to true (1) to put the stepgen in velocity
mode.  I didn't see that you were doing this in your HAL file, which
would definitely cause problems.

-- 
Charles Steinkuehler
char...@steinkuehler.net



signature.asc
Description: OpenPGP digital signature
--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis  security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Fwd: Trying to merge the hal files etc For Crackling Motors

2014-02-26 Thread Mark Tucker
Charles

Your a star.
It's running on the screen now so that is a start with no errors.
I will plug it into the machine and play with the deadband etc.

On 26/02/14 14:45, Charles Steinkuehler wrote:
 On 2/26/2014 8:10 AM, Mark Tucker wrote:
 This is my first attempt at merging the hal files and ini files
 following discussions over the crackling motors.
 Using 7i76e.zip from Peter Wallace
 I have attatched the Hal and ini file.
 All i get is no movement and a joint following error. Could anyone have
 a look and see if there is anything obvious?.
 Not sure if the files will be stripped from the post?
 I don't have time to fully review your changes, but you have to put the
 stepgen code in velocity mode or it will continue tracking the
 position_cmd and ignore the velocity_cmd.  There is a control-type HAL
 pin that needs to be set to true (1) to put the stepgen in velocity
 mode.  I didn't see that you were doing this in your HAL file, which
 would definitely cause problems.



 --
 Flow-based real-time traffic analytics software. Cisco certified tool.
 Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
 Customize your own dashboards, set traffic alerts and generate reports.
 Network behavioral analysis  security monitoring. All-in-one tool.
 http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk


 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis  security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Fanuc 10s ini-file

2014-02-26 Thread Daniel Duesentrieb
Folks

I am happy, then with the help of Jon I got my Fanuc 10s servomotor 
running with his pico-systems universal pwm board, fanuc encoder und 
servo amp. Encoder runs and the motor is turning - somewhat...

I was playing around with the parameters but never got a nice motor 
movement. following 0 error or - when I change FERROR and MIN_FERROR - 
the motor get in a loop and starts vibrating.

Does anybody has the correct ini-settings for this motors?

Thank you for help!

--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis  security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Crackling motors using Beaglebone

2014-02-26 Thread Mark Tucker
I eventually managed to merge a few hal files and ini files to Change 
the stepgens etc to work in velocity mode.
I have just connected up to the machine,and initial testing is excellent.
Strange thing though ,i have not entered any deadband figures yet but 
the crackling seems to have gone.
I will let you know how more in depth testing works out, but for now all 
is good.
Can anyone tell me what the maximum figure is that i can set in the 
beaglebone for stepgen max velocity?
At the moment my stepgen max velocity is 42
And the Max velocity is 35
At 1000 steps per mm
I seem to remember it max's out at 45khz?

On 24/02/14 17:22, Jeff wrote:
 Hi,

 I'm *guessing* that they are the older Geckos (non digital).  The older 
 drives had to have the DIR line stable for quite a time after the STEP pulse. 
  I believe this was to manage the resonance compensation circuit.  This makes 
 me think the DIR line was not actually latched at the time of the STEP pulse. 
  If this is the case, the external DIR line would play an active role in the 
 direction the current is going to be going in the motor windings.  Thus, at 
 the start of each PWM cycle (about 20KHz) the DIR line would determine which 
 direction the current should go (even in a stationary motor).  As the DIR 
 line changes, the standby current in the motor will be reversed.  The rate of 
 DIR reversal coupled with the 20KHz ends up giving a beat frequency in the 
 audible range.  Another guess would be that the actual noise signature 
 would be where the drive stopped within the 10 microstep range.  You could 
 end up having 10 different crackling noise characteristics depending on which 
 mic
 rostep you stopped at.

While the noise might be annoying, I don't think (another guess) it would 
 cause a problem for the drive as long as the correct DIR polarity is stable 
 before the next STEP pulse comes in.

 Jeff

 
 Date: Sat, 22 Feb 2014 11:30:59 -0800
 From: p...@mesanet.com
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Crackling motors using Beaglebone

 On Sat, 22 Feb 2014, Mark Tucker wrote:

 Date: Sat, 22 Feb 2014 19:20:57 +
 From: Mark Tucker m...@rmtucker.f2s.com
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Crackling motors using Beaglebone

 John

 Thank you so much for the insight of how that work and it explains a lot.
 But as you stated it would be hunting back and forth.Which i assume it
 would have to pulse the step line?
 And a number of people have scoped the outputs and only found the Dir
 line hunting back and forth,i wonder why it is not detected on the step
 line.?
 And if it is only the dir line,why would the motors make a noise at all?

 The internal stepgen position has a resolution of a small fraction of a step
 (1/1 of a step in Johns example) so it can hunt back and forth without
 emitting a step.

 As to why a step drive pays any attention to the dir signal without a step
 pulse I do not know, seems like a mistake to me.


 Peter Wallace
 Mesa Electronics

 --
 Managing the Performance of Cloud-Based Applications
 Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
 Read the Whitepaper.
 http://pubads.g.doubleclick.net/gampad/clk?id=121054471iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users   
 
 --
 Flow-based real-time traffic analytics software. Cisco certified tool.
 Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
 Customize your own dashboards, set traffic alerts and generate reports.
 Network behavioral analysis  security monitoring. All-in-one tool.
 http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users





--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis  security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] next big thing

2014-02-26 Thread a k
Hi
i have stepper motor from Keling Technology KL23H2100-35-4b
and Microstep Driver kl5056
question: if i add to that stepper motor shaft encoder like
http://www.ebay.com/itm/400P-R-incremental-rotary-encoder-400-pulses-MAX-mechanical-speed-of-1000-/330952664057?pt=LH_DefaultDomain_0hash=item4d0e50e3f9

will that motor will become closed loop and can be considered as a
servomotor?

question: what is benefit of using dynamic encoder - like i have - from
servodynamics in compare stepper motor with + encoder that i found on e-bay
?
i mean tangible benefit for cnc machine tool

thanks
aram







On Wed, Feb 26, 2014 at 1:28 AM, andy pugh bodge...@gmail.com wrote:

 On 26 February 2014 06:11, a k pccncmach...@gmail.com wrote:
  my question is can i use on one system 3 ac servomotors and 2 stepper
  motors?

 Yes, there is absolutely no reason why not.
 (Your extra axes would conventionally be U and V rather than A and B)

 --
 atp
 If you can't fix it, you don't own it.
 http://www.ifixit.com/Manifesto


 --
 Flow-based real-time traffic analytics software. Cisco certified tool.
 Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
 Customize your own dashboards, set traffic alerts and generate reports.
 Network behavioral analysis  security monitoring. All-in-one tool.

 http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis  security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Crackling motors using Beaglebone

2014-02-26 Thread Charles Steinkuehler
The maximum step frequency depends on your PRU task loop time, which
depends on how many tasks you're actually running.  By default, the PRU
task loop is 10 uS, which means step pulses can be generated every 20 uS
(one period high, one period low) minimum, which gives a 50 KHz maximum
step frequency.  You can dial the PRU task period down if you need
higher frequencies and are not running lots of tasks.  IIRC the default
setup I was using for my 3D printer took about 1.5 uS to run the code (4
stepgens and 3 PWMs), so there's a lot of safety margin.

On 2/26/2014 11:38 AM, Mark Tucker wrote:
 I eventually managed to merge a few hal files and ini files to Change 
 the stepgens etc to work in velocity mode.
 I have just connected up to the machine,and initial testing is excellent.
 Strange thing though ,i have not entered any deadband figures yet but 
 the crackling seems to have gone.
 I will let you know how more in depth testing works out, but for now all 
 is good.
 Can anyone tell me what the maximum figure is that i can set in the 
 beaglebone for stepgen max velocity?
 At the moment my stepgen max velocity is 42
 And the Max velocity is 35
 At 1000 steps per mm
 I seem to remember it max's out at 45khz?
 
 On 24/02/14 17:22, Jeff wrote:
 Hi,

 I'm *guessing* that they are the older Geckos (non digital).  The older 
 drives had to have the DIR line stable for quite a time after the STEP 
 pulse.  I believe this was to manage the resonance compensation circuit.  
 This makes me think the DIR line was not actually latched at the time of the 
 STEP pulse.  If this is the case, the external DIR line would play an active 
 role in the direction the current is going to be going in the motor 
 windings.  Thus, at the start of each PWM cycle (about 20KHz) the DIR line 
 would determine which direction the current should go (even in a stationary 
 motor).  As the DIR line changes, the standby current in the motor will be 
 reversed.  The rate of DIR reversal coupled with the 20KHz ends up giving a 
 beat frequency in the audible range.  Another guess would be that the actual 
 noise signature would be where the drive stopped within the 10 microstep 
 range.  You could end up having 10 different crackling noise characteristics 
 depending on which m
icrostep you stopped at.

While the noise might be annoying, I don't think (another guess) it would 
 cause a problem for the drive as long as the correct DIR polarity is stable 
 before the next STEP pulse comes in.

 Jeff

 
 Date: Sat, 22 Feb 2014 11:30:59 -0800
 From: p...@mesanet.com
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Crackling motors using Beaglebone

 On Sat, 22 Feb 2014, Mark Tucker wrote:

 Date: Sat, 22 Feb 2014 19:20:57 +
 From: Mark Tucker m...@rmtucker.f2s.com
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] Crackling motors using Beaglebone

 John

 Thank you so much for the insight of how that work and it explains a lot.
 But as you stated it would be hunting back and forth.Which i assume it
 would have to pulse the step line?
 And a number of people have scoped the outputs and only found the Dir
 line hunting back and forth,i wonder why it is not detected on the step
 line.?
 And if it is only the dir line,why would the motors make a noise at all?

 The internal stepgen position has a resolution of a small fraction of a step
 (1/1 of a step in Johns example) so it can hunt back and forth without
 emitting a step.

 As to why a step drive pays any attention to the dir signal without a step
 pulse I do not know, seems like a mistake to me.


 Peter Wallace
 Mesa Electronics

 --
 Managing the Performance of Cloud-Based Applications
 Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
 Read the Whitepaper.
 http://pubads.g.doubleclick.net/gampad/clk?id=121054471iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users  
 
 --
 Flow-based real-time traffic analytics software. Cisco certified tool.
 Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
 Customize your own dashboards, set traffic alerts and generate reports.
 Network behavioral analysis  security monitoring. All-in-one tool.
 http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


 
 
 
 

Re: [Emc-users] next big thing

2014-02-26 Thread Gene Heskett
On Wednesday 26 February 2014 15:29:32 a k did opine:

 Hi
 i have stepper motor from Keling Technology KL23H2100-35-4b
 and Microstep Driver kl5056
 question: if i add to that stepper motor shaft encoder like
 http://www.ebay.com/itm/400P-R-incremental-rotary-encoder-400-pulses-MAX
 -mechanical-speed-of-1000-/330952664057?pt=LH_DefaultDomain_0hash=item4
 d0e50e3f9
 
Link is a blank page in my busted FF27.

 will that motor will become closed loop and can be considered as a
 servomotor?

That is generally a no, unless the stepper is running in idle mode.

The problem is the negative torque curve of the stepper vs its speeds, 
meaning that if it slips a cog, it will be stopped as its in-capable of 
resuming the speed it was moving at when it failed by re-accelerating to 
that speed in a single step.  All the feedback obtained from the encoder 
can do is attempt to speed it up to catch up, and its not capable of that 
while under the load that caused it to slip that cog in the first place.

The best you can do with the encoders feedback is to use its error should 
the motor slip, to exert the fastest possible e-stop and hopefully save the 
part.  If the part isn't damaged, then you'll need to rehome the machine 
and re-start the operation, running at a slower rate by sliding the 
feedrate knob to slower as that portion of the operation is being re-
approached, hoping it will get thru the hard cut the next time.

That said, I think there have been some attempts to use it, and you will 
find some discussion of it in the wiki.  I have read it myself several 
times without fully understanding how it was used to dynamically rehome the 
slipped axis to get it back in step even after slowing the rest of the 
machine so it might be able to catch up with the rest of the machine now 
running slower.

To me it seemed like a lot of expense and complexity for a limited CYA 
gain.  Far better off to slow the operation to within the steppers 
abilities and/or raise the voltage on the drivers so the torque falloff is 
not as pronounced.

I was nicely amazed by the speeds I could get out of my lathe, whose motors 
are running on around 37 volts, compared to the same motor and driver on my 
mill but running at 28 volts.  A finicky 30 ipm on the mill, vs a rock 
solid 60 ipm on the lathe just by going up 9 volts.  A side effect of the 
higher voltage on that particular driver, a 2M542 from fleabay at around a 
$50 bill a copy, is that this driver runs cooler at the higher voltage.

But look it up on the wiki  make up your own mind.  I'm just the resident 
retired old fart. ;-)

 question: what is benefit of using dynamic encoder - like i have - from
 servodynamics in compare stepper motor with + encoder that i found on
 e-bay ?
 i mean tangible benefit for cnc machine tool
 
 thanks
 aram
 
 On Wed, Feb 26, 2014 at 1:28 AM, andy pugh bodge...@gmail.com wrote:
  On 26 February 2014 06:11, a k pccncmach...@gmail.com wrote:
   my question is can i use on one system 3 ac servomotors and 2
   stepper motors?
  
  Yes, there is absolutely no reason why not.
  (Your extra axes would conventionally be U and V rather than A and B)
  
  --
  atp
  If you can't fix it, you don't own it.
  http://www.ifixit.com/Manifesto
  
  
  --
   Flow-based real-time traffic analytics software. Cisco
  certified tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with
  NetFlow Analyzer Customize your own dashboards, set traffic alerts
  and generate reports. Network behavioral analysis  security
  monitoring. All-in-one tool.
  
  http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.
  clktrk ___
  Emc-users mailing list
  Emc-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/emc-users
 
 
 -- Flow-based real-time traffic analytics software. Cisco certified
 tool. Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow
 Analyzer Customize your own dashboards, set traffic alerts and generate
 reports. Network behavioral analysis  security monitoring. All-in-one
 tool.
 http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.c
 lktrk ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


Cheers, Gene
-- 
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 http://geneslinuxbox.net:6309/gene

NOTICE: Will pay 100 USD for an HP-4815A defective but
complete probe assembly.


--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer

Re: [Emc-users] beaglebone fpga with linuxcnc

2014-02-26 Thread Jeff
Hi,

  Got it.

Thanks,

Jeff

 Date: Wed, 26 Feb 2014 02:32:57 +0100
 From: mic...@wp.pl
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] beaglebone fpga with linuxcnc

 Hi,

 http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=commit;h=39db4d1f16be2a3715d95c72eec8fa180bc91233

 regards,
 Michael

 W dniu 26.02.2014 00:22, Jeff pisze:
 Hi Peter,

 Not being a LinuxCNC developer, I know little about branches etc. I went 
 to git.linuxcnc.org where I figured stuff might be, but couldn't find 
 anything related to hm2_7i90. Right now, I'm basically using the software 
 provided with the MachineKit, and it doesn't seem to have 7i90 related stuff 
 either (unless I'm totally lost - which could be.).

 Can you provide a link to where I would be able to download the hm2_7i90.c 
 code?

 Thanks,

 Jeff


 
 Date: Tue, 25 Feb 2014 11:29:58 -0800
 From: p...@mesanet.com
 To: emc-users@lists.sourceforge.net
 Subject: Re: [Emc-users] beaglebone fpga with linuxcnc

 I forgot one detail: for EPP interfaced hostmot2 on preconfigured FPGA cards
 you want to use the hm2-7i90 branch. Im hoping the features in hm2_7i90
 can be merged with the hm2_7i43 driver so there is a common hm2_epp driver
 for all EPP interfaced HostMot2 cards.

 Peter Wallace
 Mesa Electronics

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


 --
 Flow-based real-time traffic analytics software. Cisco certified tool.
 Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
 Customize your own dashboards, set traffic alerts and generate reports.
 Network behavioral analysis  security monitoring. All-in-one tool.
 http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 --
 Flow-based real-time traffic analytics software. Cisco certified tool.
 Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
 Customize your own dashboards, set traffic alerts and generate reports.
 Network behavioral analysis  security monitoring. All-in-one tool.
 http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




 --
 Flow-based real-time traffic analytics software. Cisco certified tool.
 Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
 Customize your own dashboards, set traffic alerts and generate reports.
 Network behavioral analysis  security monitoring. All-in-one tool.
 http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
   
--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis  security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] next big thing

2014-02-26 Thread Steve Blackmore
On Wed, 26 Feb 2014 12:24:08 -0800, you wrote:

Hi
i have stepper motor from Keling Technology KL23H2100-35-4b
and Microstep Driver kl5056
question: if i add to that stepper motor shaft encoder like
http://www.ebay.com/itm/400P-R-incremental-rotary-encoder-400-pulses-MAX-mechanical-speed-of-1000-/330952664057?pt=LH_DefaultDomain_0hash=item4d0e50e3f9

will that motor will become closed loop and can be considered as a
servomotor?

No - it's just a dumb drive.  There are closed loop steppers and drivers
and they behave much like brushless servos. 

See

http://www.leadshine.com/category.aspx?type=productscategory=easy-servo-products


Steve Blackmore
--

--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis  security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Fanuc 10s ini-file

2014-02-26 Thread Jon Elson
On 02/26/2014 10:27 AM, Daniel Duesentrieb wrote:
 Folks

 I am happy, then with the help of Jon I got my Fanuc 10s servomotor
 running with his pico-systems universal pwm board, fanuc encoder und
 servo amp. Encoder runs and the motor is turning - somewhat...

 I was playing around with the parameters but never got a nice motor
 movement. following 0 error or - when I change FERROR and MIN_FERROR -
 the motor get in a loop and starts vibrating.

 Does anybody has the correct ini-settings for this motors?


Here's the settings I use on my Fanuc test station:
[AXIS_0]

TYPE =  LINEAR
UNITS = 0.03937007874016
HOME =  0.000
MAX_VELOCITY =  1.20
MAX_ACCELERATION =  5.0
PID_MAX_VEL =  5
BACKLASH = 0.000
CYCLE_TIME =0.001000
INPUT_SCALE =   -16
OUTPUT_SCALE = 1.000
PWM_OUTPUT_SCALE =  -1
MIN_LIMIT = -10.0
MAX_LIMIT = 10.0
FERROR = 1.102
MIN_FERROR = 1.105
HOME_OFFSET =0.0
HOME_SEARCH_VEL =0.0
HOME_LATCH_VEL = 0.0
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = NO
DEADBAND = 2e-05
P =  40
I =  0.3
D =0.25
BIAS = 0
FF0 =  0
FF1 =  0.08
FF2 =  0.0011

This is used with the encoder velocity estimation enabled, but
should be close even without that feature.

Jon

--
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis  security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users