Installation guide

70 Programming Commands
Page
M
MAXSPD Sets or returns the maximum allowed speed of an axis. 130
MID$ Returns the designated middle number of character of a string. 130
MOD Returns the remainder of a number divided by the base. 131
MOTIONSTATE Returns the motion state of an axis. 131
MOVE Initiates a non-coordinated move. 132
MOVEHOME Runs the motor until the home input is activated, captures and records
the position of the switch activation as home. 133
MOVEREG Runs the motor until the mark registration input is activated; then moves
the motor the desired registration distance. 135
N
NOT The logical NOT operator is used in Boolean expressions. 137
NVR The NVR array is used for non-volatile variable storage. 137
NVRBIT Stores or returns the bit value in NVR memory. 138
NVRBYTE Stores or returns the byte value in NVR memory. 139
O
OPTION DECLARE This option requires that all local variables be declared as REAL or
STRING variables. 139
OR The logical OR operator is used in Boolean expressions. 140
OUT Sets or returns the condition of a specified digital output. 141
OUTLIMIT Sets or returns the servo axis command limit voltage. 142
P
PATH ... PATH CLOSE ... PATH END Specifies a continuous motion path. 143
POINT Specifies coordinates, which the motors will move through in a path. 144
POSERR Returns the positional error of the designated axis. 144
POSMODE Sets or returns the position mode of an axis. 145
PRINT Transmits designated data via the designated serial port. 146
PRINT USING Transmits string characters or formatted number via the designated
serial port. 147
PROFILE Determines how the motor’s speed changes. 150
R
RADIUS Sets or returns the arc radius for path blending. 151
READ Reads numbers from data statements and assigns them to a variable. 151
REDUCE Enable/disable the reduce current feature or return the enable/disable
Status of an axis. 152
REGLIMIT Sets or returns the distance to be moved during a MOVEREG cycle,
while awaiting a trigger. 152
REM ‘ Allows source code comments to be inserted in the program. 153
RESET Resets the system. 153
RESTORE Allows DATA statements to be read again. 153
RIGHT$ Returns the rightmost characters of a string. 154