Use of an already set up PLC project on another system
If an existing PLC project is to be linked to the multiuser server for which a repository has already been set up on the target system, proceed as follows:
- 1. Open the project.
- 2. In the project settings of the PLC project that is to be managed by the multiuser functionality, check whether the option Use Multiuser (see Reference project settings) is activated and the multiuser URL is stored in the project.
- Depending on whether the multiuser URL is stored in the TwinCAT project, the further procedure differs.
- The multiuser URL is stored in the project.
- 1. Click the Init button to initialize the multiuser function locally.
- The following dialog opens.
- 2. Click the Init local multiuser button.
- The multiuser function is now initialized locally for the PLC project and can be used.
- The multiuser URL is not stored in the project:
- 1. Click the Init button.
- The Settings tab of the Multiuser Explorer opens automatically.
- 2. In the ADS Route field, select the target system that contains the multiuser repository.
- 3. In the Multiuser Repository combo box, select the name of the multiuser repository to which the project is to be linked.
- 4. If required, select the option Ask for update message on each usage. (See also Settings tab)
- 5. Click the Init local and remote button.
- The multiuser repository in the project is now initialized.
![]() | If you do not have an existing project, you can create a TwinCAT project. Add an empty PLC project and link it to the multiuser repository on the target system as described above. |
![]() | Git uses absolute paths in the repository The Git Source Control System uses absolute paths in the repositories. This means that copying a project in which multiuser functionality is already installed (including the .TcGit folder) will result in the multiuser functionality not working correctly. |