4MELFA-BASIC IV
 Detailed explanation of Robot Status Variable   4-286
M_On/M_Off
[Function]
Always returns 1 (M_On) or 0 (M_Off). 
[Format]
[Terminology]
<Numeric Variable> Specifies the numerical variable to assign.
[Reference Program]
1 M1=M_On ' 1 is assigned to M1.
2 M2=M_Off ' 0 is assigned to M2.
[Explanation]
(1) Always returns 1 or 0. 
(2) This variable only reads the data.
Example)<Numeric Variable>=M_On
Example)<Numeric Variable>=M_Off