Hello All, I have just purchased a second hand milling vice and it appears that the jaws need aligning what is the best method to achieve this?
disassemble it, remove the crud that is misaligning things, put back together
how is it "misaligned," by the way
cradek: if you order from that place, get one of these too http://west.loadup.com/military/surplus/1570.html
if the MOSFETs are rated Vdss=30V and the driver chip is rated Vbat=50V, what other component would reduce the supply voltage range to only +24V? 25V-rated capacitors? http://www.sparkfun.com/commerce/product_info.php?products_id=9107
are MOSFETS one of those devices that break in a very bad way if you exceed their maximum voltage for a few microseconds?
hm, looks like sparkfun is just a reseller on that board -- this other site offers 24V and 50V versions with the same board layout (different MOSFETS) and notes that "absolute maximum voltage 30V" on the 24V one's page. http://www.pololu.com/catalog/product/755/specs http://www.pololu.com/catalog/product/756/specs
at 21A, and assuming the MOSFETs switch in 50nS, you'll have 420A/uS dI/dT
that will give you 4.2V across 10nanohenries of stray inductance (which isn't much)
(the 50V board's MOSFETs are 60V-rated)
for reference, our 480V drives have nominal 650-680V DC busses, and trip on high bus at 815V
we use 1200V IGBTs, and under short circuit conditions when we are turning off high currents, we need every bit of that 1200V
for regen or just general tolerance-based overdesign?
the 815V hi bus trip is to avoid tripping if you have a tiny bit of regen
the 1200V IGBTs are to handle L*dI/dT voltage spikes at the IGBT terminals
so it sounds like using 30V parts and rating the board for 24V makes sense
heh. you can either engineer and test and calculate and make complex protection circuits and all that
or you can use a 20% safety margin and be done with it
(I usually opt for option #2 :) )
makes perfect sense to me
for small runs, especially when you're charging for your time, it also often benefits the customer
for high quantity or sagety-related stuff you still have to do the math
good thing my typing isn't a safety issue
math is rarely enough
seems like math is useless without measurements
gotta scope the voltages and see what you are actually getting
analysis, math, testing, failure testing, lather, rinse, repeat
i bought 6 advantech panel mount computers and i find the insert key does not work. its not the kbd. i went around and tested 7 laptops and desktops here in taiwan do not change the cursor from ibeam to box, AND do not change from insert to overwrite. any ideas?
i've already asked the mfctr to respond but... chinese are always very very VERY slow to respond if they think they are wrong in any way. they begin by 'not understanding' the simple demonstration of BOX then IBEAM, then they have to find a way to say its not their fault, then make up some reason why it is impossible to fix, then i have to begin again explaining its just fskn borqd! argh!
gotta pick this up on another box, need this for W$ cad
tom1, what were you using to see that the INS key wasn't working?
ah, notepad, worpad , a text input field
all of those at east
ok, on Windows?
least ( and this kbd is just crap)
if there's an OpenOffice install anywhere, try that
actually, I think wordpad should also show insert mode in the status bar
even if the cursor doesn't change shape
(unless you know for sure that the keyboards just aren't sending the insert keycode)
and to show them how it is supposed to be i used Kate on linux on my system
just install Linux on the machines
i tried several kbds to see if it was that, then went around asking people to try it on theirs. they had no idea of what ibeam and box cursor were.
ok, off to change this country, see you a little later ;)
the I-beam is actually the mouse pointer shape over text areas
it should just be a vertical bar cursor rather than the box
actuall it's BLOCK and underline, where BLOCK is insert mode
I haven't seen an underline cursor since that last time I looked at a text terminal
no, right now in chat msg window, the mouse cursor is 2" away an a pointer, the text cursor is here and is a vertical bar ( not always i beam, agreed)
No, from DOS
or terminal, shell, etc
well, you're stuck in the dark ages I guess
oh, right, cmd.exe does that as well
like a text terminal ;)
underline vs vert bar is according to api but thats no the issue, totally missing is wrong
SWPadnos: Nope, in the REAL Mode baby!
no drivers, virtual, or anything else to interfer
real mode? well I guess nobody will ever need more than 640 k, huh
he said 512KB actually =)
SWPadnos: Hey, you know how to PXE boot ISO's?
yeh the idea of a driver for a kbd makes me cringe
never used a amachine with PXE
SWPadnos: I'm finding it doesn't exist (sorta kinda), but is possible.
tom1, ever since IBM separated keyboard reading tasks on a microcontroller, it's been necessary :)
maybe the old Cherry keyboards weren't a direct matrix thing, but I don't know
eh, code pages
ah thats an idea, the code page
tom1: That's why I said DOS
damn. I knew I shouldn't have eaten all the Doritos last night
send SWPadnos some salt
maybe I'll have cheese and crackers instead
in soviet russia, cheese and crackers have YOU
good Cabot private stock cheddar
(as sold at Costco ;) )
beer cheese crackers & midget wrestling, thats an nite's entertainment
they have a costco here on WenXin Lu, and my card works :)
any local stuff there?
a little, peanut butter, shampoo, no after shave (heh), mostly local, and costco for 1 guy is a it useless
like 50 lots of ramen noodle
big packages of lamb and veggies for hot pot...
I've been to Costcos in many states (Hawai'i, Florida, California, Vermont ...) plus England, and though they have a lot of the same stuff, there are definitely differences
and really really cheap furniture (dont sit on it ) dont push the broom too hard, an dont expect it to reach to the floor (oh ys i'm having a jolly time here)
get two brooms and tape them together
enuf bitchin, back to work :)
oh, they sell these face masks, like painters masks but with patterns/logos. needed if you walk outside in the smg (serious visible air pollution here ) all scooter drivers wear them ( and wear thier coats backwards to shed dirt)
enuf enuf bye bye
see you later
i am trying to teach myself vector calculus
this has been put off for a couple weeks after i saw the first set of practice problems and realized i don't know how to deal with logarithms even algebraically, much less anything else
planning of tensors some time?
seems kind of useful, yeah
could be, for quantum physics
well there's some generalizations of stress/strain that apparently goes really nice into tensors
sort of ;)
so i'd really like to be able to solve the problems in my classes by dumping matrices into mathematica, but i can't do that if i have no idea what i'm doing.
that's the end goal.
ah, knowing what you're doing is a good goal
in the mean time i've filled a notebook trying to figure out integrating and deriving logs
what am i doing with my life, i don't know
but it apparently involves a whole lot of calculus at the moment
luckily, integrating and differentiating logs is trivial
it's when you combine them with things that it gets hard :)
yeah, that's what i'm dealing with
recognizing all the forms is not easy for me, anyway
i'll probably get stuck and give up in a day or two
SWPadnos: I know candlepower is a measure of brightness. but is there a ref that you know of to wattage by chance?
there are several measures of light output
lumen, candlepower, lix ...
I'm interested in therol, not optiocal
one candle is about equivalent to a 400W heater
I have no idea if that's a candlepower though :)
SWPadnos: and your source of that?
I read it somewhere
Candlepower (abbreviated as cp) is an obsolete scientific unit of luminous intensity based on the light emitted from a candle made to a specified formula
SWPadnos: well, if that's accurate (400W), I'm screwed then
that has nothingto do with the light output though
that's for actually burning a candle
I dont care about optical in the least, just it's thermal output
that's why they take the chill off nicely in a cold room
well candlepower has no bearing on thermals
SWPadnos: Right, and why we have 7 candles going in the living room right now
an LED uses much less power (and therefore wastes/emits less heat) to make "1 candlepower" of light
so that's about like 2 space heaters on high
(at 1400W each)
SWPadnos: But, what I was considering is using the solar panel I have to do the same thing, mustly to reduce the moisture in the air in the back of the house. but it itself (full sun) produces 24W, intended to recharge gelcells.
better to open the windowshade and let the sun do it directly
here are some better illumination conversions: http://en.wikipedia.org/wiki/Candela
SWPadnos: It's at night when the dew point rises.
and the sun has gone down
(preventing the window or the solar panels from helping)
I will NOT burn cnaldes while sleeping
curses, foiled again
why isnt the sun out at nite when it woud be useful?
So, I'm trying to think of an alternative, especially since I already have all these batteries
This is what I get for watching a damn green planet episode!
tom1, that's what the moon is for
The solar panel I have is really intended to recharge battery for radio comms, not be a humidifier
therefore it's the more important of the two
may I suggest a temperature-controlled space heater?
SWPadnos: We thought of that, but due to being 300% over baseline had a $400 electric bill twice in a row
do you have a gas feed, or just electric?
rated for gas heating, not electric, thus the baseline overages
bu tdo you actually have gas heating equipment installed?
you need to do one of two things (if I'm understanding the problem right)
option 1 is to add energy to your apartment at night (or evening)
option 2 is to store energy during the day and release it at night (or evening)
option 1 is expensive
option 2 is very expensive at first, and may require structural changes to the building
but then it gets less expensive
if you actually need 2000-3000W during the night, then gas heat is likely going to be your least expensive option
option 3, devolve to lizard cold blooded less need for heat
well, if you remember the words of Mr. Tyrel, you can't fiddle with your genese that way
at least not if you're a replicant
Not that I could do this indoors... but lighting a coleman lantern puts out a *LOT* of heat... I use to warm the tent when going camping by placing a lit lantern in the tent 30 minutes before hitting the sack. worked great.
and used very little fuel
sure, if all you want is a shot of heat before going to bed, that's easy
install a set-back heater control
$50 plus a little more heating bill
these heaters are ancient, no ext thermostat on them
turn a knob on them
a very sensative knob at that
ok, the portable gas things that are connected to the wall via a somewhat flexible hose?
or a big ugly rectangular thing
never can have too many big ugly rectangular things
wodka (shot of heat)
JymmmEMC: turn the air conditioner around in the window
SWPadnos: big ugly thing
looks like i just dont know how insert/overwrite works, it seesm to be application specific and is not the kbd nor computer. i had no idea that it was so not-universal, amost rare.
its those damn programmers
archivist are u here? if so can u remember where we got them 220nM steppers, forgotten the company name
[10:33:22] <archivist> http://www.arceurotrade.co.uk/Catalogue/Stepper-Motors
ahh nice one, thanks ;-)
getting ready for a van move today
Hello All, I have just purchased a second hand milling vice and it appears that the jaws need aligning what is the best method to achieve this?
whats wrong with the jaws? are they not flat etc
re machine possibly
Thats right there not flat and do not close together correctly (slight gap) the jaws have two screws on them for removal.
make new jaws
Could I use parallels? or is this an overkill?
probably an overkill
use some steel plate, surface grind them flat
and cut/drill to suite
right.... Dont have a service grinder though.
or softer depends on work you will hold
It look likes the guy that had the vice prior to me has made the draws hastily. I could attempt to machine them as they appear ti me fab'd out of mild steel. I give it a go. Thanks for your help. How have you all been? It's been a little while since Iv'e visited due to work commitments etc.
I just had 3 days in London at the British Library (conference)
what module/thingy is being loaded for my video card ? http://pastebin.com/d7be7ecbb
piasdom probably #
amd64_agp 11140 1
agpgart 31024 1 amd64_agp
do an LSPCI and check what type of vid card u have
ie i have here in a box;
01:00.0 VGA compatible controller: Matrox Graphics, Inc. MGA G200 AGP (rev 03)
did a lspci Nvidia Corporation NV44A [GeForce 6200]
i'm still having realtime errors. i removed the controller and gave it it's own power, just connected to comp by printer port
i got another video card(above) and still have the error. so i was wondering if linux is still useing the old video control
have u run the latency checker?
pjm_, fleaybay 330306280213
nice, i'd like the linear display plug in too
and some probes ;-)
see sellers other items
yeah just checking then
Ghost is now known as Guest15482
Guest15482 is now known as `Ghost
`Ghost is now known as shadowtec
trying to get my head around emc2 (well right now watchig youtube vids on emc2) I got my board working (stepper mm config) but it only runs in 1 direction
direction not on right pin?
well thats what I thought but the manual says it is in the right direction (I am going to see about hooking it into a salese logic analizer) I need to get another machine so I can run emc2 on
or just try it on each pin till I get something :) (I know the pulse one is right)
what kind of "board"?
did you use the stepconf wizard?
something I got off ebay from HK (I got myself to blame) no manual for it I had to hunt that down
getting stuff in OZ is a total pain
still waiting on the motor coupplers from RS (1 month later)
so did you use the stepconf wizard to generate your config?
yes the board did not even work with that (give me a min and I try it again with a fresh mind) I used the steapper mm config
I was cranky that night and may of missed something
it is easy to do
yeah I been very busy this week to do anything on this project (I want it to mill pcb boards)
pjm_: i ran the latency-test and it goes in the millions
and u have all power management stuff disabled ?
cpu speed throttling etc all off
and has it always been bad or just recently been happening?
always...have the comp about a year
just trying to figure out what's up
plm:thanks for your help, i'll do some more reading
that has to be a bios issue
i thought maybe after i installed the card, linux was still useing the old drivers
u could boot it into txt mode only, probably runlevel2 and re-try the latency
plm:thanks, i'll try that
Guest176 is now known as skunkworks_
why do i get this error....the gnome session manager was unable to lock the file '/home/itt/,ICEauthority. ?
gnome constantly spews all sorts of messages. is something not working?
Anyone know when the next release will happen ?
Dallur: soonish ;)
alex_joni: c.a month ?
April 15: emc 2.3.0 packages on linuxcnc.org
at least that's the plan
ok, great thanks
I have a person asking me when the plasma changes will make it into Ubuntu :)
the config changes?
cradek: it comes up after rebooting...now i can't login
alex_joni: I also did a small code change
alex_joni: but it's essential for the new config :)
humm.. now why did I miss that? :)
* alex_joni needs to bbl
when i try to login i get that message....no matter what i do
how do reset permission for itt ?
itt is now known as piasdom
itt, go to a console terminal (ctrl-alt-F1), login, then sudo chown itt:itt ~/.ICEauthority
according to this thread: http://ubuntuforums.org/showthread.php?t=565554
if you access the file as root, it becomes owned by root and you no longer have access to it
SWPados:can you repeat that...lost my other win
[16:24:17] <SWPadnos> http://ubuntuforums.org/showthread.php?t=565554
itt, go to a console terminal (ctrl-alt-F1), login, then sudo chown itt:itt ~/.ICEauthority
I don't know that it will work, but it seems to be the recommendation from people in that thread
brb...(hopefully in desktop)
Good day have not done this before so here it goes - does anyone know i can determine from my hal file if my step pin is set to active high
are you wanting to see it change states or how it is configured?
how it is configured
put a halmeter on it
oh, wait, that won't work
you can see it with machine/show hal configuration
1) the stepgen always outputs a high step pulse
2) you can look at the -invert parameter for the parallel port pin you're using for step output
BigJohnT, should be parameters, unless those have been changed to pins recently
I was just looking at the output pin...
it kinda depends on doublestep though, I think
* BigJohnT gotta go now
Thanks this helps alot
did you use stepconf to make this config?
My initial config was done with wizard but i found wizard to be a problem as i was making adjustments directly
looking at the "invert" checkbox is the easiest way to check with stepconf :)
gota go now - all the best
see you, good luck
actually i quess i could use the wizard to view stap but i have deleted it from the menu. any idea how i start the wizard with out the menu
ubuntu and linux is still pretty foreign to me
Applications -> Accessories -> Terminal
alex_joni: yup added a reset to updown
Thanks - now i really gotta go
third round of layoffs and i'm still here
toastatwork: maybe you should ask for a raise :)
i asked earlier this year!
late last year
if sales comes back (and the company doesn't go under) i'll probably get one
also if we don't have another three rounds of layoffs wherein i get laid off
high risk, this whole venture
can't say i approve
Good luck - I think we all need it.
the big question...jump before the ship sinks...or wait for the pay off when redundancy comes
hm, does G64 persist through the job if I place it at the start of the file
i'm going to wait it out and see what happens, because i like working here - if not, I'm going to call around the diamond turning companies and see if they're still looking
they have a bear of a time trying to get people to run DT lathes, so i've got a vain hope there's something out there
shrdlu-: yes. unless you have a g61 in there
ok. I'll forget about that helping me then :)
I kinda understand why I can't do my raster thing now. I guess I need to do some kind of timed firing of the laser, instead of telling the axis to stop at a certain point then fire it
is there any way to do timing dependent commands?
I thought the whole point of the z axis was timed firing?
like, 'after you've fired x pulses, then do this..'
it doesn't make any difference whether I use the x or spindle, the axis still thinks it has to come to a halt when it reaches the end of the move
or the start of the move, both I guess
erm sorry 'z or spindle'
every move has a stop does it not?
I just took out all the spindle commands and it's scanning perfectly
or at least better
heh - so you had spindle commands with z?
I've been swapping between both
neither work well
if I could get it to fire in time to how it's moving now, with only x and y command, it would be easily good enough
is it on-off - or does it have to be proportional?
on off is fine for the moment
btw could someone just confirm about 3phase motor direction, to reverse direction u swap 2 of the phases?
ok thanks ;-)
hm some guy sent me an extra $10 today because he thought I was undercharging
whats his address, we need customers like that
he hasn't got his stencil yet, he might be less inclined to do that after he sees the mess i've made of it with this new setup ;)
although it does seem to be scanning well now. I had to drop the top speed to get the acceleration high enough for it not to 'jump'
and get rid of all the rapid moves
now back to the problem of synching this up :/
set the maximum rate correctly then put rapids back
ah, yeah, good point
guess I'll have to have different setups for rastering and vector cutting
anyone make their own stepper motor driver board from spare parts, such as a printer?
UncleGemc, some do but thats never as good
archivist: I don't expect it to be, but it would be a great learning process
I have multiple computers and various other electronics around, I might as well try to build one from scrap then when I get the real goods things should go much smoother.
you can go from the unipolar stepper drivers to switching bipolar
I dunno man, you can get a 4 axis 1.5amp controller for like $50 these days
plugs straight in
It seems I could buy things, but I think I could go red-green show all the way and make it work :)
ah, I see all my hobby stuff as potential income, so faster is always better for me
sounds like its making real income now
sure, this one has been upgraded to a small business :)
[20:22:01] <shrdlu-> http://www.smtstencil.co.uk/
that's what I'm doing, now with EMC. (assuming I can get it working right)
i wonder if one could do that with black plastic film and a CD-R laser diode
what sort of laser are you using?
how long does it take to cut a typical board?
like the one in the photo
well, up till now I've been using the plotter card and the crappy software that comes with it. To get a high quality cut it was taking about 30-60 mins on average
because I have to raster them
cutting them was never possible with old setup
huh raster seems like the wrong way to do it for sure
I'm hoping with more control via EMC I can speed things up
people send you gerber files right?
you could try gcam.js.cx
that looks nice, but how would it help?
plot around the parts you want to cut out instead of raster scanning
i think it'd be many times faster
it's faster, sure, but the quality is nowhere near as good
if I can get PWM control of the laser and work out the routines properly, hopefully it'll be better and faster
but if I just put a gerber straight in there, at the moment, snot good at all
and was completely useless on the old setup
you need to use some kind of cam software to offset the toolpath (to account for beam width)
yah I think that'd help
I'm looking for some suggestions for how to get an analog input into EMC.
that's cool that GCAM it loads gerbers and outputs gcodes though. I hadn't found a tool to do that yet
thanks a lot
I was having to go into windows
geo01005: in terms of ADCs that are compatible with emc, or in terms of how to use the analog value in gcode once you've got it from the ADC?
I'm looking for hardware to aquire the analog signal.
I can sell you an expensive board that plugs into a Mesa FPGA card
6 inputs, 8 outputs, scans at about 175 KHz max, all 16 bit resolution
geo01005: try hacking a usb joystick and using hal_input
I'm running a Mesa 7i43, and it would be great if the driver could be modified to to just read a simple SPI or i2c ADC.
simultaneous sampling and simultaneous output update (but in and out aren't necessarily synchronous)
there is a card coming from Mesa (7i64?) that will have some analog I/O I think
geo01005: yes, there's a new card from mesa, but it's not supported in emc2 yet.
and there's an SPI block for the FPGA, but I don't know that it's supported by the driver yeu
SPI or i2c would be great
wasnt there a multi-channel SPI driver for the parport? or did i imagine that?
for cards supported today, the only one I know of is the "motenc-lite" 7541 with 8 analog inputs
What I really want to read is some thermocouples for the Rep-Rap project.
geo01005, or write a driver to call any other hardware
geo01005: does it have to be a thermocouple? you could use a thermistor in a 555 circuit
yeah, a driver for a measurement computing board would probably be pretty easy
if they still have something like the CIO/DAS08
geo01005, see http://emcar.sourceforge.net/
they did an input driver
shrdlu-, I don't think I ever saw what version of EMC2 you're using - which is it?
if speed is not important, you could also just bit-bang SPI / i2c on any compatible I/O pin
archivist: they did? "Presently, the system requires stopping at each measurement point while the measurement data are triggered and recorded. Perhaps, with some help from the gurus of EMC2 and the HAL, the measurements can be made "on-the-fly" in the future?"
i hardly call that a driver
fenn true done with an external prog/grab/whatever
and define stop
zero relative velocity
Well so one option is to use a Arduino to get the signal and then trasmit over the serial line/USB, but no real time, and no guarantees.
they have more issues with the analyzers settling as well
geo01005: what about the 555 circuit or some other voltage to frequency idea?
frequency measurement in software is unlikely to be very accurate
unless you use very low frequencies
and there is delay
not realtime :)
it may be ok though, since the encoder/counter module has a velocity estimate
just high latency due to the low frequency :)
realtime can and is overused as a term
Would it be possible to augment the Hostmot2 driver to read SPI devices?
I suppose a new bitfile would have to be made as well.
That would open up lots of applications for the Mesa devices.
it's planned, once the hardware is released (as far as I know)
yes, it would require an updated firmware and hal driver though
the driver should be maintained such that it supports all the "standard" hardware that Mesa makes
7i43 isn't "standard"?
(of course they won't necessarily support whatever FPGA stuff you make yourself)
7i43 is, the 7i64 isn't out yet
unless PCW corrects me on that
Just happen to be hacking VHDL for 7I65 now
what would be the cost of the 7i64?
Its expensive because of 8x +-10v 16 bit DACs and isolation $279 qty1
excellent! mine's only twice the price
or maybe 3x :)
yeah, closer to 3x
and hand-soldered (well, part of it) so it has "craft" value
cruft value ?
no, the only piece I put on myself was the fence for the shield can
i thought you had to flip some capacitors around
I did on the test run, but not on the later production run
(they still had them screwed up, but they fixed it by hand ;) )
So I'm not sure I understood that, so is SPI, or I2C communication going to be suppored by the hostmot2 driver? By the way somebody asked what version I'm using, I run the trunk.
But theres nothing stopping anyone from using the raw SPI interface
With HM@ you might be able to do it with just the raw-read and raw-write HAL commands
(not that it would be pretty or fun)
Either SSPI or BSPI
Just need to add support to the driver
If anyone wants to mess with it, I can make a bitfile
PCW, I don't think there's a way to tell the driver to enable the SPI functions
I also think there's no way to read values automatically in HAL
it can probably be done with halcmd, so it could be possible with a custom M-code
looking at it another way, it's a perfect opportunity to contribute -- get an SPI-capable firmwrae from PCW, and write the PC-side bits that suit your use
indeed. that's a good way to look at it :)
I wish I had better programing skills, Most all the programming I have done is with numerical analysis in engineering. I feel a little underqualified to do such a thing.
PCW, are the 7i65 available for purchase yet?
7I64 as well
geo01005, you can send me one and I'll write the code :)
oh, you can too ;)
actually, a set of 7i64/7i65/7i66 would be a good thing for development
there's no ID on the cards though, right?
(ie, not way to detect what's there)
It's only 2 hours until the time will be 1234567890
hmm. actually, I think I asked this before, but what's the practical limit on SPI clock speed/cable length for those daughterboards?
I looked at the driver Didn't look terribly difficult (If I Knew C)
(the 7I65 has an EEPROM) but the 7I64 and 7I66 do not (they are 4 wire SPI devices)
They could possibly return a SPI cookie
but the shift register lengths are different so you would have to probe for each
* skunkworks_ thinks PCW has a computer scanning the irc logs for any mention of mesa hardware. (then a large alarm and light go off in his shop)
skunkworks_: either that, or he has a spy on the channel that we just haven't ferreted out yet
(you found me out)
sure, actually stick a SPI serial number chip (assuming those exist) at the end of the line, and clock in 16 bits or whatever at init time
oh hmm. you don't really want different numbers for every board now, do you
So do the 7i64/7i65/7i66 boards communicate via SPI?
yes, they communicate back to the FPGA card (or other port I suppose) with SPI
SWP output only devices can be 16 MHz or so (thats what I'm testing the 7I65 DACs with)
Read data is slower because of isolator skew (7I65) and cable delays
(I will eventually add the receive skew adjust to the SPI interface)
ok, cable lengths in the 6' range or so?
Yes 6' is ok (All terminated)
and maybe longer with slower clocks
So is it trivial to read any SPI device from a Mesa FPGA card? (After a driver is writen)
is the clock rate programmable?
geo01005, well, I wouldn't call it trivial
the hostmot2 driver has several layers so that it can support all the different FPGA cards
geo1005: Yes except the 7I65 encoder reading is not SPI
including PCI and parallel port connected ones
and it also supports a number of functions (like step generator, PWM generator, encoder ...)
SPI is another function that can be in the FPGA, but that's just a generic interface to "something"
yes, clock rate is programmable (in SSPI) and selectable via channel descriptor (in BSPI)
Dallur: it only happens once :)
to make that "something" useful, the driver needs to know how much data to send/receive, and what the data means (is that 16 bits a single analog input or 16 digital inputs?)
so there are a couple of layers that need to be dealt with for proper SPI support
however, if you want a quick and dirty implementation for a specific device, that should be pretty easy
fenn: yup, now that we have 64 bit time :P
for another half a terayear at least
fenn: yeah, but you know terayears, they fly by
Right, per device clock speed, number of bits, echo data or no echo, CS delays, CPOL, CPHA,
and as SWP says send and recv data interpretation
PCW, how does that work for multiple devices chained together?
like sending 128 bits to 8 analog outputs
Just had to add some gnarly bits to BSPI to access EEPROM
unlike ADCs and DACs, EEPRMS have variable length SPI ops
SWP what I added will help this also (The "dont-clear-Frame at end of cycle" bit
no buffer, but the driver can write several words and reset the "don't EOF" flag on the last one
So lets say for starters, that I want to use a MAX6675 thermocouple chip. I don't know for sure thats what I want to use, but what would the steps be to get it work?
Theres a 16 by 36 xmit FIFO
any read FIFO?
Yes 16 x32
It has an SPI interface, spits 16 bits at you when you pull the chip select down.
geo01005, assuming that it needs no setup, you'd need to make the hostmot2 driver enable an SPI block, then configure that block to transfer the right number of bits
then add a function to read the SPI data - whatever is needed to transfer it from the MAX6675 in the first place, then to read it from the FPGA
I don't know the specifics of the SPI block (as you can see from my questions to PCW), so I can't really give you any detail
jepler: the STG also has some ADCs on it (on some versions)
and vigilant, I think
I doubt anyone still finds one of those thoug
shrdlu-: I think in the next version of emc2 you can use short segments and laser on/off triggered using M62/M63
that was my thinking when asking what version he's using now
what does short segments mean?
but it depends how short segments you need
you can activate/deactivate a digital IO at the beginning of a move
that doesn't break blending or cause slowdowns
I don't think the segment length is a problem, except when trying to use Z as the laser control :)
I take it that wont be released in the next 15 hours ;)
SWPadnos: it can be for raster
shrdlu-: april 15th or so
no, but you can compile it yourself in the next 15 minutes or so
(depending on the speed of your internet connection)
SWPadnos: if he's doing raster, going on a line and having lots of dots to laser
* shrdlu- hot foots it
then segments size/frequency might be a limiting factor
alex_joni: did you do analog i/o too?
are the analog outputs also working synchronized now?
to my surprise, there are no analog outputs
oh, isn't that interesting
fenn: nope, not yet
not sure how to specify it in g-code
Is there any documentation for Hostmot2 and spi?
P / Q?
actually I have an idea, but that would be a new feature.. wouldn't it
geo01005, man hostmot2
also noline at http://www.linuxcnc.org
- click the documentation link
SWPadnos: I'd go with Exx for the analog output number, and some other letter for value
probably only for M62 and M64
other M codes (like custom, for instance) use P and Q
wouldn't that work?
M6xx P1.5 Q6 (set output 6 to 1.5)
I already used M61 Pxx for digital inputs, and Exx for analog inputs
geo01005: hostmot2 currently doesnt do spi
oh, so it's the same M code for both, and you use E vs P to decide whether to read analog or digital
hmmm. bummer :)
well, this seems like something that should be more along the lines of L - select which "bank" you're operating on
read digital bank1 pin 2
read analog bank pin 2
that could have worked too
but I guess it's done differently now ;)
then you have symmetry for the output codes also. use M65(?) L1P2Q1
digital pin 2 set to 1
yeah, only one output m-code would be more "philosophically" correct
that's in 2.2 also, so we can't really change it willy nilly, can we?
M62 is there since 2.0.x I think
actually, separate codes are OK, if it's legal to specify both digital and analog at the same time
(M61 xxx M610 yyy - enable laser and set PWM value ;) )
so I can get those features via "cvs -z5 -d:ext:email@example.com:/cvs co emc2"
sorry, I is a dev noob
[21:37:33] <SWPadnos> http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Installing_EMC2
now this seems like a bad idea to me: http://www.youtube.com/watch?v=9BnLbv6QYcA&feature=channel
specifically this section: http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Installing_EMC2#On_Ubuntu_6_06_or_8_04_from_source
read carefully, then act ;)
alex_joni: ha ha
flash sound just randomly stopped working for me today
"everything is just a few hundred clicks away" :)
seb_kuzminsky: I tried to word it as polite as possible
it's the onion, you dont have to be polite ;-)
I meant in here :P
heh. I like the bit about the Sudoku killer at the end :)
"will kill either 1, 4, or 9 victims next"
I liked this one: http://www.theonion.com/content/video/in_the_know_should_the_government
though I'm sure I didn't need flash 10 for it before (bastards)
yeah, just installing it now
should I specify a particular branch?
if you specify nothing you get the latest
warts and all ;)
I was strongly considering buying mach3 the other night
then I went back and used it
and changed my mind
what was wrong with it?
it's kind of ugly. stepconf is way better than anything that comes included for setup
I just couldn't be bothered to calibrate it, and use that interface
plus I have a daydream about building a control panel for inkscape and integrating it with emc
SWPadnos: don't get me started on that ;)
for laser cutting
have you seen Xara LX?
it's the closest thing I've seen to Corel Draw (other than Corel Draw, of course)
it ain't Corel, but it is pretty darned good
I'd say inkscape was probably at least as good as illustrator
SWPadnos, they are related iirc corel owned it at sometime
Corel around version 3 or so was Xara
I don't like gimp much
bitmap editor vs. vector editor, completely different ralms
SWPadnos: do you know any tool/viewer/gismo that can open corel files?
nope, only Corel AFAIK
except corel draw ;)
the latest we have is version 9 though, I haven't been in that world for a while
ah, I always thought corel was 50/50 with paint and vector
I've never used it though
the Corel suite has Corel Draw, which is vector, and Corel PhotoPaint, which is bitmap
I got cdr 11 I think
I've always used adobe
the last one they sold separately
you can use bitmaps as elements in Draw, and do some manipulation, and you can do some line drawing and text and stuff in PhotoPaint
now you can only get the suite, for a overpriced bill
they have another interesting tool that's meant to be used for technical drawings
like annotating 3D models and stuff
* alex_joni likes e-Drawings
you can do "some" annotations with that
* SWPadnos doesn't particularly like SolidWorks (the company)
"And although this image consists of more than 1200 vector objects (most of them involving graduated transparency) this image renders in under 1/10th second on a normal PC"
there's an Ubuntu package if you enable the universe repos
SWPadnos: for what?
haha, the win version is commerical
skunkworks, some add pusher giving http://emcar.sourceforge.net/
crafty getting themselves above sourceforge
Hmm, how do I specify which pin M62/M63 uses?
shrdlu-: by using 'net' commands in your .hal file
something like 'net dout-00 motion.digital-out-00 => parport.0.pin-01-out' but you would have to use the correct pin names instead of the incorrect ones from my memory.
dout, great, thankyou
"Can't run a program when not homed"?
there's an ini option to defeat that, if you want to use it
I don't remember the name
I need to get this CRT away from my machine
it makes the screen flutter badly
I feel motion sick
hm, I can't see anything. Is this supposed to be added to my config ini?
ini files often don't contain all possible options, they're too confusing if they do
[TRAJ]NO_FORCE_HOMING -- http://linuxcnc.org/docview/devel/html/config_ini_config.html#sub:[TRAJ]-section
heh, thanks, I couldn't find it anywhere
it's just about here -- second 1234567890
now, I am not sure about how leap seconds relat to this
they dont, i think
I think that if UNIX counted TAI seconds instead of UTC seconds, you would have had second 1234567890 34 seconds later
i thought time_t *was* TAI
I thought it was UTC
How come I get that Homed error in the dev version but not the release?
Disabling my soft limits isn't ideal
SWPadnos: disabling soft limits?
emc2-2.3.x will only run programs or MDI commands once it's homed
I said nothing about doing that
shrdlu-: the behavior "require home before mdi / program" isn't in 2.2.x at all, it's new in 2.3 (and in 2.3 can optionally be disabled, to get the 2.2.x behavior instead)
only homing, not limits
the old behaviour was that you can always do that
even if the machine is in the "who knows where I am" state
but now I can just jog right past the soft limits
"Warning: Using this will allow the machine to run past soft limits while in operation and is not generally desirable to allow this. "
shrdlu-: if you don't home the machine, then soft limits aren't enforced (They can't be, beacuse emc doesn't actually know where it is)
shrdlu-: once you home, soft limits are enforced
I did home it, at least, I told it to home
and it still brought up the error
I don;t have any switches set up
shrdlu-: "if you do this" means "if you turn on [TRAJ]NO_FORCE_HOMING and don't home, you don't get soft limits"
"Can't issue MDI command when not homed"
ooh. maybe it's the y axis
you have to home all axes defined in your inifile
good night all
see you alex_joni
right, ok, that makes sense
yeah, I don;t actually have one of those
shrdlu-: you can define and use home-all
but that's probably for another time ;)
ugh, unix handling of leap seconds makes me queasy. http://en.wikipedia.org/wiki/Unix_time
yeah that's some icky stuff
it totally tains the euphoria i felt at 1234567890
hah: "In some newer operating systems, time_t has been widened to 64 bits. In the negative direction, this goes back more than twenty times the age of the universe, and so suffices. In the positive direction, whether the approximately 293 billion representable years is truly sufficient depends on the ultimate fate of the universe, but it is certainly adequate for most practical purposes."
i dont know, it depends on those leap seconds
BigJohnT__ is now known as BigJohnT
the funniest part is that "0" is still 1970
seb_kuzminsky: maybe you'll like 1500450271 then
is that when you're finally going to bed? ;-)
might be so
it's prime, so I might just
that's a prime time; is it the next prime time?
see y'all later
(I actually was wondering that just a bit ago...)
not sure if it's the next prime time
well, somebody's developed a website which they promise will "instantly" tell you whether a number is prime or not! http://www.math.com/students/calculators/source/prime-number.htm
there's also "List of prime numbers - Wikipedia, the free encyclopedia"
1234567891 was a prime
alex_joni: oh well heck
I missed it
missed that one too
123457067 is still up
I mean 1234567067
(hm, here's a good one: a proposal to abolish the leap second and instead force our descendants to have a leap hour .. why not save it up and have a whole leap year somewhere down the road?)