Hello Guest it is April 25, 2024, 06:37:03 AM

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 »
121
I've currently got in my program for the machine to go to a certain point
e.g
Code "G91 X20 Z10."
'*
Code "X-20 Z10."
Code "G0 X30."

'*
'This is where I'm hoping to have the following:
'Radius=GetUserDRO(1262)
'Blend radius (tangent) between the last line and the next line
'*
The attached pic should explain it better, is this do-able?

122
Thanks Chip, I'll give that a go.

123
I'm making a lathe screen and some of the program don't wok correctly unless I set active plane of movement to X-Z (in general config)
But when I restart Mach it resets it to X-Y?
Is this a glitch or is there something else I need to do.
I also haven't been able to set a toolpath display as a Turning control in screen 4, it always reverts back to normal, is this related somehow?

124
Mach Screens / Setting a toolpath to Turning control problem.
« on: October 12, 2007, 05:54:49 PM »
Hi Guys, any idea why when I set a toolpath display to Turning control, it won't stay checked as turning control, BTW I'm using screen4.
So obviously it won't display as turning control, or am I missing something?
On that note, how can I use the toolpath to display as X Ø, Z left to right and A as the chuck, or is this exactly what the turning control does?

125
Thanks alot guys, it works well, I used Scotts M200 & M201, it took me a while to realise I needed
If IsLoading()Then
Else
******
End If

But it works great.
Thanks again.

126
Thanks for the reply Graham.
Basically I'm trying to display in a DRO how many repitions of a sub routine remain using a script.
So to use your example program:

O0001
#1=1
M98 P2 L10
M30

O0002
G00 Z[#1-[#1/2]]
#1=[#1-1]
SetOEMDRO(1214,#1) ' I know this isn't correct syntax, but if it was, this is exactly what I was hoping I could do.
M99

Is it possible to display in a DRO the valueof a variable? e.g #1

127
Any thoughts as to why I can't get this counter to display correctly?

SetOEMDRO(1214,Remain)
Code "M98 P1 L10"
Code "O1"
Code "Z[#1-[#1*2]]"
Remain= Remain - 1
SetOEMDRO(1214,Remain)
Code "M99"

128
Yep, she worked a treat Graham, Thanks again.

129
Thanks Graham, I'll give it a go.

130
Yeah, I've been lazy, too many things on the go, I should probably finish them.

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