Chapter 4. programming – IAI America S-SEL-E User Manual

Page 172

Advertising
background image

Page 167

Chapter 4. Programming

[Function]

Assigns the contents of the variable in Operand 2 to the variable in Operand 1. This function is also known as

"indirect addressing" or "pointing to a pointer."

[Example]

TRAN 1

2

Assign the content of variable 2 to variable 1. This has the same effect as,
LET

1

#2

LET

1

2

LET

2

3

LET

3

4

TRAN 1

*2

Assign 4 (4 is the content of the variable 3 which is the content of the variable 2) to variable 1.
The variable will change as below.

2-4 Computation Command

TRAN (Transfer)

2

3 4

1

2

3

4

3 4

1

2

3

E x p a n s io n

c o n d itio n

( A N D · O R )

In p u t

c o n d itio n

( I/O · F la g )

C o m m a n d

P o s t

( O u tp u t p o r t · F la g )

C o m m a n d

O p e ra n d 1

O p e ra n d 2

O p tio n a l

O p tio n a l

T R A N

Va r ia b le n o .

Va r ia b le n o .

а

Advertising
This manual is related to the following products: