[Emc-users] Emc2 2nd hard drive not recognized

2007-10-09 Thread Jack Ensor
Using Emc2 off of the Live cd and updated to 2.1.7, I installed a 2nd 
hard drive but the file browser does not see it.  It is detected okay in 
the bios.  What could be the problem?

Jack Ensor

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] COMP_FILE trouble

2007-10-03 Thread Jack Ensor
I am using version emc 2.1.7 and tried to use the comp file feature and 
got the following results.
When I homed the axis using that file the axis began moving in the 
direction of the limit switch but before it got there it reversed at 
full speed and was heading toward the opposit limit.  When I hit E stop 
and it didn't stop.   I had to hit the main power switch to the stepper 
driver to get it stopped.
Upon  reapplying power to the driver the motor on that axis didn't move 
but made a strange high pitch singing sound. After closing emc2 and 
then reopening it,the motor sounded normal (a5khz hum is normal when it 
is motionless), I was able to jog the axisl, however when I tried to 
home the axis it repeated the runaway.

Resetting the ini file back to using backlash comp the system performed 
flawlessly.
Does anyone know what is going on?
I have included the pertainent section of my ini file and the comp file 
below:

Jack Ensor

#+ First axis X
[AXIS_0]
TYPE = LINEAR
HOME = 0.000
MAX_VELOCITY = 1.5
MAX_ACCELERATION = 2.0
STEPGEN_MAXVEL =   1.7
STEPGEN_MAXACCEL = 2.2
#BACKLASH = 0.0024
COMP_FILE =comp1.fil
COMP_FILE_TYPE =   0
INPUT_SCALE =  2500
OUTPUT_SCALE = 1.000
MIN_LIMIT =   -13.
MAX_LIMIT =13.
#FERROR =   0.050
#MIN_FERROR =   0.010
HOME_OFFSET = -13.0
HOME_SEARCH_VEL = -1.0
HOME_LATCH_VEL =   0.05
HOME_USE_INDEX =   NO
HOME_IGNORE_LIMITS =   YES
HOME_SEQUENCE =1

comp1.fil
-12.5000 -12.5000 -12.49970
-8. -8.0010 -7.9970
-5. -5.0010 -4.9970
-3. -3.0010 -3.0030
0. 0. 0.0030
3. 3. 3.0030
5. 5. 5.0030
8. 7.9995 8.0040
12.5000 12.5000 12.50045


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Axix Touchoff data

2007-09-03 Thread Jack Ensor
Where is Touchoff data stored?

Jack Ensor

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Startup file in Axis

2007-09-03 Thread Jack Ensor
With the Emc2  stock setup using the Axis GUI, the startup file is 
axis.ngc.  Where is the startup file designated so that I may designate 
something else?

Jack Ensor

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Startup file in Axis

2007-09-03 Thread Jack Ensor
I don't believe its here, cuz what I see in my ini file (Display 
section) is:

###
# Sections for display options
###
[DISPLAY]

#+ Name of display program, e.g., xemc

DISPLAY =  axis
# DISPLAY =  usrmot
# DISPLAY =  mini
# DISPLAY = tkemc
# Cycle time, in seconds, that display will sleep between polls
CYCLE_TIME =0.200

INCREMENTS =  0.0004 0.001 0.01 0.1

#- Path/name of 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 = 1.2

#- Prefix to be used
#PROGRAM_PREFIX = /usr/share/emc/ncfiles/  Changed 7/7/07 to my folder
PROGRAM_PREFIX = /home/jack/emc2/nc_files/MyStuff/

#- Introductory graphic
INTRO_GRAPHIC = emc2.gif
INTRO_TIME =5



I would expect to see a line denoting the .ngc file to load upon opening 
Axis, but I don't.  It always loads the demo file Axis.ngc and I don't 
see a line in the ini file that specifies it either.

Jack Ensor

Gene Heskett wrote:

On Monday 03 September 2007, Jack Ensor wrote:
  

With the Emc2  stock setup using the Axis GUI, the startup file is
axis.ngc.  Where is the startup file designated so that I may designate
something else?

Jack Ensor



That's in the ~/emc2/config/method(stepper etc)/*.ini file, Jack

  



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] EDM question from a noobie at it

2007-08-20 Thread Jack Ensor
Gene -  I think that if you were to build a dam around the part with 
modeling clay and fill with kerosene might help speed things up.  Keep 
in mind that kero is flammable so take care.  Just my 2 cents worth - 
I've never done it.

By the way, I submitted an article to Digital Machining describing my 
stepper motor resonance damper.  Don't know when or if it gets published 
at this point.

Jack Ensor


Gene Heskett wrote:

On Monday 20 August 2007, Jon Elson wrote:
  

Gene Heskett wrote:


Greetings everybody;

I was working on the frame for my new z axis drive for that micro-mill,
and have managed now to break off not one, but 2, 6-nc32 taps in the holes
drilled into the edge of a piece of 1/4x1.5 steel bar.

I now have the work insulated, a copper wire in the chuck bent to wobble
about enough to cover the ends of the taps, and tried a 50 volt AC supply
for about 20 minutes, but the transformers were way too puny and have
already smoked. I have an air jet blowing on the work, and the wire
running about 200 rpm. While it worked, I'd guess I got rid of 5 thou
total, from the work and the electrode wire end, so its not gonna be
exactly a 5 minute job unless I can get some more effective firepower into
it.

Figuring that DC, with a current limiter of sorts and a storage capacitor
to hold more bang will probably work better, I've resigned myself to
building it.

The question then is, for an air quenched lashup, what is a suitable
voltage, and a suitable current limit in terms of average milliamps, that
I should try and build?  Googleing doesn't seem to spit that sort of info
out readily.
  

Look at my info at http://jelinux.pico-systems.com/edm.html
You need a current-limited supply of DC to a film-type capacitor
to deliver the current pulses that do the EDM work.  Also, I
think a dielectric fluid is really important to make the
difference between welding and EDM.  I run 30 V at about 1 A,
mostly due to the parts in my EDM power supply.  I found
alum-tap (an aluminum tapping fluid) works great, although it is
flammable.  I only keep a couple drops of it in the hole at a
time to reduce the risk of a big fire.  (I did get it to flash
once, but it did not sustain a fire, so it must have some fire
retardant or vapor suppression in it.)  Water won't work unless
it is really pure.  Some people have reported plain distilled
water works well.

Jon



Thanks Jon, that is about what I was looking for.  I noted that the wiki seems 
to indicate an rf generator is often used, with frequencies around the 500 
khz range.  That almost sounds as if it would setup a plasma that would never 
be quenched.  And while that might cut at a higher rate, this sounds a whole 
lot simpler.  Is the quality of the capacitor that important?  I see you 
wrote film in the text, but showed paper on the drawing.  I can borrow a big 
oil filled can with 8 or 10 uf, rated at 8 to 10kv from our transmitter 
spares.  My motor psu is 29 volts, and if I can cobble up a suitable limiting 
resistor, and in this case a 100 watt light bulb comes to mind as it will 
also light dimly to show the short status, then that home-made psu can serve 
as the current source. It can certainly spare that portion of an amp.

I don't have anything that looks or sounds like aluma-tap, but I can certainly 
source a gallon of distilled water, or I have a quart of ACE hdwe thread 
cutting oil which will probably work, and has already contaminated the area.  
I didn't have any plastic rod to hold the wire, a hunk of 14 gauge from some 
handy romex, so the work rather than the electrode is insulated, a couple 
pieces of scrap formica are padding the vise jaws  a small strip of cherry 
under the bottom edge.  No leakage that I can measure. Slightly shocking to 
the touch though, I allowed my sweaty arm to lay on it at one point. :)

The wire is currently rotating with a small clip lead attached, which seems to 
work but shows some wear where the clip sits already, but I like the idea of 
the much stiffer brass, so I'll see if I can src a hunk of smallish brazing 
rod while I'm out doing the honeydo's this morning.  What I have on hand is 
too big, 1/8 IIRC, so I didn't even think to dig it out. 3/32 would be 
ideal I'd think for a 6-32 taps web diameter.

But with the depth I have to go, probably nearly 3/4 for one of them, the 
cleanout will probably have to be done with an air hose after I get down the 
first 1/8.  Might even have to rig a stinger from a wd-40 can somehow and 
get right into the hole.  Fun and games...

With an air jet and 50 VAC with no capacitor, I was only able to go with a 
f0.0003 feed.  If I can get 0.010/min out of it, that would be great in 
comparison.

Thanks Jon.

  



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your

Re: [Emc-users] emc2 and kernel 2.6.20

2007-08-04 Thread Jack Ensor
Thanks, Paul.  I already downloaded 2.1.7 via the update manager a day 
or so ago.  What I don't understand is your file is only about 8K and 
when I updated it was over 5M. Why the difference or do I need to do 
something with what you sent me?

