---
title: "Preparing project for the AC motors in CVC"
canonical: "https://docs.cuesystem.com/space/CVCDD/445218851/Preparing%20project%20for%20the%20AC%20motors%20in%20CVC"
format: markdown
---
# Inserting resources

Add the following software component to the project resources:

- File Generic_Motor_Control_BidirectionalACMotor_Relay_1.00.cvcd to CUEunits and Devices

The driver is available on the cloud and you can import it by following the procedure [here](https://cue.atlassian.net/wiki/spaces/CVCIDE/pages/498761872).

# Inserting BidirectionalACMotor device

From *MyProject Resources *drag *BidirectionalACMotor *device and drop it into your configuration. Connect the *RelayConnectorRun *and *RelayConnectorDirection* to the *Relay *connectors of the unit that will be used to control the motor.

![image](media://cf2a2b58-e266-41df-ad9c-5a4fa62afe7d)

The picture above shows how to configure the driver using relays in unit relayCUE-8 (driver Motor_Control1 connected to relayCUE8_1 relays RE1 and RE2). The relayCUE-8 unit is controlled via serial port from the controller using PEbus protocol.