Originally Posted by
g-codeguy
Not exactly sure what you mean. Are you trying to pass values to a subprogram? Or are you trying to pass variables from a subprogram? Also it seems you are concerned with an "emulator" software program showing what the machine would do with your program. Is that correct? You are trying to get WinNC to show a subprogram looping?
Sorry for being dense. If you are trying to pass values to a subprogram, then use the G65 Macro call. You can set variables in a subprogram that will be used by another sub or the main program.
If you are strictly asking about the WinNC software, then I can't help you. Never used this type of software. However I might be able to help you if we are talking about the machine running your programs.