Integrating projects
Integrating existing projects
If you have existing B&R Automation Studio projects, integrate them into octoplant following steps:
-
Create a New component in the UserClient. Select BRAutomationStudio in the B&R/DCS directory as the component type. !!! note The path must not contain special characters (B&R does not allow the use of the following characters: /*? “`<>|&#$%§äöüÄÖÜ~’ ).
-
Right-click on the selected component and then choose Open in file manager or press Ctrl+E.
- Copy the APJ file and the corresponding project files and folders to the directory you opened in step 2.
- In octoplant, open the APJ file in the editor by pressing F4 or right-clicking on Open with editor or click in the tab on Open with editor.
- When you make changes, save your data and then close the editor.
- In the UserClient, click on Create and Check-In base version.
You can now manage this project in octoplant.
Create and managing new projects in octoplant
-
Create a New component in the UserClient. Select BRAutomationStudio in the B&R/DCS directory as the component type. !!! note The path must not contain special characters (B&R does not allow the use of the following characters: /*?”<>`|&#$%§äöüÄÖÜ~’ ).
-
Start the B&R Automation Studio.
- Create a new project (File > New Project… etc.).Set the path of the project to the octoplant folder of your BRAutomationStudio component.
- Configure the connection to the device under Online > Settings ….
- Start the B&R Automation Studio.
- Create a new version and check it in.
Your new project can be managed in octoplant. Start the B&R Automation Studio Editor by pressing F4 or right-clicking on the component and selecting Open with editor or click Open with editor.
Note
You can customize the component type BRAutomationStudio.
The B&R Automation Studio project cannot be opened in B&R Automation Studio editor using octoplant. What is the reason for this and how can I resolve this problem?
The file naming conventions for B&R Automation Studio Editor are more restrictive than in octoplant. Sometimes a path, that is valid in octoplant, cannot be opened in B&R Automation Studio because there is an invalid character in the file path (not necessarily in the file name itself). The following characters are not allowed in B&R: /*? “`<>|&#$%§äöüÄÖÜ~’.
Check the file name of the project to be sure that it does not contain any special characters.
- Open the UserClient and go to the component.
- Right-click on the selected component and then choose Open in file manager or press Ctrl+E.
- Click in the Windows Explorer address bar and check if the file path contains special characters (for example, you cannot name a folder B&R because of the & sign).
If the problem persists, contact B&R support.
The B&R Editor does not open in the desired language when double-clicking on a project or when opened from octoplant. How can I change the language?
In this case, you need to change the path in the registry.
Note
If you are not an advanced user, we recommend that you back up your Windows Registry before proceeding.
- Open the Windows Registry (either by clicking the Start button and typing regedit in the search box, or by pressing WIN + R and then typing regedit in the box).
- Go to HKEY_LOCAL_MACHINE >`SOFTWARE > Classes > apjprogram > Shell > Open > command.
- The value of the entry should look like this: “
C:Program FilesBrAutomationAS40BinenAutomationStudio.exe" "%1
“.- Change the ./Bin-/ part of the path to change the B&R Editor startup language.
- For example, change the path to [“
C:ProgramFilesBrAutomationAS40Bin-en.AutomationStudio.exe" "%1
“] will start the editor in German. The path [“C:Program FilesBrAutomationAS40Bin-en.AutomationStudio.exe" "%1
“] is for the English version.
This only works if the language you want to activate was also installed during the installation ofB&R.
If the problem persists, please contact B&R support.