![Okuma OSP-P200L Programming Manual Download Page 281](http://html1.mh-extra.com/html/okuma/osp-p200l/osp-p200l_programming-manual_3667818281.webp)
5238-E P-268
SECTION 12 USER TASK
2-3.
Fundamental Functions of User Task
The basic user task functions are largely classified into the following three functions:
Control Statement Function
This function allows you to control the execution order of programmed sequences using the
statements such as IF, GOTO, and CALL.
Variable Function
In normal programming, numerical data directly follows the address characters such as A through Z.
This function allows you to assign variables expressed by alphanumerics, instead of numerical data,
to the address characters. The actual numerical data are assigned to the variables in respective
programs. The variable function, thus, provides versatility and flexibility in programming.
Example:
LE33013R0301400040001
Calculation Function
This function allows you to directly program the arithmetic expressions including operators (such as
+, -, x, /) instead of values or variables (see the above variable function) with the address characters
(such as X, Z, I, K).
Example:
LE33013R0301400040002
X135
X = XP1
XP1 = 135
Variable name
(alphanumeric)
Desired value can be assigned
Normal programming
When calculation function is used
X135
X = 100 + XP2
XP2 = 35
Normal programming
When calculation function is used