|
Fil Command Syntax |
|
Description |
|
ALIAS/%symbol_name,definition_keywords |
| |
Extended variable naming |
|
|
| |
|
|
CIMFIL/ON,major[,minor]-OFF |
| |
Defines special processing for post major,minor word |
|
CANON/v1,v2,... |
| |
Define geometry via canonical format |
|
|
| |
|
|
CASE/scalar; WHEN/scalar; {stmts] |
| |
|
|
;WHEN/scalar,THRU,scalar,scalar; |
| |
|
|
;WHEN/OTHERS ;ENDOF/CASE |
| |
Logical program execution flow control |
|
rslt=DATA/words | scalars |
| |
Define multi-word data strings |
|
DEBUGG/FRONT |
| |
Print letter assignments chart |
|
GODLTA/dx,dy,dz |
| |
Incr move with no tool axis change |
|
GODLTA/dz |
| |
Incr move along current tool axis |
|
GOTO/xyz [ijk] |
| |
Absolute move [tool axis change allowed] |
|
|
| |
|
|
IF (logical exp) THEN ; {stmts} |
| |
|
|
;ELSE ; {stmts} ;ENDIF |
| |
Logical IF statement, multi-line sequence |
|
IF (logical exp) stmt |
| |
Logical IF statement, single-line |
|
|
| |
|
|
PPWORD/word,integer_code |
| |
Add vocabulary tokens |
|
PRINT/ON-OFF |
| |
Print scalars as computed to listing |
|
PRINT/ON-OFF,IN |
| |
Print input statements to listing |
|
PRINT/3,var...-ALL |
| |
Print named or ALL at this point to listing |
|
PUNCH/20,ALL,filename |
| |
Store all compiled MACRO definitions to filename |
|
PUNCH/30,filename,[var...-SCALE] |
| |
Write var list [SCALE = all defined vars] to binary file |
|
READ/20,ALL,filename |
| |
Read compiled MACROs from filename (must be 1st line) |
|
READ/30,filename,[var...-ALL] |
| |
Read binary var list {ALL = all vars in file] |
|
REDEF/ON-OFF |
| |
Enable symbol redefinition |
|
REPLAC/t1,t2[,n1,n2]-OFF |
| |
NC Code string replacement |
|
RESERV/array_name,value ... |
| |
Declare array size |
|
TIMLIM/max_time |
| |
Set maximum execution timeout |
|
|
| |
|
|
rslt=POINT/x,y,z |
| |
Define point for subsequent reference |
|
|
| |
|
|
rslt=TEXT/'string' |
| |
Define text string |
|
rslt=TEXT/CLW |
| |
Define text string as PARTNO statement contents |
|
rslt=TEXT/CONVE,var,n,d |
| |
Scalar to scientific "E" notation |
|
rslt=TEXT/CONVF,var,n,d[,s,d,z] |
| |
Scalar to string n.d wide, [s=sign,d=decimal,z=suppression] |
|
CONVF,var,2,0,0,1,1 |
| |
Convert var to 2 digit, leading zeros, no decimal |
|
CONVF,var,8,4,0,0,4 |
| |
Convert var to ->3.>4 |
|
rslt=TEXT/CONVI,var,width |
| |
Convert scalar to integer string |
|
rslt=TEXT/CONVS,char_code, ... |
| |
Convert ASCII non-printing chars to string |
|
rslt=TEXT/MODIFY,old,target,repl,times |
| |
String substitution |
|
rslt=TEXT/OMIT, old, blanks_flag |
| |
Strip blanks from string, 1=leading, 2=trailing, 3=all |
|
rslt=TEXT/RANGE, var,start,end |
| |
Extract substring |
|
rslt=TEXT/READ, filenum |
| |
Read data from external device(>0=filenum, 0=terminal) |
|
rslt=TEXT/READ,CHECK,n |
| |
Read current ERROR/WARNING message |
|
rslt=TEXT/PART |
| |
Current input CLfile path/name to a string |
|
rslt=TEXT/READ,PRINT |
| |
Read active NC Code line from .LST file |
|
rslt=TEXT/READ,PUNCH |
| |
Read from NC Code line from .NCC file |
|
rslt=TEXT/TIMES |
| |
Current date & time string |
|
rslt=TEXT/TIMES[,1] |
| |
Current date & time string -- ,1 returns 4-digit year |
|
|
| |
|
|
rslt=VECTOR/dx,dy,dz |
| |
Define vector |
|
|
| |
|
|
rslt=CANF(str_name,1) |
| |
rslt= number of characters in str_name |
|
rslt=CMPRF(str_name, comp_str_name) |
| |
rslt = 0 = no match, 1 = match |
|
rslt=FILEF(file, oper, str_name) |
| |
rslt = Status (0=OK,1=error). file=lun. oper=1-7=read/write. |
|
rslt=ICHARF(char) |
| |
rslt = ASCII code for char |
|
rslt=ICODEF(word) |
| |
rslt = Integer code for word. |
|
rslt=INDXF(str_name, match_str_name) |
| |
rslt = Starting character position of match_str_name |
|
rslt=SCALF(char) |
| |
rslt = Scalar value of char. |
|
rslt=SPWNF(system_command) |
| |
Spawns a sub_process to the OS. |
Spost.chm
FIL_COMMAND_SYNTAX_DESCRIPTION.htm