Hello Guest it is April 23, 2024, 06:31:30 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 - SimKel

Pages: 1
1
General Mach Discussion / Re: Replacing SINE table for a trunion table
« on: February 07, 2012, 07:55:16 AM »
Thanks a lot! it's really helpful but I do not understand how it determines the first angle from the normal equation of the plane. I'd like to understand how it's calculated!

2
General Mach Discussion / Replacing SINE table for a trunion table
« on: January 31, 2012, 03:51:46 PM »
Hi,

We were using a Sine table to get compound angle on part. With the manual sine table we we're able to ajust Rx and Ry by adding shims. We have recently intalled a 4th(Rx) and 5th(Rz) axis to replace the Sine table. Is there a way to convert Rx and Ry orientation into Rx and Rz orientation. I'm having trouble determine the rotation angle of B axis which is equivalent to the rotation around Y.

Thanks

3
General Mach Discussion / Re: VB calculation behind button is possible?
« on: January 18, 2012, 09:51:34 AM »
I found out what was happening! The problem was in this code line

Set f=fs.CreateTextFile("c:\mach3\GCode\result_orient_shim.txt",2,true)

I should have used the parameter false instead of true. The MDI read text file in ASCII which corresponds to the value false. True corresponds to Unicode which is not compatible with the interface.

4
General Mach Discussion / Re: VB calculation behind button is possible?
« on: January 18, 2012, 09:03:53 AM »
I have a little problem that might be simple for someone. I've generated with VBscript a text file containing some GCode as it follows:

G00 A0. B0.
A0.7562497658762
B21.764485993774
M99

When I load this text file, there is nothing in the Gcode MDI. Here is how I generate the text file:

Dim fs,f As Object

Set fs =CreateObject("Scripting.FileSystemObject")
Set f=fs.CreateTextFile("c:\mach3\GCode\result_orient_shim.txt",2,true)
f.writeline("G00 A0.B0.")
f.writeline("A"&teta)
f.writeline("B"&zeta)
f.writeline("M99")
f.close

Set f=Nothing
Set fs=Nothing

Is there something wrong with my textfile!?!?

5
General Mach Discussion / Re: VB calculation behind button is possible?
« on: January 17, 2012, 08:51:37 AM »
Thanks for helping me out! I'll need a couple hours to go trough all this literature
 

6
General Mach Discussion / Re: VB calculation behind button is possible?
« on: January 16, 2012, 08:23:39 AM »
What i'm trying to do is to give 4 points (x,y,z) as an input. Those four points being processed by an algorithm and then return the value of the A axis and B axis in order to obtain the plan calculate by the algorithm. Is it possible, to take the output of the algorithm and use it as the input for the command of the A and B axis? I'd like to add four field to enter the points (x,y,z) and have a button to run the algorithm on the interface.


7
General Mach Discussion / VB calculation behind button is possible?
« on: January 13, 2012, 10:47:00 AM »
Hi,
I'm new using Mach3. I'd like to know if it is possible to create button that will execute calculation and return A and B axis angle values. I'd like to be able to enter 4 measured points. I would enter the four coordinates of each point and I'd like to calculate the plan and then the angles between reference coordinates system and the plan. The goal is to orient(A,B) the part in order to mill in a single pass with the Axis. the geometry of my part is a rectangle and i new to mill the determined plan on the upside face.

Is it possible to enter points coordinates and then have Mach3 do calculation and return the value of the angle as an input for the A and B axis.

Thanks!

Pages: 1