You are not logged in.
I had a file defining all the global variables used in subroutine files. The format is like:
DEF INT PgmMag,ReqMag
DEF BOOL BusyPocket[16]
I put them in the Setup->Toolpath->Toolpath list and make it before the main program. Still these varibles did not take into effect when I run the simulation. Could you please tell me what's the problem? If it's possible, I can send you my file to your email address. Thanks.
David
Offline
UNCHECK >Setup >G code >Settings "Initialize Machine/Control between Toolpaths"
Austin NC APT administrator.
Custom configure GPost for Pro/E,
and other ANC applications.
Offline
Thank, it will fix the problem, but V5.4.2 will not support this function. I just copied all varible definitions at the top of main program as the temporary solution.
David
Offline
David,
There are also other ways to define variables.
If you want them defined in the control for all programs:
>Setup >Control >Advanced options >Events >Start of Processing
Add Variable definitions after Conversioninit.
Or if you want them defined only for this user file:
>Setup >G Code >Variables and set an Initial Value.
Austin NC APT administrator.
Custom configure GPost for Pro/E,
and other ANC applications.
Offline