Using an incomplete command line.
example: P0= (missing a value)
example: INH 2- correct would be INH -2 (waiting for input #2 to turn off)
example: INH -24 (1.5 missing ")" to close the timeout.
Using existing commands as DEFINE.
Aliases were added in 1.18.07. The following document addresses their use.
When using aliases, be careful not to use any aliases that are close to AcroBASIC commands. The #DEFINE statement will NOT give you an error on download and will be there when you issue the DEF query. The program lines that have that alias will not be properly stored and when you try to query these parameters, you will get errors. See example below. AMP and XAXIS are arguments for the CMTand CONFIG commands, respectively.
SYS>dim def20
SYS>#define AMP p6144
SYS>#define Xaxis p6145
SYS>def
#DEFINE AMP P6144
#DEFINE Xaxis P6145
SYS>?AMP
Evaluation underflow
SYS>?Xaxis
Evaluation underflow
What aliases will not work? Just type HELP at the command prompt. See example below (I bolded the items shown as examples above):
SYS>help
ACR9000 (c) 2003 by Parker Hannifin Corporation
Version 1.18.10 Update 4
Commands: ? ABS ACC ADC ADCX ALL ALM AMP ANG AS ATTACH AUT AXIS BACKUP BASE
BKL BLK BLM BREAK BRESET BSC CAM CAP CHECKSUM CIRCCW CIRCW CLEAR CLOCK CLOSE
CLR CLS CMT COM1 COM2 CONFIG CONTRAST COUNT CPU DAC DACSTEP DEC DEF DEFINE
DETACH DGAIN DIAG DIM DIN DIP DPCB DRIVE DST DTALK DWIDTH DWL DZL DZU ECHO
ELOAD ELSE ENC END ENDIF ENDP ERASE ERPMR ESAVE EXC F FBT FBVEL FEND FFACC
FFVC FFVEL FIFO FIRMWARE FLASH FLT FLZ FOR FOV FREQ FSTAT FVEL FWD FWIRE GAIN
GEAR GOSUB GOTO HALT HDW HELP HPOS HSEEK HSINT IDELAY IF IGAIN IHPOS ILIMIT
IMAGE INC INH INPUT INT INTCAP INVK IO IP IPB ITB IVEL JLM JOG JRK K KVF KVI
KVP LIMIT LIST LISTEN LOAD LOCK LOGGING LOOK LOPASS LRUN MASK MASTER MAX
MAXVEL MBUF MDI MEM MENU MIN MODE MOV MSEEK MULT NEG NEW NEXT NONE NORM NOTCH
NURB NURBEND OFF OFFSET ON OPEN OPS PARTNUMBER PASSWORD PAUSE PBOOT PERIOD
PGAIN PLC PLS POFF PON POS PPR PPU PRINT PROG PROGRAM PROM PST RANGE RANK
RATCH RATIO READ REBOOT REM REN RES RESUME RETURN REV ROTARY ROTATE ROV RPM
RUN SAMP SAVE SCALE SEG SET SHIFT SINE SKEW SLAVE SPLINE SRC STEP STEPPER STP
SYNC SYS TALKTO TANG TARC THEN TIMEOUT TLM TMOV TO TOV TRG TRGP TRJ TROFF
TRON UNLOCK UPGRADE USING VECDEF VECTOR VEL VER VPOS W WEND WHILE WIDTH XAXIS
XIO
Parametrics: + - * / ** << >> < = > <> <= >= ABSF ACOS ACOSH ACOT ACOTH AND
ASC ASIN ASINH ATAN ATANH CEIL CHR$ CNT COS COSH COT COTH CTD FLOOR GETCH
INKEY$ INSTR KBHIT KR LAT LCASE$ LD LEFT$ LEN LN LOG MID$ MOD NAND NOR NOT OR
OUT RIGHT$ RND ROUND SIN SINH SPACE$ SQRT STR$ STRING$ TAN TANH TIM TRUNC
UCASE$ VAL XNOR XOR
8/26/14jh
0 Comments