EasyManua.ls Logo

NUM 1020 - Indirect Addressing of Symbolic Variables

Default Icon
146 pages
Print Icon
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...
Creating and Managing Symbolic Variable Tables
en-938872/2 4 - 27
4
4.2.9 Indirect Addressing of Symbolic Variables
A variable or a table of symbolic variables can be referenced by a value.
This addressing mode simplifies linking tables by using numbers instead of the
names of the symbolic variables.
This symbolic variable addressing mode is indirect, since it is via another address
vector variable whose value is the reference of another symbolic variable or table of
symbolic variables.
Numerical addressing is symbolised by the character @ followed by the address
vector name.
The variables addressed by negative numbers are automatically deleted by function
G80.
Example
VAR [no] = 7 [@no(10)]
The table with 10 entries is referenced
[Symb]
by the value 7
ENDV
[Symb] = 7 L0 = [@Symb(2)]
«@Symb» addresses the same
table declared as «@no»

Table of Contents

Related product manuals