Is there an easy way to add an "Optional Stop" and "Block Skip" button to the VCP? I have edited the VCP to add the button images, but I don't see an easy way to make them work.
I have looked through the PLC and have found how much code is there for the "Single Block" button. Will I have to mimic this code for each of the buttons or is there an easier way to do this?
The reason I would like to add them to the VCP is that it is very convenient to have all these buttons in one area when first running a program and testing it out. I also think having these buttons grouped together adds an element of safety...less time required to search for the buttons on the screen.
Any help is appreciated.
How to add "Optional Stop" and "Block Skip" buttons to VCP?
Moderator: cnckeith
-
- Posts: 37
- Joined: Wed Jul 22, 2020 10:20 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: just ordered
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
How to add "Optional Stop" and "Block Skip" buttons to VCP?
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 32
- Joined: Thu Feb 10, 2022 5:55 pm
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: How to add "Optional Stop" and "Block Skip" buttons to VCP?
The Optional Stop and Block Skip functionality is completely internal to CNC12. There is not a way for the PLC or VCP to alter this currently.RTech wrote: ↑Tue Jan 07, 2025 11:02 am Is there an easy way to add an "Optional Stop" and "Block Skip" button to the VCP? I have edited the VCP to add the button images, but I don't see an easy way to make them work.
I have looked through the PLC and have found how much code is there for the "Single Block" button. Will I have to mimic this code for each of the buttons or is there an easier way to do this?
The reason I would like to add them to the VCP is that it is very convenient to have all these buttons in one area when first running a program and testing it out. I also think having these buttons grouped together adds an element of safety...less time required to search for the buttons on the screen.
Any help is appreciated.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 37
- Joined: Wed Jul 22, 2020 10:20 am
- Acorn CNC Controller: No
- Allin1DC CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: just ordered
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
Re: How to add "Optional Stop" and "Block Skip" buttons to VCP?
Well, that's not the answer I was hoping for. I do think it would be a great feature to add some time in the future.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
Re: How to add "Optional Stop" and "Block Skip" buttons to VCP?
You can roll your own optional stops, to work with a VCP key and just ignore the setting on the CNC12 run menu.
All you need is a VCP key that turns a bit (such as its own LED) on and off; and an M1 macro that does an M0 if (and only if) that bit is on.
All you need is a VCP key that turns a bit (such as its own LED) on and off; and an M1 macro that does an M0 if (and only if) that bit is on.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)