Jack Ensor

paul_c wrote:

Attached, configure  make logs for emc2-2.1.7 released on July 30th.


  



-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] emc2 strange behavior - Reboot cured it

2007-07-13 Thread Jack Ensor
Chris Radek wrote:

On Thu, Jul 12, 2007 at 06:56:08PM -0400, Jack Ensor wrote:
  

I don't know what brought this misbehavior on,  but was wondering if 
halscope would be able to show what was happening particularly if there 
were excessive jitter in the signal.




Did you get (or do you ever get) the unexpected realtime delay
message?
  


No. I was wondering if latency was rearing its ugly head.  I did have to 
add software to cure my latency problem initally when I was setting up EMC2

Jack Ensor

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] emc2 strange behavior - Reboot cured it

2007-07-12 Thread Jack Ensor
Today I was monkeying around with the resonance dampers on the x and y 
axis and eventually I asked it to do a home and the y axis froze.  I 
immediately assumed it had something to do with damper adjustment or 
maybe some file changes I had made trying to fine tune things.  But 
after resetting every thing to what was working,  I found that y axis 
still wanted to freeze on rapid moves and still would freeze even though 
I slowed it down by a factor of  two.  X axis also exhibited the same 
behavior although not to the extreme degree as y axis. I also noticed a 
peculiar sound would gradually begin to appear when rapid moving and I 
could feel a vibration in the whole machine(Bridgeport) when it was 
about to freeze.  Then I noticed in the axis display that the tool 
symbol was not moving steadily and had a shakiness to it.  After 
rebooting, all these symptoms disappeared and the system was back to its 
old self again.

I don't know what brought this misbehavior on,  but was wondering if 
halscope would be able to show what was happening particularly if there 
were excessive jitter in the signal.

Jack Ensor

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Axis screen Maximized as default?

2007-07-10 Thread Jack Ensor
I find that in Ubuntu most applications open either in a maximized or 
un-maximized window according to which mode the window was in when it 
was last closed.  However, Axis insists on always opening in the 
un-maximized mode.  How can it be setup so it behaves as other 
applications upon opening?

Jack Ensor

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] ini axis comp file usage

2007-07-09 Thread Jack Ensor
How is the COMP_FILE = file.extension used in the Axis mode of 
operation?  I tried creating a table (comp.fil) as follows to see the 
results and get an idea of how it works:

-13. -13.000 -13.
-5. -4. -4.
0. 0. 0.


The appropriate portion of the ini file:
BACKLASH = 0.
COMP_FILE = comp.fil
COMP_FILE_TYPE = 0
HOME_OFFSET = -13.2
HOME_SEARCH_VEL = -1.0
HOME_LATCH_VEL =  0.05
HOME_USE_INDEX =   NO
HOME_IGNORE_LIMITS =   YES
HOME_SEQUENCE =1

After homing the axis under test I went to the MDI mode I entered g0 x 
-5.0 and expected to get motion to the position of -4.00 since I had 
defined that in the COMP_FILE table.  However the final position went to 
5.00 indicating to me that the table was ignored.


Jack Ensor

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] ini axis comp file usage

2007-07-09 Thread Jack Ensor
Jon Elson wrote:

Jack Ensor wrote:
  

How is the COMP_FILE = file.extension used in the Axis mode of 
operation?  I tried creating a table (comp.fil) as follows to see the 
results and get an idea of how it works:

-13. -13.000 -13.
-5. -4. -4.
0. 0. 0.


The appropriate portion of the ini file:
BACKLASH = 0.
COMP_FILE = comp.fil
COMP_FILE_TYPE = 0
HOME_OFFSET = -13.2
HOME_SEARCH_VEL = -1.0
HOME_LATCH_VEL =  0.05
HOME_USE_INDEX =   NO
HOME_IGNORE_LIMITS =   YES
HOME_SEQUENCE =1

After homing the axis under test I went to the MDI mode I entered g0 x 
-5.0 and expected to get motion to the position of -4.00 since I had 
defined that in the COMP_FILE table.  However the final position went to 
5.00 indicating to me that the table was ignored.


On the other hand, EMC's screen display should INDICATE it is at 
5.00 no matter what is in the comp table.  If you constructed 
the comp table correctly, then you should MEASURE that the 
machine is in a different position.

]
I use the DRO mounted on the table to read table position.  True, EMC 
indicated  -5.0 as it should but I expected to see the table DRO to 
indicate -4.0.  But it really went to -5.0 on the DRO.

  You don't make it clear 
above whether your 5.00 is from the screen or a measured position.

Jon
  

I assummed that using my table mounted DRO I would be able to calibrate 
the system and use the COMP_FILE to correct for my backlash which varies 
according to table position.  I was wondering if Emc interpolated for 
the positions between values listed in the table, but at this point it 
seems that COMP_FILE isn't working even for values listed in the table.

Jack Ensor


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] ini axis comp file usage

2007-07-09 Thread Jack Ensor
Alex Joni wrote:

I use the DRO mounted on the table to read table position.  True, EMC
indicated  -5.0 as it should but I expected to see the table DRO to
indicate -4.0.  But it really went to -5.0 on the DRO.




hrmm, that doesn't sound like it should work ;)
try mangling the comp file by purpose (it needs to have increasing values 
from one line to the other, if you put in a smaller number than on a 
previous line you should get an error).
That error will prove that the loading of the comp file is actually working, 
and there's something else screwy..

Please tell us what version of emc2 you're using too..

Regards,
Alex
  

The EMC2 versionis 2.1.5. I set up a table with actual measured values. 
1st col is nominal, 2nd col is actual table position read from table DRO 
when nominal is called while moving in a positive direction, 3rd col is 
actual actual table position while moving in a negative direction.  This 
was done without a COMP_FILE and backlash set to 0. This is the table:
-13. -13. -12.9970
-8. -8.0010 -7.9997
-5. -5.0010 -4.9970
-3. -3.0010 -2.9970
0. 0. 0.0030
3. 3. 3.0030
5. 5. 5.00030
8. 7.9995 8.0040
13. 13. 13.0045

The backlash shows in the table and at the extreme positive end 
increases from 0.003 to 0.004.

Now when I move the table for example if I am at nominal 0. and 
table DRO indicates 0. and I issue g0 x-3, I would expect that after 
the move the table DRO to indicate -3.000, however it indicates 
-2.9970.  Sure the EMC says -3. as it should.  So it looks like the 
table values are being ignored.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Elimination of follow error - Success at long last!

2007-07-08 Thread Jack Ensor
Gene Heskett wrote:

On Saturday 07 July 2007, Jack Ensor wrote:
  

I have successfully upgraded an antique Bandit CNC on a Bridgeport to
EMC2.  I am using the Axis user interface.

Some of you may recall earlier postings of mine describing the
difference between the x and y dro readout on my Bridgeport versus the
emc2 readout that would occur when running the demo file, axis.ngc.  The
difference varied from +0.0800 to -0.1000 (usually much less than these
extremes).

I finally found out what was causing this error by writing a g code file
that oscillated the axis under test between + 8 inches and - 8 inches at
a feedrate of  5 ipm. I began at a feedrate of 100% and gradually
decreased it until I discovered an instability  between 1.6 ipm (20
stepper rpm) and 2.0 ipm (25 stepper rpm) due to stepper motor
resonance.  I wondered how the original system handled these resonances
- maybe it was set up so that the firmware wouldn't let it operate at
these speeds.  I was able to cure this problem by fabricating dampers
for the x and y axes.  The z axis already had a damper on it from the
original Bandit system.

Even though no one suggested that my problem could be due to stepper
motor resonance, I am ever grateful for the help that has been provided
to get me going. I couldn't have done with out it.  Thanks!

Now all error has been eliminated and I now have a system ready to cut
metal!

Jack Ensor



Great, Jack.  Now, when you get a chance, draw up or describe those dampers 
please.  I'm not actually losing/gaining steps but the noise at certain 
speeds tells me I'm not too far from doing that.  The drivers I use are 
xylotex, and if I reset from 8 microsteps to 4, the effect is worsened 
considerably, to the point of stalls at quite reasonable speeds.

  

Gene,  I am using full step drive and am sure that micro-stepping could 
have been a solution.  That would have meant that I would have to 
replace my drivers which are designed only for quadrature drive.
I may do a magazine article on this solution and will let you know when 
that happens.

Jack Ensor
I may do a magazine article on this solution.  I'll let you know

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Display Resolution

2007-07-08 Thread Jack Ensor
The way I handled display resolution is-  from a terminal enter 
xrandr   and you will see a list of possible screen resolutions 
listed.  From the list choose the resolution desired and for example 
enter   xrandr -s 800x600will give you 800x600 (if that one 
is on the list).

