HP_Administrator is now known as Bridgeport_II
If anyone has some extra energy I just checked in a fair amount of changes to the plasma configs including a software simulation, would be great if someone feels like trying it out and giving feedback (from trunk see plasma-thc-sim)
cool! (but I know little enough about plasma to not be a useful tester)
after copying emc.nml from configs/common (the version you checked in is old and has a problem on 64-bit systems like mine), I get another error at startup: HAL: ERROR: thread 'base-thread' not found
this is runningconfigs/plasma-thc-sim/plasma_mm.ini
jepler: I let me copy the new emc.nml over and test it
OK, let me know if I should update and try again
jepler: hmm ran fine over here
jepler: going to do a clean checkout and diff against it to see if cvs missed something
I am looking for some help with my EMC instalation. I cant seem to run AXIS it gets to the manual tool change pop up a when trying to load and the entire computer locks up. the mouse will not move and I have to shut it down TKEMC works ok but cant get Tool change to work with it either
Bridgeport_II: that's the strangest thing I've heard today
Any thoughts on what to start with
what exactly do you do and see when it happens?
links.. hexapod http://demonstrations.wolfram.com/MotionsaOfAHexapodRobot
also look at Inverse Kinematics and Forward Kinematics demos :) (matrix driven)
I have a pico-system board connected to my computor and the basic set of config files loaded. when display is set for TKEMC things seem to work except when MDI T01m06 and the spindle light does not come on or the TOOL # on the display does not change. If i Change display to AXIS then when I Start EMC it pops up the manual tool change box in the lower right corner and it does not go away and...
...the computer locks up
hmm, yes the pop up shoul automaticallyy dissappear after a few secons (less than 1 minute) perhaps you computer cannot use the graphics modes use by axis. try a sim-axis to test. if hang, then not compatible.
ah, so it's not even starting up. I thought you were saying it locked up after you issue the T1 M6.
perhaps you have an opengl-related problem if it locks when AXIS starts
you could try running glxgears, which is an opengl program unrelated to EMC
here is a general idea for help with that
after confirming opengl with glxgears, try running strace with some good options, and send the output to a file. that whay you will know exactly how far it got before reset
-v and -x may be good, research and experiment to find some others
My computer is a DELL Optiplex GX240 pentium 4 1.7ghz with an ATI rage 128 pro AGP 4x if that helps any
I hate CVS, I almost hate it as much as I hate stainless steel splinters
Question on driver boards - homebrewed, kit or commercial - Is there a way to test them to determine the actual timing on them? Since the chips have one set of specs, obviously other electronics on the boards will impact the overall results
it's true there might be input optos or RC filters that will make the timings longer than the chip datasheets
in that case, you'd find the specs for the optos, or determine time constants on RC filters, etc
get a signal generator and output a aquare wave while you crank up the frequency
with the motor disconnected, from the machine, of course :)
you can try to determine what it requires empirically, but this result will be inferior to an engineering approach such as understanding the components that make up the board.
the interesting failures are those that happen very rarely. you won't find them with a signal generator.
true, you can use a scope too
measuer rise time and fall time through the opto
take the difference and add it to each of the stepper chip specs
SWPadnos: you might be able to find max pulse rate like that, but something obscure like dirhold time, probably not...
dir hold should come from a data sheet or a design analysis on the stepping circuit (I'm assuming steppers here, could be a bad assumption)
fenn: would you send your key to me directly please?
Steppers it is
Thanks for the info - for now - I am sticking with the available info on my board (Hobbycnc - allegro chip) but some time in the distant future I might actually dig into it
are you trying to solve a problem, or just curious?
More curious than problem
cradek: ok, uh, did i do it right?
It appears with the more hobby oriented boards - there is less detail available on the boards and the developers seem less inclined to care
they often seem to have the attitude that you should be able to load their Mach config instead of asking for technical help
fenn: got it, one minute.
Next time perhaps the wallet will open a bit wider to get a better board
change your velocity and go away
fenn: try it
Jepler: Looks like it's fixed, just me and CVS having another difference of oppinion
Dallur: looks like it still assumes there's a parport, which isn't there with configure --enable-simulator. I hacked it some more (basically, remove loadrt parport; remove all links, nets, and so forth for parport; and fix up some 'link' commands to use 'net' so they create the signals in question) but now it's stuck with feedhold on while trying to turn on the spindle. (running plasmatest.ngc)
Dallur: my hacky, non-working changes are shown here: http://emergent.unpy.net/index.cgi-files/sandbox/plasma-thc-sim-hacks.patch
jepler: ahh ok, now it makes sense
I never tried it with enable-simulator
-net TorchOn => and2.3.out parport.1.pin-01-out oneshot.1.in not.2.in
ah, this deletion is almost certainly wrong
I'll look back at the nets I deleted and try to do it right this time
jepler: I just did a clean checkout, compile and everythings runs fine without --enable-simulator
jepler: there are a couple of signals which probably need to be there but all the signal activity, probing and such should be simulated
-#net ArcOK parport.1.pin-15-in-not => or2.4.in1 xor2.1.in1 oneshot.2.in
+#net ArcOK => or2.4.in1 xor2.1.in1 oneshot.2.in
jepler: btw I updated the config for the plasma-thc-sim
hm, is ArcOK needed? looks like you commented it out
yes, I updated again after your change of ca. 45 minutes ago
jepler: CVS messed up my checkin, so I updated again
jepler: ArcOK is handled in the sim file for the sim config
aha, torch on / arc ok
jepler: simulator.hal replaces signals which otherwise would come from hw
do you mind if I check this in, or would you prefer to look it over?
jepler: go ahead
does the -sim version show the same panel you use on the real thing?
jepler: it's the same panel as the mp1000 series, the thc300 series does not have the voltage control through serial
did you have much trouble updating the configuration for TRUNK / 2.3?
jepler: not that much, just went through the changelogs, they were all spot on so that made it easier
I am sure there are things we haven't yet listed here http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?UpdatingConfigurationsForDevelopmentVersions
so any additions would be very nice
jepler: I just went through the cvs changelogs for the other configs
I should do that and review/update that page
well, when I get a round tuit
jepler: I have a list here of what I had to do
jepler: or I had, it was from memory: Change the SCALE keyword, delete SHMMEM ID, remove max step vel, change the thread loading line
need to sleep, if there is anything else I'll check in tomorrow, gnite
thank you :)
hehe also from the guy who wrote the hexapod demo in mathematica: "Does your cat type on your keyboard? Use CatNip, which locks your keyboard whenever it detects cat-like typing."
yay, new stepper supply built today passed burn in test
tip: pick up old stereos from thrift shop, reused power transformer, diodes, caps, fuse
how many volts typically?
this one was 30vrms... with bridge and cap gave 40vdc no load, 34vdc with 3 amps load 1% ripple
guessed from transformer size that it was about 100watts.... gets pretty warm after 30min at full load, but steppers are much easier on power supply than the light bulbs I used
[05:09:57] <LawrenceG> http://imagebin.ca/view/Mr3fuX.html
that's nice looking
I love it when the junk box yields a useful bit of kit
my junk pile has revealed itself to be less than useful any number of times
it isn't pulling its own weight around here
LawrenceG: Dude where can I find a slightly used 30' push up pole?
30' is big.... self supporting or guyed?
standard structural tubing comes in 22' lengths
well, I think I'll need to wire it to keep it from swaying... just for ATSC
JymmmEMC, I have used a couple for antenna masts
but where to get them now? RS used to sell them, but not anymore =(
not sure... ebay?.... China??
Like I'f gonna buy shipping from china
[05:21:02] <LawrenceG> http://www.texastowers.com/ustower_ma.htm
I love those towers
LawrenceG: I'm not paying $1400 either
I said PUSH-UP, not tower!
[05:23:50] <LawrenceG> http://www.texastowers.com/aluminum_.htm
the 0.058 wall stuff telescopes
you need to find a local metal supplier so shipping doesnt kill you
but poles alone dont have the gye rings
no.. need to drill and put in eye bolts
[05:28:01] <LawrenceG> http://www.mgs4u.com/fiberglass-push-up-mast.htm
JymmmEMC, those look very nice
can you get one with a CO2 cartidge to shoot it straight up?
I wonder how much interferance will I get by tossing on a a dual band 144/440 antenna on there too?
telescoping tensegrity uses short poles and wires to make mast ( tighten the wires to make it rise and get strong ) http://www.techbriefs.com/component/content/article/1824
fenn: found along the way, letters from Bucky http://www/alumnos.unicaan.es/uc1279/Appendix
A.pdf ( about tensegrities and Buckminster Fuller )
good example of the tensegrity mast http://www.grunch.net/snelson/index.html
[07:27:45] <tomp> http://complexity.xozzox.de/tensegrity.html
a tensegrity is a 3D structure of made sticks tied together with string. BUT no sticks touch each other They can be light , big, and very strong because they can 'shed' forces :) (very crude definition)
all the driver errors on these yaskawas that said 'replace driver' were becasue the factory used the spiffy plug in terminals, "no tools required". but it fixed everything after i stripped the wire ends and re-inserted ;)
can changing from serial port to dvi port make a differance in my latency ? (video card has both)
I don't think so
but I didn't check it
guess i'll try .... brb
hopefully VGA, not serial..
guarnteed VGA! I'm the only one that has a monochrome/paraport card that I know of.
while both used db9, I think the genders were reversed between serial/monochrome iirc.
JymmmEMC: maybe for a terminal..
[10:52:31] <alex_joni> http://juve.ro/blog/projects/01234343101
alex_joni: Take out the FDD, it'll make it MUCH faster =)
alex_joni: why didn't you install x64?
JymmmEMC: dunno.. had an i386 around, started with that
and I wanted to put/compile some emc2 packages on it
Well, even the scsi card is 64bit =)
I might, if I decide to use it for something
for now it went back into his powerless rack
just toss in a 64bit cd and remote console into it
LiveCD doesn't work
and the whole rack is not near a power socket ;)
one day maybe
grab an ext cord
why are you giving up on it?
JymmmEMC: not giving up, just no need for it now
my main server:
13:07:56 up 82 days, 8:56, 1 user, load average: 0.13, 0.11, 0.09
model name : Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
root@main:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md0 463G 85G 355G 20% /home
03:08:31 up 107 days, 1:16, 1 user, load average: 0.10, 0.03, 0.01
yup.. both hardly used :D
and only a p3 too!
my router is an Amd Duron 700
13:09:25 up 51 days, 4:13, 1 user, load average: 0.03, 0.04, 0.01
mine is a 486SX/25
so.. no real need for the 2 x (4 x Xeon)
MS-DOS for routing?
sure and firewall too
* alex_joni swallows a remark ;)
whatever rocks your boat, I guess
nah.. just kidding
if it works, why not
it runs off of a fdd, and once it boots you can remove the fdd
I'm sure no-one targets ms-dos systems nowadays
takes only 8mb ram
Yeah, kinda hard to hack packet drivers =)
Well, i don't run it anymore, but did for 3 years.
I might use one of these servers at home, but it's a bit of a resource hog
I could tell when someone was port scanning as I'd hear the hdd logging it
has telnet, ftp, and ipsec encryption between routers
not bad for all running off of a single 1.44MB fdd
and could even bond multiple modems together too
as a dialup backup line
* alex_joni listens to Meiko Kaji
been looking for a matrox video adapter and all i can find are over 200.00...any suggestions ?
i got a gforce with nvidia and i'm still having latancy trouble
someone suggested matrox
you probably need to find something used
don;t think the company will buy from ebay :)
but i can try
cradek_ is now known as cradek
anyone have any tips on how I can trigger my spindle (pwm laser) at selected coords without having to make the motor stop at a point?
I want to scan the head from one end to another, raster fashion
but if I put in a midway coord, then tell the spindle to fire, then end end coord
the motor slows
I'd like to keep the motor passes fluid with coordinated spindle pulses in the right places
I don't think I'm going to get my orders out again today :/
stupid fking dongle protected laser software
ah, you want to turn on the beam 'on the fly'. theres been some discussion here in the last 2 months about similar, i ont know therreult or how you should search, but http://www.linuxcnc.org/irc/irc.freenode.net:6667/emc/
has logs of this irc
one of the devs had a small gantry, whose frame was made of som dense plastic. anyone know an url to the mfctr?
tomp: it's a "zenbot"
tomp: ebay seller "zenbotcnc"
oooh its a "subtractive rapid prototyping machine"
I have one of his older (screw-driven) models. his current models are all belt-driven which gives much lower resolution but higher speeds
yeh hes sez 1000"/min, means mS to limits
i wanted to compare to a all aluminum job i se here in taiwan at the catholic university
would a motion synced digital i/o on each gcode line not slow things down? http://www.linuxcnc.org/docs/2.2/html/gcode_main.html#sec:M62-to-M65:
oops - never nind
I thought they where realtime..
they should be realtime
These outputs are not changed in realtime and thus should not be used for timing-critical applications.
it'd be nice, a realtime 'hi-speed output' synced with position is a high ollar option on commercial controls ( and you get just one)
skunkworks: that's wrong then
I wonder who wrote that :)
ok - I thought I remember the whole idea of the m62-65 was for realtime control
they are changed in realtime
but.. they are not synced to motion
tomp: we have many
I can't find anything about independent on the fly spindle control in the logs :/
If I cut out the M3 codes but keep the G1 steps, it runs smooth
but with the spindle being toggled, it seizes
alex_joni: nice, what brand?
shrdlu-: sorry, maybe someone here remembers
tomp: I meant digital IOs in emc2
alex_joni: you know you want to fix that...
cradek: I do
but it involves messing with the TP
a little voice whispers "do it..."
and I know I don't want to do that
a little voice whispers "do it... you know you want to"
ok, it's actually me saying that
heh, well if you want to jump in with the TP part :)
fanuc calls it 'high speed interrupt' for inputs, sync something for outs
basicly they need to end up in the TC? queue, and get triggered when blending is halfway through
there is a block of stuff that happens at the halfway point. you'd just add your code there.
hmm.. ok, let me boot a hardy box
I'll poke you for pointers then
remember, you'll have to do it on a branch
it's a bugfix
hmmm - good call ;)
are there spindle acceleration settings?
the motion controller just outputs the commanded spindle speed. what you do with it after that is up to you.
if you want to limit its rate of change in various ways you could use the limit* hal components
i think not, becuz not closed loop. you could make a sorty of speed loop control in hal tho
I want it to be either on or off, but it seems like whenever I engage the spindle, the motor for the x axis slows
I thought it might be 'warming up' the spindle or something
hmm, sounds like the X axis sucks ( the power down ;)
there's no power required for the spindle, it's not a motor, just a switch
well, little power
can the spindle be powered from a separate outlet from the axis supply? no electrical interconnection?
hmm, I could just unplug the spindle I guess
to test it
it's something to do with the way the commands are synchronized, by the looks of it
the spindle is really just routing the parallel out signal
I see talk of 'synchronized I/O' in the logs
so, sevral commands are going to the X axis when you see this or a single command is being executed
yes 'sync i/o ' is the buzword to look for
two at once, a coord and a 'spindle on'
i meant, was it like X+100 at a slowish rate, and you toggle the spindle on an off inside that time? and observe the x axis go faster/slower/faster?
or is it noticable at the beginnings of one/several of the 'coord and a spinde on' command?
beginning and end I think, let me show you the code. sonly like 10 lines
[16:03:54] <shrdlu-> http://pastebin.com/d3befd3d4
got it, are both M3 and M5 causing the observation?
and if al the X an XY motions were replaced by Y ony, woul it go away?
(CRAP TYPIST AND CRAP KBDD MISSING KEYS SORRY)
ok, try original code with <8000F and <1000S ( try 800F and 100F) to eliminate that your' overburdening something. past that i have even less of a clue, sorry
I dropped the speed of both down, it still bumps when both starting and stopping
can someone tell me if i'm useing a pci or agp slot for my video from this? http://pastebin.com/d77387130
it says PCI:1:0:0 as the slot number
but that's a configuration file, not a log file
lspci -vv |more
better ? http://pastebin.com/d7187616d
godamnit. another order just came in
* shrdlu- cries
[16:28:07] <piasdom> http://pastebin.com/d33a50200
they need a -no_bs switch on lspci
that was a joke
was thinking about that bs :)
shrdlu-: hang in there, ordders is a good thing, and the devs here are working on improving emc all the time.
"I have done that too, but the problem with using the spindle is that the
system stutters when the spindle speed changes. Using Z allows smoothly
changing laser power on the fly."
i did lspci with sudo and got this http://pastebin.com/d3f9fdbd6
I forgot to mention you might want to do that
put doesn't this just show what is available and not what it is actually useing ?
I think the leading number will tell you what bus it's on
seb_kuzminsky, you're not lurking by any chance are you?
ok..in the xorg.conf it says pci 01:00.0 shouldn't say agp ?
* seb_kuzminsky unlurks
I was just reading a post by you in regards to smoothing the pwm output to a laser, so it doesn't jump when you turn the beam on and off?
something about spindle-speed-out as an input
[17:14:50] <shrdlu-> http://firstname.lastname@example.org/msg03305.html
eric's laser power stuff
you have stuff?
I have the same problem as that guy
there are more than one eric
i dont have a laser machine or any other kind of cnc machine yet :-(
but i have some hostmot2 hardware on a workbench
eric johnson had a couple of problems that we talked about, which problem do you have?
I have the problem where when I start and stop the laser, the motor jumps
this is controlled by M3 PWM spindle output
I could really do with some pointers on how to get that smooth
ack, I dont like the way this client puts all successive lines in one paragraph
your laser is controlled by a hostmot2 pwmgen, which is connected to emc2 as a Z axis?
oh, no. My laser has some kind of isolated 5v laser trigger built in. So I'm just outputting the spindle signal from the lpt directly into that
it fires pretty well
it's not noticable when vector cutting
i think the issue we discussed in the email thread you linked to was this:
emc2 does not try to control spindle accelleration, only spindle speed
what does that translate to?
when you command a certain spindle speed (in the absence of spindle speed feedback), that makes emc output a certain pwm duty cycle
emc2 outputs a number which is the expected spindle speed
if you want to control acceleration or use feedback, you can do that in HAL
using a limit2/limit3 block, and/or PID
there's no attempt to make a smooth transition from the current spindle speed to the commanded spindle speed
not from the motion/IO controller
but how does that effect the x motor?
it shouldnt :-)
my problem is that the x motor 'jumps' when I turn the laser on and off
how is your motor connected to emc2? what kind of motor is it?
stepper, via some cheap ta8435h based driver
use an oscilloscope look for spindle-control electrical noise on the step/dir lines
this is the same problem the guy is describing in the post
which is why he resorted to using the x axis
and/or use halscope to look at what emc2 tells the x motor at the time it starts/stops the laser
it only happens to X, not Y? (even if both are moving?)
"I have done that too, but the problem with using the spindle is that the
system stutters when the spindle speed changes."
is he talking about operating system or motors?
sounds like spindle speed changes effect the motion - like puts it into exact stop
surely the motors are what stutters, not the os
skunkworks, I was thinking along those lines
that is why they went to using the z axis for laser power.
changing the spindle mode may be the culprit
jmk suggested some debugging tests to try to figure out what was causing it, but we never heard back from ehj with the results
what happens if you use only the S word, not M3/M5?
you can set S0 if you want no power
same for both
I've tried various PWM values, same
shrdlu-: can you turn the laser on/off by hand?
maybe you can try that while emc2 is moving, and see if it causes any problems with the movement
let me try that
alex_joni: are you thinking electrical noise from the laser in the step/dir control lines?
it's smooth if I manually fire it
if this test doesnt show the problem, it doesnt prove it's not noise, it depends on where the noise leak is
i still say halscope emc2's idea of the control lines
shrdlu-: try running the same program with all the S words removed
but put G61 at the beginning of the file
that'll say if it's software or hardware
seb_kuzminsky: I suspect the "stuttering" might be exact stop
or no-blending because of S-words
I kept the M3 and M5 deleted the S words, put G61 at the start, samer
I'll look at the halscope
you think if a g-code feed command has an S word, it stops at the start of the move until the spindle speed is right?
yep, exactly the same stuttering
that means it's not an actual stuttering
it's moving in exact-stop more
that seems like a reasonable thing for the controller to do
stopping at the end of each move
shrdlu-: currently there's no way I can think of you can fix that
besides using Z for laser power
or A,B,C,U,V,W if you don't want Z
alright, that is helpful. Thankyou
so err, how do I set that up?
is there a kind to that kind of thing?
I can work the code out, I think
yes, you need to be kind to it :)
heh, somehow kind = guide
I probably shouldn't read other things while I type
i think you set it up as a normal servo Z axis, except for short-circuiting the feedback
hokay, hm, servo huh.
seb_kuzminsky: you need to have the feedback short-circuited
else emc2 will ferror
no.. in HAL
shrdlu-: you should be able to look at some of the example sim machines
(the ones without stepper connections, like sim/axis.ini)
[HAL9000] Hello Dave
I've only used stepconf before, but I'll look
there's a core_sim.hal
basicly you only need a feedback called: net Zpos axis.2.motor-pos-cmd => axis.2.motor-pos-fb
that shortcircuits the Z axis (the commanded position is used as the feedback position), so emc2 is happy
next you use that Zpos to link to your laser power
probably to a pwmgen
* shrdlu- looks
shrdlu-: this won't be possible with stepconf
so you need to read/learn a bit about how to set up the machine up yourself
and about HAL, what it is, how to use it, etc
can I still use my same setup files though? add to them?
just be careful if you rerun stepconf later, i think it'll overwrite any changes you made by hand
yes, seb_kuzminsky is correct
yah, I noticed that
make a copy of them, put it in a different folder, and remove the .stepconf file
hmm.. a copy of the dir should take care of the issue
the foo.stepconf file related to foo/ as the config dir
you'll need to change the [TRAJ] MAX_* values
to a zillion
Good evening at all.One question.in cvs version the signal spindle rotation ok is implementated or no.because when the emc read line m3 s1000 fast read next line.i in spindle.speed-in pass the real velocyti encoder, but the wait the spindle at revolution ok no fuction.because
are you asking whether the cvs trunk version waits for the spindle to accelerate to the programmed speed before continuing on to the programmed motion?
yes it waits for motion.spindle-at-speed to become true
[19:09:44] <cradek> http://www.linuxcnc.org/docs/devel/html/config_emc2hal.html
see the motion.spindle-at-speed section
the signal motion.spindle-at-speed in my case is true.this signal is a input , i can change in false?
yes it is an input
it could come from your spindle VFD, or you could use the "near" component
[19:12:41] <cradek> http://www.linuxcnc.org/docs/devel/html/man/man9/near.9.html
ok for wait revolution ok the set = false?
yes if it is false, motion will not continue until it is true
at the times described in the docs
cradek excuse because in axis interface in menù file the line editing tool not is possible select?
[19:15:18] <cradek> http://www.linuxcnc.org/docs/devel/html/gui_axis.html#r1_11_5
you need to configure an external editor for File/Edit and File/Edit Tool Table to be enabled
ok very thanks
motioncontrol: you seem to be coming right along. Nice work. How do you like emc? Do you have any pictures of your project?
excuse another question. more cnc use the spindle in C axis configuration.The C axis can positioning in degrees position.Is possible whith emc?
it is possible, but you will need to have the hardware to disconnect the spindle from the spindle motor and connect it to the C axis servo motor
I think it would not be easy to do this
excuse i have implementation on my analog spindle the index search with tristate component
wait i write
i load in pid.3.command = 0 for search index position
if i load the degrees position in pid.3.command = 180° the spindle i thing rotation at 180° or 180 count?
yes it seems possible
ok tomorrow i prove on my machine.today i prove the tool change an magazine whith success
depends how you have pid units set up
if it's in machine units, then 180 probably corresponds to 180 degrees
Is there any easy way to setup this zaxis servo thing to fire my laser? I'm wincing at the thought of having to spend many hours learning all the details
I wonder if that hjohnson guy would send me his settings
shrdlu-: the only other way is getting someone else to do it for you
luckily I'm off to bed :D
I wince that you don't care to understand how to make your system work yourself
oops, that was an inside-thought
I have to have this working by about 12pm tomorrow
and it's 8 now, here
I can't afford to spend days
I'd already calibrated the spindle PWM :/
wouldn't it be wise to put that in the docs somewhere?
'you can't run a laser off the spindle'
sorta, but it would be hard to document each thing someone might try to do that wouldn't work
shrdlu-: actually you can
and you have proved that you can
the issue is not about the laser not working, it's that you don't like G61 (or exact stop)
shrdlu-: if you have lower accel it will probably reduce the problem
where is the help file?..not about to use in mini ..i see where to put the path in ini
lower accel is going to burn holes in things
shrdlu-: probably so
ok.. off to bed for me
unless you compensate for it with PWM or something
shrdlu-: hope you figure it out
good night all
where is the help file?..not able to use in mini ..i see where to put the path in ini
is possible start one preconfigurated maschine at start.normaly i write ./emc and after open the window for select configuration . is possible write ./emc m5i20 and open only m5i20 configuration?
motioncontrol: man emc
ok i search info.thanks cradek for help
if my stopping problem is caused by G61 waiting for the spindle, can't I just turn it off?
I'm not using G61, where is that coming from?
motion stops for I/O such as spindle and coolant control
so you need to use motion, which is why so many people have used Z position for this
how does it know how long to wait?
the time it waits is not guaranteed because it takes place outside of realtime
does it actually stop? i guess i could test on sim w/halscope
yes I'm sure it actually stops
" so you need to use motion" does that mean I can get past this in code somehow?
I don't care what code i use. I'm writing a custom generator and it's very simple
he means you have to use an axis instead of i/o such as spindle or m-codes
oh god, this all looks obscenely complex
what are you doing now?
I'm trying to do the axis thing
I've never used a servo, I've no idea what any of this means
so you're editing hal right? basically you need to do something like net Zpos axis.2.motor-pos-cmd axis.2.motor-pos-fb
and then net Zpos your.io.device
except you probably want to use some other axis like W, so change 2 to 8
what do I look at to tell me what you just said means?
I'm 10 pages into google and I see nothing accessible about servos and emc
to a novice
you dont need to know anything about servos
you're just hooking up signals in HAL
so if I have an existing stepconf steup, where do I add those commands?
(i think, i've never used stepconf)
fenn: did you get a chance to commit your hexapod fix?
skunkworks: the kinematics are still off though
sigh.. when will people learn that jamming the gas pedal to the floor isn't the way to get unstuck from the mud
don't you know that's the go-faster pedal?
it works on ice and snow too
any guesses why vismach and emc don't agree on the strut length?
excuse.is possible display the Spindle axis position on DRO or axis_plot ?
motioncontrol: spindle is not an axis, perhaps you want to use one of the rotary axes, A B or C
when i closed the pid on the spindle the spindle is a axis degrees
one more cnc the spindle in velocity mode is spindle in position mode is C axis
um, i guess you could use a mux2 in hal to switch between the two modes
but it seems like a bad idea
i swith with mux2 componet the spindle or the c axis and fuction, but the position encoder on axis blackpot or Dro windows not is displayed
you thing is necessary declare in ini file s axis?
look at COORDINATES line
then you need to copy stuff for [AXIS_5]
but the 5 axis is x-y-z-a-b-c not s axis
there is no S Axis
there is S for spindle speed in G-code, but there is no S axis that can be used for coordinated motion
ok i can call c axis
C is the correct name for the axis anyway
the problem isn't what to call it, it's how to change from velocity mode (for hte spindle) to coordinated positioning mode
that is not an easy problem, and I don't know if anyone has solved it yet
ok if i write i alf pid.3 feedback in => pid.4.feedback the pid.4.feedback is c axis displayed
that's another thing, displaying the spindle speed instead of position
you will need separate indicators for speed and position, since the "C" axis position can't change when in velocity mode
if it did, you would get a following error
SWPadnos: couldnt you just short-circuit the feedback pin for whatever mode is "off"?
yes, with several muxes
for both command and feedback
DPDT mux :P
in more cnc when i command the m3 s1000 the spindle command in velocity mode and on the screen the cnc the count encoder the c axis = spindle increase fast 0-360°.when i write spos=180 the spindle change in position mode and the axis search index and position at 180° from at index
EMC doesn't do that
i thing is important point in future version
emc can do it , emc not can only display the encoder spindle position
sounds a bit like tormach's duality lathe:
[20:36:03] <seb_kuzminsky> http://www.tormach.com/Product_PCNC_lathe.html
the Duality spindle only has a speed control, nothing else
it can't be used for positioning
in fact, the speed control is a knob on the spindle - the only I/O used on that is a single PPR feedback
SwPadnos, if i have pid.3. enable and load in pid.3.command 180 the spindle move at 180
yes, if pid.3 is tuned and connected for positioning (rather than velocity)
i have use in classicladder the switch for spindle in velocity gear , partprogram spindle, index marker search for tool change and the positiooning spindle
i wait for dinner at after
wow that's amazingly misleading (the duality lathe)
the fact that it doesn't do angular positioning
why would you bolt a lathe to a mill table otherwise?
to make it cnc
they put a lathe tool on the mill's quill
it's a cnc lathe, not a milling indexer
i was misled! i should have read the not-so-fine print better...
I think it's a clever idea, but a terrible little lathe
looks similar to the sieg 7x lathes
same casting probably?
BigJohnT_ is now known as BigJohnT
after I've setup " net zpos => parport.0.pin-1-out net zpos axis.2.motor-pos-cmd => axis.2.motor-pos-fb"
where do I go from there? my laser isn't firing with z commands
how was the spindle doing it? where you outputing pwm to it?
I dont need PWM at the moment though, on / off will do
those are the only zaxis hal commands I've added for z
those net commands shouldn't work
the parallel port output is a bit, but zpos is a float
to get on/off, you need a comparator. you compare zpos to a constant (like 0), and the comparator output will be 1 when the comparison is true and 0 otherwise
so z-1 (or z-0.01) would turn the bit on, and z0 or anything positive would turn it off
you can see an example of how to use a comparator in the sim/axis config I believe
they're used to simulate limit switches
it would probably be easier to unhook the spindle speed to the pwmgen and hook the zpos to it.
that is true
and there I was thinking I was getting somewhere
you are - you're learning about HAL, which is what makes all your hardware do things :)
might as well start with the "correct" way, using PWM instead of a comparator
why dont those commands I was given work?
why did I just waste an hour trying to work out where to put them?
where did you get those commands?
pwmgen type 0: A single output pin, pwm, whose duty cycle is determined by the input value for positive inputs
I don't have time to learn, I have very few hours to fix this
find the line that connects spindle-speed to the pwm
change that line to connect zpos to the pwm
hokay, lets see
you will need to mess with the pwm limits (scale, min_output and max_output)
and dont forget to add the pwmgen update functions to your thread
you don't want to have to program a Z1000 move to get the equivalent of S1000 :)
there should already be a pwmgen there, since it was used for spindle speed before
I'm so totally writing a guide to this when I get it working
shoot me dead if I do not
will do :)
I have an emc question if anyone has a minute... I'd appreciate the advice.
ask, if anyone knows, they're likely to answer
(maybe even if they (we) don't)
The warning/error message box bugs me in emc. I'd like to clear the messagebox via my control panel rather than hitting enter on the keyboard.
I wonder if that's possible
That keeps the operator's hands near the control panel and makes everything more efficient
what user interface are you using?
I use commercial control systems at work
and it pops up a window with error/status messages
and they have like a message display "area" that is red/yellow depending on severity
I don't think it's possible at the moment without changing the software
yep, I've seen that
they never have to be manually cleared, they clear with the PLC when the condition
on a nice 20" touchscreen too
(this was on a $1M EDM machine)
ok, I just wanted to see if i was missing something in the documentation
no, running some Windows based control with a 20" touchscreen
I don't think so
yes, tkemc. I believe the error delivery is the same with axis, etc
have you looked at axis? the development version doesn't pop anymore - it is part of the preview.
here's the reason why I don't think it's possible at the moment: the user interface is a separate program from the EMC IO and motion controllers
I think in tkemc you actually have to use the mouse, which is a bug as far as I'm concerned
the new axis error thing is still annoying.. they just pile up instead of scrolling off screen like a good terminal should :)
and also separate from halui, which is what you'd use to talk to the physical buttons
yeah, I gathered that it was seperate, that way it keeps it HMI independant
fenn, it seems to be limited to 10
fenn: they do eventually 'scroll' (oldest are lost)
* skunkworks knows someone has a screenshot...
so the problem is how to get one program to ask (tell) another to get rid of its error message window
not really, I think that someday, the way errors are displayed in all of the HMI's should be looked at
you could do it with some tk script I think, if you know the name/class of the message window
no, that's a proposed solution
don't get confused
cradek: ah, well it covers up 90% of the preview
(I think one tk process can send messages to another, but I don't know the mechanics of it)
instead of being confined to the lower right corner
it may be possible to add the function "clear messages" to axis-remote, and/or add a HAL pin to AXIS to do that
[21:47:02] <fenn> http://fennetic.net/pub/irc/axis-errors.png
but that won't fix tkemc
and then you have to click 10 little X boxes to clear it
apparently there's a clear all button
like control-space :)
"patently obvious" :)
works in axis to clear those?
cradek: you should file for a software patent on ctrl-space :)
net spindle-cmd <= motion.spindle-speed-out => pwmgen.0.value
* skunkworks sees the wheels turning
when you think there should be a keyboard shortcut to do something in axis, check help/quick reference, because there is
so I change that? put something zedish in there?
I am at emc 2.1.7, is the axis that has this in 2.2+?
zebra78: new in 2.3
2.2 still pops up a dialog I think
cradek: could i have one X button that clears all of the notifications instead?
fenn: where would it be?
* skunkworks tried to click on the big red x initally....
* fenn too
I was thinking maybe the big red x should be on the left..
too bad X means button and error both (it's a standard icon that means error)
* skunkworks ducks
maybe we should make and use a skull-and-crossbones instead
HAL can't issue keyboard commands (outputs) can it? I know it can get inputs from any input device...
or maybe a little picture of a machine exploding
that way lies madness
shrdlu-, I'd change motion.spindle-speed-out to something like axis.2.motor-pos-command
zebra78, even if it could, are you sure that AXIS has focus?
* skunkworks hopes shrdlu- has a 3 axis setup..
Ahh yes I see the dilemma
or the messagebox for that matter
I have a 2 axis setup
oh. you'll need to change that
well, I've got the z setup via stepconf, automatically
well, I sure do appreciate the help. This is a great product yall have here
I was assuming I'd have to change stuff around
oh, then you have a 3-axis config, for a 2-axis machine
ah - ok
hmm - doesnt the pyvcp able to run gcode.. custom mcode... maybe... :)
(for doing some sort of sendkey or something scary like that)
no? am I thinking to abstract?
I don't know because I can't tell what you're talking about
a m100 mcode that runs a script to send keystrokes to axis? No?
just trying to think outside the box...
ah I see now
but I agree, "no"
hm, I can just hook the z direction pin up in stepconf and do the rest in code
why did I not think of that
hah now there are three trucks stuck in the yard.. when will they learn
the yard of the house i'm currently living in
yeck - popular place
i'm trying to convince them that a tow-truck is not the solution
sounds fun to watch
can you take a picture for us?
[22:10:44] <fenn> http://fennetic.net/pub/camera/DCP_0853.JPG http://fennetic.net/pub/camera/DCP_0854.JPG http://fennetic.net/pub/camera/DCP_0855.JPG http://fennetic.net/pub/camera/DCP_0856.JPG
my expert opinion is what you really need is some more trucks
I'm surprised they're stuck - it doesn't really look that bad
it just rained like 6 inches
there's no grass or anything, just moss
but they're not sunk up to the axles/bumpers (yet!)
the gray one is working on that :0
heh, yeah I agree with you - don't bring in more trucks
the brownish one looks fine so far, it's up a little higher
(I don't know why she swallowed the fly...)
thanks for the pictures :-)
uh oh here comes another truck :)
who brought the winch?
I get "laserconf.hal:24: pin 'axis.2.motor-pos-command' does not exist" if I try and put that in place of the spindle-speed part in "net spindle-cmd <= motion.spindle-speed-out => pwmgen.0.value"
shrdlu-, look at how the other ones are connected. it may be motor-pos-cmd or something
damn, you're right. command/cmd
I'm going blind
what am I trying to do? What does the pos signal consist of? How does that trigger on/off?
the pos signal is the position that Z should move to
like 1 when you command Z1
but you did have a good idea - hook the parallel port pin to the PWM direction output
(if you don't want the proportional control at first)
I played around with it for about 5 mins then gave up when it wasn't triggering when I wanted ;)
guess that was lazy, I'll look again
it did work though
although the x axis did actually slow down when I triggered it, not sure why
but it certainly didn't 'bump' like before
just slowed a little
do you have blending on?
this would be one reason to use a pretty small scale change in Z to mean a large change in the laser output
how do I tell that?
makes blends smaller
you set that in your G0code
ah, those guys
damn, it's not really triggering smoothly
well, the motion is smooth
but it's not turning the laser on when I expect
have you fiddled with the PWM scaling?
I thought the direction pin would be able to just swap it binary style
I'm just using the z axis direction output
it should just toggle, but it may not be guaranteed to stay in the state you want
shrdlu-: I've missed about 3/4 of this conversation but are you turning on the laser and setting the volume so to speak?
hm, maybe I'll try a pull up/down
yeah BigJohnT, I was trying to fire the laser from the spindle before, but it was 'hopping' whenever I fired it
so swapped to z axis
no, I meant that the PWM direction output may not be what you expect once Z has "reached the proper position"
I guess it should, since the PWM would be driven from the programmed position, not from the error or some PID
can you pose what you've done on pastebin?
I use "net spindle-on motion.spindle-on => parport.0.pin-16-out" to fire my plasma...
but it is only off and on no amp control
BigJohnT, the problem was that axis motion would stutter whenever there was an M3/M5/Sxxx word
and he was using M3/M5 and S words all over the place, to set burn depth
ok, way beyond my plasma then
I don't think you can assume the direction output stays set the direction of the last step
it's not a step
that's easy enough to test though, of course
[23:20:49] <shrdlu-> http://pastebin.com/d1eafaf84
that's what I was thinking at first also
it seems to flutter around a bit
but if zpos -> PWM input, then the PWM output should have a constant sign based on zpos
oh, I thought you were using Z direction output
shrdlu-, I meant the hal file :)
ok I see what SWPadnos is saying now
oh, try Z-0.01 instead of Z0
this is just a stock stepconf 3 axis with the direction pin set to the laser
something a little negative and something a little positive is all you need
not 0 and 1, since 0 could be positive or negative
you can use Z-0.01 nad Z0.01 as the turn-off and turn-on depths
That seems to be firing right now, but I can still hear the motor hopping slightly with both G64 and G61
nowhere near as bad as before
z speed settings maybe
there should be a slight blend, and since the feedrate is the overall velocity, X and Y will slow down a little
make Z accel/vel very very high, and use tiny Z moves
but not so tiny they get ignored if you use G64P--
how is it a cheap hpgl plotter card can do this smoothly with PEN UP and PEN DOWN commands, but with 100% control i can not?
doing stuff with the z axis does not really seem any different from using the spindle