On this tab of the generic device editor, you define the connection between CODESYS and the device on which your application(s) should run. This includes security settings such as encrypted communication and signing.
If you prefer the classic mode of display for the dialog, then select it in the CODESYS “Options” in the “Device editor” category.
You select a gateway and a target device from the list boxes. The possible selections depend on the entries in the “Manage Gateways” and “Manage Favorite Devices” dialogs (see the “Gateway” menu).
You can also specify the target directly with the IP address (example: "192.168.101.109"),
the device address (example: [056D]
), or the device name (example: MyDevice
). After the device is entered, CODESYS searches for the device in the network of the gateway.
The option of searching by device name requires unique device names in the network.
The solid circle on the lower right corner of the gateway symbol provides information about the connection status:
-
Red: CODESYS cannot establish the connection.
-
Green: The connection is established.
-
Black: The connection status is unknown.
Some communication protocols allow regular checking of the gateway so that the status cannot be displayed.
Clicking the solid circle of the target device starts a network scan for the device. This works only if the network is not already being scanned.
“Scan Network” |
This button opens the “Select Device” dialog. It lists all configured gateways with the associated devices. You can select one target device from this list. If the name of the selected device is unique, then the name will be used in the connection settings. Otherwise, the unique device address is applied. For details about the display, see also the description of the classic view below. Option: “Hide non-matching devices, filter by Target ID”:
|
“Gateway” |
This menu includes the following commands:
|
“Device” |
This menu includes the following commands:
|
When you select a new communication policy in this dialog, the configuration in the runtime system is changed. |
|
“Communication Settings” |
|
“Current policy” |
Shows the currently selected policy for the encryption of communication with the device |
“New policy” |
List box for the new policy for encryption
|
“Code Signing” |
|
“Current policy” |
Display of the code signing policy which is currently set in the runtime system |
“New policy” |
|
“Device User Management” |
|
“Current policy” |
Shows the currently selected policy for user management |
“New policy” |
|
“Allow anonymous login” |
|
The runtime system password policy configured here is already checked in advance in the programming system when the password for a new device user is entered or when the existing password of a device user is changed. |
|
“Password policy is active” |
“Password settings”
The following rules for the password always apply, even when the rules are partially or completely disabled:
|
“Login lock is active” |
“Login lock settings”
For information about unlocking a locked user, see: ⮫ type conversion operator |
-
See also: ⮫ Enforce encrypted communication
-
Communication Settings – Classic Mode