IMS 17 Operating Instructions Manual page 51

Motion control
Table of Contents

Advertisement

MNEMONIC
L
DESCRIPTION
The L instruction will print the contents of program space beginning at the specified address to the end. If no address is specified it
will list beginning at line 1.
USAGE
L
L <addr/label>
EXAMPLE:
L 128
'display contents of program space beginning at line 128
RELATED COMMANDS: —
MNEMONIC
LB
DESCRIPTION
The LB, or Label Instruction, allows the user to assign a 2 character name to a program, branch process within a program or
subroutine.
The restrictions for this command are:
1]
A label cannot be named after a MDrive Motion Control Instruction, Variable or Flag.
2]
The first character must be alpha, the second character may be alpha-numeric.
3]
A label is limited to two characters.
4]
A program labeled SU will run on power-up
USAGE
LB <char><char>
EXAMPLE:
PG 100
'start program at adress 100
LB J0
'Label program J0
RELATED COMMANDS: BR, CL, EX, TI, TP, L, CP
MNEMONIC
LK
DESCRIPTION
This flag allows the user to lock the program from being listed or modified. It can only be reset by clearing the entire program space:
CP (no address). If CP addr, L (addr), PG addr entered then error 44 (Program Locked) will be set and nothing else will happen.
To clear LK, don't save (S) then do a Ctrl-C or Cycle Power and the LK will be reset to previous unlocked state. (Program is
automatically store in NVM as it is entered.) Or you may clear program (CP). This will clear the program and reset LK to 0 in
NVM as well as in local ram.
USAGE
LK= <0/1>
RELATED COMMANDS: CP, L
FUNCTION
List Program Space
FUNCTION
Label Program/Subroutine
FUNCTION
Lock User Program
DEFAULT
0 (Disabled)
TYPE
Instruction
TYPE
Instruction
TYPE
Setup Flag
49

Advertisement

Table of Contents
loading

This manual is also suitable for:

Excellence in motion mdrive17

Table of Contents