Custom Plot Pre-Processor
Inplot specializes in FANUC type program code, but with this feature an Inplot script or ActiveX control or VB Script can be attached to plot button so that as Inplot goes through the editor, each line can be processed before it is sent to Inplot to be plotted. Every line can be interpreted, changed, or modified -- so it is possible to make a pre-process script that will understand the special codes or variables in the program.
You attach this script to the plot button by putting the name of the script in the machine configuration toolbox settings. Every time the plot button is pressed, the script is run for that line.
A script that just had this line:
PLOT,$
would pass through the current line in the editor to Inplot to be plotted. This would plot the same way as without a pre-process script.
A script that had this line:
PLOT,G#11X#1Y#2Z#3F#4
would substitute whatever values were in those script variables and send it to Inplot to be plotted.
VB Script Pre-Processor
With the Inscript Plug-In you can use VB Script to pre-process every line.
See Script , ActiveX , Ole Server
_________________________________________________________________