Caution – IAI America XSEL-QX User Manual

Page 143

Advertising
background image

119

Part 3 Controller Data Structure

Real variable box

Variable

box 1

(2) Types of variables

Variables are classified into two types, as follows:

[1] Integer

variables

These variables cannot handle decimal places.
[Example] 1234

Integer variable number

200 ~ 299

1200 ~ 1299

Can be used in all programs

“Global integer variables”

Integer variable number

1 ~ 99

1001 ~ 1099

Used only in each program

“Local integer variables”

Caution

Integer 99 is a special register this system uses in integer operations.
Any value in the range from –9,999,999 to 99,999,999 can be input in
programs.

[2] Real

variables

Actual values. These variables can handle decimal places.
[Example] 1234.567

n

(Decimal point)

Real variable number

300 ~ 399

1300 ~ 1399

Can be used in all programs

“Global real variables”

Real variable number

100 ~ 199

1100 ~ 1199

Used only in each program

“Local real variables”

Caution

Real number 199 is a special register this system uses in real-number
operations. Any value in the range from –99,999.9 to 999,999.9 (eight
digits including a sign) can be input in programs.

Integer variable box

Variable

box 1

Advertising
This manual is related to the following products: