[Emc-users] BeagleBone Black, ready to run a large 3 axis mill?

2013-06-17 Thread Gregg Eshelman
Is LinuxCNC on a BeagleBone Black ready to run a large 3 axis milling machine 
or is there still work to do on hardware and software?

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] BLDC - not smooth rotation with hostmot2 and 3-phase bridge

2013-06-17 Thread propcoder
I started to test IRAM module with MESA 5i23. I use TPEN6_6 firmware and 
bldc module in n mode.


I am rotating it slowly (setp bldc.0.frequency 0.2). PWM outputs are 
true sinusoidal (checked on scope), but motion has some smooth 
(non-linear) parts and stop parts.


BTW, I can't use bldc n6 mode, because I don't have where to connect 
A-high-value, A-low-value, .. because bldc component has A-value, .. 
pins only. When I use n mode, the motion is not smooth and it does not 
depend on strength (bldc.0.value).


Shouldn't PWM curve look not like sine, but with kinks in the center, 
smth. like this:

http://www.postech.ac.kr/ee/cmd/102_BLDC_pedal.htm
?

My config hal file attached. Look at X axis.
# Generated by PNCconf at Tue Jun 11 21:36:21 2013
# If you make changes to this file, they will be
# overwritten when you run PNCconf again

loadrt trivkins
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD 
num_joints=[TRAJ]AXES
loadrt probe_parport
loadrt hostmot2
loadrt hm2_pci config=firmware=hm2/5i23/TPEN6_6.BIT num_encoders=3 
num_pwmgens=0 num_3pwmgens=3 num_stepgens=0   
setp hm2_5i23.0.watchdog.timeout_ns 1000
loadrt pid names=pid.x,pid.y,pid.z
loadrt bldc cfg=n,qi6,qi6

setp hm2_5i23.0.3pwmgen.frequency 12000
setp hm2_5i23.0.3pwmgen.00.deadtime 500

addf hm2_5i23.0.read servo-thread
addf motion-command-handler servo-thread
addf motion-controller servo-thread
addf pid.x.do-pid-calcs servo-thread
addf pid.y.do-pid-calcs servo-thread
addf pid.z.do-pid-calcs servo-thread
addf bldc.0 servo-thread
addf bldc.1 servo-thread
addf bldc.2 servo-thread
addf hm2_5i23.0.write servo-thread
addf hm2_5i23.0.pet_watchdog  servo-thread

# external output signals

# external input signals

#***
#  AXIS X
#***

# 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 = hm2_5i23.0.3pwmgen.00.enable
# net emcmot.00.enable = pid.0.enable

# -- BLDC setup --
setp   bldc.0.drive-offset   0
setp   bldc.0.rev0

# net x-pos-rawcounts  bldc.0.rawcounts
# net x-index-enable  bldc.0.index-enable
net x-bldc-current  bldc.0.out
net x-meas-anglebldc.0.phase-angle
# net x-output bldc.0.value

setp bldc.0.value 0.3
setp bldc.0.frequency 0.2

# net x-enable bldc.0.init
# net x-enable hm2_5i23.0.3pwmgen.00.enable
# net x-is-init   bldc.0.init-done

setp   pid.x.Pgain [AXIS_0]P
setp   pid.x.Igain [AXIS_0]I
setp   pid.x.Dgain [AXIS_0]D
setp   pid.x.bias  [AXIS_0]BIAS
setp   pid.x.FF0   [AXIS_0]FF0
setp   pid.x.FF1   [AXIS_0]FF1
setp   pid.x.FF2   [AXIS_0]FF2
setp   pid.x.deadband  [AXIS_0]DEADBAND
setp   pid.x.maxoutput [AXIS_0]MAX_OUTPUT

net x-index-enable  =  pid.x.index-enable
net x-enable   = pid.x.enable
net x-output   = pid.x.output
net x-pos-cmd  = pid.x.command
net x-vel-fb   = pid.x.feedback-deriv
net x-pos-fb   = pid.x.feedback

