[00:02:20] <JT-Shop> http://www.youtube.com/watch?v=SN90QKx_2Ns&feature=related
theorb is now known as theorbtwo
have you seen my pry bars? I can't locate them...
-25 is much easier than -28. -30 is really difficult. However, I am very impressed.
yea, with a hand crank no less
Though the problem we get at -28 is that the battery chemistry stops working, I guess that is not a problem with a hand-cranked engine.
in Alaska all the cars had engine heaters and if you didn't plug in at night you didn't go anywhere the next day
An option with out cars is a fuel-fired heater. You can set it to come on 10 minutes before you want to drive, and it has a little catylitic burner that heats the coolant. It also means that the heater works as soon as you get in.
in southern Alaska it rarely got below -30F
that is a warm option
I was talking degree C
I assumed that
So -30F is way outside what we even try to manage
here it is rare to see minus temperatures :)
Or it used to be.
not to hot not to cold
did you see the chap with the 12 ton vmc asking about what to do to hold his Z up when the motion.enable was off?
on the forum
Yes, reading it now
He needs a brake
But a counterweight would be a good idea. I would be surprised if neither were fitted.
that is what I kinda thought
ok he was just confused as to what to do...
It's all very baffling when you first start
I rather think that this will be bid rather higher at the last minute: http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&item=250745712980
keep looking long enough and you'll get one
Or spend enough money.
where is that one?
I am half tempted to make one, to my cunning electrically-actuated design
ah I see germany
yea, that would be cool
Yeah, it's worth shopping around the EU for stuff. I bought my welder from eBay italy, because italians bid lower for them. It still came from the same supplier.
looks like many have MT shank
The shanks are all replacable on the UPA 3 and bigger.
I didn't know that
so the shank don't matter much in the long haul
Not as much as people seem to assume.
In fact: http://cgi.ebay.it/Einspannschaft-SK40-DIN-69871-fur-Wohlhaupter-UPA4-/120662575904?pt=Industriemaschinen&hash=item1c180ccb20#ht_500wt_922
It looks like it is held on with a bolt inside the shank, and easily overlooked.
ok, that makes sense
they are kinda proud of that one
Who are? Wohlhaupter?
that flea bayer
200 for an adapter seems high to me
* JT-Shop heads inside to cook some home made sausages for dinner :)
Yeah, did seem rather steep.
Goodnight. Time I slept, actually.
MarkusBec_ is now known as MarkusBec
so glade vcp is leaning towards replacing pyvcp and halvcp?
what happens if the commanded spindle speed command exceeds max?
do I need a comp file to generate an alarm or is that already part of motion?
i hve questions not explained in the documentation on pwmscale
or pwmgen scale
setp hm2_5i20.0.pwmgen.03.scale 4000
what does the 4000 mean in that line?
I assume its max rpm
droid is now known as Guest93919
A comp file is for screw compensation i think
how do you see line numbers in gedit?
i have an error on the line addf pwmgen.update servo-thread
says function pwmgen.update not found
is this old code or how do I dfind this function?
you can check my file im using a 7143 but should mostly be the same structure
www.linuxemc2.pmiautomation.com go to downloads and my hal and ini files are there.
and if I am running a durapulse gs3 drive with feedback, do I load the gs2 component?
even if notusing modbus?
I thought the GS2 component was just to provide spindle control via modbus so I would say no
How are you commanding your spindle? analog?
not commanding it at all right now but want analog from a 7i33ta
20 hp vector spindle motor with feedback
seeing the encoder count but the terminology is a bit of a major stumbling block
i can run any machine in the world but am not much of a linux coder
I am using a 7133 for my servos and plan to use it for my spindle as well
Did you follow the example on the wikki
you are just as screwed as I am trying to find a mesa example of a mesa with feedback then
nope my machine runs just fine
[03:44:27] <emcrules> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Analog_Spindle_Speed_Control
but that does not use the feedback does it?
[03:46:05] <emcrules> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Closed_Loop_Spindle_Speed_Control
sorry wrong one
can you pastebin your hal file?
my halfile is all over, been trying alll kinds of stuff mostly unsuccessfully
was planning on loading a separate component gs3.hal
but its mostly commented out right now
about 90% of the example stuff I had found crashed emc
my encoder is 4096 ppr
and the closed loop example runs through a parrallel port
I have found great sucess with them. Just understand that that example used a parapor setup and not a mesa setup so some mods are required
yes you will have to modify the paraport references wit mesa equivelents
on your mesa card, you running a 5i20 base card?
soif I am hooked up to the last servo channel on the first 5i20 thats channel 4 or 3?
7i43 with a 7133 but it's the same
labeled 0-3 on the card, with I assume servo channel 4-7 on the second 5i20
i have 2 5i20's, could not fit 4 axis servos, a spindle, and a mpg on 1 5i20
the pid.o.pgain 0 - what does that line mean?
setp - excuse me
P gain term =0
and term = 0 means what?
once you have the hal file configured you will have to tune the loop
zero Proportional term applied within the PID loop
after the initialize pwmgen - I had the pwmgen.update servo-thread in my file before - said it could not find that component
you mean addf pwmgen.update servo-thread
yes - it crashed
one sec let me go out to my machine and open my hal file
how many pid channels do you have loaded
at least 5
6 i think
on mesa - I don't know how to turn on line numbers in gedit
are you possibly not loading a component in the begining of the hal file?
pastebin you hal it's much eaiser that way
it beats me what I am missing, I don't know what I am looking for
net spindle_enable motion.spindle-on => pwmgen.3.enable => pid.3.enable
do I need to change pwmgen.3.enable to more like 5i20.0.pwmgen.03 ?
setp hm2_[HOSTMOT2](BOARD).0.pwmgen.pwm_frequency 40000 this is what i have
net emcmot.00.enable => hm2_[HOSTMOT2](BOARD).0.pwmgen.00.enable another example
but pid.3.enable is just a label and alright correct?
yes pid is internal to emc
do you have a spindle feedback encoder?
yes just havent connected it yet
and you just copy an axis encoder section and renumber it?
# encoder feedback
setp hm2_[HOSTMOT2](BOARD).0.encoder.03.counter-mode 0
setp hm2_[HOSTMOT2](BOARD).0.encoder.03.filter 1
setp hm2_[HOSTMOT2](BOARD).0.encoder.03.index-invert 0
setp hm2_[HOSTMOT2](BOARD).0.encoder.03.index-mask 0
setp hm2_[HOSTMOT2](BOARD).0.encoder.03.index-mask-invert 0
net pwmgen_out hm2_[HOSTMOT2](BOARD).1.pwmgen.03.pwm => parport.0.pin-16-out
that line, i need hooked to 5120.0.018 and .020 - how do I tell what wire is what?
out0 and out1 -
which wire is 0v and which is 10v?
i assume out1 is 10v
you mean the analog signal
is that where the pwmgen opin connects?
there is a .pin file that documents what pins are where
[263611.851267] hm2/hm2_5i20.0: IO Pin 018 (P2-37): PWMGen #3, pin Out0 (PWM or Up) (Output)
[263611.851271] hm2/hm2_5i20.0: IO Pin 019 (P2-39): PWMGen #2, pin Out0 (PWM or Up) (Output)
[263611.851275] hm2/hm2_5i20.0: IO Pin 020 (P2-41): PWMGen #3, pin Out1 (Dir or Down) (Output)
but to 10V you will need the 7133
out of dmesg
one sec i ned to see my machine file
net spindle_rev_count encoder.03.position => motion.spindle-revs
where the encoder.03.position - does that need to be 5i20.0.encoder.03?
I have not powered the drive yet - its still temped in on the bench with the spare motor do I don't let the smoke out of it
leo, that is my name ;)
want to get command signal before I power it
good name elmo, serves me well
[04:23:45] <emcrules_mill> http://pastebin.com/SU40SvUi
leo thats what i have so far
so... AMD Fusion is competing with Intel Atom?
or is it competing with nVidia ION?
leo yes that hal file use the encoder function and connected paraport pin to it. you have an encoder datatype via hostmot2 so all encoder reference would have to change
addf encoder.update-counters base-thread
base-thread not found
where do I load a base thread?
or do i need different terminology?
[04:36:01] <leo> http://pastebin.ca/2027854
[04:36:57] <leo> http://pastebin.ca/2027856
[04:37:44] <leo> http://pastebin.ca/2027857
change it to servo-thread for now
insmod: error inserting '/usr/realtime-2.6.24-16-rtai/modules/emc2/pid.ko:-1 file exists
fuck it I am done for tonight,, thanks all and merry christmas
can you load your hal file without the spindle
[05:55:33] <L84Supper> http://www.youtube.com/watch?v=M9cSxEqKQ78&feature=player_embedded
view from RC plane with camera over NYC
elmo40: AMD Fusion puts CPU and GPU in the same chip
elmo40: AMD has versions to compete with Atom on up to desktops
L84Supper: to be honest all recent cpu's have gpu onboard :)
btw good morning :)
psha: fusion is cpu+gpu in the same die, vs cpu and gpu in chipset or on PCIe card
L84Supper: that's true for intel i3/i5/i7 too
and for atoms too i think
I guess you could call Intel HD graphics gpu's :)
at least comparison table on intel states that recent processors have integrated gpu
heh, why not? :)
it's not as fast as ATI's but it's displaying something? :)
[06:12:19] <psha> http://ark.intel.com/MySearch.aspx?IntegratedGraphics=true
mhaberler__ is now known as mhaberler_
roberth_ is now known as robh_
robh_ is now known as Guest97797
anyone know if you can use DDR3 1600 memory in a motherboard for DDR3 1333 memory?
usually you can
it will work on 1333 rate
but there is small chance that it won't
thanks, I'm trying to find a motherboard for my AMD AthlonII that has a floppy header
wow, you still use floppies?
yea, on my BP VMC
we have here strange form of 'digital tax reports' -- instead of printing you write them on floppy _and_ print :)
You could get a USB floppy drive instead of trying to find a somewhat obscure motherboard feature.
+1 to usb floppy drive
I have one of those but it keeps falling off the top of the case... maybe some twine and bubble gum to hold it on with
place it inside in 3.25 bay for floppy drives :)
usually there are internal USB headers available
or figure out how to network the BP that runs DOS 6.22
I think I have some of that
psha: when I try and run gladevcp button.ui I get this error RTAPI: ERROR: could not open shared memory (errno=2) Segmentation fault
you need to initialize realtime stuff first
for example run emc 'some-config'
in another terminal
yes, but in RIP environment
might want to mention that on the wiki page
i'm running it in simulator mode that's why i've not encountered this
YEA! it works
ohh, I can see the pins in HAL Configuration
why is everything on my test panel grayed out?
did I not go far enough with the tutorial
Cool the OAT shows up on the date bar when you add your home location
* JT-D510 heads out for some breakfast
what does the term insmod mean?
insert module I think.
the only time I used it was inserting the rtai_smi.ko module :)
thats crashing for me. it says look at dmesg for more info, but I don't know what the ^&&*) nI am looking for to tell me whats wrong
run 'dmesg' and look into it?
it says all my pwmgens are not enabled I think
but not sure igf that the issue
JT-D510: everything is inactive if you use hal table/vbox
how do I show line numbers in gedit?
go to the menu in gedit:
and check the box:
display line numbers
setp pwmgen.3.pwm-freq 1000
setp pwmgen.3.scale 10000
setp pwmgen.3.dither-pwm true
i don't have anything in hal config past value and enable, is that all I have to connect to?
or do I need to create this stuff?
leo__ you dont want to use pwmgen, as thats EMC's software PWMgen and you have hardware in the 5I20 for this
All you want to do is enable all the hardware PWMgens you need on a the firmware loading line like:
loadrt hm2_pci config="firmware=hm2/5i20/SVST4_4.BIT num_encoders=4 num_pwmgens=4 num_stepgens=0"
then for example on a 3 axis machine you could use the 4th channel (03 because they start at 0) for the spindle:
setp hm2_5i20.0.pwmgen.03.scale 3600
# 3600 RPM = full scale = 10V
setp hm2_5i20.0.pwmgen.03.output-type 3
# use PDM for 7I33
setp hm2_5i20.0.pwmgen.pdm_frequency 6000000
# 6 MHz PDM is optimum for 7I33
net scmd motion.spindle-speed-out hm2_5i20.0.pwmgen.03.value
net SpindleEnable => hm2_5i20.0.pwmgen.03.enable
emc starts but I am not getting analog signal to the drive
[16:20:42] <leo__> http://pastebin.ca/2028244
thats what I have copying from a couple sources but explanation line by line I have not found
emc starts, but thats all I can say
from what you are saying I may not even need the pwmgen section at lines 19-25
i want to go closed loop spindle for real, but want to play some on the bench
CONFIG="firmware=hm2/5i20/SVST8_4.BIT num_encoders=4 num_pwmgens=4 num_stepgens=0,firmware=hm2/5i20/SVST8_4.BIT num_encoders=4 num_pwmgens=4 num_stepgens=0"
thats my config line in the inifile
Right you dont need the software pwmgen setup in line 19-25
Also not sure how your 7I33s are connected but with that config you could connect both 7I33s to one 5I20 (and set the pwmgens and encoders enabled to 8)
have 2 5120's, 1 7133ta on each and (2) 7137ta io cards on each
its hard wired so I am leaving it
but I should be gatting signal voltage out even without the drive under power right?
or doesit need a blip that the drive is ok?
jepler- is now known as jepler
Depends on how the enable signal is connected in your HAL file
To get an analog output from a 7I33 you need
PWM freq (or PDM freq) setup
PWM mode setup
PWM enable true
some non-zero value for pwm.value (1//2 scale = 5V would be 1/2 of the fullscale value so 5000 in your example HAL file)
ok, I am getting confused - pwmgen in both hardware and software is messing me up
If you unhook the HAL signals driving the pwmgen by temporarily commenting them out like this:
# net spindle-vel-cmd => hm2_5i20.0.pwmgen.03.value
# net spindle-enable => hm2_5i20.0.pwmgen.03.enable
You should be able to setp them manually and get a measurable analog out
pwmfreq is set in main halfile
pwm mode setup - where is it generally?
pwm enable - what do the numbers mean? I think I am either 0 or 1
excuse me, pwm mode setup
open a terminal window and type man hostmot2, The hostMot2 manula page has all that information
pcw_home: so for 2 7i29's do you have to split the 50 pin cable?
No, theres a 50 pin connector on the 7I29 (but it only connects to 1/2 of the signals)
so for 4 channels you daisy chain the cable (and jumper the 7I29s differently)
Ok, I understand now
yuk it is sleeting now
ok i am getting motion.spindle-on but no pwmgen enable or spindle enable signal
so doing a setp to try to enable the pwmgen did not work
Beautiful sunny day in CA
You cant do the setp unless you unhook the pin in the HAL file
how do I tell it what pin to send tha value out on or does it know?
i am still getting 0 on hm2_5i20.0.pwmgen.03.value
i see its networked to spindle-vel-cmd signal which is also 0
motion.spindle-speed-out is 5000
I meant HAL pin, the drive knows what physical pin to drive
in watch hal window the hm2_5i20.0.pwmgen.03 enable is live
motion.spindle-on is live
motion.spindle-speed-out is 5000
spindle-vel-cmd is 0
hm2_5i20.0.pwmgen.03.value is 0
so how do I connect motion.spindle-speed out to spindle-vel-cmd?
psha: is it disabled if you use both a hal table and a hal vbox? I see you used a hal table on the wiki example
JT-D510: hal containers are used to enable/disable groups of widgets via bool pin
in example i'd used it to demonstrate
i think it deserves usage only in complex panels like toolchanger
in pyvcp there were disable pins as i recall
in gtk they are replaced with container widgets
another 3 inches of snow
leo__ Looks like they are connected in line 87
note I dont think the PWM values are readable (manual shows the pin as type in:
(float input) value: The current pwmgen command value, in arbitrary units.
btw is it possible to obtain up limit of Z axis?
without parsing .ini file?
I don't think there is a parameter for that psha
psha: ok, I see how that works now :)
i'm just trying to imagine sane gladevcp example panel :)
Hey guys, I have a few questions about using multiple tools on the same part, changing them out and such.
I had a part that I used my 1/4" End Mill on, however, their was 1 cut that it was too large for.. so I would have to change it out for a 1/8".. My question is.. How do you change it out so that it's the same height as the 1/4" bit.. and my other issue is.. I had to really hack the CAD drawing in CAM, (even so far as to go back to the CAD and rework the part) so I could easily do this...
I was making a new router mount, which had a 2.75" hole, with a 1/8" cut through it...
you cna use tool holders are set to the same height
you cna use tool holders that are all set to the same height
That the only option? One CAM package I looked at, looked as if you could set the tool height, but, not in CamBAM, which is what I'm evaluating at this time..
I know that some of my other bits have those little round endstops that makes it easy, but not on my 1/8 and 1/4 bits.. and of course, you have to change the collets too.
Merry Christmas everyone
can you touch-off in the middle of a tool change ?
Well, you could "zero" ToolA, then insert ToolB, let it free fall to the same height, then tighten the chuck
By "zero" I mean on top of a block of know height. so you'll have clearnace to remove / insert tools
To be honest, I never got to do the tool change.. I messed up on my spacing and my hold down tabs ended up not working and had to end the process before I got to the tool change.. I ended up remounting the parts and squaring them off using a 1/8" calibration bit, and doing the cut manually.
Or just seperate the gcode for each tool, then change out tools and run "part 2"
one gcode file per tool, so to soeak
yea. I know that you can also start a file from a specific line too.. so, if I killed the job at tool change.. did the tool change and touched off again.. and started the job back up at the point it moves the new tool into position..would that work?
*I* don't know. My CAM lets me save one file per tool, and that's what I've done.
Ah. What CAM do YOU use? and what about the deal with having to "hack" the CAD drawing to handle the 1/8" cut?
I've used ArtCam in the past.
in this case, couldn't you just do everythign with the 1/8" end mill?
Just depends on how much is 1/8 and how much is 1/4
I could have.. but, the 1/4" cuts cleaner
Connor: what tooling and material?
I use cut-2d, I generate single files for things that fit together and start new files when I want to change tooling, or screw something down
MDF, the 1/8" bit is from precisebits.com, MM208-1250-113FL
using their PG 1/8 collet.
it does tabs, but there is often some internal place I can use midway for hold downs before cutting outside rofiles
the 1/4 is Bosch 1/4 spiral upcut, wit stock collet
Connor: 1/8 spiral upcut?
Connor: use CMT
[20:03:18] <Jymmm> http://routerbitworld.com/CMT-191-001-11-1-8-Diameter-Solid-Carbide-Upcut-S-p/cmt%20191.001.11.htm
Connor: CMT is a brand of router buts, damn good quality.
I think part of my issue with the 1/8 was it's so long and flexes.. I had some major backlash on my Y I just figured out.. and.. I wasn't running it high enough RPM.
I always lean towards bigger cutters as well. good machining practice
So, how many of you all cut a part, and then have to put it back on the router and make more cuts? How do you all insure it's square with the gantry etc?
not running a vise? can't resweep it?
how do you set it straight the first time?
Normally I use a oversize stock and just clamp it down.. doesn't mater if it's square or not.
This is a router, so no vise.
Just T-Rails and Clamps.
which, I'm finding I don't like.
and now, is going to be even worse on small parts now that I have my dust shoe made.
is there a straight edge on it after machining, or can there be?
for this case, yes.
then get your indicator out and sweep it
I ended up loose clamping the part, and ran a 1/8" blank bit along the edge and let the head align it.
how do I do a zero speed hold at orient with a gs3?
s0 turns off the pwmgen
and how do i scale the pwmgen voltage output?
a midway spindle speed is putting out 4.48v instead of 5.0
Did you set the PWM mode to 3 and PDM frequency to 6000000?
(this is for PDM which is the optimum mode for the 7I33, though PWM mode (1) will work)
If you are using PWM I dont see where the frequency is set in your HAL file, this could cause funky output values
(the output should be within ~2% of the requested value, 4.48V is more than 10% low which indicates a problem unless its your meter)
i don't see pwm output type 3 in the man pages
whats it mean?
all I see is 0,1,2
(s32 rw) output-type:
This emulates the output_type load-time argument to the software pwmgen component.
This parameter may be changed at runtime, but most of the time you probably want to set it at startup
and then leave it alone.
Accepted values are
1 (PWM on Out0 and Direction on Out1),
2 (Up on Out0 and Down on Out1),
3 (PDM mode, PDM on Out0 and Dir on Out1), and
4 (Direction on Out0 and PWM on Out1, "for locked antiphase").
(from man hostmot2)
pcw_home: beat me to it :)
[21:14:25] <skunkworks> http://linuxcnc.org/docs/2.4/html/man/man9/hostmot2.9.html
pwm frequency alarms above 195309, pdm frequency - i do a setp line just like pwm frequency?
If you use PWM, 24 KHz is the best
(for 5I20 and 7I33)
bbl time for a hike w/dog in the big blue room
right now at s1000 i show 1020 on the drive, s500 shows 490, s250 shows 110
don't know why it drops off at low rpm but it does
* JT-Shop makes a clutch alignment tool for the F40
on a closed loop spindle - since a spindle is not a friggin axis instead of hooking to a motor.xx.pos-fb I hook to what?
and at what frequency can emc count spindle feedback?
I have a 4096 ppr encoder with a 10k rpm max
i can hear the crickets now
who wrote the closed loop spindle narrative on the wiki?
the last one to edit it should be on the bottom of the page
hm2_5i20.0.encoder.03.velocity reads in what unit?
is this pulses per second?
(Float, Out) Estimated encoder velocity in position units per second.