The Codesys PLC Handler TagProvider enables dynamic data handling for flexible device addition and modification without extensive reconfiguration, ideal for IoT and monitoring applications.
Configuration involves navigating to Unified Namespaces / TagProvider Connections and selecting the Codesys PLC Handler Communication Driver. Connection parameters include specifying the system interface, read-only access mode, user-defined name, description, protocol options, and connection settings such as PLC address, port, protocol, and gateway settings.
On this page:
Configuration
To set up Codesys PLC Handler as an external Tags source, navigate to Unified Namespaces / TagProvider Connections and select the Codesys PLC Handler Communication Driver.
Connections Parameters
Field | Description |
---|---|
Provider | Specifies the system the TagProvider will interface with. In this case, it interfaces with the Codesys PLC Handler Communication Driver. |
Access Mode | Determines permissions for interacting with tags. Read allows data reading. For this TagProvider option only read is allowed. So, it is Read-Only. |
Name | User-defined name for the TagProvider instance. Identifies the specific configuration in the system. |
Description | Explains the TagProvider's purpose or the systems it interfaces with. Provides context for its usage. |
ProtocolOptions | Defines specific communication settings for the connection to the device. True or False. |
Connection | Defines a string for the Codesys PLC connection settings, including PLC address, port, protocol, and gateway settings. |
The Test buttons verifies the connection settings to ensure successful communication with the specified device.
Field | Description |
---|---|
PLC Address | Specifies the address of the PLC to establish a connection. |
PLC Port | Sets the port number used for communication with the PLC. |
Protocol | Defines the communication protocol used for the connection. Options include Tcp/Ip (Level 2 Route), Tcp/Ip (Level 2), Tcp/Ip (Level 4), and Serial (RS232). |
Motorola ByteOrder | Configures the byte order for Motorola devices. |
Gateway DeviceProto | Specifies the protocol for the gateway device. Options include Tcp/Ip, SharedMemory, and NamedSharedMemory. |
Gateway Address | Specifies the address of the gateway device to establish a connection. |
Gateway Port | Sets the port number used for communication with the gateway device. |
Gateway Password | Specifies the password for authentication with the gateway device. |
Logon UserName | Specifies the username for authentication with the PLC or gateway device. |
Logon Password | Specifies the password for authentication with the PLC or gateway device. |
Test | Verifies the connection settings to ensure successful communication with the specified device. |
In this section: