4MELFA-BASIC V
Servo (Servo)
[Function]
Controls the ON and OFF of the servo motor power.
[Format]
(1) The usual program
Servo[]<On / Off>
(2) The program of always (ALWAYS) execution.
Servo[]<On / Off> , <Mechanism No.>
[Terminology]
<On / Off>
<Mechanism No.>
[Reference Program]
1 Servo On
2 *L2
3 IF M_Svo<>1 GoTo *L2
4 Spd M_NSpd
5 Mov P1
6 Servo Off
[Explanation]
(1) The robot arm controls the servo power for all axes.
(2) If additional axes are attached, the servo power supply for the additional axes is also affected.
(3) If used in a program that is executed constantly, this instruction is enabled by changing the value of the
"ALWENA" parameter from 0 to 7 and then turning the controller's power on again.
[Related system variables]
M_Svo
(1: On, 0: Off)
[Related parameter]
ALWENA
4-288 Detailed explanation of command words
On: When turning the servo motor power on.
Off: When turning the servo motor power off.
This is valid only within the program of always execution.
The range of the value is 1 to 3, and describe by constant or variable.
' Servo On.
' Wait for servo On.