# ---TPPWM Generator signals/setup---
# six output 3pwg
# TODO write some commands!
net pwm.00-a bldc.0.A-value = hm2_5i23.0.3pwmgen.00.A-value
net pwm.00-b bldc.0.B-value = hm2_5i23.0.3pwmgen.00.B-value
net pwm.00-c bldc.0.C-value = hm2_5i23.0.3pwmgen.00.C-value

# ---Encoder feedback signals/setup---

setphm2_5i23.0.encoder.00.counter-mode 0
setphm2_5i23.0.encoder.00.filter 1
setphm2_5i23.0.encoder.00.index-invert 0
setphm2_5i23.0.encoder.00.index-mask 0
setphm2_5i23.0.encoder.00.index-mask-invert 0
setphm2_5i23.0.encoder.00.scale  [AXIS_0]ENCODER_SCALE

net x-pos-fb   =  hm2_5i23.0.encoder.00.position
net x-vel-fb   =  hm2_5i23.0.encoder.00.velocity
net x-pos-fb   =  axis.0.motor-pos-fb
net x-index-enableaxis.0.index-enable  =  
hm2_5i23.0.encoder.00.index-enable
net x-pos-rawcounts=  hm2_5i23.0.encoder.00.rawcounts

# ---setup home / limit switch signals---

net x-home-sw =  axis.0.home-sw-in
net x-neg-limit =  axis.0.neg-lim-sw-in
net x-pos-limit =  axis.0.pos-lim-sw-in

#***
#  AXIS Y
#***

# -- BLDC setup --
setp   bldc.1.drive-offset   0
setp   bldc.1.rev0
setp   bldc.1.scale  8192
setp   bldc.1.poles  8
setp   bldc.1.initvalue  0
setp   bldc.1.lead-angle 90
setp   bldc.1.encoder-offset 0
net y-a-high-value  bldc.1.A-high
net y-a-low-value   bldc.1.A-low
net y-b-high-value  bldc.1.B-high
net y-b-low-value   bldc.1.B-low
net y-c-high-value  bldc.1.C-high
net y-c-low-value   bldc.1.C-low

net y-pos-rawcounts  bldc.1.rawcounts
net y-index-enable  bldc.1.index-enable
net y-bldc-current  bldc.1.out
net y-meas-anglebldc.1.phase-angle
net y-output bldc.1.value
net y-enable bldc.1.init
net y-is-init   bldc.1.init-done

setp   pid.y.Pgain 

Re: [Emc-users] BeagleBone Black, ready to run a large 3 axis mill?

2013-06-17 Thread Charles Steinkuehler
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 6/17/2013 2:39 AM, Gregg Eshelman wrote:
 Is LinuxCNC on a BeagleBone Black ready to run a large 3 axis
 milling machine or is there still work to do on hardware and
 software?

I'd say LinuxCNC is ready, but there are still issues with the
platform in general:

* There is currently no available I/O cape for the BeagleBone that is
targeted at industrial control.  Depending on how willing you are to
wire up something from scratch, and how complicated you need your I/O
protection, this could be a minor issue or a show stopper.  Your mill
also needs to be using step/dir control.

* It depends on what you want to do for a display.  The HDMI output on
the 'Black has been causing nothing but problems for most folks, and
will never run high resolutions like 1080p.  If you are OK with oneof
the 4 or 7 LCD capes, or are willing to by a specific HDMI monitor
know to work with the 'Bone that should get you a display, but
LinuxCNC has not been tested with a native display AFAIK.

* Even if you do have a working display, you need to choose your
interface wisely.  I haven't been able to test with a native display,
but the 'Bone has no 3D acceleration so I suspect Axis will always be
a CPU hog and you'll need to use one of the lighter-weight interfaces.

* Finally, you would very definitely be an early adopter.  If you're
OK with that, I'd say it's ready to try.  If you want something you
install and it runs without issue for the next few years, the 'Bone
isn't there yet.

