(3)
先讲GPP,在讲之前,发一张GPP的系统变量表,以后会用到,这很重要。具体的解释我后面会举例,对英文感冒的兄弟不要怕。
变量名 变量说明 数据类型 所应用的模块位子
ABS_ANG Start angle + Delta angle 2 CIRCULAR MOTION:
ARC_ANG Arc angle 2 CIRCULAR MOTION:
AXIS_ANGLE Tool axis angle 2 TOOL CHANGE:
AXIS_NUM Number of axes being used 6 AXIS CHANGE:BEGINNING OF TAPE:
BLOCK_NUM Current block number as appears in the TP_LIST 6 All Blocks
CIR_INTERP Circular interpolation mode 7 ORIGIN CHANGE
CIRC_MOV Circular movement code 0 CIRCULAR MOTION:
CLEAR_LENG Distance between holder [$ tool tip ] 1 TOOL CHANGE:
COMP_3X 3-D cutter compensation 7 LINEAR MOTION:
CURR_NAME Current tool holder name 0 TOOL CHANGE:
CURR_ORIG Controller/Cimatron origin no. 7 ORIGIN CHANGE: BEGINNING OF TAPE:
CURR_START Number of current start 7 START THREAD:
CURR_TOOL Current tool holder number 7 TOOL CHANGE:
CUT_LENGTH Length of cutting edge of tool 1 TOOL CHANGE:
CUT_SPEED Velocity of cutting (Vc) 1 CONSTANT SPEED:
CUT_WIDTH Width of the tool 1 TOOL CHANGE:
CUTCOM_OFF Cutter Compensation off code 0 CUTTER COMPENSATION:
CUTCOM_ON Cutter Compensation on code 0 CUTTER COMPENSATION:
CYC_2PLN Not in use. 1 CYCLE:
CYC_CLEAR Cycle clear height 1 CYCLE:
CYC_CODE Cycle code 0 CYCLE:
CYC_DEPTH Cycle depth increment 1 CYCLE: GROOVE CYCLE:
CYC_DWELL Cycle dwell time 5 CYCLE:
CYC_DZINIT The DRILL procedure DEL INIT value 1 CYCLE:
CYC_PECK Cycle PECK value 1 CYCLE: GROOVE CYCLE:
CYC_REDUC Cycle DECREASE value 1 CYCLE: GROOVE CYCLE:
CYC_RETR Cycle retract code 0 CYCLE:
CYC_TIMES Number of pecks/cycle 7 CYCLE:
CYC_XSHFT Cycle shift along the X axis 1 CYCLE:
CYC_YSHFT Cycle shift along the Y axis 1 CYCLE:
CYCLE_1 Spot Drill 7 CYCLE:
CYCLE_2 High Speed Peck 7 CYCLE:
CYCLE_3 Left Hand Tapping 7 CYCLE:
CYCLE_4 Fine Boring 7 CYCLE:
CYCLE_5 Counter Boring 7 CYCLE:
CYCLE_6 Deep Hole Peck 7 CYCLE:
CYCLE_7 Tapping 7 CYCLE:
CYCLE_8 Boring 7 CYCLE:
CYCLE_9 Bore + Spindle Stop 7 CYCLE:
CYCLE_10 Back Boring 7 CYCLE:
CYCLE_11 Bore + Dwell + Manual 7 CYCLE:
CYCLE_12 Bore + Dwell + Feed 7 CYCLE:
DATE_SDD The current day 6 BEGINNING OF TAPE:
DATE_SMM The current month 6 BEGINNING OF TAPE:
DATE_SYY The current year 6 BEGINNING OF TAPE:
DEL_Z_UP Procedure DEL Z UP 1 BEGINNING OF PROC:
DIA_COMP Diameter compensation index 1 TOOL CHANGE:
DIAMETER_ Tool diameter 1 TOOL CHANGE:
DOWN_STEP The procedure DOWN STEP value 1 BEGINNING OF PROC:
END_ANG End angle 2 CIRCULAR MOTION: THREAD CYCLE: THREAD CANNED CYCLE:
FACE_ANGLE Tool face angle 2 TOOL CHANGE:
FACE_GROV Face groove 7 GROOVE CYCLE:
FACE_THRD Face thread 7 THREAD CYCLE: THREAD CANNED CYCLE:
FIN_BYAREA Downstep by area - fine 7 THREAD CYCLE: THREAD CANNED CYCLE:
FIN_BYSTEP Downstep by distance - fine 7 THREAD CYCLE: THREAD CANNED CYCLE:
FIN_DEPTH Depth for fine machining 1 THREAD CYCLE: THREAD CANNED CYCLE:
FIN_DSTEP Downstep for fine machining 1 THREAD CYCLE: THREAD CANNED CYCLE:
FIN_MNSTEP Minimumdownstep-roughmachining 1 THREAD CYCLE: THREAD CANNED CYCLE:
FIN_NORMAL Perpendicular entrance - fine 7 THREAD CYCLE: THREAD CANNED CYCLE:
FIN_ZIGZAG Zigzag entrance for fine machining 7 THREAD CYCLE: THREAD CANNED CYCLE:
FIXT_COMP Fixture compensation index 1 TOOL CHANGE:
GAUGE_LEN Gauge length of tool 1 TOOL CHANGE:
GROV_CNTRL Control point of groove tool 1=center, 2=left, 3=right 6 TOOL CHANGE:
GROV_DEL Slow down distance in approach 1 GROOVE CYCLE:
GROV_STEP Width of each groove pass 1 GROOVE CYCLE:
GROV_WIDTH Total width of machined area 1 GROOVE CYCLE:
HOLD_LENG Holder length 1 TOOL CHANGE:
HOLD_WIDTH Holder width 1 TOOL CHANGE:
I_COORD I component of tool axis/wire vector 1 LINEAR MOTION:
I_ORIGIN Origin, I vector component 1 BEGINNING OF TAPE: ORIGIN CHANGE:
I_START Initial direction, I vector component 1 BEGINNING OF PROC:
INNER_GROV Inside groove 7 GROOVE CYCLE:
INNER_THRD Inside thread 7 THREAD CYCLE: THREAD CANNED CYCLE:
INS_STR Insert string 0 INSERT WITH: INSERT WITHOUT:
IX_ORIG I vector component of the X direction 1 ORIGIN CHANGE
J_COORD J component of tool axis/wire vector 1 LINEAR MOTION:
J_ORIGIN Origin, J vector component 1 BEGINNING OF TAPE: ORIGIN CHANGE:
J_START Initial direction, J vector component 1 BEGINNING OF PROC:
JX_ORIG J vector component of the X direction 1 ORIGIN CHANGE
K_COORD K component of tool axis/wire vector 1 LINEAR MOTION:
K_ORIGIN Origin, K vector component 1 BEGINNING OF TAPE: ORIGIN CHANGE:
K_START Initial direction, K vector component 1 BEGINNING OF PROC:
KX_ORIG Kvector component of the X direction 1 ORIGIN CHANGE
LAYER_NUM Number of layers in the proc 1 BEGINNING OF PROC:
LAYER_Z Z value of current layer 1 SUBROUTINE CALL:
LENG_COMP Length compensation index 1 TOOL CHANGE:
LIN_MOV Linear movement code 0 LINEAR MOTION:
LINE_ANG Angle of the line with the X axis 2 LINEAR MOTION: THREAD CYCLE:
THREAD CANNED CYCLE:
LINE_LENG Length of the linear motion 1 LINEAR MOTION: THREAD CYCLE: THREAD CANNED CYCLE:
MACSYS_NAM MACSYS name 0 BEGINNING OF TAPE:
MCH_COOL Coolant code 0 COOLANT:
MCH_DWELL Dwell time 5 DWELL:
MCH_FEED Feed rate 3 FEED:
MESS_STR Message string 0 MESSAGE:
MOVMNT_NUM Number of movement blocks in the current procedure 6 BEGINNING OF PROC:
NEXT_NAME Next tool holder name 0 TOOL CHANGE:
NEXT_TOOL Next tool holder number 7 TOOL CHANGE:
NIB_PITCH Nibbling pitch 1 NIBBLE:
NO_SUBROUT Subroutine mode 7 ORIGIN CHANGE
NODE_ID The node_ID number. 0 BEGINNING OF TAPE:
NUM_LAYERS Number of layers in procedure 6 SUBROUTINE CALL:
NUM_ORIGS Total number of origins used 7 BEGINNING OF TAPE:
NUM_SPRING Number of spring passes 6 BEGINNING OF PROC:
OUTER_GROV Outside groove 7 GROOVE CYCLE:
OUTER_THRD Outside thread 7 THREAD CYCLE: THREAD CANNED CYCLE:
Overlap_ between tool strokes 1 TOOL CHANGE:
PART_NAME The name of the part 0 BEGINNING OF TAPE:
PFM_UNITS PFM units 0 BEGINNING OF TAPE
PLATFORM_ The platform in use. 0 BEGINNING OF TAPE:
PROC_CMNT Procedure comment 0 BEGINNING OF PROC:
PROC_NAME The name of the current procedure 0 BEGINNING OF PROC:
PROC_NUM Procedure sequence number 6 BEGINNING OF PROC:
RADIUS_ Radius of the arc 1 CIRCULAR MOTION:
REGSTR_1 AGIE T or Makino E 6 TOOL CHANGE:
REGSTR_2 AGIE P 6 TOOL CHANGE:
REGSTR_3 AGIE D or Makino D 6 TOOL CHANGE:
REGSTR_4 AGIE S 6 TOOL CHANGE:
ROT_MAT1. . .9 Rotation matrix elements 1 ORIGIN CHANGE:
RUF_BYAREA Downstep by area - rough 7 THREAD CYCLE:
RUF_BYSTEP Downstep by distance - rough 7 THREAD CYCLE:
RUF_DEPTH Depth for rough machining 1 THREAD CYCLE:
RUF_DSTEP Downstep for rough machining 1 THREAD CYCLE:
RUF_MNSTEP Minimum downstep for rough machining 1 THREAD CYCLE:
RUF_NORMAL Perpendicular entrance - rough 7 THREAD CYCLE:
RUF_ZIGZAG Zigzag entrance - rough machining 7 THREAD CYCLE:
SCALLOP_ Hgt of material left between strokes 1 TOOL CHANGE:
SEGMT_NUM Number of line segments in string 1 START STRING:
SIDE_STEP The procedure SIDE STEP value 1 BEGINNING OF PROC:
SPIN_DIR Spindle direction 0 SPIN:
SPIN_SPEED Spindle speed 4 SPIN:
SRF_NORX X component of the surfaces' normal 1 LINEAR MOTION:
SRF_NORY Y component of the surfaces' normal 1 LINEAR MOTION:
SRF_NORZ Z component of the surfaces' normal 1 LINEAR MOTION:
ST_ANG Start angle 2 CIRCULAR MOTION:
STARTS_NUM Total number of lathe/thread starts 7 BEGINNING OF PROC:
STEP_INCR Step increment 1 THREAD STEP:
STEP_TYPE Thread step code (1 to 6) 7 THREAD STEP:
STEP_VALUE Pitch or lead size 1 THREAD STEP:
SUB_NUMBER Number of current subroutine 6 SUBROUTINE CALL:
TEETH_NUM Number of teeth in tool 7 TOOL CHANGE:
THRD_DEPTH Total thread machining depth 1 THREAD CYCLE:
TIME_SHH The current hour of starting postpr. 6 BEGINNING OF TAPE:
TIME_SMM The current min. of starting postpr. 6 BEGINNING OF TAPE:
TIME_SSS The current sec. of starting postpr. 6 BEGINNING OF TAPE:
TOOL_ANGLE Angle of the tool 2 TOOL CHANGE:
TOOL_RAD Tool radius 1 TOOL CHANGE:
TOOL_TYPE Punch tool type code 7 TOOL CHANGE:
TP_NAME Toolpath name 0 BEGINNING OF TOOLPATH:
TRANS_MATXTRANS_MATYTRANS_MATZ Translation from current UCS to the original MACSYS 6 BEGINNING OF PROC: /TOOL CHANGE: /ORIGIN CHANGE: / BEGINNING OF TAPE:
TRANSF_NUM Number of transformations 6 BEGINNING OF PROC:
TRF_MAT1...9 Transformation rotation matrix 1 TRANSFORMATION:
TRF_VECX Transformation matrix 1 TRANSFORMATION:
TRF_VECY Transformation matrix 1 TRANSFORMATION:
TRF_VECZ Transformation matrix 1 TRANSFORMATION:
USER_NAME Give the user name as an output 0 BEGINNING OF TAPE:
WINT_1 Charmilles G27 6 TOOL CHANGE:
WINT_2 Charmilles G28 6 TOOL CHANGE:
WINT_3 Charmilles G29 6 TOOL CHANGE:
WINT_4 Charmilles G30 6 TOOL CHANGE:
WINT_5 Charmilles G28G29 6 TOOL CHANGE:
WINT_6 Charmilles G29G30 6 TOOL CHANGE:
WINT_7 Charmilles G32 6 TOOL CHANGE:
WINT_8 Charmilles G38 6 TOOL CHANGE:
WINT_9 Charmilles G39 6 TOOL CHANGE:
WINT_10 Charmilles G45 6 TOOL CHANGE:
WINT_11 Charmilles G46 6 TOOL CHANGE:
WINT_12 Charmilles G60 6 TOOL CHANGE:
WINT_13 Charmilles G61 6 TOOL CHANGE:
WINT_14 Charmilles G62 6 TOOL CHANGE:
WINT_15 Charmilles G63 6 TOOL CHANGE:
WREAL_1 Charmilles C for G32 1 TOOL CHANGE:
WREAL_2 Charmilles K for G32 1 TOOL CHANGE:
WREAL_3 Charmilles X for G32 1 TOOL CHANGE:
WREAL_4 Charmilles Y for G32 1 TOOL CHANGE:
WREAL_5 Charmilles R for G32 1 TOOL CHANGE:
WREAL_6 Charmilles A for G38 [$ G39 ] 1 TOOL CHANGE:
X_CENTER X coordinate of center 1 CIRCULAR MOTION:
X_CURPOS X coordinate of current position 1 BEGINNING OF TAPE: LINEAR MOTION:CIRCULAR MOTION: CYCLE:
X_ENDPT X coordinate of endpoint 1 CIRCULAR MOTION:THREAD CYCLE:THREAD CANNED CYCLE: GROOVE CYCLE:
X_HOME X coordinate of home 1 BEGINNING OF TAPE:
X_INTER X intermediate point 1 BEGINNING OF PROC:
X_MACH X coordinate of machine zero 1 BEGINNING OF TAPE:
X_ORIGIN Origin, X coordinate 1 BEGINNING OF TAPE:
X_START X coordinate of start position 1 BEGINNING OF PROC: THREAD CYCLE: THREAD CANNED CYCLE: GROOVE CYCLE:
Y_CENTER Y coordinate of center 1 CIRCULAR MOTION:
Y_CURPOS Y coordinate of current position 1 BEGINNING OF TAPE: LINEAR MOTION: CIRCULAR MOTION: CYCLE:
Y_ENDPT Y coordinate of endpoint 1 CIRCULAR MOTION: THREAD CYCLE: THREAD CANNED CYCLE: GROOVE CYCLE:
Y_HOME Y coordinate of home 1 BEGINNING OF TAPE:
Y_INTER Y intermediate point 1 BEGINNING OF PROC:
Y_MACH Y coordinate of machine zero 1 BEGINNING OF TAPE:
Y_ORIGIN Origin, Y coordinate 1 BEGINNING OF TAPE: ORIGIN CHANGE:
Y_START Y coordinate of start position 1 BEGINNING OF PROC: THREAD CYCLE: THREAD CANNED CYCLE: GROOVE CYCLE:
Z_CENTER Z coordinate of circle center 1 CIRCULAR MOTION:
Z_CURPOS Z coordinate of current position 1 BEGINNING OF TAPE: LINEAR MOTION: CIRCULAR MOTION: CYCLE: Z SURFACE:
Z_DOWN The procedure Z DOWN value 1 BEGINNING OF PROC:
Z_ENDPT Z of circle endpoint 1 CIRCULAR MOTION:
Z_HOME Z coordinate of home 1 BEGINNING OF TAPE:
Z_INTER Z intermediate point 1 BEGINNING OF PROC:
Z_MACH Z coordinate of machine zero 1 BEGINNING OF TAPE:
Z_ORIGIN Origin, Z coordinate 1 BEGINNING OF TAPE:ORIGIN CHANGE:
Z_START Z coordinate of start position 1 BEGINNING OF PROC:
Z_UP The procedure Z UP value 1 BEGINNING OF PROC: |