leito14, the wait mode 0 (immediate read or something) will just read the state of the pin
that value will end up in #5399 I think, and you can then compare it to something
thank you very much, now i understood, i will try it and i'll tell you
I hate plates that get hotter then the food in the microwave..
cradek, tort.ngc is getting a workout testing a new stepper config... not sure I believe drives timing specs... sometimes stepper finishes 1/2 rev (or multiple out of position)
LawrenceG, what drive?
any interface electronics?
(breakout board, optos ...)
exploring accell and top speed settings to see if there is a stable point....... yes 74ac245 buffer chip
I need to scope the parallel port pins.... may need stronger pullups if the cable is giving some crostalk
I have had good luck with the oem650's (running right from the printer port)
ok, the '245 should be fine since it's got negligible asymmetry and very low propagation delay
vs. some opto thing, which could be several microseconds or more
skunkworks, active low or high?... I am assuming tep pulse is active when current through the internal opto (I source current from 245)
yes - active high
this is with the 650 running y (front to back)
[01:36:08] <skunkworks> http://www.youtube.com/watch?v=a_OUNLruaVQ
the other 2 where the parker s6 drives
(they have thier own power supply which is nice)
I dont have a load on the stepper yet and have been really pushing it to see where it breaks.... could also have a resonance issue... I should hook it up to the table to give it some damping
what microstepping? I usually run 1000 steps per rev
yea, 1000 seems nice and smooth without getting crazy step rates
[01:40:20] <LawrenceG> http://imagebin.ca/view/9FEC8d.html
I don't think I have ever seen resonence problems with the 650s without a load
LawrenceG: someone pointed to your plans for that breakout board on cnczone. They really liked it.
750 is supposed to have a resonance suppressor, but I havent played with the internal pots.... the drives are off ebay so who knows what has been tweaked
cool.... it is a good fit for my lathe/mill
[01:43:50] <skunkworks> http://cnczone.com/forums/showthread.php?t=72956&highlight=breakout
cool... the BOB makes hookup simple.... it is not isolated, but the drives are.... a couple of optos used for control power feedback and an optional input (probe)
and hockey puck ssr for the other isolation works well
Does anyone know if it is possible to use EMC with a controller card like a Galil 1040?
it is not possible
I'm assuming that the specific card you mentioned is a motion controller card, probably with a DSP on it or something
or a 68020
it is a ISA slot motion control card that uses its own gcode like commands, right now it is running software made in qbasic that converts normal gcode to its version and sends it to the card
yep, that's definitely out
can't use it
does emc only do step/dir or is it possible to do servo driver signal (analog)?
it's meant for servo control
but with a dumb interface card (one that doesn't try to do the actual trajectory planning itself)
what kind of hardware do you need to get the servo signal to the driver?
[07:13:54] <SWPadnos> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?EMC2_Supported_Hardware
here's some info on why the Galil card won't work (though I think there's a better description somewhere): http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Emc2HardwareDesign
if you already have encoders on your machine, then you probably don't need more than $350-$400 worth of interface hardware (maybe less)
you shouldn't need to replace your drives or motors
good luck, and good night (past my bedtime here :) )
the machine has dual encoders, one on the motor and a linear strip, is it possible to use both?
yes, sort of
just write a kalman filter
or use dual PID with the I term fed by the linear encoder and the P/D/FF terms fed by the rotary
the current card just uses the second one to check for movement error
SWPadnos: you type scary fast sometimes
if they are out of sync it shuts down
you could set that up with EMC2 as well
well I will let you go, thanks for the help
jst_home__ is now known as jst_home
jst_home is now known as jst
jst is now known as jst_home
its morning! damn that means work
enugh work for me this week (3x16h at work)
now relax and making documentation ;)
* archivist cannot imagine documentation as relaxing
in a few weeks we will start building our first plasma :D yay ! will se how EMC can handle that ;P
archivist: ever used opencascade?
for a few minutes only
I'm wondering about http://www.opencascade.org/support/products/dataex/solutions/solstl/
* archivist waiting for firefox......daily/weekly restart time
alex_joni: what do you think about shortcuts in pyvcp ?
I mean keybard shortcuts like Ctrl-W binding to button
micges: not sure they will work
does pyvcp have focus together with AXIS?
on jogwheel mouse have binded wheel to moving it so then keys will also work
I don't think that focus is in pyvcp
then how does ctrl-w work?
its just example
every widget has "root" argument that is frame where they're packed so must be way to find root_window argument
micges: sorry, don't know enough about this part of emc2 :)
ok, sorry for bothering :)
hi, i have troubles with m66 function, if anyone can help please i will be thankful :)
just ask the real question
the thing is that when i use the m66 with l0 q0 it says an error with zero time out
but the l0 mode is for no waiting
so i can't make it work
IRC is not instant, hang around
sorry, i didn't know
depends whos awake and not otherwise engaged
Claudio: what version you're using ?
Claudio: use M66 E0 L0 Q1
it will work
but it will wait 1 second?
yes L0 mode has bug in 2.2.8 that was fixed
you must use Q1 to make it work
but notice that will pause for 1 sec
yes, well what i need is to use the m66 input but without pause
can i use the analog input for this ?
can you tell me for what purpose then maybe we will figure out some resolution
well, i need this because i have a cylindrical grinder, and i need to do not only cilinders, im trying to use the machine for make lobes
or anything with shape
and i need to send a digital signal from a measurement unit (apart from the machine)
but this has to be in real time with minimum delay
when i use it for cilindrical shapes, there is no problem... the problem comes out when i need to sycronize the spindle with the X axis (the chariot) to make a complex shape
i don't know if i was clear
Claudio: I'm not native english speaker, I do not understand first sentence, can you write it different way ?
yes, i'm not native english spekaer neither, may be it was my mistake let me redo
Claudio: what is that signal for ?
is for tell to the machine when to retract the axis
you test it in gcode ?
ok ignore last question
yes, it worked only with cilinder because is very simple program, but when i tried to use it moving the spindle and the axis together it delays
for make it work you may download source code and compile it
or wait until will be new version release
[12:36:56] <micges> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Installing_EMC2#Getting_the_source_with_CVS
[12:37:29] <micges> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Installing_EMC2#Building_emc2_realtime
you mean that i have to recompile changing the m66 function for make it work as i wish ?
if you can't wait
Claudio: try M66 E0 Q1
without the L0
brb, i'll try and then i tell you thanks for everythin
eric_unterhausen: what is a kalman filter and how does it relate to a rotary plus a linear encoder on same axis?
i dont see how the two signals would be considered 'noisy'
eew i dont think i could do all that math in realtime
[14:51:25] <tom2> http://en.wikipedia.org/wiki/Kalman_filter
ew thats orrible maffs
makes me dizzy
but it does sound like a way to estimate the forward velocity of edm which could more accurately determine a nominal feed
its always weird to use a solution like that, you have to 'let it go', watch, then implement the control. occasionally you need to open the loop again, esp if you 'think' the process is no longer optimum.
heh that idea falls into positioning oil drilling rigs on ships, adapting for roll yaw pitch AND surge sway and heave (positional variations i never heard of before)
some fast kalman filter code for the parallax propeller, used to smooth a 5dof acclerometer reading http://obex.parallax.com/objects/239/
I don't suppose a single command can span multiple lines in a HAL file right?
maybe with a continuation character?
Hmm, I'll have to try it.
it won't work
geo01005, the maximum command length for halcmd is 1024 characters (maybe 1 less, I don't know if that includes the terminating NUL)
you can't use "\" to combine lines in a hal file, but you could in a shell script
that could be a useful addition, but I don't think anyone is working on it (and it's not as simple as it sounds)
[17:48:20] <alex_joni> http://www.theregister.co.uk/2009/02/20/strap_on_autopilot_nissan_vs_us_navy/
well.. I'd stick around if I really need something
I would too...
I mean, a bit more than 3 minutes
well - If I cannot get an responce in 2.4 seconds..
alex_joni has kicked skunkworks_ from #emc
that was less than 2.4 seconds :P
hmm.. running both dapper and lenny on this laptop is a bit much
(both VMs under win)
heh - I thought I had closed #emc by accident.. I didn't know you kicked me ;)
I'll make it more obvious the next time :)
[19:44:28] <alex_joni> http://imagebin.org/38897
hello, i need to use a lathe with x variable movement combined with the spindle, (without abrupt chages of spindle velocity or direction) i was wondering if i can use a DC conventional motor for the spindle with a H bridge and an encoder, making the pwm with the emc, i wait for your answer and since now thanks :)
alex_joni: any latency numbers?
skunkworks_: on the VM?
I can get you some, but they are irrelevant anyways
Leito: should work ;)
because i need it to make excentric shapes with the X joint combined with the spindle
leito: theoretically I think you could do that with spindle synced motion...
Leito: sounds like you want to use a A-axis, not a spindle
i hope it works, i will try this weekend and see what happens
yes, i was reading about that
how fast should it rotate when you do this?
like 50 rpm
but it would be easier with A as alex says
not so fast
i need constant speed on the spindle so the X axis can make the excentric shape
the index input pin is for the Z number of the encoder right ?}
this is a bunch of spindle synced motions strung togater.. (not the shape you want but shows the change in diameter and such)
[19:55:51] <skunkworks_> http://www.youtube.com/watch?v=ACvRilmIKDQ
Leito: you would want more than 1ppr though..
[19:56:49] <skunkworks_> http://jmkasunich.com/cgi-bin/blosxom/shoptask/fusee-1.html
yes, that's very similar, and that lathe is working with a spindle as the A axis?
no, that works as a spindle
if you want to make round things, then you can use a spindle
even if the shape along the rotation line changes
if you want to turn oval things, then it would be best to use an A-axis
so i can use a spindle, because i don't need direction change
and if i need to make a lobe for example? better the A axis ?
for a camshaft
I think A-axis is better for that..
it would be better to use the A axis for that too ?
with an active spindle then ;)
not sure how turning a CAM works
might work at slow spindle speeds.. but your X axis needs to be fast
yes, i plan to use a screw (the ones with the recirculating balls) and a servo drive
for the X axis
and if i use the spindle as an A axis, can i use it like a convetional spindle, i mean,, can i turn it on and off, like the spindle?
* archivist wants to know the result, as milling cutter making needs similar setup
or do i have to program every time that i want to turn the spindle on
you could have two setups for emc one lathe with normal spindle and another with spindle as A
so when i use the wizard the mode XYZA is for a lathe with A axis?
the wizard won't work or DC motors + encoders
right, i don't use it anyway, i mean im trying by now but when i definitly make my machine parameters i will use the halcmd
so i can set the A axis as a spindle drive and use the pins of the motmod like (CW, CCW, STOP) for control the spindle while i'm not running in auto mode ?
good evening.I have configure the 4 axis, axis A.i have declare the A axis a ANGULAR axis, but when i move the motor one turn the motor not is 360° but 1.0 because?
maybe scale is not ok?
hello alex. the scale encoder is 4096 (1024 x 4)
one turs is 4096 count
ok, so if you turn the axis by hand one turn you see 4096 counts in emc2?
output scale ? output offset?
yes one turn is 4096 in emc2
wouldn't the encoder scale be 4096*360...
for read 360 i turn 360 turn the motor
the output scale is 10.0
the ofset is 0
last thing about the spindle, if i use it like the A axis can i handle it as a spindle?
what's your input_scale?
Leito: not on the same config
Leito: you'll have to have 2 different emc2 configs, and run them based on what you need to do
i got it
well this weekend i will try to make it work, thank you very much for everything :)
u say 360 motor turns = 360 degree on idxer so 1 turn = 1 degree
i tomorrow prove change the encoder scale at 4096 x 360
just ask whenever you have a problem
motioncontrol: your encoder has 4096 counts / rotation .. right?
thanks, i hope some day i can solve other peoples problems
and you have the unit = 1 degree
yes 4096 for rev
but one rotation is 360 degrees
so you have 4096 counts / 360 degrees
so you have 4096/360 for scale
no , one rovelolution is 1.0
what do you mean one revolution is 1.0 ?
i thing 1.0 degrees
motioncontrol, you mean, one full turn of the motor will give you 1 degree on your indexer, so there for geared 1 to 1
any circle I've encountered in regular mathematics is 360 degrees
normaly on another machine the angular axis one turn the encoder motor cout 0-360 °
I didn't understand that
motioncontrol: lets start with basics
you have a rotary axis (A axis)
you move it with g-code : G0 A0 (moves to position 0 degrees)
i command in jog the a axis.when the axis complete one turn the axis position on gui is 1.0
G0 A180 moves to position 180 degrees, axis turns 180 degrees
yes, because your scale is wrong
ok tomorrow i change the scale for prove
you told it (scale) that for 4096 counts there is one unit of travel
SCALE = 4096
maybe need change that output scale is 10.0 to output scale is 1.0 so 4096 ppr = 1unit
that means 4096 counts / unit
robh_: output_scale is not used in the configs I know..
and even if it is, it's used for gain on the PID / dac
motioncontrol: what do you think is the counts/unit for the A axis?
4096 counts = 1 revolution = 360 degrees
it unit is 1 degree -> 11.37777 counts / degree
SCALE = 11.37777
motioncontrol: does that make sense?
hes probly playing now lo
BTW, i like the new DRO tab, with DTG
if it had the currnet line of code being run/executed and next line to be ran after, it would be excelent then, makes it super quick and easy to program prove out with a clance at the screen, see if rapid move is going to cut part in half or clamp, or all is fine
or make it so one can make the code window bigger and readable in away
it would be nice if the font size of the code window was adjustable but I don't know how to do that.
some times i wish i could just make the box little higher too
briefly in the past there was a 'handle' you could use to drag it. it didn't work right due to tk problems so it's gone now.
or make it a config var, the height has bugged me a few times
when stepping a loop then its a real pain not to see a line outside sometimes
if i was to add up some info on G52 (how it works what cancels it etc) would it be possible to see it coded into EMC some time? as G92 can be right pain to use G10 is ok but not as quick and derty
yes, or a pointer to documentation already written
the wiki is a good place for that
ok dum q, but how can one make a new wiki page? i see how to edit one not make one
beware of copyright though, please
just add a link to the new page somewhere, and follow it
(not a dumb question)
you put a word into a new page, and if it's spelled LikeThis, it will become a link to create that page
i will describe as best i can to how our fanuc machines use and do it, i understand on copyright side
]it would be great to just have a big repository of machine manuals, but the evil defenders of our freedom to innovate might disagree
or something like that
the hard part of any new offsetting would be how it interacts with G10,G92
if it is just another way to set one of those existing kinds of offset, it would not be very hard to add. (I have no clue what G52 does)
it seems like it's more or less G92
robh_, didn't you call it "workpiece offset" before?
how is it different from G92 then?
well that's what I don't know
everything I know is in the irc logs ;)
now robh_ sees his formidable task!
yea works just like 92, but it is incremental and canceld on program reset or change of G54 G55 etc alot more forgiving over 92 where 92 stays till u put it back i will put it all into wiki better
no i never added page or info before, ill look at that page might be good place 2 put it
canceling when you change G5x is the only substantive difference there, I think
SWPadnos, "repository of manuals" thats being discussed in a few places seems no official archive exists except for a few specific ones
I have a couple (3?) but for very (very) old stuff
yeah, and they're probably either sxpensive or illegal, sadly
nothing remotely modern
each G52 replace the last one, and does not add to it
ok, that is different
easily worked around, but still different
G52 x0 y0 z0 .. will cancel and reset them, machine does not have to go there
SWPadnos, but its legal to state you have a copy of the real thing (but dont mention how the user gets a copy)
to be clear, I was talking about a pointer to already-online documentation, preferably on a manufacturer's site. there is lots of it if you can find it.
archivist, I'm sure there are ways of skirting around the laws. we don't want to be in aposition to use any of them
shame you cant access fanucs manual online
using the information is ok republishing is not
we have a spare user and operator fanuc manual we would gladly donate, but who would get it etc lo
archivist, of course
whichever poor sap ends up putting features in the interpreter ... oh wait
excuse alex for my wait.yes i thing the scale encoder i set 11,3777
I was going to suggest sending it to cradek, jepler, or alex_joni, but I didn't :)
i belive its a fanuc 10M one so nice universal one
I would find it handy if you really do want to give it to the emc group.
I have some information for fanuc CNC
its nice as it does say what other M and G functions u need for the code/cycle to operate, and what cancels it
cradek, i will dig it out and get in toch when iv found it then
[21:47:37] <cradek> http://article.gmane.org/gmane.linux.distributions.emc.user/10436
I mean user manuals & such
but probably not for republishing ;)
looks like the lathe manual I have is Fanuc 0-TC. it's handy sometimes like you can see here.
hehe good job he did read the siemens manual, blumin ppl using B as radius and Rs for varible programming
has any one used EMC on an EDM yet
RTAI latency test works in my Debian Lennt + 126.96.36.199-RTAI + RTAI 3.7-test1 box but emc-trunk don't... This is the output: http://paste.debian.net/28842/
emc cannot 'backup' through the gcode yet - but it does have a neat pin call adaptive feed - which can slow or stop movement from lets say arc voltage.
yes, no reversal, but realtime feed adjustment
cradek - can you imagine emc being able to reverse thru gcode - adaptive feed pin could be +/- :)
skunkworks_: no, I can't
I can imagine it, but I can't implement it :)
lol, ill stick to to my manual tuning of the generators for now hehe, we have two Spark Erosion machines, 1 grate big beast, one little one
anyone still have the pics of the maple leaf that [mumble] cut out on his emc2 wire edm?
hey - I remember that...
ha! I do
[22:03:52] <cradek> http://timeguy.com/cradek-files/emc/edm/MVC-028S.JPG
man - I was just about there http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/2006-12-08.txt
[22:04:19] <cradek> http://timeguy.com/cradek-files/emc/edm/MVC-033S.JPG
[22:04:32] <cradek> http://timeguy.com/cradek-files/emc/edm/MVC-010S.JPG
^ original control!
acemi: looks like you didn't compile RTAI with module versioning enabled
but emc2 with
[22:05:46] <cradek> http://timeguy.com/cradek-files/emc/edm/MVC-007S.JPG
alex_joni: do you mean the RTAI kernel or RTAI modules
rtai modules I think
in kernel versioning is enabled, but RTAI modules are compiled without versioning
I can't find any parameter like module versioning in RTAI config
did you maybe change the kernel config before you compiled rtai modules?
(after compiling, booting the patched kernel?)
then maybe you built the kernel with one config (versioning enabled), then changed the config to versioning disabled, and built rtai with versioning disabled
in the past that used to work, no idea why it doesn't..
is gcc 4.3.2 OK for emc trunk?
yes, I just compiled emc2 on lenny (using your older 2.6.22 kernel)
and it runs ok
with my own rtai packages though, as rtai_math was missing from yours
ok, I will try again, maybe I did something wrong
rtai_math is enabled for this RTAI
acemi: maybe try to use the debian/ folder from the linuxcnc rtai package
(yeah, I saw that it's enabled)
I didn't create deb files for RTAI modules. make, make install etc
ah, I see
then maybe try it again
acemi: can you pastebin the output from emc2's configure?
the output of ./configure
or src/configure ?
the only one in emc2 ;)
[22:21:31] <acemi> http://paste.debian.net/28843/
hmm.. I didn't mean that
the output when running src/configure :)
[22:26:16] <acemi> http://paste.debian.net/28844/
* alex_joni looks
hmm .. looks ok
acemi: aren't there some shm tests in the rtai testsuite?
I don't remembere.. maybe you can try those
there are tests for latency, preempt and switches
I think no shm
right.. no idea then
and see if versioning is enabled
then rebuilt rtai
ok, thanks alex_joni. I will compile agin with new settings
yes, it's enabled in kernel config
there is a parameter as CONFIG_MODULE_SRCVERSION_ALL which is not enabled
CONFIG_MODVERSIONS is enabled
MODVERSIONS is the one which is for versioning
[22:39:49] <acemi> http://paste.debian.net/28849/
this is the output of make
I think it's ok
I'm surprised to see those warnings from hostmot2 ;)
but I think the problem might be with rtai modules, not with emc2
good night all
Anyone know the specifics of compumotor steppers. I have a S57-51. I have the details for the 57-51, but does not explain the S.
I am 99.99% sure it does not mean 'series' as in the motor winding
as there are 8 wires and a ground