11.2 Basic Preparations for Operation
11.2 Basic Preparations for Operation
11.2.1 Overview of Basic Preparations for Operation
This section explains how to run and stop the motor.
11.2.2 Servo ON or OFF
To turn ON or OFF the servo motor, use the "MC_Power" function block.
■
Explanation of function block
● For input "Axis", specify the axis corresponding to the servo motor.
● When inputs "Enable", "bRegulatorOn", and "bDriveStart" are set to TRUE, the servo turns
ON.
When input "bRegulatorOn" is set to FALSE, the servo turns OFF.
■
Program examples
The following are LD program and ST program examples that execute the "MC_Power" function
block.
Setting variable "SW_Power" to TRUE turns ON the servo and setting it to FALSE turns OFF
the servo.
LD program
11-14
WUME-GM1RTXOP-01