- -- 
Charles Steinkuehler
char...@steinkuehler.net
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlG+7uAACgkQLywbqEHdNFz/XgCeKU8vVh7sTU5mKL4NLeGWHKZ6
4FUAoPB+5BMaWROTd3kLhkCymZv2tKuU
=f7rX
-END PGP SIGNATURE-

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] filament feed, was Re: Machinekit LinuxCNC-on-BeagleBone Beta Release

2013-06-17 Thread Ed Nisley
On 06/16/2013 01:24 PM, Gene Heskett wrote:
 Coyote being the handle I'd been using since about 1962.

Ah, now, were you kye-OH-tee or COY-ote?

I have an amateur radio in the van, but discovered I don't have enough 
brainpower to drive and talk at the same time. Heck, I can barely drive 
and *listen* at the same time.

-- 
Ed
softsolder.com

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Touchy without physical controls

2013-06-17 Thread Gabriel Willen
I used a small stepper motor hooked to an arduino for a jog wheel.  Being
that steppers are 200 teeth it makes it easy to feel each rotation to the
next tooth. I can dig up the program if your interesred.

Gabe
On Jun 15, 2013 5:50 PM, andy pugh bodge...@gmail.com wrote:

 On 15 June 2013 19:47, Charles Steinkuehler char...@steinkuehler.net
 wrote:

  I've played with the various interfaces for LinuxCNC on the BeagleBone
  (tunneling X display data to a remote system), and touchy seems to be
  the best choice from a CPU usage and system integration standpoint

 Have you seen
 http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=blob;f=src/emc/usr_intf/emclcd.cc;hb=d2f30b299c61986fa5ba398a478b78a778872cf3

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


 --
 This SF.net email is sponsored by Windows:

 Build for Windows Store.

 http://p.sf.net/sfu/windows-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Automatic oiling / lubing of axes

2013-06-17 Thread propcoder
Has anyone made lubing of axes based on axis distance traveled, or axis 
time in motion?

I can't find a pin which could help me make a sum of distance axis 
traveled..


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Automatic oiling / lubing of axes

2013-06-17 Thread John Thornton
I use a motion something pin and a timer in classicladder to cycle my 
lube pump.

JT

On 6/17/2013 6:58 AM, propcoder wrote:
 Has anyone made lubing of axes based on axis distance traveled, or axis
 time in motion?

 I can't find a pin which could help me make a sum of distance axis
 traveled..


 --
 This SF.net email is sponsored by Windows:

 Build for Windows Store.

 http://p.sf.net/sfu/windows-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Arc cutting error when using slow feeds

2013-06-17 Thread John Alexander Stewart
Ok -

1) Ill get the dxf used off of the computer today, just in case it's
different with the one I have here with me. I'll put it up on the blog.

2) I'm going to re-order the cuts - and try redoing the part tonight.

3) I'm almost certain that it's an error on my side being a newbie to
Cambam.

4) The funny arc on the pictures (bottom right) - I'll write a program to
move the x axis around at different speeds and see with a dial indicator
what the backlash and any lost movement is.

5) CNC certainly gives great pleasure, better than watching TV!

John A. Stewart.
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Arc cutting error when using slow feeds

2013-06-17 Thread jeremy youngs
i am with # 3 john from what i have seen thats the evidence i gather .
again though careful measurement will reveal which side it is on, also does
the tool enter near the bad radiii?


PRIVACY NOTICE: Warning - any person and/or institution and/or Agent and/or
Agency of any governmental structure including but not limited to the
United States Federal Government also using or monitoring/using this
website or any of its associated websites, you do NOT have my permission to
utilize any of my profile information nor any of the content contained
herein including, but not limited to my photos, and/or the comments made
about my photos or any other picture art posted on my profile.

You are hereby notified that you are strictly prohibited from disclosing,
copying, distributing, disseminating, or taking any other action against me
with regard to this profile and the contents herein. The foregoing
prohibitions also apply to your employee , agent , student or any personnel
under your direction or control.

