Hello Guest it is October 17, 2021, 02:15:53 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - battwell

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 »
81
Galil / Re: Mach3 + Galil
« on: June 02, 2010, 07:15:38 AM »
can i make a user defined G code to call a series of vb scripts?
ie. to keep old program compatability from the machine im converting which for instance uses G99 to call a vertical drilling cycle.
i can write the vb script for the cycle but can i call it with G99 or would it have to be with an M call.

82
Galil / Re: Mach3 + Galil
« on: June 02, 2010, 05:16:41 AM »
but there are always cheap cards which should replace easily on ebay etc.
if the pc controller is isa look for 1740 to 1780 cards or use a newer pc

83
Galil / Re: Mach3 + Galil outputs
« on: May 27, 2010, 06:55:33 AM »
ok. this worked right.
aaa=1
While aaa<33
Setuserled(1000+aaa,0)
sleep(500)
code "g53 x0"
While ismoving()
Wend
code"g53 x0.5"
While ismoving()
Wend
aaa=aaa+1
Wend
While aaa>0
Setuserled(1000+aaa,1)
sleep(1000)
aaa=aaa-1
Wend
End

switches off outputs and sequences with moves in x, properly timed
then switches inputs back on in reverse order timed at 1 second intervals
thank god for written idiot guides!

one thing i noticed. couldnt stop the program when it was running? is there something to write into code so space bar or escape gets you out of vb loop?

84
Galil / Re: Mach3 + Galil
« on: May 27, 2010, 05:13:16 AM »
im going to give it another try today. now ive read the programming guide!
never done vb before
attatched the very useful guide!

85
Galil / Re: Mach3 + Galil
« on: May 26, 2010, 04:13:28 PM »
here is a trial sample program im running

aaa=1
While aaa<33
Setuserled(1000+aaa,0)
code "g53 x0"
code"g4 p0.5"
code"g53 x0.5"
code"g4 p0.5"
aaa=aaa+1
Wend

aaa=32
While aaa>0
Setuserled(1000+aaa,1)
code "g53 y0"
code"g4 p0.5"
code"g53 y0.5"
code"g4 p0.5"
aaa=aaa-1
Wend
End

can anyone see whats wrong with it?
i need to write a tool change routine but need the outputs switched on in sequence with moves etc so i cant have all outputs coming on or off like this.
if i put end in the gap in the middle of program it just switches outputs once :'(

86
Galil / Re: Mach3 + Galil
« on: May 26, 2010, 04:05:41 PM »
also having trouble getting a delay between outputs
tried g4 p5 etc but it seems to skip it in a running code (but seems to work if you step through the script)
someone please help im pulling my hair out and i dont have much left!

87
Galil / Re: Mach3 + Galil
« on: May 26, 2010, 05:44:53 AM »
can anyone help with this?
i have to set lots of i/o
using setuserled(1000,1) etc switches on  output 1, setuserled (1000,0) turns it off (i started my user leds at 1000 for outputs)
i have this working fine on the bench
using vb script to make an mcode is it possible to use one mcode followed by the output number (eg m100-1015 ) to switch output 15 on
or M101-1015 to switch that output off.
m100-1020 m101-1020 etc top switch output 20
wanted to see if this was possible rather than writing 2 seperate mcodes for each output
if anyone has ideas on this could they share please.
im using a galil 2280 with galil 1964 opto output breakout plus 2 off icm 1900 for everything else
any better ideas? how are other people doing this sort of thing?

88
Galil / Re: Mach3 + Galil
« on: April 18, 2010, 02:41:24 PM »
+10 v would command full fwd speed 0 v would be stop -10 full speed reverse etc
so +5v would command half full speed forwards.
the galil uses  the drive or motors encoder output to define the position / travelling speed of motor and adjusts its output accordingly

the 10 volt analogue signal is the output of the motion controller -- but the input of the servo drive or vfd etc.
it is a very accurate output. (even the older galil are 12bit resolution i believe)

89
Galil / Re: Mach3 + Galil
« on: April 17, 2010, 02:50:52 AM »
depends what model galil controller and breakout board you have? what motor dives/ motor etc combination too
different wiring but all seem to work the same once set up.
are you setting up an old machine?

90
Show"N"Tell ( Your Machines) / Re: My Big Project am I crazy
« on: April 10, 2010, 05:55:41 PM »
haha. ive done that too!
set spindle acceleration/deceleration to approx 3 seconds in mach so its up to speed before cutting. putting faster decelerations than that gets braking resistor very hot!

have you got it all moving now then? would like to see a video.(especially if you have the one of it overshooting the limit switch :-)

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 »