Page 1 of 1

Alarm handler issue

Posted: Mon Oct 08, 2018 12:05 am
by RMC
Hi there I typed in the alarm handler code i found on your website to make my machine rehome after est and with that file my program just closes after it finish controller config. I have no idea why it is doing this. I tried coping and pasting it and it is doing the same thing. It just shut down my program by default. any help will be appreciated thank you !!

Re: Alarm handler issue

Posted: Mon Oct 08, 2018 4:32 am
by mycnc
The article about rehome handler is not finished yet.

We found a dificult to explain a Popup message configuration through cnc-variables.xml file programming and worked on configuration widget to simplify this procedure. It's just finished and the article will be updated asap.
mycnc-update-001-18.png

In your case most likely the popup is not configured in cnc-variables.
Possible solutions:
- Disable the handler (find the handler file in "plc/soft" folder and add exit(99); at the start of main() procedure or just remove the file.
- add popup definition to cnc-variables.xml according to the article
- You can try to update the software and configure the popup through configuration widget. The last version should start even if the popup is not configured.

Re: Alarm handler issue

Posted: Tue Oct 09, 2018 10:43 pm
by RMC
ok i will try it out soon