The contents of this profile are private and legally privileged and
confidential information, and the violation of my personal privacy is
punishable by law. UCC 1-103 1-308 ALL RIGHTS RESERVED WITHOUT PREJUDICES


jeremy youngs


On Mon, Jun 17, 2013 at 8:29 AM, John Alexander Stewart
ivatt...@gmail.comwrote:

 Ok -

 1) Ill get the dxf used off of the computer today, just in case it's
 different with the one I have here with me. I'll put it up on the blog.

 2) I'm going to re-order the cuts - and try redoing the part tonight.

 3) I'm almost certain that it's an error on my side being a newbie to
 Cambam.

 4) The funny arc on the pictures (bottom right) - I'll write a program to
 move the x axis around at different speeds and see with a dial indicator
 what the backlash and any lost movement is.

 5) CNC certainly gives great pleasure, better than watching TV!

 John A. Stewart.

 --
 This SF.net email is sponsored by Windows:

 Build for Windows Store.

 http://p.sf.net/sfu/windows-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Anyone seen a failure like this?

2013-06-17 Thread Dave
On 6/16/2013 5:29 PM, Tom Easterday wrote:
 These systems have a 32GB SSD in them.Are you (all) suggesting the disk 
 should be formatted EXT3 instead of 4?  I don't think I formatted them at 
 all, I took them out of the box and used the LiveCD install and let it to 
 it's thing
 -Tom


 On Jun 16, 2013, at 11:49 AM, Davee...@dc9.tzo.com  wrote:

 Your pastebin points to a file missing and then it can't create a legit
 semaphore for some reason.   Is that message persistent between boots?

 I had a strange problem on a customers machine that got worse and worse
 - basic system flakiness and I finally replaced their hard drive with an
 SSD and took their old hard drive (a Seagate 160 gb 2.5 Sata laptop
 drive) back to my shop.

 The drive was formatted EXT4.   Linux could not fix the disk problems
 even after repeated tries.  I plugged the drive into a Windows XP system
 and reformatted the disk expecting it to fail.  It took a while to
 format but it did so cleanly and the Seagate diagnositic software said
 that all was good!   So I imaged the original LinuxCNC system back onto
 the disk and it has been running fine in my office for over a week
 now.   No flaky operation.   So for whatever reason, the EXT4 file
 system became corrupted in such a way that the Linux system was unable
 to recover from it, even though the disk itself was still good.That
 is the first and hopefully the last time I see that problem!

 Dave Cole
  



I'm fairly certain that when you boot the liveCD and then choose to 
install the system that it goes through the normal Linux install process 
that includes formatting the drive.

Have you run the Linux software to check the drive..  Disk Utilities, 
check disk?

When my Linux EXT4 file system became corrupted, the Linux Check disk 
software failed the disk during tests.   But then after reformatting the 
disk in Windows
I was able to reload the LinuxCNC image I had made originally for this 
system.   I just went and checked this same disk again via the Linux 
Check Disk software and the Read Smart Data shows that the disk has 93 
bad sectors which is more than the
Linux threshold of 36.So while apparently Windows has no problem 
continuing to deal with a disk with 93 bad sectors, perhaps Linux does??

You mentioned systems, do you have other systems with the same 
software on them such that you could swap the drives, copy the LinuxCNC 
configs back and forth and see if the problems sticks with one of the 
drives?

Your issue sounds like a disk related problem to me.  I'd try swapping 
drives and configurations first to try to narrow the problem down to one 
drive if possible.

Dave Cole


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] filament feed, was Re: Machinekit LinuxCNC-on-BeagleBone Beta Release

2013-06-17 Thread Gene Heskett
On Monday 17 June 2013 08:50:44 Ed Nisley did opine:

 On 06/16/2013 01:24 PM, Gene Heskett wrote:
  Coyote being the handle I'd been using since about 1962.
 
 Ah, now, were you kye-OH-tee or COY-ote?
 
I pronounced it like we did in the S.D. hills, Ky-yot with a long o.

 I have an amateur radio in the van, but discovered I don't have enough
 brainpower to drive and talk at the same time. Heck, I can barely drive
 and *listen* at the same time.

