1
General Mach Discussion / Keeping informed on Vis Basic
« on: November 13, 2009, 04:10:54 AM »
I have written a program to re-profile railway wheels which involves a short G Code program and a Vis Basic macro. The program takes about half an hour or so to run.
I would like to be able to have an "indicator" to tell me where in the program the machine is.
I have tried using the message line - but I can't include variables in the text of the line - e.g. Code "(Pass Number PassNum) to show on the message line. I have tried sending a number to a User DRO, but when I regen the display, or start the code, the Vis Basic executes right through and indicates the final position on the DRO - not really what I wanted.
I have a FOR/NEXT loop in the macro - and all I really wanted to do was it to indicate which number loop it was actually cutting.
I would like to be able to have an "indicator" to tell me where in the program the machine is.
I have tried using the message line - but I can't include variables in the text of the line - e.g. Code "(Pass Number PassNum) to show on the message line. I have tried sending a number to a User DRO, but when I regen the display, or start the code, the Vis Basic executes right through and indicates the final position on the DRO - not really what I wanted.
I have a FOR/NEXT loop in the macro - and all I really wanted to do was it to indicate which number loop it was actually cutting.