Implementieren in ctrlX

<< Click to Display Table of Contents >>

Navigation:  Target systems > Bosch rexroth ctrlX >

Implementieren in ctrlX

Start ctrlX WORKS:

BoschCtrlXWorks

 

Open "Engineering Tools"

BoschOpenEngineeringTools

 

Open "ctrlX PLC Engineering"

BoschOpenPLCEngineering

 

Create a "New Project" and select a name and location for the project.

BoschNewProject

Select "ctrlX CORE" as template and choose name and location.

BoschNameNewProject

 

Now you need to import the PLCopenXML file from Selmo studio.

Select "Application" and click on "Project" and go to "Import PLCopenXML".

BoschImportPLCopenXML

 

Check all "Insertable elements" that you need and press Ok.

BoschImportPLCopenXML2

 

Select Application and click on "Project", go to "Add folder", name the new folder "GVLs".

BoschAddFolderGVL        BoschAddFolderGVL2

 

Highlight the new folder GVLs and click on "Project/Add Object/Global Variable List" and then click on "Add".

BoschAddGVL

 

 

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

BoschAddLib1

 

Go to Application/Common, click on Selmo Basic and then on OK (always use the latest version).

BoschAddLib2

 

Select Application and click on "Project", go to "Add object" and "Symbol configuration".

BoschAddSymbolConfig

 

Add.

BoschAddSymbolConfig2

 

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

In this case:

BoschIOs

BoschInputMapping

BoschOutputmapping

 

Open PLC_PRG (PRG) and write " GlobalControl ();"

BoschMainCall

 

Go to the symbol configuration, check all symbols and click on "Build".

BoschActivateSymbolConfig

 

Select Application and click on "Project", go to "Add object" and "Persistent variables".

BoschAddPersistentVars

 

Add.

BoschAddPersistentVars2

Open "Declarations" and press "Add All Instance Paths".

BoschAddPersistentVars3

 

F11 or Build and then you can save the project.

BoschBuild

 

Make sure that "ctrlX PLC Gateway - x64" is running.

BoschGateWay

 

Next, select the network path to the controller. Go to Device (ctrlX CORE),

Scan network to find your controller/PC.

BoschNetworkScan

 

Once you have found your device, you can log in.

BoschHW

 

Next you need to log in.

BoschLogin

Press F5 or Start to start the application.

BoschStartPLC

 

Here you can start/stop the application or log in/log out.

BoschStopPLC