That wasn't a huge problem for me, and if I replaced the mike with one of 
the shacks $12 electret pencils, very little distraction.  The std mikes 
you have to palm and squeeze were far more work.  I could park the end of 
the pencil on the point of my chin  it went where ever my head was 
looking. And it sounded better by far.

As my hearing fades, a cell phone is 100's of time more distraction because 
an eighth of an inch misplaced on your ear puts the thing they call a 
speaker out of reach of my hearing, a huge distraction.  If it rings when 
I'm driving, I never even reach for it.  They can leave a voice mail or 
hang up.  Since 99.9% of the time, its the DW, wondering whats keeping me 
when I went out for din-din, 90% of the time I just let the voice mails 
expire of old age.  I carry that thing for in case the vehicle decides it 
won't go, I can yell for help.  Haven't had to in the years since I 
retired, but...

My 99 GMC is pretty rusted out these days, I bought it with 55k miles on 
it, looked show room new then, made it to 113k miles before it filled the 
pan with several gallons of antifreeze, so I put a rebuilt long block in it 
last year, about $2600, but its still running on the same fresh tires that 
were on it then.  But they are about done now, so I'll either trade up, or 
spend another 2G's for another set like those if I can find them.  IMO, 
60k+ miles on a set of tires that have never even been rotated, on a 4WD 
vehicle is phenomenally good, but they'll hydroplane in a downpour if I 
don't pay attention.  Since the Toy is 4wd too, I'll probably trade up, for 
a long box  topper  regular cab 2wd.  The king cab is nice for keeping 
stuff dry, but isn't an adult sized body hauler, which I don't need, and 
the short box is a PIMA when hauling construction stuff. Today, my living 
doesn't depend on going when most folks would hibernate, I can't really 
justify the 4wd.

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)
My web page: http://coyoteden.dyndns-free.com:85/gene is up!
My views 
http://www.armchairpatriot.com/What%20Has%20America%20Become.shtml
You scratch my tape, and I'll scratch yours.
A pen in the hand of this president is far more
dangerous than 200 million guns in the hands of
 law-abiding citizens.

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Anyone seen a failure like this?

2013-06-17 Thread Tom Easterday

On Jun 17, 2013, at 9:27 AM, Dave e...@dc9.tzo.com wrote:
 I'm fairly certain that when you boot the liveCD and then choose to 
 install the system that it goes through the normal Linux install process 
 that includes formatting the drive.
 
 Have you run the Linux software to check the drive..  Disk Utilities, 
 check disk?

Disk Utility won't let me check the disk as it's mounted.  I will try taking 
one out of the other system and put it in here so I can check it.

 
 When my Linux EXT4 file system became corrupted, the Linux Check disk 
 software failed the disk during tests.   But then after reformatting the 
 disk in Windows

What did you reformat it as?  Ext3?  I don't think you said in your original 
message.

 I was able to reload the LinuxCNC image I had made originally for this 
 system.   I just went and checked this same disk again via the Linux 
 Check Disk software and the Read Smart Data shows that the disk has 93 
 bad sectors which is more than the
 Linux threshold of 36.So while apparently Windows has no problem 
 continuing to deal with a disk with 93 bad sectors, perhaps Linux does??
 
 You mentioned systems, do you have other systems with the same 
 software on them such that you could swap the drives, copy the LinuxCNC 
 configs back and forth and see if the problems sticks with one of the 
 drives?

Yes, I duplicated the disk (using dd) and three systems all exhibit the same 
behavior.

 
 Your issue sounds like a disk related problem to me.  I'd try swapping 
 drives and configurations first to try to narrow the problem down to one 
 drive if possible.

Ok, I will try checking one first, and will probably reformat (Ext3, I guess) 
and start over.  

Thanks,
-Tom


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Anyone seen a failure like this?

2013-06-17 Thread Tom Easterday
File system check claims the disks are fine.  SMART shows 5 reallocated sectors 
and everything is good.

