EasyManua.ls Logo

IAI X-SEL

IAI X-SEL
535 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
128
INTELLIGENT ACTUATOR
Part 3 Controller Data Structure
3) Variables with “*” (asterisk) (indirect specification)
An “*” (asterisk) is used to specify a variable.
In the following example, the content of variable box 1 will be put in variable box 2. If variable
box 1 contains “1234,” then “1234” will be put in variable box 2.
Command Operand 1 Operand 2
LET 1 1234
Command Operand 1 Operand 2
LET 2 *1
The above use of variables is called “indirect specification.”
An “*” is also used when indirectly specifying a symbol variable (refer to 1.8, “Symbols”).
Command Operand 1 Operand 2
LET ABC 1 Put 1 in variable ABC.
LET BCD 2 Put 2 in variable BCD.
ADD ABC *BCD
Add the content of variable BCD, or 2, to
variable ABC.
(The content of variable ABC becomes 3.)
Variable
box 1
1 2 3 4
1 2 3 4
Put in.
Variable
box 1
Variable
box 2
1 2 3 4
1 2 3 4

Table of Contents

Other manuals for IAI X-SEL

Related product manuals