Jack Ensor

David Winter wrote:

 Dear All,
  Installed EMC2 from Live CD to a Xycom Industrial PC,  
 works fine except
 that the screen is 1024 x 768 and the only resolutions available in 
 the screen resolution
 setup are 800 x 600 and 640 x 480. If I look in the file xconf in 
 /etc/X11  there are 3
 resolutions listed for the screen, 1024 x 768, 800 x 600 and 640 x 480 
 .  I think I have
 read elsewhere to edit the xconf.   file but the resolution I want is 
 already in there, it
 just isn't displayed when I open the screen resolution window.  Any 
 and all help
 gratefully accepted.
  
 Thanks,  Dave.



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/



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



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Elimination of follow error - Success at long last!

2007-07-07 Thread Jack Ensor
I have successfully upgraded an antique Bandit CNC on a Bridgeport to 
EMC2.  I am using the Axis user interface.

Some of you may recall earlier postings of mine describing the 
difference between the x and y dro readout on my Bridgeport versus the 
emc2 readout that would occur when running the demo file, axis.ngc.  The 
difference varied from +0.0800 to -0.1000 (usually much less than these 
extremes). 

I finally found out what was causing this error by writing a g code file 
that oscillated the axis under test between + 8 inches and - 8 inches at 
a feedrate of  5 ipm. I began at a feedrate of 100% and gradually 
decreased it until I discovered an instability  between 1.6 ipm (20 
stepper rpm) and 2.0 ipm (25 stepper rpm) due to stepper motor 
resonance.  I wondered how the original system handled these resonances 
- maybe it was set up so that the firmware wouldn't let it operate at 
these speeds.  I was able to cure this problem by fabricating dampers 
for the x and y axes.  The z axis already had a damper on it from the 
original Bandit system.

Even though no one suggested that my problem could be due to stepper 
motor resonance, I am ever grateful for the help that has been provided 
to get me going. I couldn't have done with out it.  Thanks!

Now all error has been eliminated and I now have a system ready to cut 
metal!

Jack Ensor


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Suggested value in ini traj section

2007-07-07 Thread Jack Ensor
The suggested value in the ini file Traj section for a 3 axis mill for 
MAX_ACCELERATION seems excessively high.  The way I figure it for a 
coordinated move, the maximum would be 2 times the individual axis rate 
(assuming that all axis are assigned equal values).  In my particular 
case with a maximum value of 2.0 for each axis, a value of  4.0 should 
be satisfactory for the Traj section.  Any comments on this?

Jack Ensor

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Suggested value in ini traj section

2007-07-07 Thread Jack Ensor
I think you missed my point.  I figure, the assignment for 
MAX_ACCELERATION  value in the traj section would be dependant upon what 
values one has specified in the indivdual axis section.  That is if you 
have a 3 axis machine (mill) and have assigned 2.0 for MAX_ACCELERATION 
values for each axis in the axis sections, then why would one assign 20 
for MAX_ACCELERATION in the traj section when the greatest possible 
coordinated move acceleration is 4.0 due to indivdual axis limitations?  
Note in the manual in paragraph 5.3.6 states The [TRAJ] section 
contains general parameters for the trajectory  planning module in 
EMCMOT. You will not have to change these if you are applying EMC to a 
common three axis mill in the US.

Jack Ensor

John Kasunich wrote:

Jack Ensor wrote:
  

The suggested value in the ini file Traj section for a 3 axis mill for 
MAX_ACCELERATION seems excessively high.  The way I figure it for a 
coordinated move, the maximum would be 2 times the individual axis rate 
(assuming that all axis are assigned equal values).  In my particular 
case with a maximum value of 2.0 for each axis, a value of  4.0 should 
be satisfactory for the Traj section.  Any comments on this?



The accel numbers will depend on the machine - the suggested values are
just that, suggestions.  You need to decide what is right for you.

If your maximum velocity is 2.0 (2 inches per second, assuming an inch
machine), and your accel is 4.0, then it will take one-half second to
go from stopped to max speed.  For some machines that might be exactly
what you want.  Other machines can go from zero to max speed in a tenth
of a second or less.  And some very massive machines may want to do it
even slower.

Regards,

John Kasunich

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

.

  



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Confliction on axis keyboard functions

2007-07-02 Thread Jack Ensor
The help text in axis indicates that ~ (tilde) and number keys at top of 
keyboard set the Feed Override.  However the keys ~, 1, 2 activate the 
first second and third axis.  These axes are already selected by x, y, 
or z.  I find that if I try to adjust the feed override with the number 
keys to any thing below 30 % it doesn't work, the equivalent axiis to 
those keys gets selected..  How can this be fixed so that the top row of 
keys only sets the feed override?

Jack Ensor

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How much is too much jitter?

2007-06-05 Thread Jack Ensor
Jon Elson wrote:

Jack Ensor wrote:
  

When you say homing is OK, but axis is bad, is that all due to 
speed?


  

Slowing things down by a factor of ten makes no difference in position 
error. It still jumps all over the place.



Hmmm, strange.  Usually resonance issues are greatly affected by 
speed.  Is backlash compensation off (backlash value in ini file 
set to zero)?  

Yes

By jumps all over the place you mean it is 
totally unpredictable how far off it will be?  

Yes

If you make 
several 1 moves in the same direction with incremental jog, 
what is the error?  

Zero, ignoring backlash when giving it individual G1 or G0 commands.

Does it accumulate or all appear at one 
point in the series of moves?  

I am using axis.ngc to test it with.  At the end of the programmed 
moves, I compare the Axis control panel positions with my DRO and get 
greatly varying differences each time I run it.  I always do a home 
all before each run and the DRO is consistently on 0 +/- .001 before I 
start the run. To make it easier to compare the differences I changed 
the last move command in axis.ngc
From: G00 Z #1To: G00 Z #1 X0 Y0.

Before start of run after homing the DRO reads:
X: .
Y: .
Here are final DRO readings after seven runs:
X:  +.0010  +.0030  +.0065  +.0055  -.0055  +.0090  -.0010
Y:  -.0325  -.0085  -.0200  -.0130  -.0465  -.0605  -.0695
Xerror variation: +/- .00725
Yerror variation: +/- .0305

Set feed override to 51%
X:  +.0030  -.0005  -.0070  +.0030  +0.000  +.0080  +.0045
Y:  -.0230  -.0485  +.  -.0115  -.0145  -.0400  -.0210
Xerror variation: +/- .0075
Yerror Variation: +/- .02425

Looking at the Xerror there is no obvious difference between the 2 sets, 
however I think that the error should be in the order of possibly down 
close to the backlash range. (.003)

However the Y axis variation is entirely unreasonable and reducing the 
the velocity by a half had very insignificant effect on improving the 
accuracy.

Incidently all of this is on a bridgeport mill.

What happens if you jog back and 
forth one inch?

With feed override at 100%, home all and using continuous jog (90 ipm 
although it doesn't reach this on a short jog because of acceleration 
limitation) on  X (last homing move was +) :
EMC: .  +1.2908  +1.5255  +3.4110
DRO: .  +1.2910  +1.5250  +3.4105
Reversing direction:
EMC: +1.5107  +.6341  +.3422
DRO: +1.5140  +.6370  +.3460 Note- Backlash error showing up here

Doing the same thing on Y:
EMC: .  +.7797  +1.6427  +1.9027
DRO: .  +.7795  +1.6420  +1.9020
Reversing direction:
EMC: +.6311  +.3314  +.0357
DRO: +.6305  +.3315  +.0360 Note - Don't know why backlash doesn't show 
itself here

  What is your acceleration set to?
  

90 ipm^2.  See portion of my ini file below:

###
# Motion control section
###
[EMCMOT]

EMCMOT =motmod

SHMEM_KEY = 111

COMM_TIMEOUT =  1.0

COMM_WAIT = 0.010

BASE_PERIOD=5

SERVO_PERIOD =  100

TRAJ_PERIOD =   1000

###
# Hardware Abstraction Layer section
###
[HAL]

HALFILE =1BPstepper.hal
HALFILE =1BPpinout.hal
#HALUI =  halui
#HALFILE =halvcp.hal
#- list of halcmd commands to execute
# commands are executed in the order in which they appear
#HALCMD =save neta

###
# Trajectory planner section
###
[TRAJ]
#+ machine specific settings
AXES =  3
COORDINATES =   X Y Z
HOME =  0 0 0
LINEAR_UNITS =  inch
ANGULAR_UNITS = degree
CYCLE_TIME =0.010
DEFAULT_VELOCITY =  0.0167
MAX_VELOCITY =  1.5
DEFAULT_ACCELERATION =  0.0167
MAX_ACCELERATION =  1.5

###
# Axes sections
###

#+ First axis X
[AXIS_0]