I am going to start over on one of these systems and format EXT3.

-Tom
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Anyone seen a failure like this?

2013-06-17 Thread Dave
No, I re-imaged the drive and along with that came the EXT4 file system 
since it was originally setup that way.It still has EXT4 as of now.

 All exhibit the same behavior

Well... now that doesn't sound like a disk problem.   I doubt that all 
would fail in a similar manner if it it due to corruption of the EXT4 
file system.

I think you can force a disk check on the next reboot so you don't need 
to remove the drive;  
http://linux.bigresource.com/Ubuntu-force-a-fsck-run-at-next-reboot--Y7cB5NLWq.html

Dave Cole





On 6/17/2013 9:43 AM, Tom Easterday wrote:
 On Jun 17, 2013, at 9:27 AM, Davee...@dc9.tzo.com  wrote:

 I'm fairly certain that when you boot the liveCD and then choose to
 install the system that it goes through the normal Linux install process
 that includes formatting the drive.

 Have you run the Linux software to check the drive..  Disk Utilities,
 check disk?
  
 Disk Utility won't let me check the disk as it's mounted.  I will try taking 
 one out of the other system and put it in here so I can check it.


 When my Linux EXT4 file system became corrupted, the Linux Check disk
 software failed the disk during tests.   But then after reformatting the
 disk in Windows
  
 What did you reformat it as?  Ext3?  I don't think you said in your original 
 message.


 I was able to reload the LinuxCNC image I had made originally for this
 system.   I just went and checked this same disk again via the Linux
 Check Disk software and the Read Smart Data shows that the disk has 93
 bad sectors which is more than the
 Linux threshold of 36.So while apparently Windows has no problem
 continuing to deal with a disk with 93 bad sectors, perhaps Linux does??

 You mentioned systems, do you have other systems with the same
 software on them such that you could swap the drives, copy the LinuxCNC
 configs back and forth and see if the problems sticks with one of the
 drives?
  
 Yes, I duplicated the disk (using dd) and three systems all exhibit the same 
 behavior.


 Your issue sounds like a disk related problem to me.  I'd try swapping
 drives and configurations first to try to narrow the problem down to one
 drive if possible.
  
 Ok, I will try checking one first, and will probably reformat (Ext3, I guess) 
 and start over.

 Thanks,
 -Tom


 --
 This SF.net email is sponsored by Windows:

 Build for Windows Store.

 http://p.sf.net/sfu/windows-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Anyone seen a failure like this?

2013-06-17 Thread Tom Easterday

On Jun 17, 2013, at 9:27 AM, Dave e...@dc9.tzo.com wrote:
 I'm fairly certain that when you boot the liveCD and then choose to 
 install the system that it goes through the normal Linux install process 
 that includes formatting the drive.

I am running the LiveCD install again and it does not give you the option to 
format the drive in any specific filesystem.  Just lets you select a disk and 
if there is already something there it will (presumably) partition the disk and 
install them side by side.  But, there are no options, menus, etc to let you 
pick a drive format.  So, I am installing again with whatever the default is, 
probably EXT4

-Tom


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] LinuxCNC Integrator meeting Germany?

2013-06-17 Thread Maximilian H

Hello Rene,

is your workshop big enough for all the people that have already stated
their interest?

Can you tell me/us where you are located around Stuttgart ?

And maybe we should move this to a wiki page ?

BR
Max.





 Hello,
 my name is Rene I'm also located next to Stuttgart. A meeting in Stuttgart
 would be very great! Me and my cousin will come for sure. We have a big
 working Linuxcnc machine and visiting our workshop would be no problem to
 us. We are currently working on something that would change Linuxcnc a lot
 for professional users and when I say a lot I mean really a lot ! But I
 will not say more at this time :)
 Maybe we can introduce it to you during the meeting in Stuttgart. Since
 this is a big project it will take at least half a year for for first
 release (everything opensource of course)
 Greets Rene
 --
 This SF.net email is sponsored by Windows:
 
 Build for Windows Store.
 
 http://p.sf.net/sfu/windows-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Anyone seen a failure like this?

