thanks meegers
thanks meegers
This is some code from a cgs we use ......
**** Header of CGS
* ;TEMPLATE=AUTOLATHE=EXAMPLE 1
;TEMPLATE=AUTOLATHE=G&L VTC2500 EXTENSION
;VERSION^CGE include file^2013.10.02^30/08/13^MME
************************************************** ********
**** New variable can be declared (must be outside macros, procedures...)
%DECLARE=#AUTOTOOLCHANGE,#WINTOOLONLY
************************************************** ******
**** New Machine declaration for Qxxx declaration
* No replacement, only addition
%MACHINE=LATHE=G&L VTC2500
Q525=_radio=Toolchange Type^Auto^Manual[15]
Q526=_radio=WinTool Only or Output^Output^Don't Output[15]
%ENDMACH
************************************************** ********
**** Macro/Procedure replacement
%MACRO=15=TL=Toolchange=8,12,13,24,80,47,48,16,15, 201,202,203,206,525,526,
$SPC=" "; Reset trace spacing
#MACRO=15
%IF #NCSUPPRESS=1 %THEN MASK=1
#AUTOTOOLCHANGE=UNVAR525
#WINTOOLONLY=UNVAR526
%CALL=PMACRO-15
%ENDM
%MACRO=165=TL=Toolchange=8,12,13,24,80,47,48,16,15 ,201,202,203,206,525,526
$SPC=" "; Reset trace spacing
#MACRO=165
%IF #NCSUPPRESS=1 %THEN MASK=1
#AUTOTOOLCHANGE=UNVAR525
#WINTOOLONLY=UNVAR526
%CALL=PMACRO-165
%ENDM
Save this as a CGS file. Then open up code wizard and 'compile CGE'. Code Wiz will then create a CGE from your CGS.
I'd then close down the Code Wiz and restart it. Open up your post that you want to add/modify and then chose the 'Import CGE' option from the File menu, and then compile.