stumbled upon http://bib.irb.hr/datoteka/421305.209-Staroveski-Brezak-Udiljak-Majetic-CIM_2009.pdf
emc and canopen
anyone looked at Beremiz? (plc editor +)
alguem fala portugues
FronBrasil: if you have a problem ask in english even if you run it through a translator and you will probably get some help
I'm configuring a driver dir / step with PIC16F84A and not get hit
I copied the project site http://eufacoemcasa.blogspot.com/search/label/CNC
whats the problem?
is a setting for undeveloped site with the Linux source code is http://www.dakeng.com/u2.html
i'm configuring a driver dir/step valen
has a microcontroller PIC16F84A
already configured one before?
I think the pulse of emc are very quick to the input pins of PIC16F84A
you want to use a PIC to run a stepper motor?
first suggestion is to not use a 16F84A, take a look at something like the 16F628A, much more features
you don't need a pic
all you need is an opto isolted parrell break out and stepper drivers
strum it sounds like he is using the pic as the stepper drive
was just the impression I got
a stepper driver can be made from logic chips and darlington array
no need for an intelligence on it
yeah but if you have a PIC why not use it
EMC does all that
PWM outputs, current limits
EMC generates the stepper pulses
yes astrosyn step
yes but its not going to PWM them to limit the current
the code was available on the website and I did not find any that were also available.
FronBrasil do you have a schematic of your circuit?
I'm using PIC16F84A to send half a step motor astrosyn
yes from code http://www.dakeng.com/u2.html
FronBrasil have you thought of using a crystal oscilator on your PIC if you want more speed?
crystal oscilator yes
yeah you are running at 2.5mhz, you can run the 16F84A to 20mhz
more would have to change the header of the source code
also have you used stepconf to make sure you are meeting the 40us step time?
and compile it again
that shouldn't be too hard
did you program the last one?
its a very small program
you just need to change the fuses actually to run with the crystal rather than RC
if you use http://www.dakeng.com/halfstep.asm
I think its already done for crystal
was wondering if anyone has any idea to configure EMC2 order to diagnose and then stir in electronics
is the problem that your driver is loosing steps or is it that you aren't getting any steps at all?
I am no expert in programming :-)
then why make something more complicated than it needs to be
the driver does not move
do you have a logic probe?
I tested the Windowns and worked well with mach3
then it must be the way you have EMC configured
not the hardware
I used the scope of the EMC and saw the waves pins 2-3-4-5-6-7-8-9
is that the same as when you run it from mach3?
that cannot be the case
stepconf disabled it in the emergency stop switches, leaving only the control pins of the axes
if that was so then you would get the same behaviour running either software
I believe that the pulses are too short and quick to recognize opic16f84a
the reduce EMC's time base setting
then reduce rather
I m trying three days and nothing has led to my board indicators as well see the digital answering to this
yes reduce rhater ok
here in Brazil there is little information in Portuguese
I managed to protect the motors from over-voltage using a current limiter with LM317 and a resistor of 0.9 wired shower
may increase 12v to 30v gaining strength
the price of a quality driver becomes prohibitive
Thank you all for your help my email is firstname.lastname@example.org
e-jones is now known as e-jones|away
e-jones|away is now known as e-jones
can subroutines take global feeds? or does the feed[20/.2] have to be in the routine?
either is fine
i have to put the feed IN thr sub
you can do it either way
F100 / O100 call will work
as will F something in the subroutine
put it doesn't work when i don't add it IN the sub
it should, if you actually call the subroutine from somewhere
i call it a number of times
can you post some code that doesn't work?
i'll paste if youlike
[12:05:16] <piasdom> http://pastebin.com/yL3Je9fE
now if i take the feeds out of the sub, it says g1 can't move without feedrate
when it comes to tye sub,there's another sub before that..works
so the rest of the program is left as is, but when the F words are taken out of the sub, it stops working?
what line does the error occur on?
it never runs, just shows some of the paths in the display
hmm, I thought it would give a line number
let me try again
i took out line 141 (o200 sub) and it says line 141 cannot move
your lines aren't the same as the pastebin
i looked in paste
o200 sub is line 140 in the pastebin
below that was the feed
i took out #
#1 = [20*.2]
ah, now I see the problem :)
subroutines can receive parameters, like functions in a C program
so you can do o200 call   ...
when you do that, the parameters are put into variables #1 through #30 (I think)
let me try
so in a subroutine, #1 is the first parameter, not the #1 you set outside the subroutine
if you use no parameters, #1 is 0
and F0 is not valid for G1 motion
i did o200 call   (correct?) and it no work
or do i have to have the feed in the sub ?
in that case, #1 in the subroutine will be 3 and #2 will be 109
i get that now
setting #1 doesn't change the feed rate though
just because there was "F#1" somewhere, doesn't mean that F will change whenever you change #1
you still need another F#1 after changing #1
then i can't get global feed ?
sure you can, just set F once and don't change it
oh :) ok but that's why i wanted global, to change the feed
and didn't want to go all over to do that
make your variables #101 #102 and #103
and then you can use them in the subroutines
ok Thanks SWPadnos
later, Thanks again SWPadnos
is there one single item on modern motherboards that is detrimental to RT performance? (aside SMI i guess)
some integrated video, the steal the memory for a period
and proprietary drivers for video cards
i was planning on sticking to the opensource gfx drivers, to avoid the proprietary modules not wanting to build against an RTAI kernel
if amd has no SMI equivalent, then maybe i should aim at a amd mobo+cpu, to avoid the whole "cpu could overheat if you disable SMI" bit
i want to push for something to put emc on while the machine parts are out to be reground/repainted
[18:06:04] <frallzor> http://vimeo.com/12019608
my first "job" for school work :P
methinks frallzor should use youtube like the rest of us, that cant play properly here, the sound broken and video is still
I like good encoding, sue me ;)
encoding for uploading so youtube can encode propery isnt my cup of tea
youtube is a lot better now
tried with these files
it failed horribly with quality
maybe youtube had a bad day, who knows
vimeo never failed me =)
frallzor: no option to use a larger cutter for roughing?
nice and fast, though :)
large enough for this
no need for bigger =)
what is your CAM ?
hmm the youtube upload was better now than last time I checked
giving the tube a second chance now =)
no finish pass?
not in the vid
frallzor: looking at the video... I can't help wondering if Aspire doesn't have any optimalisation routines... sometimes the machines goes from A to B to A to B....
I think that is for the best somehow
yeah, it does that to prevent breakage it seems
if it move to the right and is close to an edge larger pieces can break
but it moves up to the model and does CCW movement and prevents that
ah the quality is way better on the tube now
no noob questions today, just wanted to report success!
I've been tweaking the machine, and I cut a half a dozen test tstrips from 1/4" x 3/8" poplar (bamboo is too expensive to waste on test strips) and every one of them came out spot on to the G Code dimensions!!!!!
I'll be ready to try it out on bamboo strips this weekend, after I get a planer to plane the bamboo strips to a consistent thickness.
I just wanted to say thanks to everybody that's helped me out getting the software to work and getting the hardware to move in the right direction. I'd still be scratching my head if it weren't for all the help I'
I've gotten here and on the mailing list.
I was at ikea today, got some nice beech cutting boards =)
solid ones too :P
Are they at least 32" long? ;-) That's the strip length I was cutting. Started into the strip at .032" and finished at .078" for a tapered triangle strip 32" long.
frallzor, very impressive !
wat are your motors ?
ries_ is now known as ries
motionking 34HS9801 or something
ries uses the same on his machine =)
they are surprisingly awesome despite no gearing
frallzor: that's because it's a ridged system ;)
I was at ikea today, got some cutting boards to play with :P
speed is very impressive :)
its pretty ok at least =P
what do you use for transmission ? ballscrews ?
rack and pinion
no play with rack and pignon ? what is the gear ratio ?
gear ratio would be 1:1 I assume =)
well right, I've some difficulties to find the right words in english :)
there is some play, but its negligible
I mean : for one motor rev, witch distance the machine moves ?
25 * pi, I'm betting :)
or maybe 24
[20:51:23] <skunkworks_> http://www.youtube.com/watch?v=V_V48-2cbiE
I love STL btw
very nice format
couldnt be easier to do something nice in solidworks and export to another software for proper camming =)
LOL when you can get camworks to work it is nice
I think its pretty useless considering how hard it is to even get simple stuff going
I preferred solidcam, but now I just export =)
I design all my automation equipment in SolidWorks and it is fantastic for that... but most of the time I just need holes and pockets and it is faster to hand code right at the Anilam mill
yeah designing in solid is nice
but I find that exporting for cam is easier atm :)
we just finished a run off on one of a pair of machines this afternoon and I'm wooped out
they put a cover plate on a lawnmower engine and fasten it down with 4 bolts every 5.5 seconds
the funny thing is the plant went and took the machines away from our competitor and gave them to us and said "you finish them your way"
we threw everything away or scrapped it except the part from another company
* JT-Dev wanders out to the garage to setup the Hardinge for a job :)
* frallzor is ready to to sharp work too
got a win98 machine back working... (dedicated to playing sounds in a museum) I must have made a backup of the registry a long time ago - was able to restore it and the computer boots againg.
it's pretty funny that that's about the square root of my phone
I've a question about HAL
it was running on 16mb - It took me a bit to find a working pair to bring it up to 32mb - part of the issue is that the ram was bad causing a few problems
I use motion.digital-out-00 to drive un glue valve
EDO, FPM SIMMs?
I need to turn off the outpu if the program is paused
so I plan to use a and2 between motion.digital-out-00 and <something> and to have the and2 output conncted to my phisical output
motion.machine-on or similar
the question is : wat is <something> that is true only when program is running ?
rsponse before the question
we aim to please
bricofoy: halui.program.is-paused I think
okay this may be better
oh, that's a good point. machine-on is true while paused
I found motion.enabled but this is always true if machine is ON
but how to use this ? I can't find the signal or pin in halmeter/halscope
you're probably not using halui yet
add [HAL]HALUI = halui
to your ini file
is there any good (german?) book on milling?
I guess I am still miessing a few basics and not even knowing the german slang for that isn't helpful...
ok, will work with halui.program.is-running
'cause with program.is-paused I need to reverse the signal
using halui added a great number of useful pins :)
you don't want to reverse it, you want to force it off
thanks ! :)
which is what and2 will do
but with something that is TRUE when program is paused, will enable the output only when paused
ah, you want to invert is-paused, or possibly use is-running (if it exists :) )
with something that is true when programm running, will work the right way with and2
yes is-running exist
you wouldn't want a pause somewhere that the glue gun is off to turn it on :)
I just monitored it with halscope :)
yeah, turn the glu on during a pause could be a great joke... but no :P
is_running might actually be what you want, since that should only be true when the program is actually running (I hope :) ), but there are more ways to stop a program than pausing
yes, is running is true only when program runs
oh good. it's well named then :)
I plan to have the "glue level is going low" switch to pause the program
to allow changing the glue tank before the flow stops itself
ah yes, in that case halui will be most useful, since it can "press buttons" based on HAL inputs
and also I need the flow to stop if escape or pause is pressed to stop the program becaude there is a problem or anything
that will happen with is-running
so, halui seems to really be what I wanted :)
I just tested this
assuming that userspace isn't crashed or doing something else or anything - that's something to consider
halui doesn't run in the realtime kernel - just something to keep in mind
this is anoying
no ways to have something similar to halui.program.is-running and halui.program-pause but realtime ?
I only need these two pins, in fact
I'm not sure offhand. they would be part of the motion controller if they're there at all
well, axis have some way to talk to the motion controller to pause the program, so ther may be a pin to do it, no ?
most user control is done through NML messages, which are passed between user and realtime code
or over a network, etc
axis is also not realtime
none of the user interfaces are realtime
so let's hope halui will be reactice enough to do the job :/
I will try this tomorow, it midnight here
lunch time, so :)
ah. good night :)
bricofoy: I use halui to jog XY axes, it works fine
hm, interesting drives, they take up to +-12V, you can set it to +-6V too, i guess this is pretty standard in 2010, just new to me to actually have a manual/pdf for stuff
its official I am hard pressed to draw a straight line when it comes to CAD
maybe because paint.net isn't a CAD app?
heck I wasn't even doing too good with the gimp
i still think gimp has one of the worst project names :)
well, it's a trivial acronym, at least
what should they have called it?