Macro Variables
Inplot can understand Fanuc macro variables for assigning values and plotting.
You can assign values to variables as in:
#1=7.2
#1=#2
#1=[#1*2]
G01X#1F1.0
Supports logical operations: EQ, NE, GT, GE, LE, LT
Supports IF, THEN, GOTO as in:
IF[#1EQ#2]THEN #3=0
IF[#3LT#1]GOTO 10
Supports ROUND, SIN, COS, TAN, ATAN, SQRT, ABS, EXP, LN, FIX
#2=ROUND[#2*#4]
S[#2]
Supports WHILE DO loops.
Variables #1-#33 are local variables within a program or subprogram.
Variables #33-#699 are global through program and subprograms.
Commands that jump to a another place in program require 'Subprograms' in Config-Plotting to be turned on.
See Also: Script , Plot Status , Macro Out , Macros , Plot Buttons , TS Config-Plotting
_________________________________________________________________