![Mitsubishi Electric CR750 Series Скачать руководство пользователя страница 388](http://html.mh-extra.com/html/mitsubishi-electric/cr750-series/cr750-series_instruction-manual_238840388.webp)
4-368
Detailed explanation of Robot Status Variable
M_Uar
[Function]
Returns whether the robot is in the user-defined area.
Bits 0 through 7 correspond to areas 1 to 8 and each bit displays the following information.
1: Within user-defined area
0: Outside user-defined area
[Format]
[Terminology]
<Numeric Variable>
Specifies the numerical variable to assign.
<Mechanism Number>
Enter the mechanism number. 1 to 3, If the argument is omitted, 1 is set as the
default value.
[Reference Program]
1 M1=M_Uar(1) AND &H0004
' The result for area 3 only is assigned to M1.
2 If M1<>0 Then M_Out(10)=1
' Output signal 10 turns ON if contained in area 3.
[Explanation]
(1) For details on how to use user-defined areas, refer to
Page 474, "5.8 About user-defined area"
.
(2) This variable only reads the data.
Example)<Numeric Variable>=M_Uar [(<Mechanism Number>)]