Configuring V5 Smart Motors in VEXcode Pro V5

When starting to program with VEXcode Pro V5, Motor commands will not appear in the Command Reference until a motor has been configured.


Adding a Motor

Diagram illustrating the robot configuration for V5, showcasing various components and their arrangement, including motors, sensors, and structural elements, to aid in understanding the setup and functionality of the robot.

To configure a motor, select the Robot Configuration button to open the Robot Configuration window. A project must be open in order to use the Robot Configuration window.

Diagram illustrating the configuration of a V5 robot, showcasing various components and their arrangement for optimal performance in robotics applications.

Select “Add a device.”

Diagram illustrating the robot configuration for V5 category, showcasing various components and their arrangement for optimal performance in robotics applications.

Select “Motor.”

Diagram illustrating the configuration of a V5 robot, showcasing key components and their arrangement for optimal performance in robotics applications.

Select which port the motor is attached to on the VEX V5 Brain. Ports that are already configured for other devices will be unavailable.

Diagram illustrating the robot configuration for V5 category, showcasing various components and their arrangement for optimal performance.

Once the motor has been configured, select “Done” to submit the device to the configuration.

Note: Selecting “Cancel” will undo any changes you have made to the device and will not be a part of the configuration.

Note: To configure the motor further, see the additional options below.


Changing a Motor’s Port Number

Diagram illustrating robot configuration for V5 category, showcasing various components and their arrangement within the robot system.

You can change the port number for the Motor by first selecting the Motor in the Robot Configuration window.

Diagram illustrating the robot configuration for V5, showcasing various components and their arrangement within the system, relevant to the V5 Category Description.

Then, select the plug icon in the top right corner of the Motor Settings window.

Diagram illustrating the configuration of a V5 robot, including labeled components and connections, to assist users in understanding the setup process.

Select its port on the Port Selection window, and the port number will turn blue. Then select "Done" to submit the change.


Renaming a Motor 

Diagram illustrating the robot configuration for V5, showing key components and their arrangement within the system, relevant to the V5 Category Description section.

You can also rename the motor by changing the name in the text box at the top of the Motor Settings window. If you select an invalid name, the text box will highlight orange to indicate. Then select "Done" to submit the device changes to the configuration.

Diagram illustrating robot configuration for V5 category, showing various components and their arrangement within the robot setup.

If you change the name of a motor that is already being used in your project, you will need to update the motor name in the command to the new name.


Reversing a Motor

Diagram illustrating the configuration options for V5 robot components, including motors, sensors, and structural elements, as part of the V5 Category Description in the Robot Config section.

The Motor Settings window also allows the direction of the motors to be reversed.


Deleting a Motor

Diagram illustrating the robot configuration for V5 category, showcasing various components and their arrangement, including motors, sensors, and structural elements, to provide a clear understanding of the setup.

Motors can also be deleted by selecting the “Delete” option at the bottom of the window.

Note: If you delete a motor that is already being used in your project, the project will not work until the commands using that motor have also been deleted.


Changing a Gear Cartridge

Diagram illustrating the robot configuration options for V5, showcasing various components and their connections, relevant to the V5 Category Description section.

The Motor Settings window also allows the gear cartridge to be changed.

Note: Changing the motor's gear cartridge will also change the color indicator on the motor.

For more information, help, and tips, check out the many resources at VEX Professional Development Plus

Last Updated: