Implement in ctrlX

<< Click to Display Table of Contents >>

Navigation:  Target Systems > Bosch rexroth ctrlX >

Implement in ctrlX

 

Start ctrlX WORKS:

clip0440

 

Open „Engineering Tools“

001_2021-10-22 09_00_41-ctrlX WORKS

 

Open „ctrlX PLC Engineering“

clip0441

 

Create a „ New Project“ and choose a name and Location for the Project.

clip0443

Select „ ctrlX CORE as Template and choose the name and location.

clip0444

 

Now you have to import the PLCopenXML file from SELMOstudio.

Highlight Application and click on „Project“ go to „Import PLCopenXML“.

clip0445

 

Put a Checkmark on all „Insertable Items“ you need and press Ok.

clip0446

 

Highlight Application and click on „Project“ go to „Add Folder“, name the new Folder with „GVLs“.

clip0447        clip0448

 

Highlight the new Folder GVLs and click on „Project/Add Object/Global Variable List“ and then „Add“.

clip0343

 

 

Now you need to add the Library, click on Library Manager/+Add Library

clip0450

 

Go to Application/Common, click on SELMO Basic then OK (Always use the latest Version).

clip0451

 

Highlight Application and click on „Project“ go to „Add Object“, and „Symbol Configuration“.

clip0452

 

Add.

clip0453

 

Write your in and outputs in the GVL, also the In/Output Mapping (PRG) of your Modell.

In this case:

clip0454

clip0455

clip0456

 

Open PLC_PRG (PRG) and write „ GlobalControl ();“

clip0457

 

Go to Symbol Configuration, make a Checkmark on all Symbols and click on Build.

clip0458

 

Highlight Application and click on „Project“ go to „Add Object“, and „Persistent Variables“.

clip0459

 

Add.

clip0460

 

Open „Declarations“ and click „Add All Instance Paths“.

clip0461

 

F11 or Build and then you can save the project.

clip0462

 

Make sure your „ctrlX PLC Gateway - x64“ is running.

clip0468

 

Next select the Network Path to the Controller. Go to Device (ctrlX CORE),

Scan Network to find your Controller/PC.

clip0463

 

If you found your Device you can Login.

clip0464

 

At next you have to log in.

clip0467

Press F5 or Start to start the Application.

clip0465

 

Here you can Start/Stop the Application or Login/Logout.

clip0466

 

Now you have to start the SELMOPowered HMI of your DEMO project.