---
title: "Preparing project for Tecomat PLC EPSNET in CVC"
canonical: "https://docs.cuesystem.com/space/CVCDD/448331777/Preparing%20project%20for%20Tecomat%20PLC%20EPSNET%20in%20CVC"
format: markdown
---
# Inserting resources

Add the following software components to the project resources:


1. Insert device Teco_Control_System_Tecomat_PLC_EPSNET Udp_Client to CUEunits and Devices
2. Insert device Teco_Control_System_Tecomat with driver for each Tecomat PLC variable type used in your project, for example Teco_Control_System_Tecomat_BOOL, Teco_Control_System_Tecomat_REAL

![image](media://110a901c-130d-4cf1-9c61-d3baae3ec774)


# Inserting Tecomat_PLC_EPSNET device

From *MyProject Resources *drag *Tecomat_PLC_EPSNET *device and drop it into your configuration.

![image](media://1b2a4ad9-b113-4613-bed2-b827962a418d)

Connect it to an *UDP client *connector of CUE unit. Then create new text in *Public definitions *property of *Tecomat_PLC_EPSNET *device and copy here all content of **.pub *file form directory of your Tecomat project. (See chapter [**Generating *.pub file**](https://cue.atlassian.net/wiki/spaces/CVCDD/pages/447741957/Preparing+project+in+Mosaic#Generating-*pub-file)). Don't forgot enter valid *IP address *property of Tecomat PLC controller.

# Adding Tecomat PLC variables

Now you can add device drivers for all variables, which you want read or write to Tecomat PLC.

![image](media://8fe82c23-1fd6-477f-b501-591af544a09b)

Connect them to *Tecomat_PLC_EPSNET *device and fill *Name *property with right name of variable from Tecomat PLC (see picture below).

![image](media://aec1c276-aa93-4997-9beb-8f7012a2debe)

Now you have prepared projects for using Tecomat PLC drivers in CVC.