2013-06-17 Thread Kent Reed
On Jun 17, 2013 10:41 AM, Tom Easterday tom-...@bgp.nu wrote:


 On Jun 17, 2013, at 9:27 AM, Dave e...@dc9.tzo.com wrote:
  I'm fairly certain that when you boot the liveCD and then choose to
  install the system that it goes through the normal Linux install process
  that includes formatting the drive.

 I am running the LiveCD install again and it does not give you the option
to format the drive in any specific filesystem.  Just lets you select a
disk and if there is already something there it will (presumably) partition
the disk and install them side by side.  But, there are no options, menus,
etc to let you pick a drive format.  So, I am installing again with
whatever the default is, probably EXT4

 -Tom



--

Ummm...are you sure about that, Tom? Look carefully at the 'Prepare disk
space' screen. Choice 3 is 'Specify partitions manually (advanced)'.
Choosing it and clicking 'forward' gets you to a screen which let's you do
most anything you want including picking partition format types.

Regards,
Kent
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Anyone seen a failure like this?

2013-06-17 Thread Dave
Another option is to get a copy of 10.04 and install that (that should 
give you the format option).  Then download the LinuxCNC install script 
and do the install via the script via an internet connection.

I think I did that the last time I did a fresh install and that worked 
fine.

Dave



On 6/17/2013 10:37 AM, Tom Easterday wrote:
 On Jun 17, 2013, at 9:27 AM, Davee...@dc9.tzo.com  wrote:

 I'm fairly certain that when you boot the liveCD and then choose to
 install the system that it goes through the normal Linux install process
 that includes formatting the drive.
  
 I am running the LiveCD install again and it does not give you the option to 
 format the drive in any specific filesystem.  Just lets you select a disk and 
 if there is already something there it will (presumably) partition the disk 
 and install them side by side.  But, there are no options, menus, etc to let 
 you pick a drive format.  So, I am installing again with whatever the default 
 is, probably EXT4

 -Tom


 --
 This SF.net email is sponsored by Windows:

 Build for Windows Store.

 http://p.sf.net/sfu/windows-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users




--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] BLDC - not smooth rotation with hostmot2 and 3-phase bridge

2013-06-17 Thread Peter C. Wallace
On Mon, 17 Jun 2013, propcoder wrote:

 Date: Mon, 17 Jun 2013 12:33:47 +0300
 From: propcoder marius.alks...@gmail.com
 Reply-To: Enhanced Machine Controller (EMC)
 emc-users@lists.sourceforge.net
 To: emc-users@lists.sourceforge.net
 Subject: [Emc-users] BLDC - not smooth rotation with hostmot2 and 3-phase
 bridge
 
 I started to test IRAM module with MESA 5i23. I use TPEN6_6 firmware and bldc 
 module in n mode.

 I am rotating it slowly (setp bldc.0.frequency 0.2). PWM outputs are true 
 sinusoidal (checked on scope), but motion has some smooth (non-linear) parts 
 and stop parts.

 BTW, I can't use bldc n6 mode, because I don't have where to connect 
 A-high-value, A-low-value, .. because bldc component has A-value, .. pins 
 only. When I use n mode, the motion is not smooth and it does not depend on 
 strength (bldc.0.value).

 Shouldn't PWM curve look not like sine, but with kinks in the center, smth. 
 like this:
 http://www.postech.ac.kr/ee/cmd/102_BLDC_pedal.htm
 ?

 My config hal file attached. Look at X axis.


I would not expect very smooth operation in 'D' or step motor mode (no encoder 
feedback/PID), especially with IGBTs and their long switching times that 
neccessitate a large dead zone. Do you have the dead zone time set properly? I 
think the default is 5 Usec which is (deliberately) huge. (note: too small 
a dead time will be fatal to your IRAM)

I would get feedback running before worrying a lot about smoothness.


