Hello Guest it is April 25, 2024, 08:38:52 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 - Tarak

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 »
21
General Mach Discussion / G31 alternative
« on: August 13, 2016, 06:54:20 PM »
Because of some of the strange issues I am having with G31, is there any alternative probing function to use instead of G31?
I am writing a probing routine that is fairly standard, but occasionally when it runs a line like "G31 Z-5. F100", the A axis will rotate as well????
But the next time I run the code it may not rotate??????
It's a very strange issue, has anyone experienced anything like this?

Tarak

22
I got caught out once because at the top of my program I didn't put the following:

OpenTeachFile "Program.cnc"

This would start moving the machine, not sure if this is relevant for you though!

23
VB and the development of wizards / Touch probe checking algorithm
« on: July 25, 2016, 07:26:08 PM »
Hi All,
I've been using a touch probe for a bit now with pretty good success (touch job, set size, pull away), I am wondering if anyone could help me with how I could do the following probing routine, I couldn't really find anything like it on the forum.

I am using a rotary axis in my router, I have a round bar with a slot in it (in a random position around the bar), this is in the A axis,
I would like to tell the probe to try to come in to 2mm below the diameter of the round bar (this would ensure it is in the slot), but if it hits the bar before this, to stop, pull away 3mm, then rotate the A axis 10°, then try plunging in again, repeat this until the probe is capable of reaching the final depth (2mm below bar diameter).
Once this depth is reached, to then rotate A axis until the probe is activated, then I know where the edge of the slot is.

Thanks,
Tarak ;D

24
General Mach Discussion / Re: Weird rotary axis issue???????????????
« on: April 30, 2016, 11:03:44 PM »
Thanks dude1 and rcaffin for your help.
I changed the step frequency in the smooth stepper settings as per the recommended:
X axis: 128 kHz
Z axis: 32 Khz
A axis 64 Khz

I then went into the motor tuning settings and set to the max velocity and then set my acceleration, they seem smoother and a bit faster, so I'll happy with that.
I also tested my original program again using v040 (I know I shouldn't bother, and just try to figure out the feed hold issue for v062, I'm just curious).
BTW, with v062, if I'm running a basic program I press feed hold, it displays PAUSE then pauses a second or two later, the small delay is fine, but with a more involved program (coincidence maybe???) I press the space bar and nothing, it doesn't even display pause, no matter how many times I press it, I would love to figure out this pausing issue, it would solve all of my problems......I'm pretty sure my wife would disagree though! :P

Oh I also forgot to ask, if I change the kernal speed to 25 kHz, will I need to re-tune the motors?

