What I propose: In Intercon, where you can insert "M&G Code", you can instead specify a specific macro (which, technically, you already can). Intercon then reads the parameters of the macro and creates a screen where you enter the parameters like other Intercon functionality. The text and type information would be encoded in the comments. For example, take the linear move screen in Intercon. The macro would look something like this:
Code: Select all
; ParameterBlock End
; Parameter A: X (abs position)
; Parameter B: Y (abs position)
; Parameter C: Z (abs position)
; ParameterBlock
; Parameter D: Feedrate (feedrate)
G98
G1 X#A Y#B Z#C F#D
This would represent a usable way for the end-user to extend Intercon with customized cycles by programming it as a macro. The Intercon parameters screen for each cycle would then be usable in this case as well. With the proper unit support, it could connect to the rest of Intercon like telling it to pick a tool, to go to a certain position, to use a certain angle, etc.