![IAI RA Series Instruction Manual Download Page 113](http://html.mh-extra.com/html/iai/ra-series/ra-series_instruction-manual_604006113.webp)
4. Operation Program
105
[Example]
XAST
200
10
Acquire the status of Axis No. 10 to Variable 200.
Assuming 8212 (decimal number) was in Variable 200 after this command was executed;
8212 (decimal number)
→
10 0000 0001 0100 (binary number)
(Bits) 15 14 13 12 11 10
9
8
7
6
5
4 3 2 1
0
0 0 1 0
0
0
0
0
0
0
0
1 0 1 0
0
and the status of home-return complete (bit 2), servo-on (bit 4) and zone 1 (bit 13) should
be on.
[Reference]
It can be confirmed that the indicated bit is on by using AND Command.
AND
200
16
900
It should be the logical conjunction of Variable 200
and 16 (*decimal number).
Flag 900 will turn ON when the result of logical
conjunction is 0.
16 (decimal number) = 10000 (binary number) By executing the step described above,
• When Bit 4 is ON
: Flag 900 turns OFF
• When Bit 4 is OFF : Flag 900 turns ON
against the value of Variable 200.
ME0364-2B
Summary of Contents for RA Series
Page 2: ......
Page 4: ...ME0364 2B ...
Page 22: ...1 Outline of Extension Motion Control Feature 14 ME0364 2B ...
Page 40: ...3 Basic Settings 32 ME0364 2B ...
Page 150: ...5 Practical Settings 142 ME0364 2B ...
Page 170: ...6 Parameter Detail 162 ME0364 2B ...
Page 174: ...7 Details of Features 166 ME0364 2B ...
Page 184: ......
Page 185: ......