andypugh: from cmd, what hal program should I use?
Do you have emc running?
you can just use halcmd then
Or does that not work?
halcmd -something iirc
I think you can run a hal file, probably your main hal file, without starting emc, but I have not bothered to figure out how.
ries: If you are running a run-in-place installation of emc then you need to run the environment script to get halcmd to work.
andypugh: I am running, that, but allcmd wasn't in the scripts... but worked from the bin directory
trying to simulate a touch off plate before I can bring the files to my router
I am running ./halcmd -k -f
then it goes into stdin mode
It is more elegant to do . ./emc2-dev/scripts/emc-environment
(and you do need a " . ./ " at the beginning, which caught me out the first time, reading from the wiki
andypugh: I already that did indeed...
it all works, just trying to lean some more advanced stuff... and help me to use my machine better
does anyone know if there is a configuration setting to control the maximum tool slot #?
Do you want more, or fewer?
i am trying to set up a tool table with high numbers (in the 200's) and getting "tool length offset index too big"
more, i guess.. i'm not sure what the current limit is
Jimbo Trying to solve noise problem causing keyboard to send misc garbage.
if it's a huge pain i'll just renumber my tools
Which version of E<C2?
[00:33:07] <andypugh> http://linuxcnc.org/docs/devel/html/gcode_tool_compensation.html#r1_2
Suggests that T99999 should be OK
axis reports 2.3.5
The tool table changed in 2.4
But I don't know if there was a limit before that.
anything > T56 seems to fail on my version
Yes, I get the same.
Seems an odd number to choose too.
Version 2.4 is out very soon, or you could get the development version
i'll probably just wait for now... i tend to be pretty lazy on my emc machine and only update from the package manager
trying to work out all the details to make best use of my new Tormach tooling system holders
some very simple experiments show i can pre-measure my tool lengths and enter them in the table and G43 does the right thing
That is the idea, I believe
Anyhow, time to log off
Hey all, I am reading http://linuxcnc.org/docs/2.2/html/config_ini_homing.html
at has a USE_INDEX switch, but there is not explained with the index really is/does. So what is a index next to the switches?
index in this context is the z channel of an encoder. It only fires once per rev. so you would hit a switch that would get you within 1 rev of the ecoder - then emc would search for the index pulse from the encoder. very accurite
ries, index is for rotary axes
if you only have linear axes, disregard it
ewlsey: that is not correct. index can be used for a linear axis (and is probably used most for homing linear)
index homing gives you an exact repeatable home position, absolutely accurate to the resolution of the machine, which is one encoder count
like skunkworks says, it is definitely used on all axes.
but you would need encoders
yes if you don't have encoders, you can't use it, because there is no index
it is a feature that servo+encoder machines have
if you had a rotary axis with a stepper, would you home it with an index pulse?
or is that still called a home switch?
index is a feature of encoders
rotary/linear axes is not relevant here
if you have a rotary OR linear axis run with servo+encoder, and the encoder has an index channel, you can home that axis to index
skunkworks: ewlsey Ahh ic, I know the indexer in the context of rotery axis, but I didn't read that from the store... just that you could use both
Hmmm I am reading on :)
so the home switch is in-accurate, the indexer is accurate..
Hmm I think it's clear...
cradek, is there a way to change to no tool in Axis, M6 T0 gives an error?
random or nonrandom toolchanger?
and what's the error, ffs
sorry I don't have EMC running, I believe it says tool number is out of range
do you know what version of emc it is?
2.3.5 I think
in 2.3 i'm pretty sure T0 M6 always unloads the tool
I don't know if it's me, but I seem to get strange warnings that the program exceeds the limits on Z
and I think it has to do with the axis manual toolchanger
I think in 2.3 it sometimes gives that warning incorrectly depending on how you use tool lengths
hmm, intuitvely it seems fine, and I ignore the error and carry on
spindle overide set to 0 seems to cause some havoc as well
can someone tell this brit weirdo that gauges in a MINIVAN are retarded? http://www.youtube.com/watch?v=uXQ5G0ydmYs
let me do some experimenting, the most likely scenario is that I don't know what I'm doing :)
hmm, is there alot of interferance for other electronics going on in the cables that goes to the stepper motors?
i was thinking i if i can mix them and the controller cables in my control cabinett
ewley: You get the exceeds limit on Z when Z is at the home position. If you drop your tool a bit and then run your program all seems to work.
jstenback_ is now known as jstenback
fog all over here
view below 50meter
sealive: where are you?
hmm.. sunny and nice here
24.7C / 74.5F
hello all. i've got a nontechnical question, maybe someone will answer. i installed emc2 in russian, but russian symbols are much wider than latin. so the interface looks ugly and not comfortable. is it possible to make interface english?
emc is too skinny for russian
renz0r is now known as renesis
i need to change interface lang
ffuu that disconnects
in axis when you put the coordinate font big from the view menu and home the axis, the little origin symbol shows up on top of the coordinates
i was like, YAY now im like WAT
wait wat i turned the font small and it still smashed together
mk0_lan_died: are you there?
okay thats annoying
i guess because my gtk font is diff in xfce than in gnome
mk0: you must open console, put LANG=en_EN.UTF-8 and then start ./emc
thanks! and hi from belarus ;)
encee: what system, graphic, emc version?
MarkusBec_away is now known as MarkusBec
elmo401: can you read them? he may have a flux capacitor fitted :)
10 hr lag
bleh still no milling today
MattyMatt: i did so many milling today so i decidet to go home erlyer
did you say you have solidworks? :)
matty i got alot of the systems working most parts with ProE
Grab all the can; After All; Grab all the can; After All;
does anyone out there use tool holders (e.g. Tormach), with pre-measured tool heights? wanted to compare notes on the best techniques for managing everything end-to-end, from CAM to touching off and running programs..
I use the tool table to store the offsets from a fixed location for Z and use a g54 offset for the material
i've got a granite plate and a height gauge, so i can measure all of my tool heights offline.. and one of my tools holds a digital indicator, which is set to a known height at its zero, so i can use that to touch off without crashing real tools
installing vmware server under hardy 8.04 gets error saying gcc used for building kernel is not same as installed. do i need to install older gcc? ( 4.2.4 installed, 4.2.3 wanted )
gweepprefect: sounds like a great setup
so far i have to do a little bit of MDI code to do the touchoff.. T1 M6 G43 H1 .. then i can touch it off, and as long as i do a G43 for subsequent tool changes it seems to behave properly using the tool height offsets
wondering if i can tie that to a button in Axis
I don't see how a button would know which tool number you want, so I guess the answer is no
just for the touchoff - it'll always be tool 1
tom3p, the only things that do that in my experience are kernel modules. do you want to risk that with the RT kernel?
but touch off is already a button
how can it always be tool 1? you have more than one tool surely? otherwise you wouldn't need to use tool lengths
yes, the touchoff itself is, i just mean the precursor stuff i need to do .. the T1 M6 G43 H1 string really. i know i can just type it, but i like to minimize manual stuff where i can
you don't need to g43 before tool touchoff, since touchoff does that for you
I went ahead and installed the old gcc, for nv driver, and it's smooth. doesn't mess with the current gcc
my touchoff tool is tool 1 - it's basically one of these: http://www.tormach.com/document_library/Datasheets/DS31283_TouchTools.pdf
everything else is relative to that, all of the tool lengths are measured offline and pre-loaded into the tool table
cool, kind of like a probe but manually operated
so you'll do T1M6G43 and load this, then zero it on the workpiece, then touch off the G54 system's Z=0
MattyMatt vmware server is the app that wont build. how does building the app 'risk the rt kernel'?
i just want to save the step of typing the T1M6G43 by adding a new buttont o axis
(you don't need the H1 because G43 defaults to the current tool)
maybe vmware server is partly a kernel module
do you happen to know if G43H0 is the same as G43 with no H argument as well?
if you want no tool length offset, program G49
i was looking at the code my CAM post produced and without explicitly setting a tool length offset for every tool in its own tool table, it outputs G43H0
I'm not sure what G43H0 would do.
otherwise why would the vmware build want to be built with the same compiler version? that's a kernel security thing
back to that touchoff tool - my hope is to eventually hack something together so i can read the output of the digital indicator and input it into EMC somehow, and maybe make it a semi-automated touchoff
i suspect its output is a similar format to one of the chinese scale formats
what you want is a probe then (that's what I use)
you don't need an indicator, you just need a switch that tells emc when it has touched
I think tormach even sells a probe
yeah.. a probe would work, though i like the fact that the indicator has its own travel. it's admittedly an overly complex solution to the touchoff problem, but it does have some advantages
is it just me or is there too much 'dwell' when it rotates the head to make it in the corner http://www.youtube.com/watch?v=pfJaAGQp7Yc
seems like it would make a deep spot where it slows down too much
drool.. nice 5 axis machine porn there.
<MattyMatt> is vmware a kernel module?
<demonicmaniac> MattyMatt: yes
<Typosu> it has kernel modules
a few of them
so, I wouldn't, on MY emc machine :)
I'm surprised you don't see bolt-on 5 axis spindles on the market
it's pretty self contained unit
* MattyMatt hotglues dremel to camera pan & tilt
[14:54:14] <SWPadnos> http://www.doughtydrive.com/productb.html
yeah not a coaxial unit like that vid tho
that simplifies the kinematics
I don't think that machine was "coaxial"
and is sexier
note that the table moved in XY every time the head rotated, but the tool didn't move (as much) relative to the part
I love the PCMCIA SLOT SECURITY on this laptop, it's a single screw on the bottom - DOH!
maybe s/SECURITY/SECURING/ ?
no securing sounds better
thought i'd also share some USB pendant hacking i've been doing... http://www.tangentaudio.com/?p=294
nothing too fancy, but I may be one of the only other people in the world to have hacked on an LCD using hidcomp, other than othe author of hidcomp
too bad about the lack of 9-bit SPI
cool stuff though
MattyMatt, fix for vmware server = install linux-headers-`uname -r` & build-essential , then use gcc 4.2.4 , but point the hdr includes question to /usr/src/linux-headers-2.6.24-16-rtai/include
gweepprefect, that looks like a nice mill
MattyMatt: I think he did have a flux capacitor in there... but I didn't see the date selector tool :-P
gweepprefect: you want nice 5-axis pr0n... http://www.youtube.com/watch?v=_r38wFk2R4c
I like this style better then the 4&5 axis in the head
I think it is the same company, too :P
thanks.. it's a converted Sieg X3.. not bad for a benchtop, though anyone with a real machine would sneer at it
elmo401: wow, that machine flies.
what kind of drivers are you using?
elmo401: yeah that's better when your spindle is bigger than your workpiece :)
now THIS is 5-axis pr0n! http://www.youtube.com/watch?v=0LCaRqQ8Qf8
* elmo401 drools !!
which I suppose it generally is. maybe that's the true diff between mills & routers
* MattyMatt feels demoted to home router league again :(
there was a video going around a couple of weeks ago of a 5 axis machine making a model of a full face motorcycle helmet in metal
ya, saw that one too.
but this Matsuura video is crazy!
our shop would never be able to program like that. our mazaks are just too slow.
hah where I used to work the mazak was the fastest thing we had
elmo401, yeah the rotaries dont slow down the linear axis axis. so often the rotaries are slugs due to gearing and resolution.
but i like the knuckle joint on the huron, just looks really beefy
my machine would suit that 45 deg table style
especially as it's on the floor anyway :)
check this out! footwear CAD http://www.footwear-cadcam.com/general/cadsuite.asp
I always wanted to design my own shoes.
now I can ;)
for one pair, you don't need anything special
I think the knuckle 5-axis spindle is fine for light stuff. don't know about hogging out A2 tool steel for making die!
When I open a hal meter window on axis.X.f-error, rather then showing a what I think should be a small relatively consistant or mildly varying error, it displays a number that increases or decreases as I move the axis. What am I doing wrong?
I am trying to understand why, when I enable the encoders in AXIS, I get a following error every time I move an axis. I believe it is because axis.X.f-error is not sending the right value.
I often have that effect on people :-)
gweepprefect, nice web site
grommit, do you have the encoder hooked up correctly (both physically and in HAL)?
if you don't have any feedback, the motor-pos-feedback remains at zero, but the motor-pos-cmd goes up as you try to jog or do any other motion
since ferror is position-feedback, you'll see error = position as long as feedback is zero
Yes, this time I do (I promise :-))!
har har :)
I have 208076 counts per inch
irrelevant, but OK :)
Well, I had the encoders messed up last week when I was trying to figure out this problem.
oh. lucky I was gone :)
that number sounds so high as to be unlikely
it's also not "round"
(which, though not itself a problem, often suggests that there may be a calculation error)
I have 2048pp X 4 (quadrature) X 10.16 (rev/in on screw) X 40/16 (gear ratio) = 208076
Not sure, it is smallis (EMCO F1 mill)
ok. metric <-> imperial is a good cause for non-roundness in numbers
It is very repeatable, that is, I move an inch I get almost exactly 208076 counts
Using a dial indicator..
ok, that's fine
you need to look at all three of those numbers, preferably with halscope
(position command, position feedback, ferror)
Ok, now you all going to leave me alone on my high count encoders and the fact that I am using them with steppers? I know I am a lepper!
trigger on axis.0.f-errored (assuming you're messing with X)
Ok, hang on, I'll look...
better than a steeper leaper
concentric? is that the best word to describe that huron knuckle?
I was wondering what you meant, since it's hard to have concentric anything that tilts
(and it's not anyway :) )
you think $620 is expensive for a BT30 spindle? http://www.tormach.com/Product_PCNC_maint.html
(need to scroll down half way)
their stepper boards seem a little over priced, though
SWPadnos: LOL iPad clone (sorta) http://articles.latimes.com/2010/may/02/business/la-fi-ct-sony-20100501
there must be a special word for that special topology where B/C and spindle all pass through a point, which is fixed in XYZ
Jymmm: sony can't make anything properly
yeah, it's called "perfect", and it doesn't exist :)
it would in the kinematics file for that machine
Jymmm: plus, there are many iPad clones, though they did come out before the iPad...
Oh, hal scope. I am using hal meter and they all move up in one direction and down in the other. I will try them in hal scope....
MattyMatt, look at the work Stuart Stevenson has done for his 5-axis Cincinatti machine
ah yeah, all calibration would be finite not-quite-zero, so kinematically it's no diff to a doglegged one
most of the work done in the kins has to do with correcting those alignment/manufacturing errors
but, in common parlance, what do you call it? eyeball spindle?
5-axis-knuckle. got that already
ok I'm learnin
it's called "nodal" in the film industry
they have "full nodal" camera mounts, that let you spin the camera in any direction, with the center of rotation in the center of the film (or sensor) plane
they used to be about $1 million, but they may have come down since then
(that was 10-12 years ago, I think)
$1m for tax purposes
I bet these movies don't spend half what they claim to
$1M for purchasing purposes
they rent, I was talking to a manager at a rental house, where things are actually bought
Ok, I posted halscope output of moving in one direction and the other. Images are http://bgp.nu/~tom/pub/emco1.png
Not sure what I should be seeing...
or what I am seeing for that matter...
f-error follows pos-commanded
I would expect f-error to stay steady and quite low or slightly vary some very small amount
the sign of your feedback or drive is backwards
err, command, not drive
note that one went up while the other went down
does that mean I need to invert one or the other in hal?
you need to change one or the other signs in the ini file
most likely the feedback, if the steppers move in the direction you expect (without feedback)
so maybe it's -208076
I have SCALE = -50800, how does that scale relate to INPUT_SCALE, or does it?
you'd have to look at the hal files to be sure (that's where the numbers are actually used), but it's most likely that SCALE is the stepper output scaling and INPUT_SCALE is the encoder input scaling
if the motors move the right way when you disconnect feedback (loop motor-pos-cmd to motor-pos-fb), then you need to change the INPUT_SCALE
setp hm2_7i43.0.stepgen.00.position-scale [AXIS_0]SCALE and setp hm2_7i43.0.encoder.00.scale [AXIS_0]INPUT_SCALE - so you are correct
Hey, I think that worked!
How do I determine what values to set FERROR and MIN_ERROR to in the ini file so that it is reasonable, but faults if I get behind?
grommit: in halscope you can graph following error.. I think it is axis.0.f-error or something like that for each axis.
you can then decide what your ferrer should be.
When I show it in halscope it appears to be zero.
it can't be zero...
and/or click on the f-error trace and move the cursor, where it says "f(0.2345455) = 1.24566", it's telling you what the value of the selected trace is at the cursor position
(the numbers will change to protect the innocent)
You know you're in serious trouble when you need a 48" pipe wrench... http://sfbay.craigslist.org/sby/tls/1722324892.html
I am seeing 0.00045 max on Z-axis
is that at max velocity?
Yes, at max velocity
set min and max at .001 and see if you can get it will error :)
FERROR and MIN_ERROR at .001?
Don't seem to be able to get it to fault at 0.001 (z-axis)
what if you stall it?
what do you mean by stall it?
can you stall an axis while it is moving?
how would I do that? You mean run into something?
I was figuring a smallish machine...
You mean hit the end of a screw?
I was figuring it was a small enough machine that you could just grab the leadscrew to stop movement. how big are the steppers?
skunkworks_]: ever see an earth mover? THAT big =)
you should be able to stall that pretty easy I would think
hmm, I can't with my hands. Must be a weakling :-)
grommit: Use a crow bar, that ALWAYS works
careful what you suggest. I am new to this, I might try it!
If you try it, you deserve whatever happens
Well, I am new, but try not to be gullible ;-)
doesn't always work though.
I only mess with those that have Half-A-Clue (tm)
I tried to buy one of those, but it was too expensive
Many thanks (once again) to skunkworks and SWPadnos for the help!!
1-900-CLUES-FOR-SALE... 1 for $1, 2 for $5, 3 for $10, and out best value 4 for $20, CALL NOW Operators are standing by!
Is that quote for half or a full clue?
can i zoom in better then with the zoom bar in halscope?
define "better" :-)
all i see are line with little dots underneath
if you select the channel you want to see, you can then move your mouse along the line and see the value at the bottom
you will see a large dot moving along the line
the large dot suppose to follow the cursor ?
is there some kind of manual for this thing ?
and some html/pdf
Can I use my encoders to establish a home position (before I get home/limit switches) on my machine?
not really - encoders are relative, not absolute.
grommit: yes, if they have index
They do have index
if you have an index pulse you can home to the nearest index
grommit: is it a servo machine?
oh here we go again ;-)
you can manually jog the machine to a known position and say "this is home," but you can't really automatically home the machine .. to the best of my knowledge anyway
Steppers with encoders
velocity mode or position mode?
then no, you can't home to index, it doesn't work.
gweepprefect: many machines are homed by aligning some marks (which are between indexes) and then telling the machine to seek the index. In emc we call this "index only" homing.
do those indexes pulse once per motor revolution?
once per encoder revolution, which is sometimes but not always once per motor revolution
i'm unclear how that gets you machine homing.. presumably you would see many index pulses, say, along the full travel of your X axis.. how do you know which one is closest to your home position?
so in velocity mode what is different with the encoders?
gweepprefect: you align the marks by eye, which is good enough to get between two particular encoder indexes
grommit: you have to use pid, and it works less well than position mode, but you can home to index (I think)
i must be missing an important piece of the puzzle
any visual aids online somewhere?
i live in stepper land so i haven't encountered this yet
I was trying to use image-to-gcode, but the results are a bit 'pixelate' kind of. Any suggestions on what to tweak?
how big is your source image?
around 1100x700 for the last one
.078 end mill (5/64") maybe 8" x 3.5" finished size
* frallzor finally got screws
[18:55:37] <frallzor> http://www.cnczone.com/modules.php?name=News&file=showarticle&postid=750424
anyone into these things?
frallzor: keep the intelligence in emc2, and keep the pendant "dumb"
cant even keep a pendant atm
aeehhh Ill just get a cheap gamepad and slaughter it :)
and rewire some buttons
is a release of emc2 with ubuntu 10.04 coming?
[19:05:46] <frallzor> http://wiki.linuxcnc.org/emcinfo.pl?Simple_Remote_Pendant
all I need =D
even found the same pad for cheap
- "Additionally, if encoders with an index channel are used, they will also home to the index. This means it will set itself to a particular mark on the encoder so that homing will be on the money everytime, just like a real cnc."
If true, this indicates I can use my encoders with index to home.
However, in hal scope I don't see index there to use...
it will not work if your stepgen is position mode
position mode O_o
The encoder is separate from the stepgen, I still do understand why the mode would make a difference..?
grommit, stepgen (in position mode) keeps track of where it is, and where it's told to be
the encoder will reset itself when an index comes in, but stepgen can't
stepgen has no index or "clear" input
the motion controller doesn't know how to deal with a motor output that does its own positioning like this
When you say "encoder resets when index comes in", does stepgen send the index?
no, that's from the physical encoder hardware
and it goes to the encoder counter HAL component
So could one keep track of the encoder index in a separate place (separate from stepgen)?
you have to separate in your mind the input path and the output path
I bet a suitably smart person could make stepgen reset for index homing, but that person is not me
"command" and "feedback" may be better terms in this context
Index is feedback from the encoder
well, consider the entire feedback system
it's got position and index
position comes from?
and index does a special thing in a certain mode - it resets the position
the encoder. we're just talking about encoder feedback right now
when you start EMC2, the software encoder component starts at 0, and counts up or down as the encoder turns
normally, it ignores the index pulses
ah, yes I see
I restarted EMC and see that the number changes
there's a HAL pin that tells the encoder counter component that it should reset its counter when an index is detected
(names can get confusing here, since we have the physical encoder, the encoder counting software, physical connections and HAL connections, etc :) )
I had been seeing the same numbers and thought those were fixed from the enccoder.
I see they are not
so that's what happens on the feedback side, the position suddenly snaps from whatever it was to zero, which the motion controller expects while homing to index
ah, no. you need absolute encoders (which aren't really supported at the moment) for that
now look at the output (or command) side
the motion controller knows where it told the motor to be, and when it sees the index (while homing), it calculates an offset based on where it thought it was
so if the command position was 0.12 when the index was hit, the position would be reset to 0.12, and an offset variable would be set to 0.12
this home offset is always added to the command position
the position gets reset to 0 (assuming that your home is at 0)
hmmm. I think I explained that backwards :)
I hope so, as I am confused now.
let me sum up by saying that there's an offset that gets summed with the command position, which cancels out the "error" detected when homing
does that make sense?
but, where did the error come from?
well, the software encoder resets to 0 whenever you start EMC2
then you home, and the diff is the error?
so the error depends on how far from home the machine was when you started up
ok, now I get it
so, look at a servo/PID system
remember that feedback actually snapped to 0, so the motion controller needs to output a "0" command as well, or the PID will try to jump elsewhere
the PID has no internal knowledge of where the machine is - it can do its calculations with only the command and feedback (more or less)
contrast that with stepgen, which really really thinks it's at 0.12
feedback from the encoder doesn't go to stepgen, it uses its internal position counter for "feedback"
so the encoder feedback and the motion controller command snap to 0, but stepgen thinks it's at 0.12
so what does it do?
to what it thinks is 0
and probably causes a following error
(since the motion controller sees the motion from the encoder feedback)
but doesn't a PID loop dampen that?
That is where I don't get the why you can't use PID with stepper/encoder
what PID loop? You don't have one with stepgen in position mode
you could have one with stepgen in velocity mode
I mean, if I wanted to close the loop with the stepper
which is why cradek asked if you were using position or velocity mode
Oh, I thought I could have one in position mode as well. No?
and the way PID works isn't really compatible with steppers either
if a stepper falls behind, it has most likely already maxed out its torque
and the way PID works is to ask for more torque when the motor lags behind
you can see the problem - the motor has no more oomph to give, yet that's exactly what PID needs
servos have reserve torque, even above their continuous ratings
it couldn't just ask for more steps to "catch up" and use the encoder to see if it does?
and they have full torque at all speeds
that would be worse for the stepper
variable step timing results in lower torque
that's one reason why people use hardware for step generation - it's faster, but it's also much smoother
The thing that someone had never tried was using adaptive feedrate to lower the feedrate as the following error increases... I think it would be a neet experiment...
I thought someone had made some attempts, but ended up with some sort of oscillation
I am using Mesa 7i43
or maybe that's what we thought might happen, I don't remember :)
so is adaptive feedrate part of the feedback loop now?
grommit, PID will change the step rate every millisecond, back and forth as errors are slightly positive or slightly negative. this could end up looking like "bad timing", and may reduce torque
may not, but it still seems like it's already too late
I can imagine that...
what happens to a servo when you run up to it's max torque in your scenario, by the way?
well, that depends on whether you're talking about max continuous or peak
folloing error :) (if it cannot keep up)
right, but doesn't the PID have the same problem?
that is, oscillation?
machines are generally designed to the continuous rating, but the motor can provide 4-6 times that in short bursts
not if it is tuned correctly.
well, most servos don't run on steps
there could be some oscillation, but deadband and tuning should eliminate that, if done right
and generally the oscillation will be one or two encoder counts of "dithering"
(makes some servo systems "sing" when they're stopped)
So the PID will just drive the crap out of it, or stop driving it if it?
it will keep asking for more and more, and the motor/driver will either catch up or shut down (or fry)
oh, and if it falls really far behind, emc2/PID will stop asking for more - that's what a following error actually is
[20:30:58] <alex_joni> http://failblog.org/2010/05/03/epic-fail-photos-child-safety-fail-4-2/
"the fakest thing I’ve ever seen on this website." 8)
SWPadnos: not true
there needs to be another category: "people on the couch not watching athletes"
and real athletes don't drink gatorade anyway, they drink more expensive stuff like cytomax
or even, gasp, water
[20:37:33] <SWPadnos> http://ihasahotdog.files.wordpress.com/2009/05/128879190370298695.jpg
Dave911: Did my suggestion make sense?
I was trying to run a friend's ngc file which he has used to mill a part. I ran it and nothing happened, it was running but nothing was going on. I realized that I had not installed his tool.tbl file so I killed it and installed tool.tbl and then ran it again. It began to run, moved the spindle, moved x and y and then just sat there spinning the spindle indefinitely.
How can one tell what it is waiting for?
I ran the EMC status but that didn't seem to indicate anything unusual
The reason I mention the tool.tbl is that the behavior is the same as what was going on when there was no tool.tbl in place. That is, no indication of a problem but nothing heppening.
grommit: pastebin.com ngc file
probably waiting for a tool change to complete
If no tool table = no error message and no movement then that sounds to me like a bug.
how long do you wait for a tool change to complete?
until tool-changed becomes true
exactly my point
shouldn't the spindle stop for a tool change though?
depends on the config
Yes, that is what I thought, spindle should stop
you can leave it on for lathes at least
ah, ok, that makes sense
I can't past the ngc file until tomorrow, as I am not near the machine and it is shut down
doesn't make sense for a mill
The program has been run and tested on his (nearly identical machine) so I don't think there is a bug in it.
did you see the mod to arcbuddy.py on the wiki to dump the results into gedit?
oh wait, I do have the ngc file. Hang on a min....
works pretty slick for hand writing code
ngc file: http://pastebin.com/3sJYBBgF
grommit: at what line it hangs?
I don't know for sure
it's on emcstatus->current line
yeah, but I am not near the machine
it was an m6 command if I recall correctly.
Is that more than one file in the same pastebin?
That is why we thought it was tool change, but spindle was running and no change tool dialog came up
no, one file
EMC status will show the current line
you'd have to paste the ini and hal files again I think
or read the entire manual and verify every setting :)
That is what I was doing before posting actually.
Well, sort of. I was comparing my files and his
ok. there will be a test tomorrow
I am puzzled around line 343. But that might just be that the subs are first and the main code last (very C-like) and I am used to the latter. I would expect the material definition to be at the beginning of the file. Almost certainly that is not the problem.
Can I use a calculator or is a slide rule required?
It was processed with M4, hence the Clike structure
as I mentioned, this has been run quite a bit on another, very nearly identical machine, without an issue.
Identical EMC2 versions?
Well, mine might be a bit newer, I will check that too tomorrow.
grommit: it works fine here, I think that it's config issue
I suspected as much, that is why I was trying to compare our configs
paste config when you can, will see
It may still be in pastebin from a few days ago, let me see.....
[22:47:29] <grommit> http://pastebin.com/ByvhgUc4
- This is close. Some changes were made for my encoders and the toolchange stuff at the bottom is now uncommented....
when will you test, take a look at iocontrol tool prepare, prepared, change, changed signals
they both should be 1 to make toolchange finish
MarkusBec is now known as MarkusBec_away