Hello Guest it is April 18, 2024, 02:14:36 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 - BGEvents

Pages: 1
1
Mach4 General Discussion / Re: Mach 4 Screen Editor GCode Help
« on: October 30, 2019, 02:56:56 PM »
Thanks Chaoticone - you've nailed it!

It took me a while to realise that the button will only work once I restart mach4  ::) ;D

I actually really like the double tap to move further and auto return when you hold, it works really well with my application.

Cheers,
Ben

2
Mach4 General Discussion / Re: Mach 4 Screen Editor GCode Help
« on: October 23, 2019, 02:53:33 AM »
Hey  BGEvents, can you tell me what input signal in Mach you are using and the exact name of the toggle button you pasted the code into?

I have the input linked to Input3 and the button name is move10

Thanks

3
Mach4 General Discussion / Re: Mach 4 Screen Editor GCode Help
« on: October 22, 2019, 06:02:43 AM »
Quote
Is it quite straightforward to link this to an input on my motion controller so I can have a foot switch toggle the button as well?

Yes, get the button working first. You can then add the input to the sigLib in screenload script and set the buttons state based on the state of the input.


Thanks very much for your help Chaoticone! The on screen button works as intended which is great!

I've had a go at adding code to link a physical input button to change the state of the on screen button in the sigLib but cant get it to do anything :(
Could you please shed some light on how this is possible??
I noticed you can link an input to a toggle button in the buttons properties, but this just seems to toggle the appearance of the button but not change its state.

4
Mach4 General Discussion / Re: Mach 4 Screen Editor GCode Help
« on: October 09, 2019, 01:28:24 PM »
Also set your button you add enabled states to something that won't get you into trouble. For example, I'm pretty sure you don't want this to happen if the axis is executing a gcode move already and you hit the button.


Legend! Thanks a lot for this - will test it out later  :)

Is it quite straightforward to link this to an input on my motion controller so I can have a foot switch toggle the button as well?

5
Mach4 General Discussion / Re: Mach 4 Screen Editor GCode Help
« on: October 09, 2019, 11:43:30 AM »
What is the purpose of this?

I sometimes mount a chop saw on the end of my router table and use the Y axis as a back stop for the material I’m cutting which has worked great (I’m very limited in space in my workshop!)

It would be good to have the Y Axis move forward slightly once the material  to be cut has been clamped. Then after the cut the axis should move back into place for the next cut.

At the moment I’m achieving this manually by inputting GCode in the MDI each time.


6
Mach4 General Discussion / Mach 4 Screen Editor GCode Help
« on: October 09, 2019, 10:58:01 AM »
Please can somebody help out with a screen editor question:

I require a button on a Mach4 screen that moves the Y axis on my router table forward by 10mm, and then once the button is toggled again it should move back 10mm to its original location. I would also like for this to be triggered by an input on my Hicon Integra motion controller if possible?

I would imagine it would require running a line of GCode, but I don't know where to start with the LUA script  :(

Thanks!

Pages: 1