Hello Guest it is April 16, 2024, 05:41:25 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 - tomi

Pages: 1 2 »
1
I did't read your code but, is the curved entry move long enough? Try make longer entry move if it is posible. I add cam software to use 2xradius entry move and it work.

2
General Mach Discussion / Re: X-Axis rotation
« on: December 28, 2011, 04:05:28 AM »
Answering my self...  :o

Just check Formulas Enabled and then use VB-script function SetFormula.

SetFormula( "z", 0)

or

SetFormula( "z+((b*0.0173)*y)", 2 )

If used some coordinate transformation eq. G54 => G55 or G92 in this case just run Y to zero before change.

3
General Mach Discussion / Re: X-Axis rotation
« on: December 28, 2011, 02:46:46 AM »
I get this work with formulas ( z+((b*0.0173)*y) ) but there is still problem. When changing offset (G54 => G55) machine "jumps" when it try run in new Z-position. Could I activate and deactive enable formulas some way in VB-script or Brains?

4
General Mach Discussion / Re: X-Axis rotation
« on: December 15, 2011, 04:01:53 PM »
Yeah, I could think that way. Old machine rotates tool not a table and tool rotation use B-axis.  When I drive example B-axis to 3 degrees angle and after that drive Y-axis also Z-axis should change.

Example:
Start machine coords
B45 X0 Y0 Z0

Drive
G1 Y14.14

Machine coords after
B45 X0 Y10 Z10

I need same kind of functionality than Local System Rotated whit XY -plane.

Thank's answers any way.

5
General Mach Discussion / X-Axis rotation
« on: December 01, 2011, 02:22:47 AM »
Hi! stupid guy with stupid question ;)

I didn't find clear answer for that. Check the picture below, is X rotation posible with A axis. Arrow is "Tool" and xy-plane is rotated around x.


6
I answer my self  ;)

If you have machine with same parameters in Y and Z axis then you can do that.

use VB Script SwapAxis( 1,2 ) and after that swap current coordinates (Y and Z) macro 800.m1s attached.

after using remember to ResetAxisSwap() and swap coordinates back.

M218 (Macro to swap axis to simulate xz plane SwapAxis(1,2))
M800

( run your code here )

M800
M217 (Macro to reset axis to back xy plane ResetAxisSwap())

Note! Movements is made XY axis where Y is realy Z and vise versa.

DISCLAIMER: Your own risk!

M800.m1s
Code: [Select]
REM SwapAxis macro
REM Macro swaps Y and Z axis coordinates

X = GetDRO( 0 )
Y = GetDRO( 1 )
Z = GetDRO( 2 )

XMachine = GetOEMDRO( 83 )
YMachine = GetOEMDRO( 84 )
ZMachine = GetOEMDRO( 85 )

XOffset = GetDRO( 30 )
YOffset = GetDRO( 31 )
ZOffset = GetDRO( 32 )

XG92 = GetOEMDRO( 16 )
YG92 = GetOEMDRO( 17 )
ZG92 = GetOEMDRO( 18 )

XTool = GetOEMDRO( 204 )
ZTool = GetOEMDRO( 32 )

g92valueToY = ( YMachine - YOffset ) - ( ZMachine - ZOffset - ZG92 - ZTool )
g92valueToZ = ( ZMachine - ZOffset - ZTool ) - ( YMachine - YOffset - YG92 )

Code "G92 X" & X & "Y" & g92ValueToY & "Z" & g92valueToZ

REM Wait For data update
sleep(500)

REM Move current To g92
y = ( GetOEMDRO( 84 ) - GetDRO( 31 ) - GetDRO( 1 ) )
z = ( GetOEMDRO( 85 ) - GetDRO( 32 ) - GetOEMDRO( 32 ) - GetDRO( 2 ) ) 
Code "G92X" & x & "Y" & y & "Z" & z 


7
G-Code, CAD, and CAM discussions / Hole drilling with tool compensation
« on: November 29, 2011, 03:46:37 PM »
No I'm deep in to the s**t...

I need example how to use tool compensation to drill hole. I have 16 mm diameter tool and I need drill different size holes 18, 20 and 22 mm. I need to use G41 or G42 code to compensate tool because tool size could be change.


8
Any idea when R4 is coming out?

9
Thank's TP your answer. I found one trick is use the axis scale if I drive symmetrical shapes. Not using G41 or G42 just putting some calculations to script.

10
General Mach Discussion / Tool compensation xz or zy plane (G41 G42 G18)
« on: November 25, 2011, 04:48:25 PM »
Hi!

Is there any method/trick to use tool radius compensation to different plane than xy?

Thanks. tomi

Pages: 1 2 »