Hello Guest it is April 18, 2024, 01:27:12 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 - jelle_bos

Pages: 1 2 3 4 5
1
Mach4 General Discussion / Macro gets stuck in loop, need to restart mach4
« on: December 17, 2019, 03:46:15 PM »
Hello People,

I made some custom mcodes to run when I want the machine to drill in a panel, so I don't have to make gcodes for every panel. But when something goes wrong and I press stop the mcodes gets stuck in a loop i guess. After that I need to restart Mach4
How do I get the mcode to stop or get out of the loop when something goes wrong? if possible at all.

Thanks in advance.
Kind regards,

Jelle Bos

2
Mach4 General Discussion / Re: Reading dro value in macro
« on: October 22, 2019, 12:39:25 PM »
Thanks Chaoticone for the quick responses and the clear explanations. The macro can now read the dro from the register and i can monitor the value easier.

3
Thanks for the reply. It worked indeed and I can also use this to save the values. You saved me alot of headache

4
Mach4 General Discussion / Re: Reading dro value in macro
« on: October 22, 2019, 09:55:54 AM »
Thanks for the reply. how would I put that dro value in a register?

5
Mach4 General Discussion / Reading dro value in macro
« on: October 22, 2019, 05:40:36 AM »
Hello people,

I try to read a dro value from a custom screen inside a macro. I use this code: scr.GetProperty('buttonname', 'Value')

But my macro file crashes when i use this. When i make to line a comment the macro runs fine.
Could someone help me please.

Thanks in advance,
Jelle

6
Mach4 General Discussion / Re: Unpress screen button with other buton
« on: October 21, 2019, 03:18:32 PM »
Sorry about that just coppied it form your reply earlier.

Changed it to a capital letter and now it works. Thanks for all the help.

7
Mach4 General Discussion / Re: Unpress screen button with other buton
« on: October 21, 2019, 03:09:29 PM »
I already had three toggle buttons which I gave names in the same order as you did. Volopdek, Tussenliggend and Halfopdek.
'
I put this code in the up script from button ''volopdek'': scr.setProperty('Halfopdek','Button State','Up') scr.setProperty('Tussenliggend','Button State','Up')

This is my first time trying to change screen related items in lua, so maybe I am doing something stupid here.

8
Mach4 General Discussion / Re: Unpress screen button with other buton
« on: October 21, 2019, 03:03:05 PM »
Thanks for the reply. I tried your suggestion but got the error shown in the attachment.

9
Mach4 General Discussion / Re: Unpress screen button with other buton
« on: October 21, 2019, 02:36:39 PM »
How can I do that?

10
Mach4 General Discussion / Re: Unpress screen button with other buton
« on: October 21, 2019, 02:33:29 PM »
Thanks for the reply. I thought of that. But my screen needs three options. This is why I can't use the toggle button, cause it only has two options.

Thanks for the reply though

Pages: 1 2 3 4 5