TYPE = LINEAR
HOME = 0.000
MAX_VELOCITY = 1.5
MAX_ACCELERATION = 1.5
STEPGEN_MAXVEL =   1.7
STEPGEN_MAXACCEL = 1.7
BACKLASH = 0.
INPUT_SCALE =  2500
OUTPUT_SCALE = 1.000
MIN_LIMIT =   -13.2
MAX_LIMIT =13.2
FERROR =   0.050
MIN_FERROR =   0.010
HOME_OFFSET = -13.2
HOME_SEARCH_VEL = -1.0
HOME_LATCH_VEL =   0.05
HOME_USE_INDEX =   NO
HOME_IGNORE_LIMITS =   YES
HOME_SEQUENCE =1

#+ Second axis y
[AXIS_1]

TYPE = LINEAR

Re: [Emc-users] How much is too much jitter?

2007-06-05 Thread Jack Ensor
Jon Elson wrote:

For speed:
The max jog speed is set in emc to 90 ipm (1.5 in/sec). When jogging at 
the max rate I measured a step frequency of 813 Hz on phase A.
Calculating the table speed:
800 pulses/sec x 60 sec/min x .0004 in/step = 19.2 ipm
However just by looking at the table move, it is moving much faster than 
that.
Is this because due to the nature of quadrature drive, the table 
actually moves 4 times faster than the step rate?


Yes, precisely.  Every change of either A or B is a full step 
of the motor.  813 Hz should give 3252 steps/second, or 78 IPM.
I'm not sure why you aren't getting the full 90 IPM you are 
requesting.

  

Well it's probably because of my halscope measurement. 
When using the fast thread for a halscope trigger, it retriggers when 
the buffer fills. Consequently when you stop the jog it begins 
decelerating and the buffer can fill and cause a retrigger during this 
phase.  I tried to get around this problem by hitting machine off as  
I stopped jogging.  So the reading I got in halscope I'm sure was 
probably during the beginning of the deceleration period. 

Using a real analog scope I measured about 1 Khz.  This calculates to 96 
ipm.  So at 90 ipm my scope reading should have indicated a period of 
1.06 millisec = 938 Hz.  This is within the accuracy of my reading the 
scope and its error.

Jack Ensor

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] How much is too much jitter?

2007-06-04 Thread Jack Ensor
I noticed when jogging at my maximum rate of 90 ipm  the 2 quadrature 
signals coming at a rate of 1 Khz have approximately 50 micro seconds of 
jitter.  Is this excessive?  How much would it contribute to tracking 
error?  My tracking error is insignifcant when homing but but huge when 
running Axis.ngc.

Jack Ensor

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] How much is too much jitter?

2007-06-04 Thread Jack Ensor
Jon Elson wrote:

Jack Ensor wrote:
  

I noticed when jogging at my maximum rate of 90 ipm  the 2 quadrature 
signals coming at a rate of 1 Khz have approximately 50 micro seconds of 
jitter.  Is this excessive?  How much would it contribute to tracking 
error?  My tracking error is insignifcant when homing but but huge when 
running Axis.ngc.


Would you please define this term tracking error?  I do not 
know what it means.  From context, I believe you mean to say the
machine's position differs from the displayed position.  Is that 
correct?
  

Yes, position displayed on the axis screen differs from what my dro says 
except when I home they always agree.

How are you seeing the quadrature signals?  On a box 
oscilloscope, or somehow with halscope?  Unless halscope AND the
software or hardware encoder input facility is sampling at a 
fast enough rate, you would miss some of the edges.  

Yes, I understand the hal (storage scope) better now. When I used the 
faster sample rate, I then got more resonable results

For 
instance, on my minimill, at 60 IPM, with 16 TPI leadscrews and 
4:1 motor reduction, and with 500 CPR encoders producing 2000 
counts/revolution, you get 128,000 counts per second. 
Therefore, counts are coming at a rate of one every 7.8 us.
Obviously, my jitter must be less than yours.  But, a scope 
would need to be sampling it at a rate of once a microsecond or 
better before you could even begin to discern jitter on the 
signal.  If you are using an analog oscilloscope, then there is 
no sampling.  But, without specifying the rate of encoder pulses 
when you see the 50 us jitter, it is hard to know what it means.
If you had 50 us jitter when the count rate was one millisecond, 
it is not a big deal.  If it was when the count rate was 50 us, 
it would be reducing the quadrature angle to zero, and would 
clearly cause errors.  So, you have to compare the jitter to the 
count rate.  

The rate as I originally stated was 1 Khz which translates to a pulse 
period of  .5 milliseconds low and .5 milliseconds high. So I suppose 50 
micreoseconds jitter isn't too bad then.  (About 5%).

Ideally, there should be 90 degrees between the 4 
states of the encoder's A and B signals.  They never are, due to 
tiny errors in the manufacturing of the encoder's optics.  The 
greater the error, the narrower some of the count states become, 
until they become so small the encoder counter's logic misses 
them.  Then, the position will be off by multiples of 4 counts.

When you say homing is OK, but axis is bad, is that all due to 
speed?
  

Slowing things down by a factor of ten makes no difference in position 
error. It still jumps all over the place.

Could you explain why the following speed calculation is in error?
I have a unipolar motor, driven in quadrature phase A, phase A not, 
Phase B, and phase B not., where phase B lags phase A by 90 degrees.
Motor plate specifies 200 steps/rev
step down from motor to screw:  2.5 to 1
Screw pitch:  .2 in/rev
.2 in/rev x 1/2.5 rev/rev x1/200 rev/step = .0004 in/step.  This is 
correct because this is what I see the system do.

For speed:
The max jog speed is set in emc to 90 ipm (1.5 in/sec). When jogging at 
the max rate I measured a step frequency of 813 Hz on phase A.
Calculating the table speed:
800 pulses/sec x 60 sec/min x .0004 in/step = 19.2 ipm
However just by looking at the table move, it is moving much faster than 
that.
Is this because due to the nature of quadrature drive, the table 
actually moves 4 times faster than the step rate?
This would put it more in the ball park of what I am seeing.

Jack ensor

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Whats wrong with Halscope?

2007-06-03 Thread Jack Ensor
I've been trying to pin down follow tracking error in that after I run 
Axis.ngc my dro doesn't agree with the position according to the Axis 
display.  After trying many things as far as acceleration and velocity 
settings  I thought maybe I ought to take a look at what was coming out 
of emc.  Using halscope connected to the parport pins that drive the 
motor driver I could't believe what I was seeing.  As I jogged at 
maximum velocity hal showed an increasing frequency as the table 
accelerated, but then the displayed frequency decreased after the 
acceleration period and then increased again as it entered the 
deceleration phase, finally decreasing to zero as the table stopped.  If 
the halscope scaling is correct, the max frequency reached was around 
400 hz during acceleration and deceleration  After the acceleration 
phase the frequency slowed to zero as the table stopped.  The rise and 
falltimes were 0.5 ms.  Yes 500 uS.!  Maybe I should mention that I am 
using the quadrature stepper.

I then looked at the signals with a real scope and didn't see that 
anomly.  As expected, the frequency increased as the table accelerated 
reaching a maximum of 1 Khz after the acceleration phase and decreased 
to zero as the table stopped. Rise and fall times were less than 1 uS. 
So maybe the problem is I don't know how to use halscope or maybe its 
frequency response is very slow.  Can any one educate me on this?

Jack Ensor

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Realtime error and Nvidia

2007-06-03 Thread Jack Ensor
Check out the following - it worked for me to set my screen resolution.

http://www.perpetualpc.net/srtd_resolution.html

Jack Ensor

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Control Panel for Axis

2007-05-30 Thread Jack Ensor
No. I don't think this would be the way to go.
Jack


Wayne Weedon wrote:

Jack Ensor wrote:
  

I plan on wiring momentary push button switches in parallel with the 
appopriate short cut keys on the keyboard.  One of the problems I see is 
that of providing  for the 2 key combination required for the Home-All 
function. I assume that the key assignment can be changed in software 
and hope someone can give me insight into how this could be done.



Would a X-keys interface do it for you?

Wayne
  



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Stepper resonance?

2007-05-28 Thread Jack Ensor
I'm still getting tracking error in x and y when running when running 
axis.ini and think it may be due to stepper motor resonance.  Does 
anyone have a good test to expose this anomaly?

I know this has been discussed before and wonder if there is a library 
holding  old postings that one could do a search on?

Jack Ensor

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Stepper resonance?

2007-05-28 Thread Jack Ensor
Do you have a link to the Geckodrive list?
Jack

Richard L. Wurdack wrote:

There is a good thread on that subject going on right now on the Geckodrive
list.

D.
- Original Message - 
From: Jack Ensor [EMAIL PROTECTED]
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Sent: Monday, May 28, 2007 4:54 AM
Subject: [Emc-users] Stepper resonance?


  

