Mire: get datasheets for whatever hall switch you are using
there are 5v ones and 3.3v ones and 12 and 24v ones
3 terminals seem to be 12v, gnd, and o/p. Machine is Hardinge HNC. terminals to switch +&- read open by ohmmeter, but appear to allow an alarming flow of current when powered. I put 1kohm in line and it drops 11v! I have only reconnected the 12v the machine was wired with. Should see 12v at +-, only seeing 1!
tomp is now known as tom3p
If they fail short, maybe lightning struck and it happened to both circuits at once. More likely I am a neophyte and I need someone to point out my error.
it's also possible you broke both of them in the same way
Looking increasingly likely. But do they fail short across + and -?
it's also plausible that they're normally closed switches (hall effect switches you say?)
just the same, these are the supply lines, and the o/p is not connected. It should not overdraw from my 12v supply open or closed. If these items fail short then I have a likely answer. if not i scratch my head...
How do I tell EMC2 that my rotary axis a turns around the z axis or x or y?
cradek_ is now known as cradek
tomp is now known as tom3p
cradek are you there?
I've a question or two now i've looked over .hal files and such...
just ask - often many people can answer a question, and some of us only come out of hiding for the really good or hard ones
on irc this convention is known as "don't ask to ask, just ask"
MarkusBec is now known as MarkusBec_away
at the top of the page under the description of "Axis" it says A rotates around X, B around Y, and C around Z.
how do I change my nick to my normal one?
When I set up my machine/steppers I set it up as xyza. I guess I would like to remap a to c.
in emc2 you can have an xyzc machine
like mozmck1 says, if your rotary table is horizontal, C is the best name for it
(but I don't see much call for that when you can do arcs so easily without it)
traditionally any C axis on a milling machine that is IN LINE with the spindle is the actual spindle itself
cradek's point is spot on that there's no real use for C on the table
i am only aware of one hyper-specialized cnc that uses a C axis like that
maybe say what kind of work you're trying to do and we can give better advice?
Because the rotary table is bolted to the xy, does backplot reflect that the rotary table center has moved when I move x or y? I would like to drill a circular pattern of holes in material mounted to my rotary table. Move x to adjust the radius and then turn the rotary table 10 degrees, drill, turn 10 degrees ...
it is much MUCH easier to do that in plain gcode
you can calculate the hole coordinates with X = R * cos(angle) and Y = R * sin(angle)
guest__: that is ridiculously inaccurate
angle=0 is to your right
one of the major points of having a CNC is to be able to use the accuracy of a linear slide to preform circular operations
if you don't know trigonometry maybe we can talk you through an example
cradek: does EMC support g52/g16
my most pressing q is the one I asked above. Is it plausible tht I have LSs in my turret and carriage simultaneously fail short? aiming at cradek since he's wired the same exact wires...
if that's polar coordinates, no
polar coords + local work shift
rather, the other way around, local work shift + polar
Mire: oops I didn't read back. reading...
* fenn suggests that guest__ learn how to use CAM software
Mire: I have seen proxes just stop working, but not fail shorted like that.
Mire: they take power on two leads. you test them by putting your voltmeter between the output lead and the + lead (not ground) - they are always (?) open collector
Thanks, I will probably use Excel to calculate and paste into G-code. I was not aware that rotary tables were not very accurate. If all my holes are at the same radius the only thing that is changing is the angle.
guest__: the most wonderful benefit of CNC is how you can do circular things without centering the circular thing on a rotary table - start thinking this way and you will never go back
mozmck1 is now known as mozmck
guest__: do you have a machinerys handbook? they even have the bolt circle coordinates already figured out for you
Easier to convert spherical to Cartesian and cut and paste
yes it's an easy calculation if you know how
since you asked this question I assumed you did not have this knowledge
Most of the things I am building are round such that spherical or polar coordinates work best for design and calculations, cartesian for actually cutting in the real world.
guest__: re: accuracy, for very small radiuses a rotary table can be sufficient - but rotary table accuracy is expressed in degrees, and the further out you get from the center, the less accurate it is
First time I have signed in to this group - very helpful. Thanks!
so current limiting resistors are needed for HNC LSs? I'm interfacing to 7i37. I had the idea I could wire them right to the input.
no resistors are needed
+12 and ground to the prox, +12 and prox output to the 7i37
12v, gnd, signal in?
imagine the 7i37 isolated inputs are just like your volt meter - you have to hook both sides the right way to the right thing
if the prox power lines seem shorted I have no idea what's going on
good then there is hope.
Cant help worrying it needed that megalithic 12v supply from the evil fridge.
I thought mine ran off the tiny little 12v supply in the headstock side cabinet
I'm pretty sure that's what's running them now - or maybe the PC supply
I think they use hardly any current
Me too. I have to have made a mistake.
they use nil
one of mine is bad - I don't think the original control cared
so you might have some defective ones - don't rule it out if you did not recently test them
cradek i was suprised you didn't wire in the switch from the spindle lock pin. Having run a chucker, I'd want that one interlock in place.
it was broken - I fixed it now, but have not wired it up
some day I will finish that retrofit... still some stuff unpolished.
how did you know that? I must have posted it somewhere.
I hope to do mine nicely. You gave me copies of your config files.
oh right, haha
anyhow, I'm in past my waist but I've never done anything like this before...
have you made any sense out of it? I didn't ever do anything to neaten it up.
It helped a lot when I figured out how to start classicladder.
it was my first nontrivial ladder programming - I'm better at it now
well im still a little rough:)
ah yeah that can be hard to get all set up
Well I am mostly following yours but there are differences I'd make.
me too I bet :-)
the enemy of perfect is good enough
hey, i have a blind spot wrt VFD. what mode of comm are you using?
digital IO and analog speed command
vfd fault wired in the estop chain (or did I ever get that done??)
modbus seems to be assumed by examples in docs. You are just running wires direct rite? isn't modbus a serial protocol?
I'm not using modbus
if you have an automation direct GS2 there is a hal module for talking to it with modbus -- I have not tried it
good. just 3 wires? i was unable to determine the mapping of pins to 5i20.
[02:37:08] <cradek> http://git.linuxcnc.org/gitweb?p=emc2.git;a=blob;f=src/hal/user_comps/gs2_vfd.c;h=17ed97b78e681c673ab768eb2e0e62bb0b7daf73;hb=master
if using modbus you just hook it to a serial port
i started up, got a term and typed halcmd show pin |grep 5i20. looked like outputs mapped to vfd fwd, rev, and power. f/b goes to an encoder in on 7i33 if i understand right.
yes that's how I have it set up
modbus is a totally different animal
In the schematics the resolvers on axis appear identical to spindle resolver. Could they be converted to encoder ins the same way?
Marvelous. I like the symmetry.
mine had resolver AND encoder on the spindle - I saw no reason to use the resolver
I have no clue why it had both
You told me to look... collet is closed im stuck for now
Say, how hard is it to damage these IO boards?
the manual probably says what it can handle electrically
how do i get that git file? ( the modbus driver for AD vfd ... saving the web page has loads of grbg in it like line numbers etc )
it's in a regular git checkout
or you can probably click 'raw' and save it (but what use without a full checkout to build?)
what use? to see how the driver was built, whats the ins & outs are and not be connected to net while reading
do you have a git checkout?
yes, older, just wanted to read the file
I don't think it has changed for a good while, so you should have it under src/hal/user_comps
ah, raw worked, rt click & save as, a real text file
wah! and it is in the checkout, never saw that before!
MarkusBec_away is now known as MarkusBec
Anyone know how to get hole size info out of eagle?
heh. guess I'll try later :-)
markpictor: hole layer
make it visible
click the 'i' icon at the top of the toolbar
click on the drill symbol for the hole you want to check
also, you can use the cam processor to generate excellon drill files for the hole and drill layers
excellon is basically some tool definitions and a list of drill coordinates
if you mean holes from vias and pads, those are in the drill layer, defined the same way
i dont think you can use the info tool on them tho, you either have to look in the excellon file (i dont remember if it defines tool diamater in some form easy for humans to read)
or look at the footprint in the library containing that part
MarkPictor is now known as MarkPictor-away
MarkPictor-away is now known as MarkPictor
all I want is a list of which size drills are required
sounds like excellon will do that
markpictor: do you know about pcb-gcode?
it generates a gcode file for drills with comments listing the drill size
like, you have to edit the file so it works in emc
because i dunno the guy who scripted drill output is a retard at rs274 concepts, i guess
but itll give you toolchange info followed by coordinates (remember the first coordinate is after the g82 line with the parameters)
pcb-gcode is a ulp, i dont think it comes with eagle so you have to go to cadsoft.de or whatever the url is and grab it from their ulp downloads page
yeah, I've heard of pcb-gcode. I have yet to download it. I'm just finding the drill sizes so piasdom can see if he has them.
He volunteered to make some pcb's for me.
I think eagle's "CAM" output is for specialized pcb machines and diverged from gcode in the 60's or 70's. So it's similar but different.
yeah excellon and gerbers (rs274d/rs274x) are kinda machine specific simplified gcode
like, excellon just does drill callouts and point coordinates
and gerbers will define an apperture shape (the shape of the light it draws with)
then its just coordinates defining linear movements to draw out the PCB
if you can read gcode you can open em up and figure out whats going on
ok, you were criticizing the guy who did pcb-gcode... I thought you were criticizing eagle. I think pcb-gcode was created for turbocnc and/or mach, so no wonder it's screwy :-)
piasdom: if you read through this, I just sent you a couple emails
yeah i click on the emc compatible output option, it still generates useless drill files
* renesis shrug
renesis: huh. I didn't realize it even had an emc option. I think they have a yahoo group, you could ask on there...
completely off topic, but might be interesting to you guys: at work, the lcd died on a grinder. the quote was high enough that it must be for the entire hmi.
so, guess how much this hmi costs: http://www.kmtgroup.com/opencms/en_ZZ/uva/products/equipment/uvatronic3/
gcode.ulp is another eagle->gcode script, but specifically designed for EMC: http://git.unpy.net/view?p=eagle.git;a=summary
hmmm. you were supposed to guess low. :-
when I get my mill converted, i'm gonna copy some features of that hmi
mpg for one, it snaps in under the keyboard, has a pistol grip, and magnets so it can be stuck to the machine
the mpg lights up when active, and after 30 seconds without activity it is disabled, gotta turn the axis selector to re-enable it
MarkPictor is now known as MarkPictor-away
snie sna snappie
ZeroFlex_ is now known as ZeroFlex
Dont know if this is the appropriate forum but have a potential customer that needs some
help with A EMC retrofit (a consulting job). Since you were local (He's in Sunnyvale)
I though you might possibly be interested, If so, I'll give you his contact info
pcw_home: what's up?
He just doesnt know where to start
Looks like an old time CNC guy, but a little afraid of config files etc
where are you at?
Me? Home ATM
i definitely do side jobs.
I though you had been to Mesa (Richmond Ca)
yeah, i'm east bay. sunnyvale is south bay, but it's still the bay.....
oh, dumb me. you're peter.
yeah, definitely would speak to him.
(I thought I had the wrong Roguish)
no, only one, i hope.
OK should I email contact info your way? (dont seem to have your email thats why i did this here)
i can send you an email to mesa? and you can reply?
Yes that would work
ok. will do that later today. i'm just starting to tear walls out of my only bathroom for a remodel.
thanks for thinking of me.
Plumbing working is a priority!
NP, seemed like a good match