[#emc] "This is the #emc channel - talk related to the Enhanced Machine Controller and general machining. Website: http://www.linuxcnc.org/,
wiki at http://wiki.linuxcnc.org/"
SWPadnos must be around
Nah, it's his bedtime
Jymmm: my logic is flawed since i also don't know who else can restart it
SteveStallings is now known as steves_logging
send some of this magic my way, fix my cam app
I'm building my PC for my router into the machine itself.. Trying to figure out placement of parts.. you think keyboard/mouse, ethernet and video ports in back, or in front?
in back then just use a front usb for kybd/moue
I'll have to inset it a bit because it's going to sit flush against the back wall.. but, that's not biggie.
ours will be in back of machine, close to the drives and the fun, kbd/mouse/video run to the front, according to the list, i should be semi safe with the video cable lengths :)
brb, trying rebooting not that it ever really helped
Going to have 3 or 4 power cords to this thing, 1 for pc supply, 1 for servo supply, 1 for router, and 1 for vacuum
I'm wishing I had a mini-itx case or PSU.. instead of a full size PSU..
wish this had worked.....
crap i was right, after i shut down i remembered the guy who does the knowledgebase programming, A) uses this computer at times, pointing at his machine which runs sql server express, B) often rearranges said sql server, in turn affecting my app, which did not say a peep until now :/
anyone know a source for double taper collets besides flebay and tools-n-gizmos?
like DA collets?
double taper collets http://www.gpcollets.com/dt_collets.html
never shopped for those.... usshoptools.com ? centaur?
the Cincinnati uses them... It only came with ~10
maybe I'll find a nice QC setup for this
so i broke it enough to be able to work on it right now, i'll see if someone can just wipe this thing clean and install fresh
i would much prefer to have this thing fixed while i sleep and it's ready to go when i come back
Fox_M|afk is now known as Fox_Muldr
Hello, I noticed that - when I connect my frequency generator to different axes of my mill (to the gecko drives), that X/Y are moving much slower than Z. Well, Z has a belt gear to higher speed (I will swap the pulleys later), but it still is much too fast. I compared then the labels on the motors: Step-Sun type 103-714-2341 on both motors, but one with 1.8deg/step, the other one with 8 deg/step ??? Is this possible?
pingufan: sounds odd, having two motors with the same label, but different steps/revelation
but there is no rule that says 'steppers have to be 1.8°/step'
It can only be the case that the type only describes the size and so forth, or the label somehow lost "1." which should stand in front of the "8", but without any visible damages....
boot|sleep is now known as bootnecklad
sounds reasonable. why dont you try to send 200steps to each motor and check if they both do one turn?
First I must get EMC working, then I send controlled(!) 200 steps at very low speed and see how far it turns.
is the one with "8 deg" the one turning slower?
I only watched the axes move. The belt-gear on this one Axis is ~1:2 (to the fast, don't ask why), but it moves faster than that.
I try to install Ubuntu 10 now. Hope it supports CLE266 graphics better...
Ubuntu repeatedly asked me to log in during install. Which username and password shall I use?
whatever username and password you gave it
I am at INSTALL. Was not saken until now. :(
Does it automatically try to upgrade the older v8 on the disk?
kinda offtopic, but what lcd monitor would you guys recommend for home use? something that is as easy on eyes as high DPI laptop screens would be awesome
[10:49] <bootnecklad> http://imgur.com/pxFb9.jpg http://imgur.com/MEH8u.jpg http://imgur.com/MJZhC.jpg http://imgur.com/bxVRr.jpg http://imgur.com/4oUmI.jpg
How much do you want to pay for it?
I use (and favorize) iiYama displays. Excellent quality, service and price.
Look for the E2607WS if you like to use 1920x1200 resolution :)
Whow - I got it installed, but I cannot login.
Whenever I try that, I return to the login screen
What can be the reason?
Hi, can somebody, please, tell me how I can change the password (Ubuntu 10)? I could never log in since I installed it
then the best way is probably to reinstall, and write down the username/password when you enter it during installation
remember, they are case sensitive
pingufan: doesn't Suse have account names and passwords as well? :) jk
Sure! But I see no GRUB at all, and when I enter the right password it returns after short time to login screen, and when I enter a wrong password, I get (quicker) the message "Authentication failure".
ouch, no grub?
Indeed. This is really strange.
oh but it gets passed it
I'll install it now a 3rd time. This crappy Ubuntu.
time for a live cd or plug the HD into another working system and check logs
what mainboard? the old VIA?
you know.... it might be too old for Ubuntu
It worked (with 800x600) with Ubuntu 8
This is no reason for such behavior.
I don't have any Epia's that old
ah, so you haven't been able to log in at all since install, but it does do something different when you have the correct password
that's good information to have
might try the 6.06 livecd if your hardware is that old
As I said, SuSE works fine, Ubuntu 8 works fine (except this restricted resolution), so why shall Ub 10 not work?
VIA has been doing really poorly in the financial dept, they don't push Linux support except for large clients, OLPC etc
pingufan: I have Ubuntu 10.04 on cn700, but nothing older
you can get the grub menu by holding SHIFT (not by pressing ESC)
I'll try the shift...
change splash to nosplash, and add single to the command line
then at least you should be able to look through the logs
Canonical might have dropped support for older VIA in the kernel config and in gpu support
the kernel loads, since the login screen is displayed
I stopped tracking VIA issues about 2 years ago, I saw the writing on the wall
Sorry. Shift helps nothing. I give it another final try, then I revert to Ub 8.0
yes, the kernel doesn't panic, but older VIA has all sorts of issues with new distis
pingufan: we had a few issues with cn700 + emc, you're probably better off using something else, .... at much as a fan of VIA you might be, as i was
pingufan, the boot process is pretty fast, and you have to press and hold the shift key
press after the keyboard has been initialized (the lights blink), and hold until you see the menu
I have several workstations out, all of them running newest SuSE releases, and absolutely no such issues. Seems to be Ubuntu related then. ?!
SWPadnos: Pretty fast is good. This is a VIA C3 @ 1000 MHz CPU. :)
pingufan: very well might be, esp with unichrome
I have installed Ubuntu 10.04 on several workstations with no issues, so it may be computer or user related :)
I wonder why it does not allow me to choose fbdev then.
was this an upgrade or a clean install?
we tried to get his cle266 to run at higher than 800 x 600 on Ubuntu 8.04
Brand new clean install.
when i installed 10.04, i get 3million+ latency and 8.04 works(finally). same hardware, so it's just a software problem ?
yeah, that sounds like an updated driver sucks for RT or something
either that or there is a vendor-specific driver in 10.04, but VESA was being used on 8.04
cool, cause i'ld like to get 10.04 to work. 8.04 doesn't have sound and latecny is about 40000
10.04 had the broken drm or kms that they had to backport patches to
maybe something got missed in the works since VIA hasn't been very vocal the last year or two
Mom, I must switch my screen to the other PC
yeah, who knows
know of much progress on open-source fully accelerated AMD/ATI drivers?
80.4 and 10.04 do work on the cn700
i'll try again, it would be ni nice to have everything work :)
SWPadnos: I'll check in a few hours, but IIRC the open drivers had surpassed the closed recently
cool. I saw an article about the latest release of open-source code
maybe in the last month or so
track #radeon for all the drama :)
maybe I'll be able to use this old HD4870 some day :)
AMD is finally dropping the ATI name
yep, saw that too
which is better for emc ati or nvidia?
IMHO AMD, we have coreboot support for 7xx chipsets and open gpu drivers
i guess i should ask, which is better supported
I think Intel vid cards are better supported, in general.
I'd love to use coreboot, but I never seem to get the right motherboards for it
I have an old dual-Opteron SuperMicro that ought to work, but I don't think it's listed
we have Gigabyte MA785 boards supported now
that's excellent. I'll be watching for the other 7xx and maybe even the 8xx series
and any 785G or 7xx variant is pretty easy to port to
do you know offhand if the Intel Atom boards (ICH9 I think) are supported?
880 is just about done, 890 should be soon
we have devs at AMD in Beijing working on coreboot support now :)
Atom + i945 is working
AMD is also working on Opteron and server chipset support now
will be trying a 12 core, 4P board with EMC this fall with coreboot
Shall or must I enter now a password? Shall I use automatic login or password asking?
I think you should enter a password anyway, you can still have it automatically log in, but a password will be needed to use sudo
I noticed that Tyan has a quad-socket motherboard + quad daughterboard now as well
I just wish the 12-core CPUs were a little less expensive
and 16GB DIMMS :)
yeah plus we are working on some even denser systems for HPC, +10Gb interconnects with 1uS latency
well they made Intel chop prices
SWPadnos: are there any pro CNC machines using EMC2? Pro meaning on the scale of Fadal, Mori Seiki etc
I know a tyan board for 4 AMD64 cpus. Nice part, especially when stacked up to 4 addnl CPUs. Gives then 32 Cores. :P
I don't know of anyone selling such machines, but there are certainly people using machines like that with EMC2
Hope that this stupid Ubuntu 10 will run then -- currently installing.
pingufan, the one I was referring to can have up to 96 cores, 8x12
I've seen the CNC hobby machines
I think that machine can also take 512GB of RAM
(unless they have more DIMM sockets on the daughterboard, in which case it might be 1TB)
This machine will possibly be strong enough for playing AVI files, yes? ;)
L84Supper, no, not hobby machines
[12:20:44] <SWPadnos> http://www.mpm1.com:8080/
has some machines and configs that are in use (or under development) at MPM
One bottleneck remains even with such strong machines: Peripherals don't become faster.
I think the smallest machine there is a 4HP Bridgeport-like unit
yep, that's true
and one $500 video card can do the processing of several $1000 CPUs in some cases
I asked a Marvell dev to port EMC2 to ARM for the SOC's that have PCIe
Yes. A good balance is 1-2 4-core or (soon) 6-core CPUs from AMD.
we have a supercomputer design that might end up with 2000 ATI hd5970 cards + 1K 12 core Opterons
And what is this computer used for?
that should be able to do a little bit of work
[13:22] <SWPadnos> and one $500 video card can do the processing of several $1000 CPUs in some cases
not if you are calculating pi
IIRC 4 PFlop peak >1PFlop sustained with only 500KW or power
sure, inherently serial operations aren't well-suited for massively parallel computers
[12:24:25] <bootnecklad> http://tinyurl.com/27ul7b8
but if you're trying to rotate and scale many images, a GPU is far far faster
480VAC 3 phase 1000A power supply cord :)
take 2, for redundancy :)
[12:25:33] <bootnecklad> http://tinyurl.com/27ul7b8
heh "Mr Kondo's wife, Yukiko, 53, complained that the computer used up a lot of energy during the three-month project and increased the electricity bill to Y20,000 (£154) a month."
funny how these two end up married
pingufan: weather forecasting
SWPadnos: what in the world is this for? http://www.mpm1.com:8080/machines/cinci/s1030673.jpg
the ball bar in the upper right is put into the spindle, then the machine (a 5-axis, most likely) is moved into the center of the 3 indicators
holy crap! "Mr Kondo's computer cost Y1.5 million (£11,550) to build and has a hard-drive capacity of 32 terabytes."
you then pivot the spindle all around and verify that the ball doesn't move
(other than rotation)
which proves that your kinematics is set up correctly
so not to measure anything but to test machine movement?
yes, I think so
it's a setup/configuration tool
I know Renishaw has a testing apparatus similar to that... but a little more high-tech ;)
seems like the Z dial bottomed out
[12:51:18] <elmo40> http://www.renishaw.com/en/telescoping-ballbar-systems--6813
my b-day tmrw... taking the day off :) Getting old may be a fact of life but I tell ya, many people put learning on the optional side. Over the years I sure have seen that in the work place.
ball test is fine if someone is there to watch it, LOL. With no recording you can not do it and walk away.
this is cool. might not be linuxCNC based but still cool http://members.shaw.ca/rcmower/res/video/mvi_4997_00.swf
using technology to save your back ;)
Ok, I installed this Ubuntu 10 now again (from scratch). Exactly the same, I cannot login. At setup, I also configured an automatic login, I know my username/password, but I always come back to the login window.
pingufan: check the logfiles (Syslog, Xorg.log)
Good joke. How, when I cannot log in?
I kick now out this crap and return to Ub 8.0
ok, confused. why didn't it work?
it is case sensitive, don't forget.
I am no Linux Newbe, but this Ub 10 is a nightmare. I get a graphical login screen. So I assume, graphics is working. I enter my username (rainer) and password, after some seconds it returns to the login screen instead of showing me GNOME. :(
on next boot edit the grub menu, add 'single' to one of the kernel lines. it will drop you to the console. try from there.
does ctrl-alt-F1 give you a text login screen?
err, text console
No. It is then only entirely black. Then I can press Reset.
this thread leads me to believe that you may have a bad X configuration: http://www.dslreports.com/forum/r24647869-Ubuntu-1004-Cant-log-in
which would be consistent with L84Suppers comments about unichrome
Sorry. Why is using EMC such a crappy distro then?
it's not a crappy distro, and you don't have to use it
[13:59:59] <skunkworks> http://ubuntuforums.org/showthread.php?t=1507373&highlight=login+issue
you can build an RTAI kernel for a debian box, then add emc2.
Sure. I can start compiling whole EMC for hours.
I think someone has even done it with gentoo, but that is sadistic :P
or compile on Suse
I revert back to 8.0 that worked at least
pingufan: compiling tailors to your system. usually makes it more responsive.
you're using old hardware, which often works better with older distributions
I am not really interested in starting from scratch. UB 8 at least lets me log in, though it is unable to show me more than 800x600. I will install it and come back to tweak it then to higher resolution with your help.
why unable? what are your specs?
pingufan: did you see this http://ubuntuforums.org/showthread.php?t=1507373&highlight=login+issue
the later I have used to fix the 800X600 issue with hardy.
pingufan: If you want to make your life easier .. why not upgrade to a newer Atom based motherboard? Ubuntu 10.04 works fine on the Atom 330 and 510 hardware. 10.04 and EMC2 work great together and at high res...
Because I _have_ this hardware.
pingufan, are you installing from the emc2 liveCD or a stock Ubuntu 10.04 (or 10.04.1) CD?
i think it is stock.
Fox_Muldr is now known as Fox_M|afk
we had to kill PLL to get the cn700 to work with Ubuntu 10.4
what is PLL?
pingufan: does your screen go crazy before you get the login?
Dave911: your package went out yesterday it weighed 4lb 14oz :)
JT-Work: X has PLL drivers to set the clocks in the gpu
JT-Work: Thanks... the check is literally in the mail.. :-)
earthquake (little one)
hang on Peter :)
pretty small maybe 3-4 but close
USGS says about 2 miles away
WooT! Got my steppers, PSU, and Control board in today!
can anyone help me out and have a very brief look at my config?
post it on pastebin
30% off orders over 199
[16:54:03] <moopy> http://pastebin.com/sZbp2XKS
that is config for just one joint
but it may be better to just use the program to demo the output for yourself
I dont seem to be connecting the vismach machine correctly as the simulation is not following axis were it runs the demo
but that said i have never been able to get the puma config to run correctly anyways
could you post the entire HAL file?
SWPadnos: welcome home (belated)
(about half way to the next trip :) )
SWPadnos: Ah, haven't seen you too much in here
i posted the whole hal now
I went to Dallas and then Toronto the last two weeks
SWPadnos: How did the shows go?
I was shooting a Ford commercial
the Emmys went OK, just a few problems
to the pastebin
SWPadnos: trigger board issues?
[16:59:54] <moopy> http://pastebin.com/jLJ2Hb0u
I don't know. I haven't been able to get the full story yet
ooops thought the link was the same
how big is the test file?
that's not a script is it?
(it should be the python vismach program itself)
yes its an autogenerated vismach script
its about 2.5kb
[17:06:51] <moopy> http://pastebin.com/WxgwachD
the vismach code is wrong from a geometry point, but all the joints link to the mache
well, I'm not sure what's wrong. (I don't know enough python or vismach to see it at a glance, and I don't have time for an in-depth review)
I'd check to be sure that the sample vismach configs all work - the max5kins one doesn't use trivkins, so that's probably the closest to what you're doing
To those that buy from Grizzly.... http://www.sawmillcreek.org/showthread.php?t=147368
can anyone explain emc configuration to me?
i am starting to wonder if i misunderstand the way emc works?
moopy: this is about the best there is: http://wiki.linuxcnc.org/emcinfo.pl?EMC_Components
(at least last time I tried to find some overview of emc as a whole)
pingufan: hi. try starting GDM in failsafe mode
also PLL is radeon specific IIRC and only affects LVDS screens or something along those lines. I never look at kernel KMS code so I can't say much for that.
Um, is the angle of a hexagon 60 deg?
It's a 60 deg inside turn because 6 x 60 = 360. So the "angle" is 180 - 60 = 120. I hope that wasn't too awful.
Does that make sense?
JT-Work: the angle of two ajoining edges of a hexagon
OK, that would be 120. The "turn" is 60.
yea, just depends on how you measure the two lines :)
I don't know if anyone cares....
so the correct answer is 60° or 120° or 240°
[19:27:01] <Jymmm> https://gist.github.com/3b6fd176dba64409fdbc
1) Using a simple pencil compass, draw a circle.
2) Move the point of the compass to anywhere on the circle.
3) Draw an arc that starts and ends within the edge of the circle.
4) Move the compass point to where one end of the arc you just drew intersects the circle.
5) Draw another arc as in step 3.
6) Move the compass point and repeat until you have drawn four arcs around the circle (You only need four arcs, but could do 6 if you want it symmetrical).
7) Using a straight edge, draw straight lines that intersect the points of the arcs with the edge of the circle.
You now have a hexagon!
Note: A 4" diameter circle will produce a 4" POINT-TO-POINT hexagon (as opposed to edge-to-edge hexagon).
You could to the same thing using a piece of string and a pencil for any size hexagon you might need.
And the example http://i56.tinypic.com/25iokea.jpg
* KimK_ thinks that Jymmm's original question was really "How do you make a hexagon?"
What are you up to there, Jymmm?
No, I knew that.
Are you working on that vacuum fan thing?
I was trying to word that as simple as possible when I wrote it
KimK_: Yeah, but the hexagon thing isn't related to that.
I need to fidn/make smallish machine mount dampeners, any suggestions?
you should only need 3 arcs
SWPadnos: Try it =)
ok, you're using an extra arc to get the radius
SWPadnos: with 3, you are missing two points I found out =)
if you leave the compass set to the radius, then you only need 3 arcs
well one pint
* KimK_ thought pint was better
KimK_: Gallon ever better
if you place the pen side on the intersection instead of tne needle
somewhat easier construction: draw a diameter line through the circle
with the compass set to the radius of the circle, draw an arc centered on each of the two points that the diameter line intersects the circle, with each arc intersecting the circle on both sides
the 6 intersections (2 from the diameter, 2 from each arc) are the 6 points of the hexagon
SWPadnos: The diameter line being the center of the circle?
any line through the center of the circle, which also intersects the circle on both sides
SWPadnos: Ok, how do you know when you are in the CENTER?
or the max width of the circle?
you have a construction point which is the center of the circle
or you wouldn't be able to draw the circle
your construction may be capable of making a hexagon in an arbitrary circle (ie, one that you didn't just draw with the compass)
If you set the compass to the radius of an existing circle you mean?
Anyhow... It's all good. Just sharing is all
this works only because the chord of the circle is the same as the circle's radius
Jymmm: if you come by the house I have a shovel I'll share with you :P
so you have a triangle with all three sides equal: chord = radius = radius
JT-Work: What do I want a shovel for? I have boots!
if you have an arbitrary circle I think you can't construct the inscribed hexagon so easily
to dig with
JT-Work: What am I digging? bullshit?
(er what was the question?)
cradek: No question, just sharing what I wrote up.
dirt where the new slab will be soon
JT-Work: get a bobcat instead, cheaper than the beer and bbq you'll need to feed me
cradek: If you have a 6" existing circle, you could set the compass to it's radius and do the same thing
ok, I'll just use the backhoe... I was trying to save on diesel :)
JT-Work: Just the coal alone to prepar the bbq would cost you more than the rental and fuel
what am I renting?
who needs to rent a bobcat when you own a backhoe?
I didn't know you already had a backhoe
and you can't dig with a bobcat only move loose dirt etc
has anyone tried these? http://www.grizzly.com/products/R-8-Quick-Change-Collet-16-pc-Set/T10068
[19:49:24] <JT-Work> http://www.facebook.com/home.php?#!/photo.php?pid=20348&id=100000746761607&ref=fbx_album
I wonder why they call it "quick change" it is only a collet adapter for r8
L84Supper: I have not tried those, but isn't it just an R8 to ER40 adapter? So if there's a collet involved, how is it a quick change?
Ha, too slow
your too slow today Kim
If you have a mill like mine your short on Z anyhow and adding length to use a different collet is bad
yeah looks like plain old ER
speaking of Z I have 16" due here tomorrow
32 or 40, can't tell
I think you're supposed to tighten ER40 to ~ 100ftlb. not sure how you'd do that with it in the mill
I would think 32 as they don't look as big as the set of 40's I have
yeah my guess is also 32
hm says it goes up to 1" though - must be 40?
yep, I was just looking and 32 only goes to about 3/4
I come across these often and I just figured that people buy them and then try to get rid of them
I'm wrong - it's 150 ftlb for ER40
100 ftlb for ER32
you have the torque for 16 and 25?
[19:57:52] <cradek> http://www.parlec.com/pages/straight_shank_er_collet_chucks
found it here - not sure how trustworthy
"more than you think" is the required torque
I have one of those straight shank ER16 holders for the CHNC
I think my ER40 wrench is only about 10" long - that's sure a lot of force then
you use 40 on the JR?
need any more?
collets or holders?
I needed another 1/4 collet just yesterday
I found a 6-7 and used it instead
I'm looking for more suppliers of double taper collets for Treemill / Cincinnati
what do you have?
looks like a set with a block to set them in I'll have to check what sizes they are... they came with the CHNC
JT-Work: What's the slab for?
cradek: no DT http://www.tools-n-gizmos.com/specs/DT_Collet.html
expand my shop
Fox_M|afk is now known as Fox_Muldr
JT-Work: That's it? I thought it was something useful like installing a new smoke house.
L84Supper: Heh... http://www.sawmillcreek.org/showthread.php?t=147368
yeah, read that ;)
L84Supper: Ok, cool
the tool nazis.... no more tools for you!
JT-Work: sweet - maybe we can make a deal - let me know.
I'm sure we can... I'll dig them out this evening
Hi, I got meanwhile UB 8.x running again, and I am surprised that it shows me now a muc hhigher resolution. Is this a "random" OS, or will it stay now as it is? Now I can suddenly select several resolutions, before I couldn't. :(
L84Supper: Well, that in itself would be enough reason for me NOT to buy from them. Just the Customer SErvice aspects of him having to go to outside resources
it depends more on the monitor than the OS
it will show you some default resolutions unless it can get good information from the monitor, in which case it will show you the resolutions that both the monitor and video card say they support
Anyone tell me how the spindle interface on this board works? http://cgi.ebay.com/CNC-Kit-4-Axis-NEMA-23-Stepper-Motor-Driver-Controller-/250677765676?pt=LH_DefaultDomain_0&hash=item3a5d8f262c
Does it just about voltage?
I'm using a standard palm router...
seems like there is not enough information there to tell
Connor: for a few more dollars you can get this http://www.geckodrive.com/product.aspx?c=3&i=14469
I've ready got it..
or for a few less dollars 4 of these http://www.geckodrive.com/product.aspx?c=3&i=14471
Damn. 299 ? I got my control, psu and motors for less than that, including shipping..
f0b7 Relay spindle interface - Outputs Max. 36V 7.5A for spindle motors or coolant pump (only one device can be powered by this output!)
So, It outputs voltage from the input side...
not gonna work for a AC based palm router.
the board-mount relay can be used to control a larger motor contactor
Yea, I'm trying to figure out all my AC input requirments..
I need AC for router, PC, Motor PSU, and a plug for the Vacuum.
Spindle RPM will be manual via adjust nob on router.
I have a SSR connected to pin 1 of my printer port. It switches the spindle on and off. High level on that pin switches the motor on. How do I configure that?
select "spindle ON" for pin 1 in stepconf, or add a suitable line in your HAL file (something like net spindle-control motion.spindle-on parport.0.pin-01-out)
So spindle-ON is binary (ON/OFF) and there are other modes (with PWM etc) in addition?
Btw: I want to cennect my little PC tomorrow to my mill. Is a ribbon cable of 1-2 meters with DSUB25 connectors on its ends, fine?
there is a speed output as well as the forward, reverse, and on outputs
you can use whatever subset of these makes sense for your machine
usable cable length depends on a lot of factors, including grounding and noise
you can try it and see, there's no way to predict whether it will work with the information we have
scroll down to the spindle stuff
I know, parallel port officially no more than 2 meters. From your experience, will it work in office environment?
it depends more on your machine
for a 2m run, I'd prefer to use shielded cable (which ribbon usually isn't)
Well, everything through opto-couplers. PC817
I can't tell you if it will work or not, you'll have to tell me :)
depends on how big the motor is in your paper shredder :)
2.5A 3.3V DC (stands on the labels)
A very solid machine, a lot of metal (shielding well).
Ha, I found out that this Ubunto automatically uses 800x600, when no screen is connected at startup. Really "smart". And then I cannot change that resolution, in addition. So how can I fixate the resolution to i.e. 1280x1024 ?
plug in your monitor and reboot?
pingufan: NTU gave you a new xorg.conf
Ok. Did not work and then he and me, too, was busy.
But it's ok, I will use a monitor then all the time if there is no other way. (I start to become a little bit phlegmatic).
But it still would be a good thing if the PC would shut off the power after running shutdown. ;)
lucid does... :)
Can I enforce some rudimentary ACPI support, just enough for power-off?
They all do, you just have to have the right mobo/bios that does it =)
some boot option like acpi=force in grub ?
Jymmm: the older emc2 livecd's with the real time patches disabled the acpi stuff.
the kernel the built for lucid does shut down. (it is awesome :))
So acpi support is only disabled or not in kernel?
you are talking above my pay grade.
skunkworks: I have now (again) UB 8 running and will not try UB 10 again, it makes big problems. It possibly is compiled for 586 or 686 CPU's, the CIA C3 processir is not fully supporting that.
pingfan: 10.04 is 386 with flags for 486 optimizations
Ubuntu likes everything to be connected when you install it
monitor, nic etc
Then it should have worked, but it didn't let me log in. :(
Cool When I connect my LCD through VGA, I can select from a lot of resolutions, when I connect my CRT, not. :/
try gdm in failsafe
so i have been thinking about making a superconducting magnet to pull steel splinters out of my hands
I mean, it can't be that hard if you have some LN2 lying around
Is EMC2 able to run on 800x600 (with AXIS)? I don't want to buy now an LCD only to get a higher resolution.
and I have a friend with a dewar so I can actually buy it
how about a hobby MRI to go with it?
except I am dead serious
I am fucking tired of slicing open my own fingers with a razor blade to pull out a well entrenched sliver
your CRT probably isn't doing DDC correctly (which could also be part of the problem with 10.04, if you were using the CRT the whole time)
No, I did the setup with my LCD.
you should be able to set up an xorg.conf file with some resolutions the CRT can do, and specify the option that prevents DCC probing (DCProbe = off or something)
err, DDCProbe=off (maybe)
What do I choose when I have a 3-axis mill with step/dir for every gecko? Sherline 3Axis?
Option "NoDDC" "True" in between Section "Device" Identifier "Configured Video Device" and EndSection (xorg.conf)
also if you run "startx -verbose 6" it will tell you exactly why it won't use the other modes.. or at least should/
but stop GDM first (sudo /etc/init.d/gdm stop) then run that command.
does apt-get install ssh-server install sshd ?
yes, it does
openssh-server, I think
Corect. That worked.
SWPadnos: do you have any idea why /etc/init.d/realtime start works yet EMC says "halcmd: hal_init() failed: -22 NOTE: 'rtapi' kernel module must be loaded RTAPI: ERROR: could not open shared memory (errno=13) HAL: ERROR: rtapi init failed"
kind of funny how it was a 0.1 second difference
SWPadnos, did you get my message? you got disconnected right after I posted a question.
do you have any idea why /etc/init.d/realtime start works yet EMC says "halcmd: hal_init() failed: -22 NOTE: 'rtapi' kernel module must be loaded RTAPI: ERROR: could not open shared memory (errno=13) HAL: ERROR: rtapi init failed" cat /proc/modules says hal_lib, rtapi, and all that are loaded.
NTU: I am afraid I need your help with X11.
Can't write to /dev/rtai_shm - aborting ugh
800x600 issue. 1280x1024 would be better. ;)
NTU, there's a udev rule or something for the RTAI shm dir
The driver supports even more on my CLE266 chipset, but not when the CRT is connected.
pingufan: did you turn off DDC like i said 30 mins or so ago?
I have access to the machine through VNC and ssh, it is standing in the neighbour room.
If you meen the additional line in xorg.conf, Yes.
ok can you re-post /var/log/Xorg.0.log ?
but start x using startx -verbose 6
then post output of that to if you can by using &> file.txt
udev rule? Now that is relevant to my interests :)
hmm Warner & Swasey #5 turret lathe for $600, 20HP motor smoked when turned on
with "startx -verbose 6" I get this output and no running X at all: http://www.hantsch.co.at/_temp/startx.log
pingufan: the file is 0bytes
L84Supper: Terminal "smoked" or "a bit damp and dusty" smoked?
andypugh: I think it needs to be rewound or replaced
20HP is overkill for me anyway
Nothing to loose by taking it apart and cleaning/checking
it woekd fine 4 years ago when it was last started
cpresser: I tried to fix that with NTU in a private chat. No chance. I decided to become familiar with 800x600 until I get a newer display.
It probably is just damp, dust, spiders and mouse nests then.
I just spoke to the machinist that used to run the shop
they have several bridgeports in parts plus a few Mori Seki turret lathes, all just sitting inside for 4+ years
How do I re-configure the parallel port pin assignment? Pin 1 of DB25 = spindle, 2+3 = step+dir X 4+5 for Y 6+7=Z
pingufan: use stepconf
it is quite easy to use
otherwise edit the hal-file manually
ah, I thought thi is embedded in emc.
i got my machine up and running in less then 30min using nothing but stepconf
the fine tuning still isnt finished :D
Got it. My axis-threads have 8 turns/inch. should I use inch or mm as units?
It doesn't matter. What do you prefer to work in?
I would finally prefer the metric system
one inch is _exactly_ 25.4mm
just type G21 in the MDI-Window :)
EMC has no preference for roundnumbers.
I know. If this units on first page of stepconf are for the G-codes, I'll select mm.
So it doesn't matter if you call the pitch 8 tpi or 3.175mm
You can switch the G-code between inch and mm with a G-code
What stands below the line Address of 3rd parallel port? Screen size is not sufficient with 800x600. :(
Ah, yes, that really is painful isn't i?
pingufan: why dont you start stepconf via X-Server on another computer?
then resolution wont be a problem
I got right now this idea.
I never saw a jitter >15000, but I will enter 20000. Is this on the safer side then?
you should calculate it more on how fast you want to output the steps.
I'll be happy if it moves at all (for the beginning).
My home switches are n.o., connected in parallel, and go to Pin 10. Do I select "All Reference switches" then for this input?
20,000 is plenty fast enough in my experience (limited)
As for home/limit switches, I am not sure, I tend to work directly in the HAL file now.
what max speed (inch/s) shall I enter?
* cpresser cant help either, I got switches for each axis
But anything with "all" and "switches" in it sounds about right.
max speed depends on your hardware
You should see a "test axis" box at some point, you can use that to find the max speed.
stepper with 1.8° and 8 turns/inch gear. 2.5 A per phase. An estimation would be helpful.
my machine does about 10000steps/second when running really fast. this gives 4800mm/min
My machine tops out at about 1000mm/min
Guess high, then see what the machine can really do.
Now it starts to become problematic. As I am sitting in neighbour room and operate stepconf through SSH, it is surely no good idea to do the test.
get a longer lan-cable :)
I would NOT recommend the test without monitoring the machine
:) I would NEVER risk that. Sure.
At least not until you are sure the limit switches work :-)
Oh god, you cannot imagine how stupid this is. Cannot set higher resolution, and application cannot scale its window. =8-O
Shall I include the HALUI at all?
There is no drawback in having it enables
What's with PyVCP and Classicladder PLC ?
And you need it for things like hjog-pendants
You can probably leave those for now
PyVCP allows you to add other widgets to the display (text boxes, LEDs etc) and Classic Ladder is really handy (I have heard) for toolchangers and that sort of thing.
I started without halui and PyVCP, but I just added it a few days ago
Fine. I started now EMC from the desktop (through VNC). Machine is not powered up, so I can do a dry-run. How do I manually move an axis?
Cursor keys jog X and Y
[22:48:49] <alex_chally> http://www.ctemag.com/pdf/2007/0702-ThinWallmilling.pdf
cool article on thin wall machinign
Or type X, Y Z, and + / -
Ok. Mist I configure homing first, too?
This re my very first steps.
Fox_Muldr is now known as Fox_M|afk
It should jog without homing.
but you cant run MDI (g-Code) without homing
But you can't run G-code until homed (this is configurable with a change to the INI file)
when I press cursor right, should the displayed coordinates change ?
Press F1 then F2
(Or undo E-stop top right, and power on, next one accross)
Ok, I go to the machine... press thumbs! ;)
SWPadnos_ is now known as SWPadnos
Nothing moved. :(
Only spindle was running.
use the hal-scope and check the step-gneration
if this looks good, try measuring the port pins with a real scope :)
It would be wonderful to initially switch the spindle on/off How is this done?
Did you set up the spindle in stepconf?
If so, then the axis screen should have spindle CW / ACW and stop, plus possibly speed+ and speed- (depending on config)
Did you see the numbers move on screen but no axis movement, or was there no change in anything?
Wait. I chose at pin 1: "Spindle on" and tried it meanwhile with and w/o invert. The spindle permanently runs, that means that the output of Pin1 = high (+5V).
What's the hardware?
ie what is between the parallel port pin and the spindle motor?
Parallel Port on PG goes through Optocouplers to 3 Gecko drives (G251) and a SSR for the spindle. Pin1=Spindle, 2=step-X 3=dir-X
(I am assuming it is not wired directly :-)
When I connect my frequency generator to the pins, the mill moves.
That's a start
In that case I have TTL level (5V)
Now I would try to switch the spindle off from the PC.
Without the P-port connected the spindle stops?
Yes. Verified that right now.
can I manually enter a HAL command ?
Must leave EMC before?
Just go to Machine -> Show HAL configuration
See if the parallel port pin 1 value changes when you press spindle-start and spindle-stop
Where shall spindle start/stop be?
too funny. Weezer is playing at the fair tonight
On the axis screen. (Probably)
so naturally I broke out my Windows 95 CD, which has a Weezer video (and an actual good one from Edie Brickell)
Manual (F3) tab
Alternatively, in HAL configuration, select "pins" -> "parport" -> "0" and then click "pin-01-out" and see what the right-side pane says
I must somehow start emc through ssh. No room on the screen.
Ihave set mine to 800x600 in sympathy. It is a bit cramped isn't it
If you don't have EMC running, try it this way:
In the terminal, type "halrun"
Realtime already running.
Do you still have EMC running?
Can I start the monitoring program through ssh?
But run EMC through vnc ?
I am not sure
halcmd unlinkp parport.0.pin-01-out
Ok, I entered that through SSH. Nothing changed.
halcmd setp parport.0.pin-01-out false
you can use X over shh to run a GUI, yes
but you have to run ssh -X for it to forward X requests
tried both: with false and true. Spindle runs.
Do you have a multimeter? We need to see if the port is changing state
Sure. I unplug the mill and prepare that.
Anybody else got any ideas?
Without a circuit sketch it's hard to diagnose.
Permanently +4.4 Volts
Do you have the correct base-address for the P-port?
I'l look in the BIOS what is configured. Good idea ?
Hopefully somebody more linux-geeky than me knows how to check?
personally, I'd use halcmd instead of halshow. I'm never sure when halshow actually updates things
halcmd unlinkp parport.0.pin-01-out
We were using halcmd
halcmd setp parport.0.pin-01-out 1
halcmd setp parport.0.pin-01-out 0
I didn't see full instructions on using halrun - did you actually do that?
(halrun -I / loadrt hal_parport / setp parport.0.pin-01-out ... )
He had EMC running, so halrun complained and quit
ah, of course
$378 / SPP -> Should be fine.
Do you need EPP mode?
Or should I switch to ECP ?
(That is a question)
SPP should be fine for OUT mode with no smart hardware attached
or EPP ?
EPP is necessary for Mesa, Pico, Pluto
The 4.4V is from pin1 to one of the earth pins?
So (as pin 1 is /strobe) it is output
yes. pin 1 is always output
It's hardware inverted for fun, I think, too
And it is in "idle", as it is high.
But I think EMC2 knows that
if you set the pin to 1, you'll get 5V (or high anyway) on the output
Anyway. If I manually set it to true or false, it must change once.
1 or 0, I don't know that true and false work
Ah! we tried true and false!
They do, I was testing on my VM config
ok. (I figure you'd have gotten an error, but at least there's no question with 1 and 0)
I always think TRUE = -1
But that doesn't matter right now
I am trying to think of other ways to test a p-port
This is the onboard parallel port, btw.
A printer, maybe?
Difficult, but not impossible.
Let me see what I have here...
There is probably something in Linux that is helpful, but I am a total Linux noob, I only touch it to start and stop EMC2.
Even the little bit of EMC2 dev work I do is done on my Mac and only compiled on the Linux box.
cradek: it is a set of metric ER40's from 3 to 17 with a holder thingy
That's a low top end for ER40
(Incidentally, Metric ER collets are better than Imperial, as Imperial sets have gaps...)
So I read, anyway. I might be passing on duff info.
you just say that cause your metric :P
I guess in feet, inches and thou
I measure and calculate in metric.
it is much easier to calculate in metric...
I know I am 5'8" and 13st4lb, but have no idea what I am in SI.
hmmm 6 x 1 tap I need a 5mm drill that is so easy
Ok, I connected an old EPSON LQ printer...
It is going to be one of those "Yes it works so the P-port is good" or "No, it doesn't work, but that could be any number of other issues" thing isn't it?
How do i add it to Ubuntu?
I was hoping you would know.
system -> administration -> search for printers or something like that
Ha! Me and GNOME+Ubuntu. :)
Wait, doesn't PrintScreen in BIOS wo something?
Until I built my EMC2 box I had never owned a parallel port..
my first parallel port was on an 8086
So, tell us how to test one then :-)
Ha, Mine was on a Janich & Class 8080 machine! 64kB RAM (yes, you read correctly), and CP/M as OS.
I am going to have to leave you to it, I have an 8am meeting, and that is 7 hours from now.
my "The PC Technical Source-Book" circa 1988 might have the info
Except.. Hah! My first computer had 1k or RAM.
Hmm - Ok, I will also go to bed. 02:00 is late enough. Tomorrow is another day.
But I doubled the cost with an extra 16k soon afterwards.
512 bytes, cosmac 1802 (beat that :)
Actually, at 2am tomorrow becomes the same day, I think
no computer at all - beat that!
12F509 Microcontroller. 16 Bytes of RAM
pencil & paper turing wins
well I did start with a stick and some dirt
abacus, then slide rule, then I don't remember which :)
A stick? Luxury! We had to make do with our fingers.
i bet it was pointed too
Ok, good night. But tomorrow I will simply boot good old DOS and see what happens. ;)
and we had to burn them to make the charcoal
Oooh! Fire! hark at him!
I still have my DOS 6.something disks
we did use some walrus tusks in the winter
I didn't say we had fire to burn our fingers with, just that we had to burn them :)
Yeah, first step has to be to make sure that the port works at all (might need BIOS enabling, or a jumper, or something technical)