4-356
Detailed explanation of Robot Status Variable
M_PI
[Function]
Returns pi (3.14159265358979).
[Format]
[Terminology]
<Numeric Variable>
Specifies the numerical variable to assign.
[Reference Program]
1 M1=M_PI
' 3.14159265358979 is assigned to M1.
[Explanation]
(1) A variable to be assigned will be a real value.
(2) This variable only reads the data.
M_Psa
[Function]
Returns whether the program is selectable by the specified task slot.
1: Program is selectable.
0: Program not selectable (when the program is paused).
[Format]
[Terminology]
<Numeric Variable>
Specifies the numerical variable to assign.
<Equation>
1 to 32, Specifies the task slot number. If this parameter is omitted, the current
slot will be used as the default.
[Reference Program]
1 M1=M_Psa(2)
' M1 will contain the program selectable status of task slot 2.
[Explanation]
(1) Returns whether the program is selectable by the specified task slot.
(2) This variable only reads the data.
Example)<Numeric Variable>=M_PI
Example)<Numeric Variable>=M_Psa [(<Equation>)]