EasyManua.ls Logo

Okuma OSP-P20L - Types;Operation Rules of Variables and Evaluation of Their Values

Okuma OSP-P20L
364 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...
5238-E P-302
SECTION 12 USER TASK
5-3. Types/Operation Rules of Variables and Evaluation of Their Values
5-3-1. Variable type and evaluation
When setting a variable, an assignment statement is used:
Example:
V = e
where,
V = variable name
e = constant, variable name, expression, and function
With this setting, the value of "e" is evaluated, and the value of "V" is changed according to the rule.
Abbreviations:
LE33013R0301400460001
Variable Name of V Unit System Type of "e" Evaluation of Value
System variables
1 mm
1/10000 inch
[I] Not changed
[R]
[R] [I]
(inch system value is converted
into metric system value)
(rounding of fractions)
mm inch
[I]
[I] * 1000 (metric system)
[I] * 10000 (inch system)
[R]
[R] * 100
(metric system)
(rounding off fractions)
[R] * 10000
(inch system)
(rounding off fractions)
Common variables -
[I] [I] [R]
[R] Not changed
Local variables -
[I] [I] [R]
[R] Not changed
Extended address
character
-
[I] [I] [R]
[R] Not changed
I/O variable -
[I] Not changed
[R] [R] [I] (rounding off fractions)
[I] ⋅⋅⋅⋅⋅⋅⋅⋅⋅Integer type
[R] ⋅⋅⋅⋅⋅⋅⋅⋅⋅Real type
[I] [R] ⋅⋅⋅⋅⋅⋅⋅⋅⋅Change to real type
[R] [I] ⋅⋅⋅⋅⋅⋅⋅⋅⋅Change to integer type

Table of Contents

Related product manuals