Installation guide
Programming Commands 123
LOF Miscellaneous Command
ACTION: Returns the number of character in the designated RS232 port.
PROGRAM SYNTAX: LOF(port) - used in an expression.
REMARKS: Port is the designated serial port (1 or 2). Port 1 is the Host port and
port 2 is the Auxiliary port.
EXAMPLES: DO : LOOP UNTIL LOF(2)>=10 >wait for 10 characters in aux-
iliary port
A$=≅Α 'clear A$
cnt=0
DO
A$=A$+CHR$(INCHAR(2)) > load characters
LOOP UNTIL LOF(2)=0
LOG Mathematics Function
ACTION: Returns the natural logarithm of a numeric expression.
PROGRAM SYNTAX: LOG(expression) - used in an expression
REMARKS: The argument expression must be greater than zero. The natural loga-
rithm is the logarithm to the base e. The constant e is approximately
equal to 2.718282.
You can calculate base 10 logarithm as follows: LOG 10(x)=
LOG(x)*.4342945
EXAMPLES: x=LOG(2.718282) ‘ sets x= 1
LOWSPD Trajectory Parameter
ACTION: Sets or returns the Low Speed (starting speed) value of a stepping mo-
tor axis.
PROGRAM SYNTAX: LOWSPD(axis)=expression
LOWSPD=expression1, ... ,expression 8
LOWSPD(axis, ... ,axis)=expression, ... ,expression
LOWSPD(axis) - used in an expression
REMARKS: This command is defined in more detail in Section 10 Stepper Drive.