I'm still getting tracking error in x and y when running when running
axis.ini and think it may be due to stepper motor resonance.  Does
anyone have a good test to expose this anomaly?

I know this has been discussed before and wonder if there is a library
holding  old postings that one could do a search on?

Jack Ensor

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users





-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

.

  



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Control Panel for Axis - parallel port address conflicts

2007-05-27 Thread Jack Ensor
Chris Radek wrote:

On Sat, May 26, 2007 at 07:14:06AM -0400, Jack Ensor wrote:
  

I plan on wiring momentary push button switches in parallel with the 
appopriate short cut keys on the keyboard.  One of the problems I see is 
that of providing  for the 2 key combination required for the Home-All 
function. I assume that the key assignment can be changed in software 
and hope someone can give me insight into how this could be done.

Jack Ensor



A better approach for a control panel would be to use halui.  See the
integrator's manual which describes how to use it.  The manual may
be slightly out of date regarding the available inputs, so use
halcmd/halshow to examine them on a running EMC2.

Chris


  

I don't have enough input pins left on the on the my three parallel 
ports unless I reconfigure some of the ports to input.  This means a 
complete replacement and rewiring of of the existing flat cables and 
reprogramming and checkout of the now working system.

Another alternative may be to add another parallel port board to provide 
more parallel ports.  The current add-on board which provided 2 parallel 
ports, had the addresses preassigned and adding another identical board 
would surely have an address conflict.  How can I add additional 
parallel ports and avoid address conflicts?

Jack Ensor

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] RS274/NGC Language

2007-05-22 Thread Jack Ensor
Thanks.  Just what I've been looking for.

Jack Ensor

Sam Sokolik wrote:

This is a good start 
http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Oword

sam
- Original Message - 
From: Jack Ensor [EMAIL PROTECTED]
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Sent: Tuesday, May 22, 2007 8:26 AM
Subject: [Emc-users] RS274/NGC Language


  

I can't find any reference to creating and using subroutines other than 
the canned processes.  Is this possible and what would the gcode look 
like if it is?

Jack Ensor

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

.

  



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Jog wheel

2007-05-15 Thread Jack Ensor
I wonder if any one has used or explored the use of  the PowerMate 
Controller for a jog wheel.  Check out:

http://www.griffintechnology.com/products/powermate/

If not through the usb connection I wonder if it is basically an encoder 
internally that one could adapt and interface with emc.

Jack Ensor

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Bridgeport loses sync running axis.ngc

2007-05-13 Thread Jack Ensor
I have finally gotten to the point where I am running my bridgeport on  
Emc2 and have spent time tuning the software parameters to what I 
thought were optimum.  When I home the x and y axis, they home within 
.001 in. consistently.  I have a DRO to monitor table position.  I am 
running with a max velocity of  1.5 (90) ipm and max acceleration of  
2.0.  The motors are Superior Electric Slo-Syn 840 oz-in 200 steps per 
rev with a 2.5 ratio to the ball screw with a pitch of  0.2.  This 
worked out to a scale of 2500. The driver boards accept  quadrature 
signals from the three parallel ports.

However when I run axis.ngc, the ending x and y positions are at 
variance from the commanded positions and each time I run the program 
(after first homing), I get different variances. I calculated the 
variances by subtracting the actual position from the commanded position 
and x can vary from -.148 to +.009, while y can vary from .063 to .008.  
I tried reducng the acceleration to 1.0 , reducing max velocity to .75 
and changing the cutting rate from 60 to 5 in the ngc program and still 
no significant improvement.  I can't figure out what is causing my setup 
to behave this way, and wonder if any one has any ideas on this or has 
come across this behavior before?  Here is a portion of the ini file:

[EMC]
VERSION =   $Revision: 1.8.2.3 $
MACHINE =   EMC-HAL-STEP-IN
NML_FILE =  emc.nml
DEBUG = 0

[DISPLAY]

DISPLAY =  axis

CYCLE_TIME =0.200

POSITION_OFFSET =   RELATIVE

POSITION_FEEDBACK = ACTUAL

MAX_FEED_OVERRIDE = 1.2

PROGRAM_PREFIX = /usr/share/emc/ncfiles/
INTRO_GRAPHIC = emc2.gif
INTRO_TIME =5

[TASK]

TASK =  milltask

CYCLE_TIME =0.010
[RS274NGC]
PARAMETER_FILE =stepper.var

[EMCMOT]

EMCMOT =motmod

SHMEM_KEY = 111

COMM_TIMEOUT =  1.0

COMM_WAIT = 0.010

BASE_PERIOD= 5

SERVO_PERIOD =   100

TRAJ_PERIOD =   1000

[HAL]

HALFILE =1BPstepper.hal
HALFILE =1BPpinout.hal

[TRAJ]

AXES =  3
COORDINATES =X Y Z
HOME =  0 0 0
LINEAR_UNITS =  inch
ANGULAR_UNITS = degree
CYCLE_TIME =0.010
DEFAULT_VELOCITY =  0.0167
MAX_VELOCITY =  1.5
DEFAULT_ACCELERATION =  15.0
MAX_ACCELERATION =  2.10

[AXIS_0]

TYPE = LINEAR
HOME =   0.000
MAX_VELOCITY =1.5
MAX_ACCELERATION = 2.0
STEPGEN_MAXVEL =   1.6
STEPGEN_MAXACCEL = 2.06
BACKLASH = 0.002
INPUT_SCALE =2500
OUTPUT_SCALE =   1.000
MIN_LIMIT =   -13.2
MAX_LIMIT =   13.2
FERROR =  0.050
MIN_FERROR =0.010
HOME_OFFSET = 13.21
HOME_SEARCH_VEL =   0.8
HOME_LATCH_VEL = 0.05
HOME_USE_INDEX =  NO
HOME_IGNORE_LIMITS =  YES

[AXIS_1]

TYPE =LINEAR
HOME =  0.000
MAX_VELOCITY =   1.5
MAX_ACCELERATION = 2.0
STEPGEN_MAXVEL =  1.6
STEPGEN_MAXACCEL = 2.06
BACKLASH = 0.002
INPUT_SCALE =2500
OUTPUT_SCALE =1.000
MIN_LIMIT =-5.69
MAX_LIMIT =7.0
FERROR =  0.050
MIN_FERROR =0.010
HOME_OFFSET = 7.7
HOME_SEARCH_VEL =   0.8
HOME_LATCH_VEL = 0.05
HOME_USE_INDEX =  NO
HOME_IGNORE_LIMITS =  YES

[AXIS_2]

TYPE =  LINEAR
HOME =0.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION =   2.0
STEPGEN_MAXVEL =1.05
STEPGEN_MAXACCEL =   2.06
BACKLASH =   0.000
INPUT_SCALE =  2000
OUTPUT_SCALE =  1.000
MIN_LIMIT =  -4.54
MAX_LIMIT =  0.2
FERROR =0.050
MIN_FERROR =  0.010
HOME_OFFSET =   0.2
HOME_SEARCH_VEL = 0.5
HOME_LATCH_VEL =   0.05
HOME_USE_INDEX =NO
HOME_IGNORE_LIMITS =   YES

[EMCIO]
EMCIO = io
CYCLE_TIME =0.100
TOOL_TABLE =stepper.tbl


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Bridgeport loses sync running axis.ngc

2007-05-13 Thread Jack Ensor
Thanks for the suggestion of trying 0.0 backlash. That cut the error 
down significantly.  Why should that make such a difference?  Backlash 
compensation error shouldn't be cumulative , should it?
 I am now getting from .0101 to .0002 variance.  Still more than I would 
like to see.

Jack Ensor

Chris Radek wrote:

On Sun, May 13, 2007 at 09:57:08AM -0400, Jack Ensor wrote:
  

However when I run axis.ngc, the ending x and y positions are at 
variance from the commanded positions and each time I run the program 
(after first homing), I get different variances. I calculated the 
variances by subtracting the actual position from the commanded position 
and x can vary from -.148 to +.009, while y can vary from .063 to .008.  



What version of EMC2 are you using (Help/About will tell you)

Have you tried without backlash compensation (BACKLASH=0.0)?

Chris
  



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Bridgeport loses sync running axis.ngc

2007-05-13 Thread Jack Ensor

By the way the3 version is Emc/axis 2.1.3.
Jack

Jack Ensor wrote:

Thanks for the suggestion of trying 0.0 backlash. That cut the error 
down significantly.  Why should that make such a difference?  Backlash 
compensation error shouldn't be cumulative , should it?
I am now getting from .0101 to .0002 variance.  Still more than I would 
like to see.


Jack Ensor

Chris Radek wrote:

 


On Sun, May 13, 2007 at 09:57:08AM -0400, Jack Ensor wrote:


   

