The connection to the controller is established by means of a gateway. This gateway can be your development computer or another network computer connected to the controller. The “Communication Settings” dialog is available for configuring the connection path. This dialog opens automatically when you attempt to log in, but the communication settings have not been configured yet.
If the communication with the controller is encrypted and secured by means of user management, then you need a corresponding certificate and credentials to establish the connection to the controller. In this case, see the relevant instructions on the "Encrypting communication and Changing Security Settings" help page.
Requirement: The project can be compiled without any errors. A programmable logic controller (PLC) is inserted in the device tree. The use of a user management is required for the device, but it is not enabled.
-
In the device tree, select the PLC and click “Project Edit Object”.
The PLC opens in the editor.
-
Click the “Communication Settings” tab.
-
On the menu bar, click “Scan Network”.
The “Select Device” dialog opens. All available devices in the network are shown on the left side.
-
Select the desired device and click “OK”.
A dialog prompt is displayed with the notice that a user management is required for the device, but it is not enabled yet. You are prompted to enable the user management if you want. The notice is displayed that in this case you have to create a new administrator account and then log in as this user.
-
Click “Yes” to close the dialog prompt.
The “Add Device User” dialog opens to create an initial device administrator.
-
Define the credentials (“Name” and “Password”) for the device administrator. Select the “Password can be changed by the user” option.




NOTICE

Remember the seriousness of the password: From within the development system, there is no way to access the controller again if you forget the password.
Click “OK” to close the dialog.
The “Device User Logon” dialog opens.
-
Enter the credentials for the device administrator which you defined in the previous step.
The connection path for the PLC is set.
You can reset the communication settings view to the original view in the CODESYS options of the device editor.