档案如下:
###############################################################################
# SURFCAM Version 2001 #
# Post Menu Configuration File #
###############################################################################
BeginPost EDM Default:1
PostItem List all
Status Display all posts in postform.e
ChDir "c:\Surfcam\SURF2001\MPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\MPOST\EPOSTWIN" "%p%n"
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem AGIE
Status Agie
ChDir "c:\Surfcam\SURF2001\MPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\MPOST\EPOSTWIN" "%p%n" 1
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem CHARMILLES
Status Charmilles
ChDir "c:\Surfcam\SURF2001\MPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\MPOST\EPOSTWIN" "%p%n" 2
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem MITSUBISHI
Status Mitsubishi H Series
Delete "%p%N.NCC"
ChDir "c:\Surfcam\SURF2001\MPOST"
Command "c:\Surfcam\SURF2001\MPOST\EPOSTWIN" "%p%n" 3
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem SODICK
Status Sodick
ChDir "c:\Surfcam\SURF2001\MPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\MPOST\EPOSTWIN" "%p%n" 4
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItemX CHARMILLES 4 Axis
Status Charmilles 4 Axis
ChDir "c:\Surfcam\SURF2001\MPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\MPOST\EPOSTWIN" "%p%n" 5
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItemX MITSUBISHI 4 Axis
Status Mitsubishi 4 Axis
ChDir "c:\Surfcam\SURF2001\MPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\MPOST\EPOSTWIN" "%p%n" 6
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItemX SODICK 4 Axis
Status Sodick 4 Axis
ChDir "c:\Surfcam\SURF2001\MPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\MPOST\EPOSTWIN" "%p%n" 7
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem APT-CL
Status APT Cutter Location
Command "c:\Surfcam\SURF2001\INC2APT" -d -I "%p%n" -O "%p%N.apt"
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.apt"
EndPost
###############################################################################
BeginPost Lathe Default:1
PostItem List all
Status Display all posts in postform.l
ChDir "c:\Surfcam\SURF2001\MPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\MPOST\LPOSTWIN" "%p%n"
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem FANUC
Status FANUC Model 10T
ChDir "c:\Surfcam\SURF2001\MPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\MPOST\LPOSTWIN" "%p%n" 1
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem HAAS
Status HAAS HL Series
ChDir "c:\Surfcam\SURF2001\MPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\MPOST\LPOSTWIN" "%p%n" 2
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem MORI SEIKI
Status MORI SEIKI MF series
ChDir "c:\Surfcam\SURF2001\MPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\MPOST\LPOSTWIN" "%p%n" 3
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem OKUMA
Status OKUMA OSP Series
ChDir "c:\Surfcam\SURF2001\MPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\MPOST\LPOSTWIN" "%p%n" 4
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem GE 550
Status GE 550
ChDir "c:\Surfcam\SURF2001\MPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\MPOST\LPOSTWIN" "%p%n" 5
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem MILL/TURN
Status MILL/TURN POST PROCESSOR
Command "c:\Surfcam\SURF2001\INC2APT" -op -b -I "%p%n" -O "%p%N.apt"
ChDir "c:\Surfcam\SURF2001\SPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\SPOST\SPOSTM" "%p%N.apt" 75 "%p%N.ncc"
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem APT-CL
Status APT Cutter Location
Command "c:\Surfcam\SURF2001\INC2APT" -d -I "%p%n" -O "%p%N.apt"
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.apt"
EndPost
###############################################################################
BeginPost 2 Axis Default:1
PostItem List all
Status Display all posts in postform.m
ChDir "c:\Surfcam\SURF2001\MPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\MPOST\MPOSTWIN" "%p%n"
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem FANUC
Status FANUC Model 15M-B
ChDir "c:\Surfcam\SURF2001\MPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\MPOST\MPOSTWIN" "%p%n" 1
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem HAAS
Status HAAS VF Series
ChDir "c:\Surfcam\SURF2001\MPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\MPOST\MPOSTWIN" "%p%n" 2
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem FADAL
Status FADAL Format 1
ChDir "c:\Surfcam\SURF2001\MPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\MPOST\MPOSTWIN" "%p%n" 3
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem DYNAPATH
Status DYNAPATH Delta 30
ChDir "c:\Surfcam\SURF2001\MPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\MPOST\MPOSTWIN" "%p%n" 4
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem MAZAK
Status MAZAK M2
ChDir "c:\Surfcam\SURF2001\MPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\MPOST\MPOSTWIN" "%p%n" 5
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem APT-CL
Status APT Cutter location
Command "c:\Surfcam\SURF2001\INC2APT" -d -I "%p%n" -O "%p%N.apt"
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.apt"
EndPost
###############################################################################
BeginPost 3 Axis Default:1
PostItem List all
Status Display all posts in postform.m
ChDir "c:\Surfcam\SURF2001\MPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\MPOST\MPOSTWIN" "%p%n"
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem FANUC
Status FANUC 15M-B
ChDir "c:\Surfcam\SURF2001\MPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\MPOST\MPOSTWIN" "%p%n" 1
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem HAAS
Status HAAS VF Series
ChDir "c:\Surfcam\SURF2001\MPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\MPOST\MPOSTWIN" "%p%n" 2
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem FADAL
Status FADAL Format 1
ChDir "c:\Surfcam\SURF2001\MPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\MPOST\MPOSTWIN" "%p%n" 3
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem DYNAPATH
Status DYNAPATH Delta 30
ChDir "c:\Surfcam\SURF2001\MPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\MPOST\MPOSTWIN" "%p%n" 4
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem MAZAK
Status MAZAK M2
ChDir "c:\Surfcam\SURF2001\MPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\MPOST\MPOSTWIN" "%p%n" 5
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem NURB
Status FANUC Style NURB
Command "c:\Surfcam\SURF2001\INC2APT" -I "%p%n" -O "%p%N.apt"
ChDir "c:\Surfcam\SURF2001\SPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\SPOST\SPOSTM" "%p%N.apt" 69 "%p%N.ncc"
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem APT-CL
Status APT Cutter location
Command "c:\Surfcam\SURF2001\INC2APT" -d -I "%p%n" -O "%p%N.apt"
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.apt"
EndPost
###############################################################################
BeginPost 4 Axis Default:1
PostItem List all
Status Display all posts in postform.m
ChDir "c:\Surfcam\SURF2001\MPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\MPOST\MPOSTWIN" "%p%n"
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem FANUC
Status FANUC 15M-B
Command "c:\Surfcam\SURF2001\INC2APT" -w -5 -I "%p%n" -O "%p%N.apt"
ChDir "c:\Surfcam\SURF2001\SPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\SPOST\SPOSTM" "%p%N.apt" 05 "%p%N.ncc"
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem HAAS
Status HAAS VF Series
Command "c:\Surfcam\SURF2001\INC2APT" -w -5 -I "%p%n" -O "%p%N.apt"
ChDir "c:\Surfcam\SURF2001\SPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\SPOST\SPOSTM" "%p%N.apt" 15 "%p%N.ncc"
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem FADAL
Status FADAL Format One
Command "c:\Surfcam\SURF2001\INC2APT" -w -5 -I "%p%n" -O "%p%N.apt"
ChDir "c:\Surfcam\SURF2001\SPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\SPOST\SPOSTM" "%p%N.apt" 20 "%p%N.ncc"
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem DYNAPATH
Status DYNAPATH Conversational
Command "c:\Surfcam\SURF2001\INC2APT" -w -5 -I "%p%n" -O "%p%N.apt"
ChDir "c:\Surfcam\SURF2001\SPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\SPOST\SPOSTM" "%p%N.apt" 25 "%p%N.ncc"
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem MAZAK
Status MAZAK M2
Command "c:\Surfcam\SURF2001\INC2APT" -w -5 -I "%p%n" -O "%p%N.apt"
ChDir "c:\Surfcam\SURF2001\SPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\SPOST\SPOSTM" "%p%N.apt" 30 "%p%N.ncc"
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem APT-CL
Status APT Cutter location
Command "c:\Surfcam\SURF2001\INC2APT" -d -I "%p%n" -O "%p%N.apt"
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.apt"
EndPost
###############################################################################
BeginPost 5 Axis Default:3
PostItem Bridge Mill
Status Vertical Bridge Style Mill- Dual Rotary Head
Command "c:\Surfcam\SURF2001\INC2APT" -w -5 -op -f 1 -r 45 -I "%p%n" -O "%p%N.apt"
ChDir "c:\Surfcam\SURF2001\SPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\SPOST\SPOSTM" "%p%N.apt" 80 "%p%N.ncc"
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem Dual Rotary Table
Status Dual Rotary Table Mill - AB configuration
Command "c:\Surfcam\SURF2001\INC2APT" -w -5 -op -f 1 -r 45 -I "%p%n" -O "%p%N.apt"
ChDir "c:\Surfcam\SURF2001\SPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\SPOST\SPOSTM" "%p%N.apt" 85 "%p%N.ncc"
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem Laser Contouring
Status 5 Axis Laser Contouring Post
Command "c:\Surfcam\SURF2001\INC2APT" -w -5 -b -f 1 -r 45 -I "%p%n" -O "%p%N.apt"
ChDir "c:\Surfcam\SURF2001\SPOST"
Delete "%p%N.NCC"
Command "c:\Surfcam\SURF2001\SPOST\SPOSTM" "%p%N.apt" 90 "%p%N.ncc"
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.ncc"
PostItem APT-CL
Status APT Cutter Location
Command "c:\Surfcam\SURF2001\INC2APT" -d -w -5 -r 45 -I "%p%n" -O "%p%N.apt"
Task "c:\Surfcam\SURF2001\SEDIT\SEDIT" "%p%N.apt"
EndPost
############################ Setup sheet ######################################
SetupSheet "c:\Surfcam\SURF2001\sview" -m SSHEET.TXT #
###############################################################################
############################ INC Filters ######################################
IncFilter "c:\Surfcam\SURF2001\FILTERS\ArcFltr.dll"
#IncFilter "c:\Surfcam\SURF2001\FILTERS\ArcFltrMx.dll" #
IncFilter "c:\Surfcam\SURF2001\FILTERS\NurbFltr.dll"
###############################################################################
####################### SURFCAM.PST general description #######################
# This file is used to configure the NC Post commands for each NC Mode. #
# #
# Lines that begin with a # contain comments which are ignored when read. #
# #
# Each NC Mode section must begin with a line 'BeginPost <name> Default:<n>' #
# <name> is the name of the NC Mode. #
# <n> is the number of the default post item (initial list selection) #
# #
# Each Post Must begin with a line 'PostItem <name>' #
# The <name> is used to select the post from a list of posts for each NC Mode.#
# Each post item is followed by lines of Post Commands to execute the post. #
# Each command line consists of a command keyword followed by command string. #
# #
###############################################################################
########################### NC Post commands ##################################
# Command Description #
# Status <status> Provides one line of help for each post item #
# ChDir <dir> Changes Directory to make <dir> current directory #
# Command <cmd> Executes sequential list of a particular commands. #
# Task <cmd> Executes win apps for multi-tasking within SURFCAM #
# Delete <file> Delete temporary file. #
# Rename <file> Rename file. #
# CopyFile <file> Copy file. #
###############################################################################
######################### Command line variables ##############################
# Variables Description #
# %p 256 character path #
# %q 8 character path #
# %n 256 character file name #
# %s 8 character file name #
# %N 256 character file name without extension #
# %S 8 character file name without extension #
###############################################################################
########################### INC2APT switches ##################################
# Switch Description #
# -w Output WORLD coordinates #
# -m Output inverted MCS matrix #
# -5 Output I,J,K vectors with all GOTO/ commands #
# -op Output OPERTN/ commands #
# -P Output Tool Pre-select command #
# -b Output ROW/START and ROW/END commands #
# -d Display INC2APT dialog #
# -toolinfo Output Tool comment from library #
# -n Output RAPID0 and RAPID1 commands #
# -x Output GOTO/ commands at any quadrant #
# -c Check to see if existing file exists #
# -cview Output Cview number and name #
# -event Output event records #
# -debug Output debug data #
# -far Output redundant REDRAT/ command after RAPID #
# -f angle Output GOTO/ commands at a defined angle #
# -r angle Output GOTO/ commands at a defined angle #
# -Precision value Define X,Y,Z coordinate precision #
# -Vprecision value Define I,J,K vector precision #
# -I Input path Define input path(e.g. ""%p%n"") #
# -O Ouput path Define output path(e.g. "d:\surfcam\APT") # |