However when I run axis.ngc, the ending x and y positions are at 
variance from the commanded positions and each time I run the program 
(after first homing), I get different variances. I calculated the 
variances by subtracting the actual position from the commanded position 
and x can vary from -.148 to +.009, while y can vary from .063 to .008.  
  

 


What version of EMC2 are you using (Help/About will tell you)

Have you tried without backlash compensation (BACKLASH=0.0)?

Chris


   




-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

.

 



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Bridgeport loses sync running axis.ngc

2007-05-13 Thread Jack Ensor
I forgot to mention the version is Emc/axis 2.1.3 that I am running.
Jack

Jack Ensor wrote:

Thanks for the suggestion of trying 0.0 backlash. That cut the error 
down significantly.  Why should that make such a difference?  Backlash 
compensation error shouldn't be cumulative , should it?
 I am now getting from .0101 to .0002 variance.  Still more than I would 
like to see.

Jack Ensor

Chris Radek wrote:

  

On Sun, May 13, 2007 at 09:57:08AM -0400, Jack Ensor wrote:
 



However when I run axis.ngc, the ending x and y positions are at 
variance from the commanded positions and each time I run the program 
(after first homing), I get different variances. I calculated the 
variances by subtracting the actual position from the commanded position 
and x can vary from -.148 to +.009, while y can vary from .063 to .008.  
   

  

What version of EMC2 are you using (Help/About will tell you)

Have you tried without backlash compensation (BACKLASH=0.0)?

Chris
 





-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

.

  



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Information Display Panel

2007-03-21 Thread Jack Ensor
Eric- The screen I saw was on ebay:
http://cgi.ebay.com/NEW-SHARP-8-4-LCD-SCREEN-PANEL-APPLE-DELL-LAPTOP-CAR_W0QQitemZ300092346949QQcategoryZ51161QQssPageNameZWDVWQQrdZ1QQcmdZViewItem

If the link doesn't go thru try a search for item  300092346949

Jack Ensor


Eric H. Johnson wrote:
 Jack,

 Can you provide a link to the monitor you are referring to. I looked at the
 Sharp web site (http://www.sharpusa.com) and was not able to find an 8.4
 monitor other than those using standard VGA, etc. inputs, for which no
 additional drivers are necessary.

 Alternately, I recently checked into head an interface which supports 4 line
 x 20 character displays such as those available from matrix orbital
 (http://www.matrixorbital.com/index.php?cName=lcd-mx4-series) and
 Crystalfontz (http://www.crystalfontz.com/products/index-usb.html).

 The interface is dependent upon lcdproc, which provides drivers for these
 and many other LCD displays.

 It is certainly not ready for prime time, but you can look at it by using
 the ncurses interface (I can send you the configuration if necessary). You
 will need to do a checkout and compile of head, since that is the only place
 it currently exists. Then either start LCDd (LCDProc Daemon, see lcdproc
 instructions) manually or put it into the startup script. Lastly, in one of
 your hal files, add the following line:
 loadusr emclcd

 And then run EMC normally.  

 It is still in its early stages, so there is some other information I would
 need to supply, like key mappings. In a 4 line x 20 character display it
 provides information such as the current program loaded, dynamic X, Y, Z
 positions, progress bar, run, pause / resume, stop, step, etc. functions, as
 well as a menuing system for accessing other parameters and settings.

 Let me know if this is of interest to you and I can provide additional
 information.

 Regards,
 Eric

  
   
 I've been looking for a small flat panel monitor for mounting 
 on my machine control panel for my EMC Bridgeport controller. 
  Sharp has an
 8.4 inch LCD panel that would be perfect except a driver or 
 interface board would be needed to interface with it.  I 
 haven't been able to find any boards.  Does anyone know of 
 any or have any suggestions for finding a small flat panel at 
 a reasonable cost?
 


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 .

   


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Unexpected realtime delay

2007-03-14 Thread Jack Ensor
, medium devsel, latency 32, IRQ 11
Memory at feae (32-bit, non-prefetchable) [size=64K]
I/O ports at df90 [size=8]
Capabilities: available only to root

[EMAIL PROTECTED]:~$

Hope this givews you some insight into a solution for my latency failures.

Jack Ensor


Quoting paul_c [EMAIL PROTECTED]:

 
 Hi Jack
 
 On Tuesday 13 March 2007 19:49, Jack Ensor wrote:
  When I run the latency test I get:
  RTD|   -982|  -1005|   -116|   7708| 206073|
  5
  with an overrun occuring approximately every 62 secs or so.
 
 Yup, it certainly looks like you have a problem with the hardware, now could
 
 you cut'n'paste the output from `lspci -nn` - This displays information about
 
 some of the hardware in your computer in a format that can be compared with 
 the known problematic h/w.
 
 
 Regards, Paul.
 




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Unexpected realtime delay

2007-03-12 Thread Jack Ensor
The odd time stamp was due to me rebooting the PC. There is no 
cut'n'paste error. I t is exactly as it appeared.  The big question on 
your response - You said (sse below) :
 Before running emc, try `sudo rmmod pcspkr` - That particular module 
is known to cause problems with some hardware/config combinations. 
Why would one do 'sudo rmmod pcspkr' if it is known to cause problems?  
I hope you don't misunderstand me - I'm only trying to understand what I 
need to do.

Jack Ensor

On Friday 09 March 2007 14:41, Jack Ensor wrote:
  [  516.200256] 43867: ERROR: Unexpected realtime delay: check dmesg for
  details.[  516.200263]

Very odd - There is a timestamp that appears to be younger than the one 
at the
beginning of the line...

  [  516.200265] In recent history there were
  [  516.200267] 1577520, 1577520, 1577656, 1577396, and 1577460
  [  516.200269] eThis time, there were 1893236 which is so anomalously
  [  516.200282] large that it probably si

And the output still looks truncated - Unless it was a cut'n'paste error, I
would say the kernel log buffer is being hosed.

  [EMAIL PROTECTED]:~$ sudo /sbin/lsmod
snip

 Way too many modules loaded that are not needed and probably not used. 
vfat, fat, bluetooth, rfcomm - With parport support being deliberately 
broken, loading of lp  ppdev shouldn't be happening.. Before running 
emc, try `sudo rmmod pcspkr` - That particular module is known to cause 
problems with some hardware/config combinations.


Regards, Paul.


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] 2.1.2 upgrade via Update Manager

2007-03-12 Thread Jack Ensor
When I go into System-Administration-Update Manager  I don;t see any thing
referring to Emc2.1.2.  How do I get it to update to this new version?

Jack Ensor



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Error-Unexpected realtime delay

2007-03-10 Thread Jack Ensor
It looks like I have a problem with smi (system maintenance interrupts)
increasing the latency and causing the realtime errors. Referencing EMC
Documentation Wiki - FixingDapperSMIIssues they give these instructions:


3. Changing smi-module.c

First you need to get the sources for the dapper version of RTAI:

to get the sources for the dapper version you need to
apt-get source rtai-3.3 

Find the smi-module.c inside rtai/base/arch/i386/calibration, and change the
following line:
#define CONFIG_RTAI_HW_SMI_ALL 1

Once that is changed, you can compile the module and replace the version already
installed.

4. Compiling the new module

Unless you want to use the existing build process (which means you need to put
the rtai sources in /usr/src/modules/rtai-3.3/ and use make-kpkg to build the
modules) use the following Makefile:

Makefile

UNAME := $(shell uname -r)
KERNEL26 := 2.6
KERNELVERSION := $(findstring $(KERNEL26),$(UNAME))

obj-m   := rtai_smi.o
rtai_smi-objs := smi-module.o

INCLUDE := -I/usr/include/asm/mach-default/
KDIR:= /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)

all::
$(MAKE) -C $(KDIR) $(INCLUDE) SUBDIRS=$(PWD) modules

Simply run make, and the new module should be built. (Alternative: grab the
binary from [[here]]).

5. Installing the new module

Installing means simply copying the new binary module over the old version,
located at: /usr/realtime-2.6.15-magma/modules/rtai_smi.ko 
***

My question is do they simply mean down load the binary file and then copy it
over /usr/realtime-2.6.15-magma/modules/rtai_smi.ko ?

Do I still have to do step 4?

Jack Ensor

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Error-Unexpected realtime delay

2007-03-08 Thread Jack Ensor
When running the example stepper-inch.ini I always get a window that randomly
pops up interupting the program:

Unexpected realtime delay:check dmesg for details

So in looking at that I see the following:

[42446.587500] RTAI[math]: loaded.
[42446.595770] RTAPI: Init
[42446.595800] RTAPI: Init complete
[42446.658688] MOTION: init_module() starting...
[42446.658701] MOTION: init_hal_io() starting...
[42446.660334] MOTION: init_hal_io() complete, 8 axes.
[42446.660338] MOTION: init_comm_buffers() starting...
[42446.662843] MOTION: init_comm_buffers() complete
[42446.662848] MOTION: init_threads() starting...
[42446.662853] HAL: creating thread base-thread, 5 nsec
[42446.662884] HAL: thread created
[42446.662888] HAL: creating thread servo-thread, 100 nsec
[42446.662895] HAL: thread created
[42446.662942] MOTION: setting Traj cycle time to 1000 nsecs
[42446.662949] MOTION: setting Servo cycle time to 100 nsecs
[42446.662955] MOTION: init_threads() complete
[42446.662958] MOTION: init_module() complete
[42446.672350] STEPGEN: installed 3 step pulse generators
[42446.695417] config string '0x0378 0xdff0 0xdfa8'
[42446.696284] PARPORT: installed driver for 3 ports
[42706.533177] 263103: ERROR: Unexpected realtime delay: check dmesg for details
.
[42706.533201]
[42706.533203] In recent history there were
[42706.533205] 1577532, 1577568, 1577784, 1577160, and 1577596
[42706.533207] eThis time, there were 1893128 which is so anomalously
[42706.533211] large that it probably si6CSLIP: code copyright 1989 Regents of
 the University of California
[42737.667437] PPP generic driver version 2.4.2

It seems that it always occurs after loading the parallel port drivers.
Anyone have any ideas on how to cure this one?

Jack Ensor




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hal Implementation of a different enable

2007-03-07 Thread Jack Ensor
Thanks so much. show pin worked very well. I was able to discover what the pin
name actually was and then incorporate it in my setup.  I guess it should have
been intuitive that you can do this while running a test program but I didn't
get it from the hal manual.  And this was after going through the hal
tutorial.

Jack Ensor

Quoting John Kasunich [EMAIL PROTECTED]:


 HAL is designed to be very discoverable.  That means you can easily 
 find out what pins exist for yourself, rather than asking questions on 
 mailing lists and waiting for people to tell you the answers.
 
 Comment out the line that is causing the problem (put a # in front of 
 it) and then start EMC.
 
 Then open another shell (terminal window), and run halcmd show pin
 You will get a long list showing all the pins in your running EMC.
 You can scroll up in the list to find whatever you want (it is in 
 alphabetical order).  You can shorten the list by providing a partial 
 name:  halcmd show pin mo will show only pins beginning with mo,
 which includes all the motion ones.
 
 show sig can be used the same way, as can show param.  It is an 
 interactive system - interact with it!
 
 Regards,
 
 John Kasunich
 




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Hal Implementation of a different enable

2007-03-06 Thread Jack Ensor
 iocontrol.0.tool-prepare iocontrol.0.tool-prepared
linkpp iocontrol.0.tool-change iocontrol.0.tool-changed

# create a signal for spindle on
newsig spindle-on bit
# connect the controller to it
linkps motion.spindle-on = spindle-on
# connect it to a physical pin
linksp spindle-on = parport.0.pin-09-out

###
### You might use something like this to enable chopper drives when machine ON
### the Xen signal is defined in core_stepper.hal
###

linksp Xen1 = parport.0.pin-08-out
###

Jack Ensor





-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] halrun and parport problem

