Prompted Variables
The following variables are called prompted variables because they refer to values that are entered by you. They are not based on values that are within the incoming tool motion. When these variables are used in the format, the post prompts you for the value when the post starts reading the format.
This variable prompts you for the horizontal position for the tool at the end of the program.
EndCode
G0 X[endv] Z[endh]
M30
End
Related Variables: d, h, v, endv, homeh, homev, lasth, lastv
This variable prompts you for the vertical position for the tool at the end of the program.
EndCode
G0 X[endv] Z[endh]
M30
End
Related Variables: d, h, v, endh, homeh, homev, lasth, lastv
This variable prompts you for the maximum spindle speed.
1stToolChange
O[comp] G90 S[speed] M42
G[feedtype] M31
G92 S[maxrpm]
G0 X.4 Z.4
M[direct]
V77 T[tool] M6
G0 X[v] Z[h] M32
G[speedtype] R[v] S[speed]
End
Related Variables: speed
4. program# — Mill, Lathe, EDM
You are prompted for the program number to use at the beginning of the program. The Post Processor does not display a prompt for this variable when the program number is specified in the SURFCAM Program Information dialog box.
StartCode
%0
O[program#]
End
You are prompted for the Tool change position Depth.
ToolChange
G0 Z[toold] T[tool] t0 M9
M1
T[tool]
G[feedtype] G[speedtype] S[speed] M[direct]
G0 X[v] Z[d] T[tool] t[lcomp] M[cool]
End
Related Variables: toolh, toolv
This variable prompts you for the Horizontal Tool change position.
ToolChange
G0 Z[toolh] T[tool] t0 M9
M1
T[tool]
G[feedtype] G[speedtype] S[speed] M[direct]
G0 X[v] Z[h] T[tool] t[lcomp] M[cool]
End
Related Variables: toold, toolv
This variable prompts you for the Vertical Tool change position.
ToolChange
T0
X[toolv] Z[toolh] A0.1
S9 T[tool]
X[v] Z[h]
End
Related Variables: toold, toolh
You are prompted for the Work offset number. The Post Processor does not display a prompt for this variable when the program number is specified in the SURFCAM Program Information dialog box.
1stToolChange
M6 T[tool]
G0 G90 S[speed] M[direct] E[work] X[h] Y[v]
H[lcomp] M[cool] Z[d]
End
Related Variables: workd, workh, workv
You are prompted for the Work origin offset coordinate of the Spindle Axis.
StartCode
G90 G94 G0 G17
G92 X[workh] Y[workv] Z[workd]
End
Related Variables: work, workh, workv
You are prompted for the Work origin offset coordinate of the Horizontal Axis.
StartCode
G90 G94 G0 G17
G92 X[workh] Y[workv] Z[workd]
End
Related Variables: work, workd, workv
You are prompted for the Work origin offset coordinate of the Vertical Axis.
StartCode
G90 G94 G0 G17
G92 X[workh] Y[workv] Z[workd]
End
Related Variables: work, workd, workh