Field Service Manual
December 2003
Page 25 of 276
The Laser Tool Language : LTL
LTL is a language used to debug the laser machines. LTL is a stack-oriented
programming language, the operators of LTL are called "words" and the variables the
words operate on are transferred via a stack mechanism. LTL-words can operate on
integer constants, integer variables and string constants.
LTL-words can be combined to form single line programs, or when the built-in editor
is used, complete programs can be written. LTL supports also in-line editing, and it
remembers several former command lines. These can be revoked by using the up and
down arrow keys, changing the line, if necessary, and pressing the ‘<>’ key. LTL
input strokes are always converted to upper case before the execution starts.
LTL does not allow the creation of new words, that is combining the existing words
into a new user-defined word.
An integer constant is represented by its string representation; this can also be in
exponential notation: 123400 or 1234e2. A string constant is any alphanumeric string
between quotes: "ON", "OFF", " ". A variable must be declared first with the VAR
statement: name VAR
The above statement declares an integer variable with the label name. A variable is
always set to zero at declaration time.
But let's take a look at the stack concept. When you invoke LTL you get the "LTL>"-
prompt on the screen. This means that LTL has cleared the stack and is ready to
accept commands from the keyboard. Command execution starts when the ‘<>’ key
is pressed.
The stack itself is a data array with an execution-dependent size. A number or
constant that is moved to the stack is always pushed on the Top Of Stack, variables
can only be removed from TOS. When you put two or more variables on the stack, the
number that is entered last is on the TOS position, the former on TOS-1, and so on.
Constants are pushed on the stack by simply typing the number, variables are pushed
on the stack by typing their label (variable name).
Example
"a" var 1 2 a <>
Creates a variable "a", initializes "a" to zero and pushes 1, 2, and the value of "a",
which is zero, on the stack. After this operation the stack looks like this:
TOS: 0
2
1
The number on the TOS can be removed from the stack by using the DROP word,
swapping the numbers on TOS and TOS-1 can be done by using the SWAP word.
Example
drop swap <>
Drops the 0 from the stack and swaps the 2 with the 1, the stack now looks like this:
TOS: 1
2
Содержание SilverWriter 800
Страница 6: ...Field Service Manual December 2003 Page 6 of 276 ...
Страница 8: ...Field Service Manual December 2003 Page 8 of 276 ...
Страница 18: ...Field Service Manual December 2003 Page 18 of 276 ...
Страница 20: ...Field Service Manual December 2003 Page 20 of 276 ...
Страница 24: ...Field Service Manual December 2003 Page 24 of 276 ...
Страница 75: ...Field Service Manual December 2003 Page 75 of 276 The Vacuum Pump Box Components Layout FIRST LAYOUT ...
Страница 91: ...Field Service Manual December 2003 Page 91 of 276 Electrical Devices Power panel With MM750 With MM440 ...
Страница 93: ...Field Service Manual December 2003 Page 93 of 276 Film feeder solid state panel Solid state Panels ...
Страница 95: ...Field Service Manual December 2003 Page 95 of 276 Multi FilmFeeder solid state panel ...
Страница 96: ...Field Service Manual December 2003 Page 96 of 276 ...
Страница 122: ...Field Service Manual December 2003 Page 122 of 276 ...
Страница 130: ...Field Service Manual December 2003 Page 130 of 276 ...
Страница 134: ...Field Service Manual December 2003 Page 134 of 276 ...
Страница 168: ......
Страница 172: ...Field Service Manual December 2003 Page 172 of 276 ...
Страница 174: ...Field Service Manual December 2003 Page 174 of 276 ...
Страница 187: ...Field Service Manual December 2003 Page 187 of 276 ...
Страница 216: ...Field Service Manual December 2003 Page 216 of 276 ...
Страница 220: ...Field Service Manual December 2003 Page 220 of 276 Main directory structure ...
Страница 225: ...Field Service Manual December 2003 Page 225 of 276 Adding a DPF file in the plotter queue ...
Страница 227: ...Field Service Manual December 2003 Page 227 of 276 Stop logging ...
Страница 234: ...Field Service Manual December 2003 Page 234 of 276 ...
Страница 240: ...Field Service Manual December 2003 Page 240 of 276 ...
Страница 242: ...Field Service Manual December 2003 Page 242 of 276 ...
Страница 246: ...Field Service Manual December 2003 Page 246 of 276 ...
Страница 248: ...Field Service Manual December 2003 Page 248 of 276 ...
Страница 252: ...Field Service Manual December 2003 Page 252 of 276 ...
Страница 268: ...Field Service Manual December 2003 Page 268 of 276 ...
Страница 270: ...Field Service Manual December 2003 Page 270 of 276 ...
Страница 274: ...Field Service Manual December 2003 Page 274 of 276 ...