2007-03-04 Thread Jack Ensor
There seems to be a problem when I designate more than one parport.  when I load
one or the other it works fine.  However when I load the two I get the error:

[EMAIL PROTECTED]:~$ halrun
halcmd: loadrt hal_parport cfg=0x0378
halcmd: show comp
Loaded HAL Components:
ID  Type  Name  PID   State
3  RThal_parport ready
2  User  halcmd19839   19839 ready

halcmd: unloadrt hal_parport cfg=0x0378
halcmd: show comp
Loaded HAL Components:
ID  Type  Name  PID   State
2  User  halcmd19839   19839 ready

halcmd: loadrt hal_parport cfg=0xdff0
halcmd: show comp
Loaded HAL Components:
ID  Type  Name  PID   State
3  User  halcmd19839   19839 ready
2  RThal_parport ready

halcmd: unloadrt hal_parport cfg=0xdff0
halcmd: show comp
Loaded HAL Components:
ID  Type  Name  PID   State
2  User  halcmd19839   19839 ready

halcmd: loadrt hal_paraport cfg=0x0378 0xdff0
HAL:9: ERROR: Can't find module 'hal_paraport' in
/usr/realtime-2.6.15-magma/modules/emc2
halcmd:

Jack Ensor

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] halrun and parport problem

2007-03-04 Thread Jack Ensor
Thanks - That did it.  Next step is to incorporate this into the pinout file!

Jack Ensor

Quoting John Kasunich [EMAIL PROTECTED]:

 Jack Ensor wrote:
  There seems to be a problem when I designate more than one parport.  when I
 load
  one or the other it works fine.  However when I load the two I get the
 error:
  
  halcmd: loadrt hal_paraport cfg=0x0378 0xdff0
 
 Two problems:
 
 1) spelling: hal_parport, not hal_paraport
 
 2) the syntax for the cfg= should be cfg=0x0378 0xdff0  (both 
 addresses inside one set of quotation marks).
 
 Regards,
 
 John Kasunich
 




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] halrun and parport problem

2007-03-03 Thread Jack Ensor
I am having trouble getting failures on pinout.hal.  The indications in the
error report indicate a problem with the parallel port.  When I tried changing
the default 

loadrt hal_parport cfg=0x0378

to my 2nd address of 0xdff0 and connecting my breakout box to the 2nd port,
the led's on board didn't flash like they did on the first port. I then put the
box back on the first port without changing the from 0xdff0 to 0x0378 in the
pinout.hal and found that even though pinout.hal defined the port as 0xdff0
the signals were coming out on the first port.

I thought that I could troubleshoot the problem by using hal and doing the
following:

halrun
loadrt hal_par_port 0x0378
newsig one bit
linksp one parport.0.pin-2-out
sets one TRUE

However, I get this:

[EMAIL PROTECTED]:~$ halrun
halcmd: loadrt hal_parport 0x0378
insmod: error inserting
'/usr/realtime-2.6.15-magma/modules/emc2/hal_parport.ko': -1 Unknown symbol in
module
HAL:1: ERROR: systemv failed, returned 1
HAL:1: ERROR: insmod failed, returned -1
halcmd: [EMAIL PROTECTED]:~$

Jack Ensor

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] stepgen.0.step not found

2007-03-02 Thread Jack Ensor
 all on one parallel port pin?
### that's ok, hook the same signal to all the axes, but be sure to
### set HOME_IS_SHARED and HOME_SEQUENCE in the ini file.  See the
### user manual!
###

# newsig homeswitches bit
# linkps parport.0.pin-10-in = homeswitches
# linksp homeswitches = axis.0.home-sw-in
# linksp homeswitches = axis.1.home-sw-in
# linksp homeswitches = axis.2.home-sw-in

###
### Sample separate limit switches on the X axis (axis 0)
###

# newsig X-neg-limit bit
# linkps parport.0.pin-11-in = X-neg-limit
# linksp X-neg-limit = axis.0.neg-lim-sw-in

# newsig X-pos-limit bit
# linkps parport.0.pin-12-in = X-pos-limit
# linksp X-pos-limit = axis.0.pos-lim-sw-in

###
### Just like the shared home switches example, you can wire together
### limit switches.  Beware if you hit one, EMC will stop but can't tell
### you which switch/axis has faulted.  Use caution when recovering from this.
###

# newsig Xlimits bit
# linkps parport.pin-13-in = Xlimits
# linksp Xlimits = axis.0.neg-lim-sw-in
# linksp Xlimits = axis.0.pos-lim-sw-in

###
### you can also use the net syntax to accomplish the newsig and link
### operations all at once.  This command does the same thing as the above
### block.
###

# net Xlimits parport.pin-13-in = axis.0.neg-lim-sw-in axis.0.pos-lim-sw-in

I get the following emc2 error:

Print file information:
RUN_IN_PLACE=no
EMC2_DIR=
EMC2_BIN_DIR=/usr/bin
EMC2_TCL_DIR=/usr/share/emc/tcl
EMC2_SCRIPT_DIR=
EMC2_RTLIB_DIR=/usr/realtime-2.6.15-magma/modules/emc2
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/usr/share/emc/tcl/msgs
INIVAR=/usr/bin/inivar
HALCMD=/usr/bin/halcmd
EMC2_EMCSH=/usr/bin/emcsh
EMC2_IOSH=/usr/bin/iosh
EMC2 - 2.1.0
Machine configuration directory is '/home/jack/emc2/configs/stepper'
Machine configuration file is 'test.ini'
INIFILE=/home/jack/emc2/configs/stepper/test.ini
PARAMETER_FILE=stepper.var
EMCMOT=motmod
EMCIO=io
TASK=milltask
HALUI=
DISPLAY=tkemc
NML_FILE=emc.nml
Starting EMC2...
Starting EMC2 server program: emcsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting EMC2 IO program: io
Running HAL config file /home/jack/emc2/configs/stepper/stepper.hal
HAL: ERROR: pin 'stepgen.0.step' not found
HAL:62: link failed
HAL config file /home/jack/emc2/configs/stepper/stepper.hal failed.
Shutting down and cleaning up EMC2...
Killing task emcsvr, PID=2631
Removing HAL_LIB, RTAPI, and Real Time OS modules
Cleanup done

