![background image](http://html2.mh-extra.com/html/qkm/ah20/ah20_user-manual_3063992103.webp)
AH20 Robot User Manual
88 Document Version V1.0.1 (11-14-2022)
Figure 6-29 Interface of teaching in powered-on state
Step 2
Unplug the power cable from the robot (turn off the power switch
before unplugging the power cable if there is a power switch on the
robot).
Method 2 (send macro instruction):
Prerequisites: ① Manual or auto mode; ② The control authority is 0/1
(set authority with System.LogIn).
Step 1
Enter Robot.PowerEnable [robotIndex], 0 in the instruction editing
area on the macro language development interface. (Where
robotIndex is the index number of the online robot.)
For example, Robot.PowerEnable 1,0 // the robot at the first
node is powered off
Step 2
Unplug the power cable from the robot (turn off the power switch
before unplugging the power cable if there is a power switch on the
robot).