The tab includes the communication settings via CODESYS Symbolic for the remote data source.
When initially adding a data source, you have selected the “CODESYS Symbolic” data source type, and depending on that the communication settings to the data source were configured. Afterwards, the communication settings are outdated on this tab. You can only initially set the “Data source type” setting.
CODESYS Symbolic means that in the case of an active connection the communication is done via symbolic monitoring. This kind of symbolic access is possibly for CODESYS V2 and CODESYS V3 controller variants. In addition, the runtime system has to support the symbol configuration.
You can develop a local application offline based on the symbol information without a connection to the data source. To do this, you refer to a symbol file in the configuration settings in which all required variable information has been stored. Then no active connection is established.
Tab 'Communication' via CODESYS Symbolic
“Variable information” |
Source of the variable information
|
“Choose symbol file” |
The path of the symbol file for the “Variable information” selection is “From symbol file”. The symbol file is stored on the development system and contains the required variable
information. By default, a symbol file path is created in the project directory in
the following structure: Example: Note: If the “Alarm Table” element or “Trend” element is used in the visualization, then the symbol file required for symbolic access and the respective project must both be saved in the same folder. The project contains the configuration for the alarm table element or the trend recording for the trend element. This is the default case for automatically generated symbol files. Example: |
“Connection type” |
Connection type between the remote PLC and the local device. Depending on the selected connection type, the following settings below change. Note: Whenever possible, avoid a direct connection without a gateway.
|
Connection settings for connection type 'CODESYS V2'
“PLC” |
|
“Driver type” |
|
“Address” |
Example: |
“Port” |
Example: |
“Block size” |
Example: Requirement: The driver type is “Tcp/Ip (Level 2)”. |
“Target ID” |
Example: Requirement: The driver type is “Tcp/Ip (Level 2 Route)”. |
“Motorola byte order” |
|
Connection settings for connection type 'CODESYS V2 (Via gateway)'
“Gateway” |
The gateway settings are configured in addition to the PLC settings. Note: For this connection, a “CoDeSys V2.3 Gateway Server” (V2 Gateway) also has to be installed on the development computer where CODESYS V3 is running. |
“IP address” |
Example: |
“Port” |
Example: |
Connection settings for connection type 'CODESYS V3'
“PLC” |
|
“Name or address of device” |
The setting that you make here varies according to the selection in the “Type of name or address” list box. For options that are derived automatically, you do not have to specify the setting here. The setting can remain empty. Example: Nothing specified for “...(automatically derived)” Example: Example: Example: Example: Hint: |
“Type of name or address” |
|
“Dynamic from variable” |
The device name or address is configured dynamically at runtime by means of an IEC
variable of data type Use case: The device name or address is not available when a project is being created. The dynamic configuration can also be used to change the settings at runtime without restarting the HMI application. Note: For this connection type, the connection is also not done dynamically via gateway. |
Connection settings for connection type 'CODESYS V3 (Via gateway)'
“Gateway” |
The gateway settings are configured in addition to the PLC settings. |
“IP address” |
Example: |
“Port” |
Example: |
Extending the communication settings for the PLCHandler interface




NOTICE

It is not recommended to configure the PLCHandler manually.
The connection to the controller is established via the CODESYS PLCHandler communication interface. In this case, the configuration is performed in the PLCHandler INI format and allows for advanced parameterization.
“Advanced” |
|
“Used as” |
|
“INI content” |
Requirement: “Used as” is set to “Extend the configuration by the following content”. Example: logfilter=16#000000FF Example: parameter0=EncryptCommunication value0=1 Note: If the parameters are generic, then they can be specified as 0-based ( |
“INI content” |
Requirement: “Used as” is set to “Configure completely with the following content”. Example: [PLC:PLC_IdArti] interfacetype=ARTI active=1 logevents=1 motorola=0 nologin=0 timeout=10000 precheckidentity=0 tries=3 waittime=12 reconnecttime=10 buffersize=0 device=Tcp/Ip (Level 2 Route) instance=PLCWinNT_TCPIP_L2Route parameters=4 parameter0=Address value0=localhost parameter1=Port value1=1200 parameter2=TargetId value2=0 parameter3=Motorola byteorder value3=No |
Communication settings for controllers with visualization user management
“Login Configuration” |
If a visualization user management is configured on the remote device, then valid credentials are required at login. |
“Type” |
Defines how the visualization user management gets credentials
|
“User name” |
Example: |
“Password” |
Example: ··· |