B&R Automation Studio: integrating projects

Integrating existing projects

If you have existing B&R Automation Studio projects, you can integrate them into versiondog via the following steps:

  1. Create a New component in the UserClient. Select BRAutomationStudio in the B&R/DCS directory as the component type.
    The path must not contain special characters (B&R does not allow the use of the following characters: /*?"<>|&#$%§äöüÄÖÜ~' ).
  2. Right-click on the selected component and then choose Open in file manager OR press Ctrl+E.
  3. Copy the APJ file and the corresponding project files and folders to the directory you opened in step 2.
  4. In versiondog, 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.
  5. When you make changes, save your data and then close the editor.
  6. In the UserClient, click on Create and Check-In the base version.

You can now manage this project in versiondog.

Create and managing new projects in versiondog

  1. Create a New component in the UserClient. Select BRAutomationStudio in the B&R/DCS directory as the component type.
    The path must not contain special characters (B&R does not allow the use of the following characters: /*?"<>|&#$%§äöüÄÖÜ~' ).
  2. Start the B&R Automation Studio.
  3. Create a new project (File > New Project... etc.).
    Set the path of the project to the versiondog folder of your BRAutomationStudio component.
  4. Configure the connection to the device under Online > Settings ....

  5. Start the B&R Automation Studio.
  6. Create a new version and check it in.

Your new project can be managed in versiondog. 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.

The component type, BRAutomationStudio, can be modified to suit your individual needs. For more information, see the Component type editor section, located in the AdminClient tutorial.

FAQ: A B&R Automation Studio project cannot be opened in B&R Automation Studio Editor using versiondog. 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 versiondog. Sometimes a path, that is valid in versiondog, 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.

  1. Open the UserClient and go to the component.
  2. Right-click on the selected component and then choose Open in file manager OR press Ctrl+E.
  3. 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, please contact B&R support.

To FAQ list

FAQ: The B&R Editor does not open in the desired language when double-clicking on a project or when opened from versiondog. How can I change the language?

In this case, you need to change the path in the registry.

If you are not an advanced user, we recommend that you back up your Windows Registry before proceeding.

  1. 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).
  2. Go to HKEY_LOCAL_MACHINE > SOFTWARE > Classes > apjprogram > Shell > Open > command.
  3. The value of the entry should look like this:
    "C:\Program Files\BrAutomation\AS40\Binen\AutomationStudio.exe" "%1".
    • Change the ./Bin-**/ part of the path to change the B&R Editor startup language.

    • For example, change the path to ["C:\ProgramFiles\BrAutomation\AS40\Bin-en.\AutomationStudio.exe" "%1"] will start the editor in German. The path ["C:\Program Files\BrAutomation\AS40\Bin-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.

To FAQ list