[00:45:47] <skunkKandT> http://www.youtube.com/watch?v=KplU8hkI0AQ
the collet unclamp is 14 tons (5.75" cylinder and 1200psi)
cradek: cool - huh?
Thanks. only about 600 more things to get working ;)
got the 1200psi pump running - so we could do the collet clam/unclamp test.
i'm trying to get my silly sinumerik to orient my spindle for toolchange
i'll need to emc2 this sooner or later
also lifted the b axis to see how much torque we are going to need.
all machines are destined to eventually run emc2...
isn't going to take much
i kind of like this old sinumerik, it's pretty powerful, but it's waay too idiot-proofed and a bit too troublesome to configure
same here - time to go home and rest.
Just this once .. here's the log: http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/2010-10-17.txt
The cover that keeps the chips out of one end of the tool arm makes a nice pop when it closes over the end
mhaberler_ is now known as mhaberler
pepsi is now known as clarus
clarus is now known as pepsi
pepsi is now known as clarus
clarus is now known as pepsi
ubuntu 10.04 has no xorg.conf and emc2 cannot use proprietary nvidia driver. how can i get to know which driver is used and how to change frequency? because 1024x768@60 kills my eyes.
anyone worked with this kind of tooling-board: http://picasaweb.google.com/hankieberen/BouwOBSESSIONIOM#
any ideas on where to get it and what it costs?
is that just foam
does balsa wood fall into that category?
Not foam, that has a grain to it.
No balsa, that has a reddish tint to it
I like the machine, but damn that's a heavy base plate
its some kind of epoxy tooling board. necuron or cibatool are trade-names I have heard. for making patterns it is easy to cut but fairly hard...
[09:06:46] <fragalot> http://www.youtube.com/watch?v=92SRZ4kmIQU&NR=1
is it me, or is the cutting rate faster than the G0 rate,
Jymmm: Reckon I should order those next month? Or do you know of anything better
maybe I should get http://www.vakuumtisch.de/index.php?page=product&info=98
that mat instead
Jymmm: the vacuum table
PCB and the occasional engraving job
>.> I made smething yesterday, intended to clean up today and now my mum's pissed because I didn't do it yesterday.. at 2am ...
I'm rather curios as to how flat it will be with that rubber mat though
but if I can put pegs in to re-align the PCB that's not really an issue as I can just do the isolation tracks without it, put mat on, and then drill
how deep do you cut for isolation traces?
atmega: as shallow as you can
you just want to cut through the copper
emc2 help hier? (dutch?)
is Chris Radek of Alex Joni online?
yes this is english language emc2 support channel
ow no dutch people online?
Alex and Chris are both logged in to the channel
in pyvcp stuff, radio button, can choices have decimal points?
well i tell my problem
i got a mile cnc
willeo6709: I think that they are type "bit". So unless I have misunderstood the question, the answer is "no"
How toolchange in emc2? (i'am a beginner)
what kind of toolchanger duckie?
Are you trying to run an automatic toolchanger, or just alter the tool offsets to sit the new tool after a manual change?
can i send a picture? (3tools)
Normally toolchange would be M6 T2 G43
(for tool 2)
(i'am a beginner->Info)
Aye, put a picture up on imagebin.ca or similar
[18:39:32] <Duckie> http://imagebin.ca/view/w8r-EcA.html
my cnc machine :D
see my picture?
Aha! Rack Toolchanger
how it works? no idea
There is some very out-of-date info here:
[18:43:19] <andypugh> http://wiki.linuxcnc.org/emcinfo.pl?RackToolChanger
But it is quite likely that most of it is now incorporated in the main branch.
You could try the Step 2 instructions on a recent version of emc2 and see what happens.
It might be wise to remove the tools and/or unbolt the rack for testing, though.
no step 1? download
in hal - setp just sets value of a pin? or creates it initially as well?
Hmm, actually, I don't see the tool-locked and tool-flush HAL pins in the current version.
willeo6709: Sets the value. Pins either already exist, or can be created when you "loadrt" a module that creates pins.
trying to get something to connect to for pyvcp stuff
@willeo have you see the picture
can i create a pin without a module?
no duckie but i know rack toolchangers
willeo6709: Pyvcp creates pins.
my mill must got to 3 coordinates (drill x10 y20, drill2 x10 y30,..)
Duckie: I think you might need to patch emc2 as decribed in that link.
To do an automatic toolchange
Automatic toolchangers are quite an advanced topic.
EMC can drive them, but there are so many different designs..
@ andypugh you have see the picture?
Duckie, you may also want to join the mailing list
[18:53:39] <skinnypup> https://lists.sourceforge.net/lists/listinfo/emc-users
The big question is going to be whether that patch will work on the current emc2 version.
Aye, I think that a query to the mailing list might be wise for this one.
Duckie: Yes, I saw the picture. I think I have seen that style of toolholder somewhere before.
there are pretty good examples of creating the widgets, buttons and python code but not really jack on making the postgui halfile work for python components
ok, what is that mailing list?
willeo6709: You have a pyvcp button that you want to link to a HAL pin?
for example - my machine has a washdown pump for chip removal - I want to be able to disable it easy with a bit i click that will disable the pump coming on by being last tiem in the ladder rung
That is the emc-users mailing list, basically the same as this IRC channel, but a bit less immediate, with the advantage that people who are not now online will see it.
i can create the button "washdown-check"
but what the devil do i connect it to
willeo6709: Are you using classic ladder, or just HAL?
have not written the ladder yet - wanting to get a bit into everything so i don't do something the hard way
have a few rungs started
have most of the io in the halfile
but additional features are my stumbling right now
If I was doing it (I just use HAL) I would add an and2 compenent to my hal file (loadrt and2 count=1 ; addf and2.0 servo-thread )
there is the washdown pump, augers that bring chips to the conveyor that carries chips out of machine, a manual tool unclamp button
which EMC pin currently controls your washdown pump?
Duckie: You could create G-code subroutines to load each tool (using G53 to move in machine space). It isn't elegant, but it would work.
can you help me how?
Duckie: For the moment, though, you might as well stick with the manual toolchanger and swap the tools by hand, until you are a lot mor familiar with emc2
but i have to do it automatic (school)
you shuld be able to use a g30 position for one of them
@andypugh must i send you the (config files from my cnc)
andy - looked at the and2 and it makes as much sense as the us tax code to me...
why an and2?
or should i be net these to classicladder b bits?
You would wire the current controlling pin to and2.0.in0 and the pyvcp button to and2.0.in1, then the and2.0.out to the GPIO pin that switches on the pump. Then the pump only works when emc2 _and_ the pyvcp button say so.
andypugh: tool-locked and tool-flush are machine specific
Duckie: It will take a bit more than the config files, I think you need to modify and compile emc2. I can't find that rack toolchanger code in the current emc2 source code.
there is no rack tool changer code in 2.4.x or master, it was too much machine specific
Duckie: How good are you at C-programing?
i'd rather be able to see it in the ladder if possible - so if net classicladder.0.in-01 nets to input %I1, what do i replace in-01 with for a %B1 connection?
sorr not so good only visual basic 2010
I like Visual Basic (which might be heresy here) but it is not much help in this case.
I think your easiest plan would be to write G-code subroutines.
but i think i doesn't need it for my auto toolchange problem
[19:14:16] <Duckie> http://rapidshare.com/files/425650451/Terco_V3_2011.7z
my config files
duckie - you could use some work coordinate systems for tool change positions and just use z machine coordinates - trick is putting existing tool away first
You could write some G-code programs (for example unload1.ngc, load2.ngc etc), put them in your PROGRAM_PREFIX directory (from the INI file) and then call them in your main G-code program with O<unload1> CALL
yes that i need it, but how i write that code
can you write my a example for my cnc (see config files)
The subroutines would be G53 moves up, left and down to the right place, using M62 digital output to operate the toolholder clamp. http://linuxcnc.org/docs/html/gcode_main.html#sec:M62-to-M65
Well, you will need to be able to write G-code to run the machine, so you need to learn it at some point.
Can you write the first tool for me (cord tool place :x10 y20 load in: x40 y30)
How does the tool clamp work?
oo oep ztool : 50 load in : 40
Is this in machine coordinates?
G53 G0 Z50
G53 G0 X40 Y40
G53 G0 Z40
is up, across, and down.
yes i think
That G-code will do the move. But it won't open/close the toolholder.
Have you read the emc2 documentation?
open and close is air
You might need http://www.linuxcnc.org/docs/EMC2_Integrator_Manual.pdf
some dutch tutorial
We can do you french, if that is any help
oo noo french :p
Toolchangers like yours are a bit difficult, as they involve moving the machine axes in a way that is not under the control of the main G-code program.
I assume that the tool clamp pneumatics are controlled by a parallel port pin (or similar?)
parallel port pin
what do you mean: "not under the control of the main G-code program."
can i not solve my problem with G -code?
Then you need a line in your hal that says: net clamp motion.digital-out-00 => parport.0.pin-07-out
anybody ever hooked a pyvcp button to a %B in classicladder
then M62 should turn on the air, and M63 should turn it off.
duckie - you can program it simply with g code - but if you mix up the tool order next part program you do it allover again
willeo: I haven't. Can you see the classic ladder pins in machine->view hal config?
all it shows is ins outs, floats, and s32's
i hate to use a hard io for it - seems the hard way
Dave911: if your still around it was <23 max watt density for oils and yes watts per square inch
jthornton: he's over on devel
he is here too, I see him :)
willeo: what is a %B, a bit?
internal coil or contact
used for conditions normally
but useful as it does not require real io
yea, is a bit
Sorry, you have lost me, I thought we were talking software
[19:40:12] <the_wench> http://www.wench.archivist.info/index.php?chan=%23emc
to see any factoids (select channel if needed)
andy - how familiar are you with ladder?
I can spell both words of the name. That's it.
he didn't ask me lol
I use HAL for everything, and comp when that gets too silly.
internal contacts are used in all commercial plc's. Its a way to say output one can be on except when thei condition is met - and you can have complex interacting conditions - so you don't have to ladder code each one each time
in this case i could connect to a mesa output - looped to an input to get it back in the ladder but seems silly to do so if i can connect to a %b bit
I feel sure that you can.
But that would require your ladder bit to have an associated HAL pin. Does it?
you can only connect to inputs and outputs just like a real PLC the %B are only internal bits for Classicladder
There should still be no need to connect them through actual physical wires though.
willeo: You were talking about creating a pin? You can create a signal and link a pin to it in one HAL file, then link another pin to the same signal in another HAL file. But as both HAL files can see the pins, that doesn't gain you much.
are there things I should watch for the toolchange?...
Not picking up one tool when another is still in the chuck...
manual tool change or tool changer?
And what must do first? (tomorow when i arrive to my school cnc)
i think i just need to link to a classicladder input - and it will be an arbitrary number - just tried it and it says pyvcp.washpumpon does not exist
so back to drawing board on python stuff
did you link to an input that you have as there is a limit to the number of inputs
the default is 15 inputs
Duckie: for some reason firefox is not working here and I can't see your link
wait send a other link
it is not your link but my computer needs to be rebooted
i linked to an input i have - right now it does not like the xml file i don't think
[19:53:36] <Duckie> http://img508.imageshack.us/img508/8847/92893719.png
willeo: ok, comment out lines till it works the back from there one line at a time to fix your typos
willeo: Aye, it's almost always a miss-spelled signal.
putting show all in your hal file can be handy
Duckie: Well, first make sure the machine will jog, then that it will move in MDI mode, then switch to world coordinate view and see if the tool change positions really are exactly where you think they are.
Then edit the HAL to make M62 and M63 operate the air valve like I suggested.
write the tool load and tool unload G-code programs
so your machine needs to go to three different places to pick up tool 1,2 or 3
never seen one like that before
Dave911_ is now known as Dave911
andypugh: what does show all do in a hal file? and do you have to run it from terminal for that to work?
Duckie: Then scour the emc website for info on subroutines and how to call them
JT-Hardinge: It lists all the pins etc that exist at that time. I think it all ends up in dmesg
so it needs to be at the end of your file?
I tend to forget that you can start emc other than from the command line
I tend to put is after the loadrt section, before the HAL file has a chance to crash
Certainly while configuring HAL files, from the CL is better, as you see more info when it goes wrong
ok, I got it now... that needs to be in the manual somewhere
ok, that all?
I just checked, the output goes to stdio, so you do need to start from the CL to see it.
then i come tomorrow back here
Duckie: How long are you there for? I can see that being a day's work
to tell what my next problem :p
Duckie: I would guess you would need somehow to call a different subroutine for each tool possibly with classicladder
then report back tool change complete from classicladder
i was suggesting a different subroutine to load and unload each tool. It's not elegant, but it would work.
i'am ad school 4 hour
@JT-Hardinge how does it work?
what is "it"?
You could write a cleverer G-code routine with IF THEN ELSE type stuff. It could probably read the requested tool from a memory location, and go to the right place according to that.
classicladder you say
JT-Hardinge: Can Classic Ladder move an axis?
i think it is difficult
just like a real PLC but it is inside of EMC
oo PLC :D
andy's way might be easier to do
(learn ad school)
i will choose <andypugh> solution , thx
* JT-Hardinge goes back to fixing my face subroutine
see you tomorow! thx (seam time as today, mybeen a little earlier)
anyone know how to display a variable in a message using a g code comment like (msg, dia #5410)?
I think change msg->dbg
ok, (debug, tool #5400) works thanks micges
in pyvcp - <checkbutton> <halpin>"wpon"</halpin> <text>"washpump on"</text></checkbutton>
but it tells me pin wpon does not exist
are you trying to link to wpon before it is created?
you have to link to pyvcp pins in the postgui.hal file
net wpon classicladder.0.in-100 => pyvcp.wpon
which file is it in?
postgui halfile as called in regular halfile
excuse me called from ini
tells me pyvcp.wpon does not exist
first posted line is from xml file
second from postgui halfile
you have POSTGUI_HALFILE = post-gui.hal in the [HAL] section of your ini?
postgui-halfile = sabrepyvcp.hal
ok, then comment out the net line and run EMC and open up the Show Hal Configuration window to be sure your pin is there
and what the spelling is...
put "show all" as the first line in your postgui.hal file...
a checkbutton will have more to the name on the hal pin
willeo: your checkbutton follows the syntax like here http://www.linuxcnc.org/docview/html//hal_pyvcp.html#r1_6_3
no check buttons on the axis interface and no pyvcp pins of any type
then your checkbutton syntax is wrong
copy the example I linked to you and change the names to make you happy then run EMC to see the checkbuttons
where do pyvcp pins show up at?
to view the pins open up Show Hal Configuration from the Machine menu in Axis
it's all in the HAL...
drill down Pins/pyvcp and you will see all the pyvcp pins
no pyvcp section in pins
pyvcp is hopeless are error messages, you get none.
in display in ini i have pyvcp=sabre.xml
Is that yoda speak?
that is correct
and sabre.xml exists
took the first excerpt from that for first box
and they are in same folder as the ini and regular halfile
can you pastebin your .xml file
you need a closing pyvcp tag </pyvcp>
and a closing labelframe?
and a checkbutton wrapper tag
none of the opening labelframe tags have matching closing tags. some indentation would help...
willeo: start with one item and make sure it works then add the checkbox example from the manual and change one thing at a time
I guess some kind of pyvcp-designer gui would not be too hard to cook up... if someone had the motivation... there should probably be a better way to validate the XML
I just broke mine adding the checkbox example then removing it lol
just open the xml file in firefox
still no check butons in the window nor pyvcp pins in show hal config
what did you do?
just open the xml file in firefox, it'll try to parse it and throw errors
added the</pyvcp> to end of file
did you fix all the other errors?
and added </labelframe> where the labelframe ended
shows no errors but does not work
you still have errors then
willeo: did you open it in ff?
whiskey tango foxtrot jymm what is ff?
jt- buttons not showing but emc opens
try the file I linked to above
[21:01:21] <Jymmm> http://www.w3schools.com/xml/xml_validator.asp
5 Errors, 3 warning(s)
[21:02:19] <Jymmm> http://validator.w3.org/check
nothing showing anywhere
no pyvcp in pins or signals
using the short file I linked to?
no button or labelfram on screen
should be one label only
just to test with
should say "This is a Label"
do you have a pyvcp panel on the right side of Axis?
now its there
in ini file pyvcp has to be caps
and I see it in ladder as well
how about custom m codes? anybody gotten into them?
for example - m71- hydraulic pallet clamp
programmable m codes are generally m70's
in my past experience
you would have to modify the program to do that or use user defined m codes m100 - m199
[21:30:49] <JT-Hardinge> http://www.linuxcnc.org/docview/html//gcode_main.html#sec:M100-to-M199:
could use m100-199 - no real reason i can see for m70's
can i edit meaning of mcodes inside emc? the "standards" up to about 30 you never mess with past that they are all fair game
not without changing the program itself
thinking if i can use existing postprocessor for cam it would eb cool
damn keyeating xchat