Hello Guest it is April 18, 2024, 11:02:34 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 - BluePinnacle

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 »
11
General Mach Discussion / Re: Diameter changes .001 every part.
« on: December 10, 2018, 10:23:01 AM »
Words to the wise I'm sure but if you're using a changing parameter value for turning the diameter, make sure it is zeroed (or returned to a fixed, favourable value) every time the code runs. Otherwise it will persist and keep incrimenting itself over and over.

12
just go into the ports and pins menu and disable them ^

13
it doesn't help that the 0 and o are right next to each other. I always type in lower case to prevent this and it still gets me occasionally.

14
Tangent Corner / Re: how to login my cash app account
« on: November 21, 2018, 05:48:48 AM »
Greetings in jesus Name!

Gotta love the lads from Lagos. They never fail to disappoint.

15
General Mach Discussion / Re: Trouble with parametrics & subroutines
« on: November 15, 2018, 07:46:46 AM »
G01 x#1 y#2 ... it's hardly complicated as offset tool moves go and it makes no difference if it's one sub deep or two. The only thing that breaks it is being in a subroutine at all. outside the sub, it works fine. i just have to repeat myself a lot :D

16
General Mach Discussion / Re: Trouble with parametrics & subroutines
« on: November 14, 2018, 11:10:17 AM »
^ that's my part alright. My mill's set up on Mach3 although I may well fit Mach4 when I build the new controller.
I tried calling a tool from the tool table in Mach3 but it makes no difference.

17
General Mach Discussion / Re: Trouble with parametrics & subroutines
« on: November 09, 2018, 08:21:24 AM »
well... Looking at the fossil record of the forum and having tried damn near everything including nesting, un-nesting, changing parameter names and drinking coffee until my eyes ache, it seems that diametric offsets are broken when used in subroutines.

so I've un-nested the subroutine and copied and pasted its contents as many times as needed. feh. Not nice coding but it works. Maybe I should buy Mach4. Is the issue solved in the new version?

18
General Mach Discussion / Trouble with parametrics & subroutines
« on: November 07, 2018, 01:09:52 PM »
So, here's some code I've been writing to try to get an exponential curve on a job. It's just a toolpath for now, no feed rates, spindle commands or anything fancy, I tend to do those later in the game.

g40
g0 Z5
#1=0
#2=0
#3=-5.2

G0 x-65 y0
(g41 p7) (this is what buggers it up)
g0 z#3
G01 X-55 y0
G01 X-45 Y0
G01 Z#3
#1=0
#2=0
g01 x0
M98 P2 L10
g01 X 0.86 Y-35.71
G03 X0 Y-35.5 I-0.89 J-43
G01 X-45
G01 X-45 Y0
#3=[#3-5.2]
g40
M30

O2 (Incriments X then recalculates Y, then moves there)
#1=[#1+26.0000]
#2=[[[0.495*[2.718**[0.020*#1]]]+[0.0320*#1]]*-1]
G01 X#1 Y#2
M99
%

Note the G41 offset is commented out - like this it should display a nice sort of boomerang shape, but of course there's no tool diameter offset. With the offset active, it runs O2 once then bails out and shortcuts back to the start of the g03 arc.
The really strange thing is, the blue toolpath line is the right shape - it just doesn't follow it with the offset on. it's as if it will only run O2 once when the offset is active.
Help me out lads, I'm losing my mind here.  :-[

19
General Mach Discussion / Re: Question before my next Mach3 question.
« on: October 15, 2018, 10:02:04 AM »
^ agreed, for basic work on or off is enough. If you have a VFD with a knob for controlling output just put a reminder line in the code with a M1 after spindle start:

M3 M8
%Set spindle speed to 10,000 RPM%
M1

G0 x etc

Then it will stop and wait for you do do this and you can sort it out and send it on by pressing Cycle Start.

My mill's got an expanding sheave pulley drive but it's hand cranked into position with the motor running. I'm still trying to think of a way to control a motor drive to wind it up or down as part of an M6 call.

20
If the problem is with the limit switches then an override button should fix it. Switches of any sort will have a bit of hysteresis built in to prevent bouncing and you might need to move your axis a surprisingly long way to get them to reengage.
Mount it on a vertical surface so you can't put something on top of it and leave it in ;)

Let us know if this doesn't do the job.

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 »