Step by step programm executing
03 Jul 2011 03:59 #11086
by aike
Step by step programm executing was created by aike
Hi!
Help me to create hal file to execute programm in G-code step by step. It is suitable for debug mode.
I need to create 2 button
1. Switch to STEP mode (or BLOCK in Hitachi for example)
2. Step button to execute only one instruction.
I prepared this buttons as external and I need only the understandinf how to write in HAL this feature.
Help me to create hal file to execute programm in G-code step by step. It is suitable for debug mode.
I need to create 2 button
1. Switch to STEP mode (or BLOCK in Hitachi for example)
2. Step button to execute only one instruction.
I prepared this buttons as external and I need only the understandinf how to write in HAL this feature.
Please Log in or Create an account to join the conversation.
03 Jul 2011 12:40 #11094
by BigJohnT
Replied by BigJohnT on topic Re:Step by step programm executing
Look in the HAL Examples section of the forum.
John
John
Please Log in or Create an account to join the conversation.
03 Jul 2011 16:23 #11100
by aike
Replied by aike on topic Re:Step by step programm executing
Hi!
Thank you for reference.
I write this hal function.
It's OK. BUT!!!
I need to execute only ONE instruction (string in G-code programm).
After the executing instruction, the EMC has to be in paused state and wait foe the next button press.
How can I do it?
Thank you for reference.
I write this hal function.
It's OK. BUT!!!
I need to execute only ONE instruction (string in G-code programm).
After the executing instruction, the EMC has to be in paused state and wait foe the next button press.
How can I do it?
Please Log in or Create an account to join the conversation.
03 Jul 2011 17:47 #11104
by BigJohnT
Replied by BigJohnT on topic Re:Step by step programm executing
Look at the halui.program pins... and you will have to do a bit of logic to make sure that EMC is in a state that the pin will work. Also keep in the back of your head that single step means execute up to the next line that causes movement.
John
John
Please Log in or Create an account to join the conversation.
Time to create page: 0.075 seconds