This below program works...
;Annular plunge grinding example with finishing cycle
#1=48
#2=47.5
#3=6
#4=2
#5=24
#6=0
#7=4
#8=-1874919423
#9=0
#10=0.1
#11=0.025
#12=12000
#13=3500
#14=0.475
#15=5
#21=10
#23=0
#24=0
#25=1
#28=3
#16=1.5
#17=0.5
#18=[[#6/[#5+#3]]*#3]
#20=3
#22=-1.1520495086364e-006
#26=[360/#7]
#27=[#22*#4]
#29=5
G90 G21 G57
G18
M208
G90 G0 Z0.
G4 P2
G0 X[#2+#11+#17+#21]
A0
M98 P1 L#20
G90 G0 Z0.
A0.
G0 X[#2+#11+#21+0.3]
M98 P4 L#29
G90 G0 X[#2+#11+#17+#21]
M208
Z0. A0
G0 X[#1+#21]
G4 P1
M18
M16
M30
O1
G91 G0 X[#21-[#21*2]]
M98 P2 L#15
G91 G1 A720 F#12
G1 X[#17+#21] F300 ;IF I USE G0, IT WOULD JOLT X AXIS OUT AND TRIP THE SERVO
G0 X[[#18-[#18*2]]*#4] Z[[#3*#4]-[[#3*#4]*2]] A[[#22-[#22*2]]*#4]
M99
O2
G91 G1 X[#10-[#10*2]] A360 F#12
M98 P3 L1
M99
O3
M99
O4
G91 G0 X[#21-[#21*2]]
M98 P5 L1
G0 X#21;THIS LINE SHOULD ALSO TRIP OUT THE SERVO, BUT DOESN'T????
G0 X[#18-[#18*2]] Z[[#3*#25]-[[#3*#25]*2]] A[#22-[#22*2]]
M99
O5
G91 G1 X[[#11-[#11*2]]-.3] A360 F#13
M98 P6 L#28
G91 G1 X[#9+0.3] A#26 F#13
G91 G0 X#11
M99
O6
G91 G1 A360. F#13
M99

25
General Mach Discussion / Re: Feed Hold stopped working.
« on: April 30, 2016, 10:40:27 PM »
Moto52000, did you have any luck?
This is the exact issue I'm currently having, I need to upgrade from v040 to v062 min. to fix an issue, but when I do I lose the ability to use the feed hold reliably.
This is just my topic related to this: http://www.machsupport.com/forum/index.php/topic,32428.0.html

26
General Mach Discussion / Re: Weird rotary axis issue???????????????
« on: April 27, 2016, 07:07:41 PM »
Thanks dude1, I'll have a read when I get a spare minute.

I took rcaffins advice and installed v.062 and it DID fix my issue, WOOHOO! sort of........ the feedhold seemed to work at first, it would pause a basic program, but as soon as I ran a more complex program, the feedhold will NOT stop the machine moving, if I can get past this hurdle I think the problem would be solved.

Oh, I meant to mention, the CYCLE STOP & CYCLE START buttons on my screen don't get used, I have an actual switch panel, I realised early on that when I create a screen I still need the buttons on the screen, otherwise I cannot test the screen, I did think about putting them on the TAB screen though, I only use the TAB screen for all the diagnostic LEDs and such....slightly off topic
 
Thanks guys!

BTW, I've attached my XML

27
General Mach Discussion / Re: Weird rotary axis issue???????????????
« on: April 27, 2016, 12:51:14 AM »
I will try the v062 later today, but with R3.042.040 when I press the stop button, it runs for a second or two (exactly what you guys said), it just needs to finish the command in the buffer.
hmmmmm...maybe I need to look at sending the feedhold command through to the smooth stepper??

28
General Mach Discussion / Re: Weird rotary axis issue???????????????
« on: April 26, 2016, 08:12:04 PM »
rcaffin, yeah I try and use parametric code wherever I can.....much handier and also the best way to get consistency in your programs!
If I change from a G0 to a G1 it only works if I put a crazy slow speed in, but it does work!, if I try and rapid out, or G1 out at a normal medium feed rate, I get the same result of tripping the drive.
I will give .062 another go (I'm pretty sure I did awhile ago, but because I couldn't stop the program once it was started I removed it, not being able to stop the program is a deal breaker for me.)

Subroutine O3 is a no-op. I take it you simply truncated it?................This only is empty because the FINISH button on my screen is not enabled
Subroutine O6 simply spins the A axis N times: this is a grinding op?..........This is for spark out passes.

29
General Mach Discussion / Re: Weird rotary axis issue???????????????
« on: April 26, 2016, 06:04:13 PM »
MachMotion Mach3 CNC Computer Enclosure X15-350
• 15" Color LCD Flat Panel monitor 1024X768
• Intel Celeron D 360 3.46GHz Processor
• 80GB Hard Drive
• 1Gb Ram
• Microsoft Windows XP, sp3
• Mach3 Installed R3.042.040 (I don't have the latest version installed (R3.043.066), because when I did, I lose the ability to stop the program when I press the STOP button on the switch panel.)
• Switch Panel
• MC-01 ModIO Controller
• USB Smooth Stepper
• Servo Motor, ID 33003 with Industrial Encoder - Qty3
• CNC Teknix Tek10 servo driver - Qty3

rcaffin, you are correct the servo drive is faulting for X axis, but, as long as I do not rotate A axis for multiple turns, I can use X,Z and A axis all day with no issue at all????
Also I can use A, X & Z simultaneously all day with absolutely no issue, but if I rotate A axis for multiple turns, I have to pull X away extremely slow to prevent the machine from tripping out X axis.
Here is a sample program that causes the error, the program is created from this custom screen I made.


;Annular plunge grinding example
#1=21
#2=20
#3=0.6
#4=2
#5=3
#6=0
#7=1
#8=-1874919423
#9=0
#10=0.2
#11=0.05
#12=20000
#13=15000
#14=0.95
#15=5
#21=10
#23=0
#24=3
#25=1
#28=3
#16=0.6
#17=1
#18=[[#6/[#5+#3]]*#3]
#20=3
#22=-1.1520495086364e-007
#26=[360/#7]
#27=[#22*#4]
#29=6
G90 G21 G57
G18
G90 G0 Z0.
M15;wheel on
G4 P2
X[#2+#11+#17+#21]
A0
M98 P1 L#20
G90 G0 X[#2+#11+#17+#21]
Z0. A0
X[#1+#21]
G4 P1
M16;wheel off
M30

O1
G91 G0 X[#21-[#21*2]]
M98 P2 L#15
G91 G1 A720 F#12
G0 X[#17+#21];THIS IS WHERE X AXIS JOLTS OUT AND THEN TRIPS OUT********
G0 X[[#18-[#18*2]]*#4] Z[[#3*#4]-[[#3*#4]*2]] A[[#22-[#22*2]]*#4]
M209
M99

O2
G91 G1 X[#10-[#10*2]] A360 F#12
M98 P3 L1
M99

O3
M99

O4
G91 G0 X[#21-[#21*2]]
M98 P5 L1
G0 X#21
G0 X[#18-[#18*2]] Z[[#3*#25]-[[#3*#25]*2]] A[#22-[#22*2]]
M99

O5
G91 G1 X[[#11-[#11*2]]-.3] A360 F#13
M98 P6 L#28
G91 G1 X[#9+0.3] A#26 F#13
G91 G0 X#11
M99

O6
G91 G1 A360. F#13
M99

30
General Mach Discussion / Re: Weird rotary axis issue???????????????
« on: April 25, 2016, 04:54:29 PM »
Thanks guys,
rcaffin, even though it is programmed to F2000, it only rotates at approx. 100-200 rpm, it's a deceptive value.
Also you will notice it goes from absolute to incremental, so it should rapid out 20mm.
I can run programs all day with no issue, but as soon as I try and rotate A axis for numerous turns in the one spot (in a program), it always jolts on the line after and trips out.
It's one of the strangest issues with Mach3, I've just never figured out??

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 »