Hello Guest it is February 28, 2021, 02:06:21 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 - native34

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 »
1
Mach4 General Discussion / Re: Mach 4 losing Home position
« on: October 09, 2020, 04:31:30 PM »
I don't have limit switches installed yet. I am referencing to a known position that I setup when i shut the machine down. So when I start it up and press reference all it zeroes where it is, then turns on the soft limits so I can't over travel.

2
Mach4 General Discussion / Mach 4 losing Home position
« on: October 09, 2020, 03:07:21 PM »
Is anyone else experiencing loss of home position. After I reference Mach 4, then establish my work offset. Mach 4 will flake out more often than not lately and lose its home position. So when I run a part program. The machine will tell me some axis is over its travel limit if it makes that move. Then I have to re home the machine and go through the process of reestablishing my work offsets again. After doing this a second time the machine usually doesn't give me a problem and I can run my part after that, but you can see that If I have to do this every time I run my machine it gets pretty old real fast.

3
Mach4 General Discussion / Re: Create elements in Mach 4
« on: February 11, 2020, 11:06:19 AM »
So i'm using wxbuilder to understand more about the code structure. I imported this code into Mach 4 panel script and i am getting a couple of errors when trying to run the code. I have attached images of the errors.


4
Mach4 General Discussion / Re: Create elements in Mach 4
« on: January 31, 2020, 07:36:38 AM »
Thank you JoeAverage, I have written programs in VB, VB.Net, ASP.NET. I am no expert in programming and to be quite honest the structure of programs are quite confusing to me, but somehow i seem to make it work in the end. I am willing to put in the work to get these features in my mach 4 screenset. I just wish there was better documentation and examples like there were when is was programming VB. They had pretty clear and concise examples and how you could implements them.

5
Mach4 General Discussion / Re: Create elements in Mach 4
« on: January 30, 2020, 09:43:49 AM »
Are there any examples on how to use Lua Panels?

6
Mach4 General Discussion / Re: Create elements in Mach 4
« on: January 29, 2020, 10:24:37 AM »
I have installed wxFormbuilder. How do i use it with Lua Panel to create the form elements and populate them?

7
Mach4 General Discussion / Re: Create elements in Mach 4
« on: January 28, 2020, 07:44:58 AM »
Does anybody have any starting points for me to look into?

8
Mach4 General Discussion / Create elements in Mach 4
« on: January 27, 2020, 11:30:19 AM »
How can i create and populate elements in Mach 4. I am trying to create a tool table that is not a popup dialog but embedded into the main mach 4 interface. I am also trying to create a screen that has two elements that pull the Gcode files from. One is the USB location and the other is a Specific folder that i can use as a repository to store the G Code files on the PC. I really like how Tormach did it within Path Pilot. I have attached pic to give you an idea of what i'm trying to accomplish

9
Mach4 General Discussion / Re: Mach 4 Exit button for touchscreen
« on: December 20, 2019, 04:38:19 PM »
Correct, when i place the cursor in the text box and hit enter it does nothing. I'm not sure how the on modify script is supposed to work.

10
Mach4 General Discussion / Re: Mach 4 Exit button for touchscreen
« on: December 20, 2019, 10:20:34 AM »
I also like the multi line MDI as well, but when im doing setups i like to do quick verification as im locating edges and stuff like that. So i also like to have a single line mdi textbox to perform these. We have a Tormach at work and they use a similar type textbox that i can enter a single line and hit enter and the code runs. This is what im trying to acheive.

My idea for the MDI single line textbox has always been that i would type some code into the texbox and ht enter and when i hit enter it will run. If the MDI textbox is empty then nothing happens when i hit enter. I would only like it to be triggered when there is code in the textbox. That was how i planned for not having unwanted enter events. The textbox would only be available in an idle state and not when the machine is running a program. Im sorry i should have prefaced my original post with this information so that people would know what im trying to acheive. Being very new to mach programming and LUA i am really lost at what i can do and how to get it to perform what i need. I used to previously use VB.NET and i really liked that it had event handlers like textbox.on_Enter. It made programming what i want a lot easier.

I have tried to put a simple messagebox() command in the on Modify script of the textbox but have not had success even getting that to run. When i run Mach and type code into the box and hit enter nothing happens. Im having trouble understanding when the on Modify script is triggered. I can get this same code to work if i put it into a button on click script. It will read the textbox text and display it in a messasgebox(), just won't work in the textbox on modify script.

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 »