Big Snip

[22.719459] USB Universal Host Controller Interface driver v2.3
[183775.112454] MOTION: setting Traj cycle time to 1000 nsecs
[183775.112462] MOTION: setting Servo cycle time to 100 nsecs
[183775.112467] MOTION: init_threads() complete
[183775.112475] MOTION: init_module() complete
[183775.121375] STEPGEN: installed 3 step pulse generators
[183775.237549] MOTION: cleanup_module() started.
[183775.237556] HAL: threads stopped
[183775.237764] MOTION: cleanup_module() finished.
[183775.436195] RTAPI: WARNING: tried to delete task 02 while running
[183775.436211] RTAPI: WARNING: tried to delete task 01 while running
[183775.442900] RTAPI: Exiting
[183775.442950] RTAPI: Exit complete
[183775.449755] RTAI[math]: unloaded.
[183775.558123] RTAI[malloc]: vfreed extent d0b1, size 2097152.
[183775.558406] RTAI[malloc]: unloaded.
[183775.658094] RTAI[sched_lxrt]: unloaded (forced hard/soft/hard transitions:
traps 0, syscalls 0).
[183775.663378] I-pipe: Domain RTAI unregistered.
[183775.663392] RTAI[hal]: unmounted.

Debug file information:
Can not find -sec HAL -var HALUI -num 1
Stopping realtime threads
Unloading hal components
2631
  PID TTY  STAT   TIME COMMAND


Can you see what the problem may be?

Also I want to make one of the parallel port output pins a 1.  What would the
commands to do this be?

Jack Ensor
Delete | Reply | Reply to All | Forward | Redirect | Blacklist | Whitelist |
Message Source | Save as | PrintBack to sent-mail   Previous Message
Move | Copy 



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] stepgen.0.step not found

2007-03-02 Thread Jack Ensor
Thanks, John. I'll give that a try.  Appreciate your response.
Can you tell me how to set on of the pins on the parallel port to a one?

Jack Ensor

  
 
 You did that part fine.  But I also said:
 
   Also i
   newsig Xstep bit
   linkps stepgen.0.step Xstep
   (similar for dir, and for each axis)
  
   These lines define HAL signals that carry step and dir to the
   parport.  You no longer have step and dir signals, you have
   quadrature phase-A and phase-B, so you need new signals.
  
   You should change them to:
  
   newsig X_phaseA bit
   linkps stepgen.0.phase-A X_phaseA
   (similar for phaseB, and for each axis)
 
 You didn't do that part.
 
 Regards,
 
 John Kasunich
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Parallel port interface

2007-03-01 Thread Jack Ensor
Can any one tell me if I need pullups on the pci parallel port input pins?
This would be for interfacing homing and limit switches.  

If I do need pullups couldn't I set an unused output pin to 1 and then use that
as a source for my pullup resistor power? I assume a 2.2K pullup would be a
reasonable value.

Jack Ensor



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] My first attempt at altering stepper_inch

2007-03-01 Thread Jack Ensor
No, I created MyConf folder and put my modified files in it. Only BP.ini,
Mycore_stepper.hal, and pinout.out.  Is emc.nml the only other file that must
be there as it is currently configured? I only wanted to put files there that
are necessary in order to keep clutter to a minimum.

Jack Ensor

Quoting John Kasunich [EMAIL PROTECTED]:


 
 Is there a file called emc.nml in the same directory as the rest of 
 the configuration?  (/home/jack/emc2/Myconf/emc.nml)
 
 Did the unmodified configuration work IN THAT DIRECTORY, and only break 
 after you modified it?  If so, then we need to look at your mods.  But 
 if the only working configurations are the ones in the EMC2 sample 
 directory, then maybe something went wrong during the copy.

  



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] 2.1.1 Upgrade?

2007-02-28 Thread Jack Ensor
I down loaded emc2.1.1.tar.gz.
How do I properly install without messing things up?  It seems to want to open
in archive manager and I assume I need to extract to some destination.  I was
afraid to go any further in that if I extracted it to the wrong place I would
end up with clutter where I don't want it.

Jack Ensor



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 2.1.1 Upgrade?

2007-02-28 Thread Jack Ensor
I originally down loaded and installed the Live EMC2 CD back in the early part
of January.  So when I recently learned there was an upgrade available, I down
loaded what I have (emc2.1.1.tar.gz).  Did I down load the wrong thing?

Jack Ensor

Quoting John Kasunich [EMAIL PROTECTED]:

 Jack Ensor wrote:
  I down loaded emc2.1.1.tar.gz.
 
 Why?
 
 The only reason to download the tar file is if you want to install from 
 the source instead of using the precompiled packages.
 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] 2.1.1 Upgrade?

2007-02-28 Thread Jack Ensor
I believe I was mistaken. It was probably after the 2.1.0 came out.  Is there
any easy way of checking for which version I have?

Jack Ensor

 
   Jack Ensor wrote:
 
   I originally down loaded and installed the Live EMC2 CD back
   in the early part of January.
 
  I'm not sure whether you have the version 2.1 or 2.0 live CD.
 
 I checked, and 2.1.0 came out on January 28.  So you almost certainly 
 have 2.0, not 2.1.  Just follow these instructions and you should be 
 good to go:
 
 http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?UpdatingTo2.1
 
 Regards,
 
 John Kasunich
 
 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
 




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Parallel port installation

2007-02-26 Thread Jack Ensor
Thanks for the info.
Yes, I failed to say that I am trying to interface an add-on parallel 
port card.  I knew there must be a way of determining what the offset 
addresses were.
Can't wait to give this a try.

Jack Ensor

Alex Joni wrote:
   
 It seems that you are trying to use an add-on card (NetMos).
 There is a good description how to do that for emc2 in the wiki.
 http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?NetMos

 If you already looked there, and didn't find it, please let me know 
 where you looked so we can make it more visible.

 Regards,
 Alex 


 -
 Take Surveys. Earn Cash. Influence the Future of IT
 Join SourceForge.net's Techsay panel and you'll get the chance to share your
 opinions on IT  business topics through brief surveys-and earn cash
 http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

 .

   


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] EMC2.1 Live CD

2007-02-05 Thread Jack Ensor
Thanks for all the help that has been provided.  Yes the drive was too 
small and after switching ot a larger drive it installed fine. Now I 
need to work out details of getting dialup to work and the laser jet 
printer to work with it. I'm currently plowing thru that.
Jack Ensor

Alex Joni wrote:

Unfortunately, your message is too large to reach the list.
However, I looked at the error and it seems that the HDD is too small.
You need at least 2GB of hard drive space to install Ubuntu.

Best regards,
Alex Joni
- Original Message - 
From: Jack Ensor [EMAIL PROTECTED]
To: Enhanced Machine Controller (EMC) 
emc-users@lists.sourceforge.net
Sent: Monday, February 05, 2007 12:56 AM
Subject: Re: [Emc-users] EMC2.1 Live CD

  



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] EMC2.1 Live CD

2007-02-01 Thread Jack Ensor
Does the Live CD for 2.1 install on a blank hard drive or must you 
already have Linux and what version installed?
Jack Ensor

Alex Joni wrote:

The Live CD at www.linuxcnc.org has already been updated.
You can download the new one, ang go that way.. but it's a 650MB 
download.
The alternative only means 2-3 minutes of changes  updates.

Your choice..

Best regards,
Alex

- Original Message - 
From: Cecil Thomas [EMAIL PROTECTED]
To: Enhanced Machine Controller (EMC) 
emc-users@lists.sourceforge.net
Sent: Thursday, February 01, 2007 7:26 AM
Subject: [Emc-users] EMC2.1 Live CD


  

I used the Live CD to install Ubuntu and EMC2 and was very happy with 
the
results.
I would like to upgrade to 2.1 but would feel much more comfortable 
with
the live CD method and would have no problem completely replacing my 
system
as I have a freshly formatted blank drive ready to go.
Is there a plan for a Live CD version of 2.1 in the near future?

Thanks,
Cecil



-
Using Tomcat but need to do more? Need to support web services, 
security?
Get stuff done quickly with pre-integrated technology to make your 
job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache 
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users




-- 
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.18/662 - Release Date: 
31.1.2007 15:16






-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

.

  



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users