127
INTELLIGENT ACTUATOR
Part 3 Controller Data Structure
(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 to 299
1200 to 1299
Can be used in all programs “Global integer variables”
Integer variable number
1 to 99
1001 to 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
(Decimal point)
Real variable number
300 to 399
1300 to 1399
Can be used in all programs “Global real variables”
Real variable number
100 to 199
1100 to 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.
1 2 3 4
Integer variable box
Variable
box 1
Real variable box
1234.567
Variable
box 1