[#emc] "This is the #emc channel - talk related to the Enhanced Machine Controller and general machining. Website: http://www.linuxcnc.org/,
wiki at http://wiki.linuxcnc.org/"
you could go to vaccum wipers as well )
nm - see you already have
vacuume isnt from the manifold?
yeah that's what they are
yep - most old cars are manifold vacum - great when the line cracks
Valen: if you want wipers going uphill too, you pretty much need the fuel pump assist
lol dude that whole thing is messed up ;->
do you have a generator as well instead of an alternator?
I drove a truck without - wipers only worked going downhill - pretty irritating
yes original generator
spend a few pennies, upgrade to 12 volts with lights and electric wipers ;->
soo - idling - you can barely see and doing 60 (or high revs) the countryside is lit up?
glackins_: who can go 60? haha
downhill with the wind at your back of course
what year is it?
the lights work fine for driving - but they will definitely run it down at idle.
heh put some HID's in it
agree wiuth valen - upgrade to 12 volts - there only has to be like 3 wires in the whole vehicle anyway...
piggyback a 12 volt system into it
new bulbs throughout, new flasher relay thingie (or it'll flash real fast) and hack a wiper motor onto it
that's crazy talk
wiring a mill is probably more complicated
probably looking at $150 or so all up if you pull it from a wreckers
it works fine :-)
including the alternator
cmon you know you want a 52 truck with HID headlights and LED indicators ;->
add some neon underneath and yer pimpin
[01:58:18] <SWPadnos> http://customwheel.com/custom_wheels/product_info.php/products_id/1687
otherwise I'd just get a check valve from an industrial supplier and stick that in your fuel line downstream from your pump
yeah, only $14,000
so you need the 10" ones, huh? :)
might as well get the 26" diameter and jack the thing up at the same time
24" rims too
why not while your at it
24 is wimpy
26 is where it's at
[02:01:19] <cradek> https://www.nationalchevyassoc.com/shop-online/product/image/1927/original
am i guaranteed to "pull the bitches" like that fugly dude?
is that your pump cradek?
yes, for only 12000, 14000, or 16000 dollars
$16000 buys alot of time with better looking women i'd imagine
hmmm. better check those prices
err, it's this one https://www.nationalchevyassoc.com/shop-online/product/image/1930/original
no glass top (same pump otherwise - they came both ways)
heh no glass top
glass top thats just crasytalk
be carefull with the spanner eh
very nice - you can see if it's primed
I have a glass filter right in front of mine though - same purpose
stick an electric fuel pump in, you'll know its primed then ;->
I have a clear plastic one in my old one
Does emc work with the DSPMC/IP ethernet motion controller from Vital?
I guess I will stick with my STG card....
I have to go dig out another ISA MB
you could get a mesa card instead
or some other PCI card
(unless it's easier to find an ISA card)
err, ISA motherboard
who doesn't have a basement full of 'em
I was thinking a usb/firewire or ethernet based controller would be the most computer independant
it would be, but it would also have to be independent of EMC2 at this point
there's some potential for making an ethernet based solution. USB is a lot trickier and is unlikely to ever work
im wishfuly waiting.. I wish I understood more so I could help out...
me too :)
I have not had time to even get emc2 working with the STG
that will be a lot easier than writing a driver for an ethernet device
yea it would, but emc1 still works for now..
unless you write device drivers for fun, it's a much more practical idea to buy hardware with drivers already written
if you have a working system, and you don't need any of the features and bugfixes in emc2, I'd stick with emc1
STG card works with emc2 I just have to convert my .ini to whatever I need for HAL and all that in emc2
I'll deliver the hardware to you, if you pay the airfare :)
heh thanks!.. I think I have a couple of boards at home..
no doubt hal is a bit of a hill to climb the first time
there's a sample config that should be pretty similar to the EMC1 setup - shouldn't need much changing unless you did a lot of stuff
Software Source Code Return Policy
Source Code shipped to customer cannot be returned or exchanged.
sample config that comes with emc2?
I think so
I think both stg1 and stg2 are fully working in emc2 now
[02:29:31] <SWPadnos> http://cvs.linuxcnc.org/cvs/emc2/configs/stg/
those files are included with emc2
I may have one of each of those cards...
you can probably use them both at the same time with emc2
(I'm not sure if the cards support that, or if the driver can handle both types at once, but it should be possible)
wouldnt know what to do with 16 axis support....
index handling on those is funky - don't try to home more than one axis at the same time
(hardware limitation, not emc's fault)
I could run CNC blenders in a smoothie shop..
the outputs are just DACs and the inputs are just encoders, with EMC2
perhaps closed loop would lead to better smoothies
unless the STG is very different from other hardware
how many axes do you need for a robotoc sushi chef?
depends on knife control
and whether blowfish is on the menu, I guess :)
thanks for the chat, I gota blow home and dig for ISA MB's...........
anybody have a suggestion for improving surface finish on free machining steel parts?
it's not *bad*, but not really stellar either
i've been using 1215 steel, with about 70m/min and .15 mm/rev
comes out okay, but sort of dull
use a surface grinder
i found a reference that recommends 0.4mm/rev... but that seems like it might be a bit fast?
if i had a surface grinder that would be wonderful
all i have is a small wimpy lathe though
your dreams of surface finish will probably rely on sandpaper and polishing, then
i have seen better turned finishes than what i have
just not sure how to get one
i threw them in the vibration polisher for now, but i'd like to eliminate that step eventually for this part
70m/min is fast for steel. you are using carbide I assume?
think i should slow it down?
how deep is your cut?
0.5mm depth of cut
slowing it down is sure something to try...
ok you're not trying to take off .02mm or something - that doesn't work with carbide
deeper cut often leaves a better finish
no i'm sticking to about 0.5mm which seems to work pretty well for the chip formation
smallest finish cut is 0.3
but that's on the radius
does the feed seem reasonable?? i found a material sheet that recommends 0.4mm/rev
what's the tip radius on the insert?
how does one go putting a surface grinder on a CnC mill? I have always wondered how one would do grinding CnC style without uber equipment
cradek: here's where I got my starting points: http://www.jmmachineinc.com/products_tips_sfhhs.htm
valen: it's usually completely unsuccesful
because a grinder has more in common with a planer than a mill
151-200 fpm / 0.016 ipr is what they recommended
also, grinding dust destroys sliding parts
so grinders have everything nicely covered and often have "slides" that roll on balls instead of sliding
they're also an order of magnetude more rigid
than a mill
sanding block and buffing wheel it is then ;->
there've been several deaths from people trying to build grinders
on a mill, you get chatter
on a grinder, the wheel disintegrates into chunks
yeah grinding wheels are scary
I thought there might be some way of putting a grinding type tip in thats the same sort of size as a typical milling bit
oh, diamond mandrels, yeah.
but you need speed
lots of speed
60k-80k is a good range for 1/4" grinding bits
can they give you a similar result to traditional grinding?
there are equally specialized machines that are even more expensive than surface grinders that resemble mills, called jig grinders
they will give you the same results, but no cnc mill with a grinding head will
* jmkasunich was once in a steel mill when a 6ft diameter x about 3/8" thick cutoff wheel disintegrated
we thought a transformer had blown up
i hope there are guards for stuff like that...
yes - strong ones
and a bunker ;->
the guys that worked there just shrugged and got another wheel
big grinding equipment tends to be almost fully enclosed
must be neat to not think much of something like that
this was at a rolling mill - about 12" square going in, 3" round coming out - the grinder was used to cut the bars to length after cooling
sort of like the guys who set telephone poles... if they hit rock they just throw a stick of dynamite in, lean back on the truck and sip their coffee
then go back to drilling
i'd like to see that
the rolling part, not the disintigrating disc part
I'm convinced that nothing in a steel mill is small
stuff in the chemistry lab might be
they had about 25 oxygen cylinders manifolded together - if something happened that stopped the line (like our drive tripping out - the reason I was there), they had to oxy-cut the steel out of the line
was it a continuous rolling process then?
the incoming bars might be 12" x 12" x 50 feet long
when squished to 3" diameter, they wind up maybe 800-1000 feet long
I heard a story once where they had a new guy on the job at a steel mill
anyway he was doing everything fine
except he dropped the slag into the train cars a bit too soon
it was still too hot and it sort of welded it self/stuck to the cars
pulled the bogeys off the tracks etc
yeah, when stuff goes wrong there, it goes wrong on a large scale
at the end of this rolling line, before the run-out table, there was a rotary shear
so they had to get a guy and a truck full of liquid oxygen to cut the cars up into about 5 chunks each to put into other cars to take away
it snipped the leading end off the bar, then cut the bar into maybe 100' lengths to cool
[03:55:59] <SWPadnos> http://www.youtube.com/watch?v=3uCvZ7IeUFA
the shear would cut a 3" steel bar about like a person cutting a tootsie roll with a pair of scissors
swpadnos: i don't understand what caused that
pulling a vaccume in the tank
they hooked it to a vacuum pump, according to some comment somewhere
yeah i got that part
it can happen inadvertantly when they put a hot liquid into a tank
oh so was it a destruct test?
for example, steam clean the tank, then seal it while there is still mostly steam, not air, inside
I don't see how though, I'd think that 15 PSI shouldn't do that
add up the inches on the surface area of the tank
calculate the sq in in that PSI
sure, tons (and tons) of force
need a few more and tons there
they seem quite solid, but not much more so than things that are dunked 10m into water
what happens is the container takes the pressure for a fair while but as soon as it creases it instantly looses all strength
its all a matter of design - that same tank could probably handle 100 PSI internal pressure
sure, I understand the physics, it's just a somewhat surprising result based on how similar to underwater things those tankers seem
compression strength is typically much lower than tensile
for steel, sure
[04:01:11] <jmkasunich> http://www.youtube.com/watch?v=Qskg_I-O8sg
underwater stuff is probably much much thicker or pressurised
I wonder how many tons it takes to shear 20 or 30 1/2" steel bars at once
(about 3:00 in that vid)
i like the little walkway bridge going over the huge red hot bar of steel
wonder if its frequently used...
I've crossed such a bridge - although not when the steel was moving underneath
i heard that they used to give workers in those areas wooden sandals
to go over their boots
what good would that do?
if they smell smoke they need to keep moving?
so if they stepped on something a touch warm it would just catch fire rather than instantly melting through to their feet
neat shear at 1:20
again at 1:32
rotary shear at 1:50ish
dunno why those things fascinate me - matching speed and cutting a moving bar just seems neat
[04:15:06] <dareposte> http://www.youtube.com/watch?v=R2raRqZleeg&feature=related
check out about 3:30
[04:15:14] <Valen> http://www.youtube.com/watch?v=hAG0O5d0wHY&feature=related
huge abrasive wheel matches speed and chops it
unrelated just cool
pjm__ is now known as pjm
its 6:45 here lol
BigJohnT: get the back off of the servos yet? :)
I did figure out that two pins are the power and the other two must be something else...
my guess would be temp sensor. maybe
I'm going to take it apart in a bit
in the 80's did they use thermocouples or thermisters or bimetal contacts for that?
or all the above
* skunkworks doesn't know off hand
take it apart and find out, you know you want to
I am in a bit archivist
I was told I should never marry, because the first thing I would do is take her to bits
BigJohnT, yes two will be a temp sensor it dont not need to be connected to work, the drives use it to monitor the inside motor temp and they cut off when it over temps in the drive
was it a 5M motor from what i read above yest ^
hmm dont think i have any tech doc on that area of fanuc
i havea quick q on emc, the output_scale in ini should this be left as 1.0 or changed to some value of units?
not much in the manual :(
rob__: depends how you set up the PID
BigJohnT: from what is that motor?
using mesa cards -10 to +10v to drive motor
a rather large knee mill with a flying saucer looking tool changer that sits on top of the mill
rob__: velocity mode?
then I guess you don't need to scale it
manual confused me alittle when trying to get my head around it etc
right, i gota go back to work, ill have a play with it abit more this evning
thx for pointer alex_joni
with velocity mode you want 9? volts to be your rapid speed. you can scale the dac so the dac input is in inches/second assuming an inch machine.
rob__: np, it helps if you tell us what part of the docs needs expending
so if your rapid speed is 4 inches/second and you want rapids to be 9 volts on the amp, the dac output scale should be 9/4
then turn the gain knob on your amp until 9v gives you that 4 inches/second
now your position loop tuning will be very simple to tune (mostly P and FF1)
mine will be scaled for voltage. +/-150v or so. (not velocity mode amps)
right that makes sence, yes im doing 10m/min at 10v
yeah voltage ~ torque so that makes perfect sense
ok, if your machine config is in mm, you want an output scale of 10/10000
convert m/min => mm/sec
so you want an output scale of .06
if that scaling is right, you can set FF=1 and you'll get pretty decent following automatically
thx for the help guys, gtg now
emc is great!
emc is more than great!
pjm: i posted your latest rigid tapping video in the thread
ah really! cool, thanks
i'm head scratching over mesa cards, cant decide if I need to get a 7i43 or a 5i20
i'm more tempted with the 7i43 because i can mount that directly in the box wiht the cnc electronics and just run a parport cable
I would go with the 5i20.. :)
i am tempted to go that route, but it means more ribbon cables from PC to cnc cabinet
where as the 7i43 can go in the same cabinet and only have a single parport cable
or you mount the motherboard in the cabinet.. ;)
I see your point though
it will certainly be nice to run the motor at full bollock and be able to clock the encoder properly
yes - but you certanly have a functional machine as it. (plus the mesa hardware does step generation also)
skunkworks: the 4 pin plug is power + ground
ah - 2 grounds?
the encoder and temp is on the 17 pin
no one pin is not used
is it encoder?
the encoder is a A860-0300-T001 2000P
nothing else under the hood :)
[13:36:54] <skunkworks> http://fanuc.pennineuk.com/a860-0300-t001-2000p.htm
2000 line sounds like
yep that is the one
you have 3?
yes and the mill if I want (can find space for it) too
wow - I see an emc conversion in your future.
is it collected yet?
and a servo conversion to boot
lucky bar steward
archivist it is safely stored at my buddys
I'll have to take a picture next time I'm over there
mesa card + 3 diy servo amps. ;)
yep sounds like a plan
gotta get the THC comp done and installed first
how is the laser coming?
oh pretty good!
we've been cutting lots of acrylic
the hardest part is still the workflow of getting useful gcode out of original artwork/designs
but overall the laser and emc are both working like a charm
I've been using qcad -> that german dxf2gcode python script
qcad is surprisingly good
dgarr's ornamental turning with emc is great. http://www.youtube.com/watch?v=9A_YlKrPDuc
the probing is real impressive. what was the scope like window? ( looked like audio tracks )
it was halscope, silly
really, what signals look that wiggly?
I'm not sure what the signals were. maybe following error if it's servos?
i really liked the probing. i didnt think anyone was using voltage drop ( very edm )
yes the profile probing, and then mapping the gcode to it, is really clever
raab of cnctoolkit has been doing some mapping onto surfaces
sort of. actually he lets gmax do the mapping, then outputs g-code based on the resulting path
(at least I'm pretty sure that's what he's doing)
saw this today, http://www.icpdas.com/products/DAQ/pc_based/pio_d168.htm
168 points of opto22 control on pci card
pjm I'm leaning towards the PCI card just for the gut feel that it will help reduce latency
Valen yeah i think also the 7i43 will to, from what i have read it handles all the real time step gen stuff etc, so should help a lot etc
i meant that the PCI would reduce it over the 7i43
tomp, you mean 168 TTL I/O points, which could be conected to opto-22 boards :)
I wonder how much that thing costs
i'm not sure it can reduce it, there will be another pci slot to service by adding in the card, where as using the existing parport may mean the latency stays as is - this is only a guess tho
yep 168 points . and its bring your own opto22 racks BYOO22R )
because as far as i understand the top end so far, step rate changes etc in a stepper system are still controlled by the host
parallel ports are pretty crummy in terms of addressing, there be many hoops to jump through
with step generation in the mesa hardware - you only have to send updates ever 1 to .5ms
Valen, latency for what?
But if you want to run outputs at the base thread - then you will need the pci card
updating the 7i43 takes maybe 50-80 microseconds
in terms of getting an encoder input, acting on it and sending it back out
encoder from a high speed spindle, a jogwheel, what?
I was assuming that even if the 7i43 is fast it would be faster still for the PCI
Valen: that is all done within the mesa hardware
the PCI cards are definitely faster, and will allow you to run a faster base thread if it's needed
skunkworks, not all of it, just hte raw encoder reading and PWM/step generation
my understanding of the hardware as its used by EMC is that it will (i have been looking at it for servo systems) is it just does the PWM out and reads encoder pulses
look at it from the software side:
i cant forsee a situation where i need to output something at base thread speed, as long as i can drive my steppers, and read from encoders, and have gpio pins for buttons, jogwheels etc, then i think the 7i43 is the card for me
if you get too many pulses it could drop some and if you have a hickup in your processing you could have the thing drive the wrong way
every 1ms (by default), read the inputs, do some calculations, then write the outputs
you would need something going 1000 MPH to lose pulses with the mesa hardware
is the mesa hardware actually reading and converting the pulses into a position or is it just toggling a pin and EMC comes along and looks for a change?
my understanding is the latter
fpga, its in the chip
FPGA is anything you want it to be. mesa have code for it that uses the FPGA as the motion controller
software reads the counts and other info
IE you put the PID loop into the hardware
that's not how we do it. EMC2 uses something in between
I'd like to run that mode personally
maybe, maybe not
whats the negative?
its a FPGA there should be no difficulty in changing it
the VHDL is given away with the cards
you can configure EMC2 to do just about anything you want, including writing new functions, between the inputs nad the outputs
s/no diffifculty/a possibility/
i think the mesa is keeping a count, and emc gets an update, emc makes a decision, and emc sends new info to mesa, mesa converts a number into a pwm and maybe direction ( rinse lather repeat )
you could certainly make new FPGA configs, but changing how things work on the fly, or just from run to run, is a little harder with the FPGA
VHDL isn't that insane to write in ;->
no, it's just insane to debug :)
lol in some respects ;->
thing is they just implement a micro controller in the FPGA anyway so really your just programming a micro
Heck I'd like to be able to tell the mesa card a single "g-code like" statement about where all the axes need to be and at what rate at time X and let it solve it
the program is part of the VHDL, AFAIK
how would you implement feed override in that case?
what do you mean feed override?
Valen: then you don't need emc. There is a basic motion control firmware for the mesa.. (no clue what it does)
estop or something
a single move could take minutes, what if the user tweaks the feed override control during a long move
yeah but you cant feed G-Code into it skunkworks
send it an update SWPadnos
G-code has no provision for updating a move in progress ;)
hence G-Code like
not actual G-Code cos that is big and complex
the softDMC code is great for some situations, but EMC2 really likes to be on control
in control, that is
just the simplest of commands
it is, after all, a machine controller :)
well, if you get it working, let us know
until then, the card counts encoder inputs and reports a binary number to EMC
yeah, It just makes me nervous to have a fully fledged desktop machine running the mill
you can make it as 'safe' as you want.
I'm going bog standard EMC first up and i'll play in my "copious spare time"
so the recommended 'firmware' for most mini mill / stepper configs would be the HostMot2 ?
I'm not too concerned about "safe" more about quality
hostmot2 is the way to go at this point
since the driver is maintained and all :)
ok good, thanks - the mesa will be a new world of learning
pjm your one up on me, this is my first step into the world of EMC
tis scary ;->
ah well, u can be relived that windows isnt in control of your machine, that would be scary!!
(real time control that is)
is there a return to home through job command in G-Code?
i put a 'go to home' button on my axis display
most prefer to go around the job you just made
it moves the table out to the front and the Z up so u can change the job
I'd be tempted to run EMC on the most stripped out embedded OS there is, ubuntu-minimal and then just talk to it via network
archivist, i was thinking the windows version ;->
I use the cnc pc for other work as well
(not that ubuntu-minimal is that stripped out)
nothing minimal in ubuntu
the ubuntu-minimal package is kinda small
compared to a DVD say
the motion control part of emc DOES run on a very very minimal "OS" called RTAI. The rest of Linux also runs on it -- but only when there's some spare time between what EMC's doing
RTAI is just an extension to the stock kernel
its not an OS itself
yes, but when RTAI is running, all of Linux is subservient to it
Linux only runs when no realtime tasks need to run
is all of EMC implemented in realtime?
all the motion control is
the gui stuff is not (can't be)
interpreting the gcode is not (doesn't need to be)
unless you run out of Gcode cos youtube is pulling all your CPU ;->
sure, but then motion safely stops and waits
in reality, the gcode reads WAY ahead and the motion gets queued up.
most gcode programs interpret completely in just a few seconds.
it makes not one bit of difference to the realtime code whether youtube is showing (try it!)
does that mean its all queued up in a few seconds?
tomp: yes for some programs. some things can't be queued past (tool change, spindle on/off, etc)
can the queue be dumped to a file?
tomp: sure, that's sort of what the standalone interpreter does
if all that is so why are there different results for latency with a loaded and unloaded system?
thx thats real interesting
tomp: fire up AXIS and open up the EMC Status window. watch "read_line" when you run a program. that shows how far ahead the program is interpreted. When I run the splash screen, it instantly goes to 423 (last line)
ah cool, will try
Valen: because the computer hardware itself is not perfectly predictable
but what does "load" IE userland CPU use have to do with it if its all perfectly handled by RTAPI?
how fast the ui responds
it's not so much userland CPU as hardware activity (hard disk interrupts, DMA, etc)
certain hardware can occupy the CPU for a long time without it being available to the software/OS at all (like nvidia cards). obviously there is no software fix for this except to try not to trigger that unfriendly behavior
that's why some hardware is better than other hardware for realtime
removing open office makes no difference -- removing the nvidia card makes a huge difference
often, folks who talk about making special stripped-down distributions don't understand this
mmm good point cradek
running openoffice or glxgears only makes a difference because the userspace code causes functions in the hardware to be activated (bitblt, 3D triangle setup ...)
It still seems like moving the PID loop itself out to hardware (which can handle it) may provide some improvements
when you start moving the realtime code, you lose the flexibility that lets us do many neat things, like rigid tapping
so you can have your NVIDIA card and still get a decent cut
why would you loose rigid tapping?
because you'd need to do it in your special hardware now
its just a co-ordinated move
yeah the mesa card
I was thinking that if you have the ability then you may as well use it
ok, your mesa program just got more complicated, and you can only rigid tap if you buy a mesa card
that's not an improvement, IMO
ppmc and mesa need separate rigid tapping implementations, STG can't do it at all, parport - forget it
I'd rather change my video card :-)
tradeoffs are everywhere
I wasn't saying to remove the functionality from EMC
I was viewing it more as an additional driver for the mesa/ppmc cards
then you have many different implementations to maintain, with no benefit that I can see
what do you think the benefit is?
warm fuzzies? ;->\
that will be a hard sell on the devel list :-)
I just see the computer itself being good for handling complex tasks, and the FPGA being good for hard determinism
yes that's why it counts the encoder pulses for us - it can do it FAST
that's a very good task for it
thing is if you offloaded the PID to the mesa card it could also respond as each pulse came in
at pretty much any pulse rate you cared about
we can already get 10? kHz of servo updates with the current architecture - I don't think any faster speed is needed except for _extremely_ specialized machines
Its the difference between 92% and 97% I admit
its still a little supriseing given the personality types in the linux world its not been made "better at the expense of good enough" perhaps
more like the difference between 99.5 and 99.9%
same relative difference ;->
sadly, it takes a lot of effort to design a motherboard, and that's about what we'd have to do to improve things
or get some very very specialized debugging equipment, and probably write our own BIOS
but that would of course require access to chipset docs, which are generally only available vie NDA
debugging toys cost
what would you improve over shifting the motion control into a FPGA?
10 KHz and > sample rates are not too useful unless you are driving a voicecoil/ galvo
motion control in the FPGA isn't a compelte solution
additionally, PID and motion control aren't the same thing
PID keeps something "on track", motion control decides what that track should be, and across multiple "things"
next step is synchronising machines for uber qty of axis
processors inside FPGAs are generally pretty limited, in code space, processing power, or breadth of instruction set (or all 3)
yep, there's that too
would a separate cpu running rtai and emc2, sitting in a pci backplane help the latency problems? the motherboard can be stock and can run any os that can talk to the emc board. this pci card is a bit less than designing a mobo.
what if you need more axes than a single board can support
tomp, I don't know. it's possible
any Java people here?
SWPadnos, I saw some simulation software the other day and largest they dealt with was >200
oh. that's a lot
wow that is a lot!
Having all the loop contol in the PC has many advantages for higher performance systems
If all control is done in FPGA you have the limitations SWP mentioned plus the inaccessibility
Optic, I don't think so (re: java folks)
of the code to a broad range of people
and generally, the code is "precompiled" - ie, you can't change the software that the embedded processor runs without changing the FPGA code itself
(except in rare and more complex cases)
(you should listen to pcwalrus - he designs the Mesa boards ;) )
If the control loop is done on a PC, you have almost unlimited processing power
and a fully open and debuggable system
controls then need their own clock and motion planners and the ability to know how others related are doing
clock sharing is a pretty big topic these days
IEEE1588 is a whole protocol for time sync
seems the way to go
I think SERCOS uses some system tick
which can come from anywhere, to allow for electronic gearing
(or something like that)
john_f may know more about that stuff
one of the toy ones has it after a fashion
(clock sync can alo be handeled by a DPLL in the FPGA that syncs to the software sample rate)
no , can remember the name but I know OIC chips are used
pcwalrus, any ideas on how the pc control loop can avoid the timing interruptions we see ( the 'unexpect realtime delay' issues ) ?
Latencys of 100 usec or so are not as much of a problem for servo or hardware stepgen systems
re you asking about longer latencies?
SWPadnos, I know a local got some cards, have emailed to get the name
my tests showed what appeared to be good systems when tested for hours to go very bad when tested for days. a few milliseconds to tenths of seconds. i dont think others have tested for long periods or reported thier findings if they did.
mmm voice coil driven mill
now that would have a decent traverse speed
tomp are they one offs or do they happen often?
tomp: I leave EMC running for weeks on my lathe and I have never seen the 'realtime delay' error
Valen: teh reports show a max or peak value , i dont recall if several sub peaks existed. i posted the result to the wiki buit they seem to be gone.
yes, i know many people are running without the delay. i say that it is at least not uncommon to see what i saw also. my results were with several different mobos.
Latencies the long would require a buffered motion profile to fix, with all the problems
of splitting the control locus. Dont know where PC motherboards are going latency wise
but I would think tenths of seconds would screw up audio and video as well
they are happy with about 60 frames per second on video
I usually see the realtime delay when I start emc
so anything above that is probably not guaranteed
eric_unterhause1: you will only see the popup once per session
yeah something needs work then...
yes it may be happening a lot, or jsut once ( inrush latency ;)
It seems like my latency measurements are missing something
I retested latency on one here and its changed :(
it will change
12k to 18k
you got lucky one time and unlucky another time
I ran for a long time and abused it as much as I could forst time
the actual mechanism is not always possible to replicate through intentional abuse
pcwalrus a real world question just to make life interesting, I'm planning on using a bank of lead acid batteries (that i can get for cheap cheap) for a 150V supply for the 2Kw controllers, with a ~300W CC/CV supply to charge them back up again, any pitfalls you can see?
only one, the pitfall is having a bank of lead acid batteries
Use good disconnects and fuzes, since you cant turn batteries off...
Do you have very unreliable power or something?
acid fumes causing a rusty machine
trying to understand why you chose this plan
2Kw out of a 110 socket wont happen
You dont need that much power for a reasonably sized servo machine anyway (other than spindle)
power is only in bursts except spindle
how about using the same socket type as either big air-con units or electric cookers?
yeh most houses have a 1phase 220 good for 25 to 30A (iirc)
yes everyday common 1phase 220 can run a 2-3 hp spindle and servo machine
unplug electric dryer, plug in mill
Also you only need voltage but little current during rapids
and current but little voltage during cutting, so total power
I am planning on using mag motors for the axis drives and I wanted to be able to handle the pulse loads
in a servo system is usually quite low
i got lucky, my house had an electric dryer outlet, ready for my mill
hence using the batteries to supply the pulse load and a 300W for the sustained
I can get ~150V worth of 200Ah lead acids for ~$100
Pulse loads during rapids are a bad thing :-)
I was mainly thinking about being able to start the rapid
I'm sure you know already, but capacitors are the traditional way to do that
you need a *lot* of cap to equal a little bit of battery ;->
batteries are 'non-traditional capacitors', one way to get smooth dc is to use a battery
Say you have a 20 peak drive motor, the Hbridge may only require 2-3 A of 150V power
to supply 20A of motor current at 15V and 10% speed...
So unless you have peak torque at full rapid speed
battery banks are a pain because they need to be kept warm, but ideally you want them outside your living/working area because of the hydrogen gas they make
you need a lot less current than you think
sometimes wind-solar energy folks make sealed battery boxes that are indoors but that vent outdoors
cradek: maybe you can harvest the gas and build a blimp
oh the humanity
make a fuel cell
tomp: I so wanted to say that
what are people are using for 150V DC supplies off 240V power?
I also have some experience with battery banks from electric cars
just a transformer
although there its normally a bank of lithiums
a 240-120 will give you more like 170 - very common
ask for 'buck boost' trafo, it can go 240-120 or 120-240 as you like, easy to find
I needed 100v dc, a little harder to find a transformer for that
The mag i was thinking of using
has a 5.5 ohm terminal resistance and peak torque at 23A
V = IR so max torque at 0 RPM is 110V yes?
[15:59:53] <BJT-Work> http://www.lcmagnetics.com/?page_id=37
[16:00:15] <cradek> http://www.hgrindustrialsurplus.com/sub/product_detail.aspx?id=80-415-263&searchtable=1&sortExpression=&SortASC=&pageSize=50¤tPageIndex=0&searchNAP=
back soon having dinners
some have multiple taps so you can fine-tune the secondary voltage
5v to 800v http://www.antekinc.com/trans.html
hmm too small
SW SP3 download 1753 MB!
skunkworks: neat, sure that capacitor is big enough?
75V full wave rectified is close to 100V=
wonder what "EL: 1/60/120/240/480" means
pcwalrus: what I have a bunch of.. :) 160v 20a so far.
no PV, SV like the others - maybe it's an autotransformer (bad for our app)
our local transformer co closed down :( but at least we got some winding machines
Good to have a bunch of capacitance for regeneration dumping (or have a brake V sensor and dump circuit)
Valen: here is a nice cheap one if 2kVA is enough: http://www.hgrindustrialsurplus.com/sub/product_detail.aspx?id=06-271-214&searchtable=2&sortExpression=&SortASC=&pageSize=50¤tPageIndex=2&searchNAP=
Cradek: how many VA is the servo supply on your lathe?
pcwalrus: I'm not sure - the transformer came with it
oooh, 435/200 * sqrt2 = 156: http://www.hgrindustrialsurplus.com/sub/product_detail.aspx?id=07-247-015&searchtable=2&sortExpression=&SortASC=&pageSize=50¤tPageIndex=2&searchNAP=
pcwalrus: the original transformer is single phase (surprisingly) and easy to lift (60lb?)
err, I meant 240 * (200/435) * sqrt2 = 156
derate 50% because of driving the primary at half the voltage, but add a bit because it's rated for 50Hz: probably would give you 3kVA
cradek: did you find one for you mill?
yes I have one waiting for it
jmkasunich was kind enough to pick it up and ship it for me (he rocks)
I forget how it's marked, but the ratio works out (pretty uncommon)
back for a bit
so yeah like i was saying the worst case for a single drive with those mag motors is 20A at 126 volts
I spose a generic transformer could probably be over driven to source that, but if you had 3 axes do that simultaniously
fenn_ is now known as fenn
the best sustained we can pull from mains is 2400W
so its 4x more than your sposed to pull from the wall, excluding running the spindle
thats roughly 2500 VA / motor peak, but 2500 VA will likely run all three axis just fine
Valen: do you not have 240V power available?
australia its the default
240 that is
but its 240v at 10A
why only 2400W then? that's inadequate for many appliances
it runs all the ones we have lol?
the only thing thats wired seperatly in most houses is an electric hot water system
do you not have electric clothes dryers or ovens?
oh yeah and some cook tops
ok you need to plug in to one of those places :-)
those are typically hard wired
yeah I understand
as in the applience comes with bare wires or a terminal block on it
sorry, I didn't mean that literally
I mean you have the power available in your house - you could hook up to it somehow
you see why the lead acid bank sounds nice in some respects
if i can get them for ~$100
thats about $60 US atm lol
not really, when compared to a $50 transformer with no maintenance or storage problems
how much can you pulse overload a typical supply by?
as in the wall
saturating the transformer is the issue - if you do it too much, it will overheat
Your spindle will be the real energy drain
2.5 KVA will run your motors just fine
i have no problems with the sustained load, thats going to be 200W or so per motor tops
its the peak that worries me
capacitors deal with the pulses
I bet accel current requirements aren't as bad as you think
how heavy is the machine?
transformers and diodes can deal with overloads
direct drive servo motor
oh, so it's tiny :-)
I am still looking at pulling 4X the rated current from the wall on a burst excluding the spindle
Valen, peak pulses from the mains are way bigger than 4x
Peak load will be starting from stop, so the power supply will not see it (only the motors)
The Hbridges work as switching power supplies so you can get your 23 stall current with
only a few amps of primary power
its 23A at 126 volts
No its not...
12A at 240
5.5 ohm terminal resistance
No No NO
23 * 5.5 = 126
V != IR?
doesnt work like that for inductive load Valen
Not under control
so how do you get 23A without putting 126 volts through it with 5.5 ohm terminal resistance?
otherwise there is no way of getting the peak torque out of the motor
You do but only for VMotor/VPower duty cycle
you never have the peak for that long
I understand its "not that long"
but "not that long" is different to "never"
any time its at peak its not under full control
why not? I assume that you should be able to hit a decent % of peak otherwise theres no point having it
so say 18A at 100 voltd
the ting is that you never load your machine while doing rapids..
so at 10% speed and peak torque your HBridge is on for 10% (say 5 usec) and off for 45 usec
so the average supply current to the bridge is only 2.3A.
at 10% speed it needs to be > 126 volts in order to *get* the peak torque
I am not looking at peak amps and peak volts and multiplying
the high frequency peak currents are supplied by Skunkworks gigantic capacitor
It is (for 5 usec)
PWM doesn't invent power
power into the bridge = power out
volts * amps = volts * amps
Yes but you never need peak torque during rapids
you need peak torque to get up to speed...
how do you start the rapid?
at some stage you need to accelerate
at 0 speed ;-)
for only milli secs
calculate how much power goes into accelerating your table to your rapid speed..
(its not much)
If you hit top speed in a second its alot for a cap to supply
even in a quater of a second
(assuming the top speed is lower and the power output is constant)
you would be surprised at the energy available in agood sized cap
You can ony get 1/2 peak at 1/2 full speed
sorry 1/2 peak torque
peak torque occurs whenever you are at peak amps
its the number of electrons moving past the magnets that provide the force
more amps = more force
You cant get ther when the motor is moving (BEMF)
peak torque with a stationary motor
you need more volts at speed to get the same amps to counter the back emf
untill you reach the peak voltage or instantanious power limits of the motor
Yes peak current is stationary only
at i/2 speed you only have 63V to drive your 5 Ohms
unless you raise supply to 126+63 volts
which one never does
and what makes it instantly explode if you are below the peak power rating of the motor?
ok lets scale it all the way down
you have a teensy servo drive that saturates its iron at 1A and needs 10V to do so
so peak torque is at 1A
you wouldn't think twice about running that motor with a 20 volt supply and putting 15 volts at 1A into it
your bridge doing a nice little step down
if you can overload the transformer in the wall by 8X you can do the same to the motor, the only difference is one has a set of brushes in it
actually with regards the "explode" commitment
the primary heat source in an electric motor is I^2R
Well for brush motors especially overvoltage is not a good thing
but you can have a motor that will have a much higher maximum voltage than its stall voltage
IE current squared * resistance
thats the source of 90% of the heat
so 126V at 23A generates the same internal heat in the motor (to a first aproximation) as 150V at 23A
the excess energy in the 150V case is that which is actually doing work and going into the job
at stall the motor is perfectly inefficent and is just wasting all that energy
Sure, thats the normal situation stall is usually 3-5 times continous rating
All i'm saying is that if you can maintain stall for .25 of a second
you can have that same current flowing and bring the voltage up as the item gets moving
[17:07:00] <skunkworks> http://www.electronicsam.com/images/KandT/servotag.JPG
look at the stall volts...
this motor is made to take 150v to get 1200rpm
you can sit 14 volts across it stalled permanently or 59 for a short while
so you can push 16.2 A through it continiously at any voltage up to 150V
yes - but at 0rpm for the motor to take 16.2a - the voltage across it is only 14v
yes thats correct
So at stall (0 speed) the HBridge would draw about 1.6A
if you were to operate at its continious rating at stall
and about 6A peak stall
the *motor* current will be 82 amps and the supply current will start off at 6A
skunkworks: it's too bad you dont have the time constant
pcwalrus: now you lost me. When I have the clamp on amp meter on the servo - it is taking 16.2a at a stall (what the current limit of the h-bridge is set to)
but if you keep the same torque as the motor speeds up the supply current will increase
so you can run that motor up to ~1/3rd its peak speed at its peak torque
sorry 82 *59/150 =~30 A but not 82!
the max stall current on that motor is 82A
ffs i understand peak
for that to be useful you need a time constant...
it means maximum
true, typically i believe its around 10 seconds
Skunkworks put the ampmeter on the hBridge supply also
ok the 2 cases
pcwalrus: I remember it being pretty close to the same...
but I could be wrong
in both cases the motor will be putting out maximum torque
in effect we are seeing how fast the motor can accelerate a mass
Skunkworks: with 150 v supply?
pcwalrus: this is a fast decay bridge. (both bottom fets are off)
when the pwm is off.
we do this without breaking the maximum current or maximum voltage specs
or is that call slow decay? I don't remember
Thats fast decay (max ripple)
so the servo gets shorted thru the bottom 2 fets when pwm isn't present.
starting off, motor current is 82A, motor volts are 59V motor power = 4838W , H bridge power = the same, if its supply voltage is 150V its amp draw is 32A
now we assume its .25 of a second later and the motor has accelerated somewhat
OK thats slow decay
pcwalrus: so - I would assume that is why current in is pretty close to current out?
No you should have much lower supply current then motor current at stall
the same 82A now at the maximum voltage the motor can handle, motor power is 12300W, (of which 8000W is going into the load, the heating in the motor is the same) supply current is now 82A
well that is interesting. I am pretty sure it is close to the same.
(at peak torque and .25 seconds later, your at rapids speed)
yes, and at that point your power draw is going to drop off to practically nothing
Thats the point!
the point is at the end of that .25 of a second you were pulling 12300W
which is 82 amps from the supply
You can never get 82A from the supply
you can if its a stack of 200Ah lead acid batteries ;->
its a fairly stiff supply ;->
pulling 8Kw from that battery bank i'd expect it to sag ~10v
and what kind of H-bridge are you going to build?
that can hadle that?
actually i was going to use the mesa 20A 2Kw supply
ok - so why are we having the conversation? ;)
its within the limits of that (if i tone it down to 20A) and limit the top speed of the servo to 2500RPM or so
Black Mesa. research lab ?
because you were all saying that a 300W transformer is going to run my 8-16KW worth of peak load ;-P
You will never see the peak load
Unless you use max stall torque for rapids acceleration
(probably a bad idea)
i was going to use something near it
not peak obviously
I just don't see the point in having mismatched equipment
2 KVA should be plenty
if the motors, ballscrews and controllers can handle it then i assume i should have a supply to match
I'll keep an eye out for one, i think they are a little rarer in australia lol
theres just fewer people
anyway its 3:30 AM here and the missus is pissed
catch you all in a few hours
maybe gave up? http://www.cnczone.com/forums/showthread.php?t=77819
didnt see what software he failed with
maybe he gave up CNC-ing :)
he had been working with emc but had lots of issues
yep he had lots of issues
what was his nick in here, or did he never come in here
I don't remember
for some nothing works..
and for others it just works...
hmm pc and latency
lerneaen_hydra: Long time no see...
skunkworks; hey there, yeah it's been a while since I was active here, though I've been idling for a while
still using your little lathe?
yeah, it's working just great with the bleeding edge CVS snapshot I've got on it (knock on wood), though I haven't really used it as much recently. I've done more in the way of electronics. Still, I use it now and again
how goes EMC2? any new slick features?
a whole mess of 'em: http://cvs.linuxcnc.org/cvs/emc2/debian/changelog?rev=1.62
a "short" feature list for 2.3
any new cool machines that people have made? anything new or unorthodox?
I haven't seen much like that lately... stuart's doing his 5 axis machine but that's not too unorthodox
stepconf: /me contemplates adding a bug, should read ini file and edit not its own stepconf file
any progress with the PUMA-style robots? IIRC jepler was doing some simulation of one in opengl
archivist: that's pretty much impossible, I think. consider the HAL stuff it writes and that you might change.
lerneaen_hydra: skunkworks has one that he's going to have going any day now
impossible or just damned difficult
any day.. any day..
in fact, he's going to have it running and bring it to fest in May :-)
he better get started, fast
with or without smoke
I tell you - no smoke
hmmm. is there a logo that says "smoke inside" yet? :)
an enemy let the smoke out of one of my chinese multimeters the other day
one thing I was thinking about a while back was the choice of PID for closed loop control, I take it there's nothing that says that PID is the optimal regulation system, but rather one chosen for it's proven track record and relatively low calculation cost?
skunkworks: "Price?" "PM'd you." "Thanks anyway"
SWPadnos; haha, that would be great
it's simple, reliable, and proven. I'm sure it's also not the only thing that can be used
lerneaen_hydra: we use PID+FF, fwiw
FF = feed forward?
we have FF of the first couple derivs
oh, cool. how is the system modeled for feed forward?
helps a ton
oh from the PID model?
+= K* for each of commanded position, ddt, ddt2
K*position is pretty useless, but K*vel and K*accel are very useful
oh, ok, that's interesting. how well does a correctly tuned system track? more than good enough (as in far less than any possible system's stability/accuracy)?
any closed loop control that can move a wide variety of mills at accel, rapid speed, decel, and stay within a few encoder counts is sure good enough
oh, a few encoder counts? that's really good
yeah my results are very good. I think on my lathe I have the following error trip set at .002 inches and it rapids at 250 inch/min (pardon my inches)
whoa, nice. I take it the following error at lower speeds is far less?
cradek: what is your error at say 10ipm?
"a few" is relative - I have 409600/inch iirc
if you've got an encoder with a high enough resolution that is
skunkworks: .0002 I bet
not bad at all
the .002 is set so high because there's a little spike of ferror when it jerks (beginning and end of accel regions)
that's hard to get rid of without a better trajectory profile
oh, so it applies an infinite da/dt?
right, that'll cause some (possible) problems obviously
the problem is very small on all machines I've worked on so far
on an extremely high accel machine it is worse I bet.
oops, my resolution is 204800/inch
mine will only be 60960
[20:04:00] <cradek> http://timeguy.com/cradek-files/emc/no-backlash.png
I rigged a glass scale to X to get this plot
red line is the resolver, cyan is the glass scale
was that the ballscrew you re-loaded?
.001" per div
oh, uh, resolver, that's a cos/sin analog output from the drive axis right? and glass scale is a quadrature-type length sensor?
no, this is the good one :-)
that's not a whole lot of backlash
the resolver is on the ballscrew itself on this lathe - very precise
no, it has very very little on X
that's under 20 microns in backlash, that seems suspiciously low
it is real
I think it's less than that, actually
consider that you need to read the value from the glass scale as it changes, which is the right side of the up or down step
oh, true. you need a better glass scale
do you use both sensors when running?
22:55 < cradek> I rigged a glass scale to X to get this plot
that sounds like testing only :)
I might actually have my h-bridge working the way I want..
If that is exciting
how was it working when it didn't work the way you wanted?
started out with too much noise in the logic. Then the current limit was not working great. then I hit the limit of the mosfets I had..
so I just did the smoke test of 160v/20a and so far so good.
that's quite a lot of power
how's the current limit work? series resistor somewhere and some amplification and averaging?
mainly comparator comparing the voltage across the sense resistor against the reference voltage
messy schematic http://www.electronicsam.com/images/KandT/servostart/schem/latestcurrentlimit/latestschem.png
oh so it's just an ok/not ok current sense
ended up adding 'blanking' also so it doesn't see turn on spike of the devices.
it is cycle by cycle current limit. - current trips - has to wait until the next pwm rising edge before the current trip is reset.
oh, why use gate resistors? EMC? burning out the mosfet driver?
It was just to slow the turn on just a bit.
why would you want that?
mosfets ring if they are turned on too fast.
puts some nasty noise in things
um, what? oscillation where? gate capacitance and wire-to-gate inductance LC resonance?
what type of risetime do you have?
680ns on and 270ns off. All part of the gate drive
copy and past error
I am actually using igbt's for the final solution
oh, do they get hot?
I'd assume that with about .5µs for rise/fall time and say 100µs period time then you'll dump 16W in them if you've got 20A and 160V @ 5khz
they get slightly warm so far.
[20:26:23] <skunkworks> http://www.electronicsam.com/images/KandT/servostart/schem/latestcurrentlimit/right.JPG
oh, that's quite the heatsink and capacitor
surely the stray inductance in 15cm wire isn't that bad?
well.. off to bed for me
good night all
* Optic thinks about going
anybody on that can answer a stepconf question, specifically how to set home_ingnore_limits?
I have a switch on each end of the axis, bot wired to the same pin. One end I want as a limit the other end as home.
you can use the home switch as both a limit and a home
But how do I do that with stepconf
let me load up sc
if I answer both limits and home I get a joint error when it hits the home end
is your home switch not near the end of the travel?
yes it's near the end of travel
then it is working if you get an error when you jog into the home/limit switch
the problem is when do a HOME action, it doesn't ingnore the limit action of the switch
ok, now I understand
looking at the documentation there is a variable home_ignore_limits that is used as a part of the homing sequence I suspect is the variable that stepconf needs to set
to the proper state
are you sure you have them wired correctly? homing joint0 gives a joint 0 error...
2.2.x or 2.3 beta?
look in your ini file for ... let me look it up
I'm away from the machine, it's at a different location
no internet connection at the machine
in the ini file make sure you have HOME_IGNORE_LIMITS = YES in each AXIS section... should be one section for each axis
stepconf should do this automagiclly
evening, i have limit switches at each end of the travel on X, Y axis and i have HOME_IGNORE_LIMITS = YES, HOME_SEQUENCE = 1 in my INI
thanks, I'll look at it and get back with you in ten minutes or so
pjm one should have home sequence 0
ah yes Z is homed first, idea is that it moves it up out the way of the table before X,Y move around
numbers start with 0 and there may be no unused numbers.
hmmm, that pasted funny
heh, yeah i have z=0, x=1, y=2
you can have x and y home at the same time if you want
I like to watch each one
ah yeah i did wonder about that, just set the sequence on both to 1 for example?
I can imaging some fixtures changing the homing sequence
cool, i didnt know that. actually i found in my boxes of crap, 3 of these inductive position sensor things, so i'm gonna try one out as the Z home switch
* BigJohnT wanders off to check on the cat
they are tubes about 75mm long with M10 thread around them, a plastic window one end and some connector the other, when u put ferrous metal near them the light comes on ;-)
pjm do you have the needed electronics for those sensors
sounds like a prox
well i put a meter on the output, and there is a line that toggles to 12V when near metal
co-incides with the LED coming on
ah proximitry not lvdt as I thought
so probably just run it into an opto and logic out into the card
hmm just looked on ebay at the prices these mitsubishi PLC's go for! wow, it would fund my mesa card plus a couple of break out boards with optos etc!
some fleabay prices are way too high
yeah! well i'll stick one of these on and see what happens
hopefully it will go far too high!!
i found a error in my wiring tonite, i missed a shield ground connection
the sympton was quite interesting, on the Z axis i have up/down buttons
the noise cured now?
and starting the spindle at 3000rpm made Z move down 5mm or so
I looked at my ini file and home_ingnore_limits = yes. Problem is when it's at home it gives me a "joint 0 in limit switch error" and is unmovable
I have to manually move it off "home" which makes "home" worthless
Guest247 i recall having a simiar problem when i set up my mill, it was sometihng to do with the homing direction i think
emc is 2.2.8
so it travels towards the switch, backs off a bit, slowly travels towards it again, then backs off and rapids to a datum
if I set it up as home only in stepconf it's fine, it's trying to use it in conjunction with a limit switch on the same pin
that is the problem
one sec just looking in my config
so in the .hal i have net both-home-x <= parport.0.pin-10-in
then net both-home-x => axis.0.home-sw-in
net both-home-x => axis.0.neg-lim-sw-in
net both-home-x => axis.0.pos-lim-sw-in
in your ini file is home_is_shared set?
let me check
no i dont have that in the file
I'll look at my hal file
my last set of backups of the configs are at http://pjm.dyndns.org/cam/pjm_emc2_configs_230109/configs/my-mill/
if u want to pick through
its a stepper machine with limit/home switches each end of X,Y travel, and Z+ travel
my hal is setup the same as yours
ah ok good
yes but yours works
so when u home X for example, which way does the table move?
i think my initial problems were to do with the direction
I defined my home as -.5 not zero I wonder if that could be it
as that may be past the switch?
no the switch es defined as -.5 also
that should be ok then
i thikn the home and limit switch positions can be defined anywhere in terms of position
I could modify the hal file to disconnect one of the limits, but I would like to do it via stepconf rather than manually
btw is the homing speed slow enough?
so the mass can stop in time etc
i smashed a few microswitches during the initial learning process
I tried various home speed setting with no difference
thanks for the help, I'll go try some other things
ok np, check the max / min limits
and the home offset / home =
Guest247: did you make any headway?
ok i need to hit the sack, its midnight already, catch u folks tmw, gn all!
no not really
does it error on the first contact with the home switch?
I'm not sure I can check
the basic is it travels toward the home switch at search speed then backs off then goes back at final speed (slower) then moves to home position
so that is three moves
it does it after the 3rd move
the move to the final position. did you tell it that home was just a bit away from 0?
hoe is defined as -.5 not zero, same for the position of the switch
does minus move that axis away from the switch?
no plus moves it away fron the switch
axis is defined as -.5 to +x inches
make your home position 0.5 then
switch is at the end of travel (not absolute end)
not the axis limits but the home position
what do you have for the home switch location?
the actualy axis limit is set to -.9 home switch is defined as -.5
if the switch is at -0.5, you could just make HOME_POSITION=0.0, and HOME_OFFSET=-0.5 (or +0.5, I don't know which way the sign goes)
I don't think there is a home offset in stepconf...
this will move to 0.0, which is off the switch, as the last step in the homing sequence
no, I don't think the homing parameters are in there
actually, they are there in 2.2
home switch location, search vel, latch dir, home location
is home switch location really home offset?
or at least in 2.3 beta (I'm not swure which one I compiled here)
I bet it is
I'm thinking your right
what is the difference between home_position and home_offset
one of them tells where the switch is, the other tells EMC where you want that axis to move to after homing
so if I don't want it to move off of home I can set it equal t the home switch location, correct
my switch is located at machine -.5 inches, home_position=-.5, home_sequence=0.5
if you don't move off the home switch, you can't also use it as the limit switch
my switch is located at machine -.5 inches, home_position=-.5, home_offest=-.5
thats the problem
HOME_IGNORE_LIMITS will ignore the limit switch while homing, it doesn't ignre the home (and limit) switch the rest of the time :)
thats the way it's acting
so I need to set home_offset to something slightly away from -.5 like -.3
if the machine isn't very slow, you could just set it to 0.0
a huge thanks!!!!!!!!!!!!!!!!!!!!!!!!
moving 0.5 inches shouldn't take too much extra time :)
yea! SWPadnos to the rescue
strange. I thought you gave the same answer before I got here ;)
sometimes I speak in tongue
He did, it was the "if you don't move off the home switch, you can't also use it as the limit switch " that turned on the mental light. Problem solved, thanks to all
cool. have fun with it
see you later
have fun storming the castle
too late he is gone
yeah, I noticed :
"The Princess Bride"
see it, it's a great movie :)
* ds3 had pictures of a mob with pitchforks and torches assembling outside of a castle