You definately do not want kinks in the top of the voltage waveform.
if anything you may want a voltage step at the sine zero crossing to 
compensate for the dead zone (if the required dead zone is a significant 
portion of the total PWM period).

Peter Wallace
Mesa Electronics

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


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Anyone seen a failure like this?

2013-06-17 Thread Tom Easterday
So, it turns out this isn't a disk problem at all but a problem in our 
Rockhopper python interface that I have running by default on these machines.  
It is calling halcmd  repeatedly and if Linuxcnc tries to launch during this 
time bad things happen.  This is one of the items on the agenda at Wichita so 
hopefully we may have a resolution (or beginnings of) soon.

Reinstalling everything from scratch is how I discovered it, so this was a 
helpful exercise.

Tom

On Jun 17, 2013, at 1:27 PM, Dave e...@dc9.tzo.com wrote:

 Another option is to get a copy of 10.04 and install that (that should 
 give you the format option).  Then download the LinuxCNC install script 
 and do the install via the script via an internet connection.
 
 I think I did that the last time I did a fresh install and that worked 
 fine.
 
 Dave
 
 
 
 On 6/17/2013 10:37 AM, Tom Easterday wrote:
 On Jun 17, 2013, at 9:27 AM, Davee...@dc9.tzo.com  wrote:
 
 I'm fairly certain that when you boot the liveCD and then choose to
 install the system that it goes through the normal Linux install process
 that includes formatting the drive.
 
 I am running the LiveCD install again and it does not give you the option to 
 format the drive in any specific filesystem.  Just lets you select a disk 
 and if there is already something there it will (presumably) partition the 
 disk and install them side by side.  But, there are no options, menus, etc 
 to let you pick a drive format.  So, I am installing again with whatever the 
 default is, probably EXT4
 
 -Tom
 
 
 --
 This SF.net email is sponsored by Windows:
 
 Build for Windows Store.
 
 http://p.sf.net/sfu/windows-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 
 
 
 
 --
 This SF.net email is sponsored by Windows:
 
 Build for Windows Store.
 
 http://p.sf.net/sfu/windows-dev2dev
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Hardware for sale - LinuxCNC

2013-06-17 Thread Paul Keeton
All,

 A couple of years ago I retrofitted a Cincinnati Milacron Cim-X
milling center with EMC2. Due to an operator error this machine is no longer
mechanically serviceable. I have the following for sale that was pulled from
the machine:

 

1.  Vital Systems Motenc-Lite Servo Controller and all daughter boards
and cables. The daughter boards were used for the operator station only for
pushbuttons and led bulbs for the pushbuttons. I also have the servo
daughter board.
2.  Automation Direct Sure Servo drives and servo motors (3KW). The
motors have 2500 ppr encoders. The drives have an output of the position
pulses for semi closed loop operation. That is how I used them and it worked
great. You would need to purchase encoder and motor cables or roll your own.
They have many different lengths. I do have the daughter boards and cables
for the drives. All is in very good condition. Continuous duty on the motors
are 15 nm and intermittent is about 46 nm. I also have the cable and tuning
software for the drives.
3.  I also have a Mesa Electronics 5i20 that I used for the general
purpose I/O.
4.  I have several opto 22 boards that were used for the GPIO. It's a
pretty good mix so you tell me what you need and I will tell you if I have
it.

 

I have some other things lying around I hope to list. Make me offers for one
or all. Thought I would give the people who know what this stuff is a chance
at it before it hits auction. I need to buy some heavier stepper motors and
drives for my router. The control was air conditioned in a climate
controlled shop so all is pretty clean.

 

 

 

You can message me off site at davidkeeton...@gmail.com.

 

Thanks,

 Paul

--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Hi All; I have two questions on Bridgeport's manual variable speed head.

2013-06-17 Thread Don Stanley
1- Has anyone used a VFD to control the spindle speed via the G code?

2- Does anyone know a source for the lubriplate #107 recommended on the
units service placard? Or an compatible  alternative?

Thanks
Don
--
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users