Samarinder,
ManufacturingGeneratorData does not behave well with APT generation settings. Please refer to the following:
http://www-01.ibm.com/support/docview.wss?uid=swg1HD46819
Settings such as COPY/TRACUT, PPRINT, etc... are NOT taken into account by this function (which is to me is competely useless they supply this object)
Sorry but to my knowledge, we are stuck with the MFGbatch turtle process.
I my case, as a work-around, I use an external user-defined file that drives those settings
begin MFGBATCH
let MFG_NC_DATA_TYPE = "*APT 2"
let MFG_FORCE_COMPUTE = "*FCP"
let MFG_REPLACE_NC_OUTPUT = "*REP Y"
let MFG_STATEMENTS = "*PPR 111"
let MFG_CIRCULAR_INTERPOLATION = "*CIR 2"
let MFG_NC_DATA_FORMAT = "*FGO AXIS"
# Output 1 file per program
let MFG_FILE_OPERATION = "*FOM 1"
# Output 1 file for all program
#let MFG_FILE_OPERATION = "*FOM 3"
let MFG_RAPID_START = "*SRP 1"
let MFG_DOUBLE_PTS = "*PAC 1"
let MFG_GOTO_TOOLCHANGE = "*RMT 1"
let MFG_CYCLE_SYNTAX = "*STX Y"
let MFG_POINT_FORMAT = "*NDX 11.5"
let MFG_AXIAL_FORMAT = "*NDI 9.6"
let MFG_RUN_COMMAND = "*RUN"
end
This file is locked to users (all the posts are formatted using those highly strict settings). This file is then read with a VB.net app that saves the CATProcess, rewrite a FT05 file (.bat) and launches the mfgbatch process.
/
*REA C:\
*MOD Test.CATProcess
*PRG Manufacturing Program.1
*WRI C:\
*MEM Test_Manufacturing_Program_1.aptsource
*APT 2
*REP Y
*CIR 2
*PPR 111
*AOF N
*SRP 1
*RMT 1
*PAC 1
*NDX 11.5
*NDI 9.6
*RUN
/
It is very slow and I dream one day they will take out this "Permanent Restriction" flag.
JP
|