Hello Guest it is April 19, 2024, 10:48: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.


Topics - bhauck68

Pages: 1
1
Mach4 General Discussion / Any Lua programming consultants out there?
« on: June 06, 2019, 05:31:28 PM »
I submitted a help ticket and also paid for some phone support a week ago but haven't received any word back from the guys at Artsoft.  I'm hoping someone on this forum is a Lua expert and willing to assist with my Laser tube cutter / welding project where I'm trying to change the steps/unit for the rotary axis based on the diameter of the tube that I'm using.

If you have Mach4 and Lua programming skills and think you can help with my project, please let me know your availability and hourly rate.  Contact me directly at: bhauck68 (at) gmail.com


2
Mach4 General Discussion / Rotary axis (steps/unit variable)
« on: May 30, 2019, 12:57:11 PM »
I'm trying to build a laser tube cutter that will use a rotary to represent the Y-axis.  I have defined the motor axis "steps/unit" to be 24,000/pi (8000 motor steps / rev and a 3:1 gear ratio) and then within the G-code I was using a scaling factor (1/diameter) for the Y axis.  When I try to cut a tube my circles are turning out to be ellipses.  I noticed that the G-code instruction manual had this caution statement regarding scaling (G51 command)

Exercise caution when using scaling, the results can be unpredictable depending on program complexity.

For example if G52 X2 Y4 is programmed followed by an arc move in the XY plane, the arc will NOT be

scaled 2x in the X axis and 4x in the Y axis to obtain an ellipse. The start and end positions will be as

expected, but the motion from one to the other may not be. Check and double check the tool path

display before running the program.



Is there an easy way to make the "steps/unit" a variable that is based on the diameter of the tube I'm processing.  Ideally this variable would be within the G-code or alternatively it would be input on the screen.  I have done some screen updates and custom M-codes but I'm not too familiar with LUA scripting so any assistance would be appreciated. 

I found this in the forum that seems appropriate but I'm not sure how to implement it.
https://www.machsupport.com/forum/index.php?topic=36321.40


3
General Mach Discussion / Feed rate speed error
« on: June 12, 2018, 12:39:40 PM »
I've run into an issue with a laser welding station that I've designed with Mach3 and SS board and can't seem to find the cause of a feed rate error.

I've found that I need to use a g-code feed rate 4x what the actual feed rate is.  For example, If I want  600mm/min I have to enter F2400 instead of F600. 

Attached is my XML if anyone is able to help resolve the issue it would be great.

Thanks,
Brian

Pages: 1