Codesys Manual
Codesys Manual
Codesys Manual
Table of Contents
CODESYS Driver 1
Table of Contents 2
CODESYSDriver 5
Overview 5
Setup 5
Channel Properties — General 6
Tag Counts 7
Channel Properties — Write Optimizations 7
Channel Properties — Advanced 8
Channel Properties — Communication Parameters 8
Device Discovery Procedure 9
Device Discovery Settings 10
Device Properties — General 10
Operating Mode 11
Tag Counts 12
Device Properties — Scan Mode 12
Device Properties — Auto-Demotion 13
Device Properties — Tag Generation 13
Automatic Tag Database Generation 15
Device Properties — Communication Parameters 17
Device Properties — User Credentials 19
Device Properties — Tag Import Settings 20
Device Properties — Redundancy 22
Performance Optimization 23
Tag Scope 25
Tag Addressing 25
Nested Structures 26
Arrays 26
Array Elements 27
Bit Addressing 27
Access Privileges 28
www. ptc.com
CODESYS Driver 3
Tag generation failed because the device symbols could not be loaded. | Device = '<Chan-
nelName.DeviceName>'. 30
Tag generation failed because communications could not be established with the device. | Device
= '<ChannelName.DeviceName>'. 30
Tag generation failed because an unexpected failure occurred. | Device = '<Chan-
nelName.DeviceName>'. 30
Internal Error. An unexpected error occurred. Resetting the PLC connection. | Transaction info =
'<Transaction Type and Details>'. 31
Device discovery failed because an unexpected failure occurred. 31
Error occurred while attempting to write tag. Unable to connect to the device. | Tag address =
'<.mystruct.innerstruct.tag>'. 31
Failed to browse tags. 32
Error occurred while attempting to connect to device. Failed to retrieve symbol list from device or
file. 32
Internal error occurred while attempting to read tag. | Tag address = '<.my-
struct.innerstruct.tag>'. 32
Internal error occurred while attempting to write tag. | Tag address = '<.my-
struct.innerstruct.tag>'. 32
Error occurred while attempting to read tag. Unsupported data type or invalid address specified.
| Tag address = '<.mystruct.innerstruct.tag>', data type = '<type>'. 33
Error occurred while attempting to read tag. The specified tag address was not found on the
device. | Tag address = '<.mystruct.innerstruct.tag>'. 33
Error occurred while attempting to write tag. The specified tag address was not found on the
device. | Tag address = '<.mystruct.innerstruct.tag>'. 33
Error occurred while attempting to read tag. The specified server data type is not compatible with
the device data type. | Tag address = '<.mystruct.innerstruct.tag>', server data type = '<type>',
device data type = '<type>'. 34
Error occurred while attempting to write tag. The specified server data type is not compatible with
the device data type. | Tag address = '<.mystruct.innerstruct.tag>', server data type = '<type>',
device data type = '<type>'. 34
Internal error occurred while attempting to connect to device. The configuration provided is not
valid. 34
The browse path contains invalid characters. 34
Error occurred while attempting to read tag. The array size must match between the server and
device. | Tag address = '<.mystruct.innerstruct.tag>', server array size = '<length>', device array
size = '<length>'. 35
Error occurred while attempting to write tag. The array size must match between the server and
device. | Tag address = '<.mystruct.innerstruct.tag>', server array size = '<length>', device array
size = '<length>'. 35
Tag browsing failed because communications could not be established with the device. 35
Error occurred while attempting to read tag. The specified tag address has a string length that is
larger than the maximum supported by the server. | Tag address = '<.mystruct.innerstruct.tag>',
Max length = '<number>' characters. 36
www. ptc.com
4 CODESYS Driver
Error occurred while attempting to write tag. The specified tag address has a string length that is
larger than the maximum supported by the server. | Tag address = '<.mystruct.innerstruct.tag>',
Max length = '<number>' characters. 36
The browse path does not exist. 36
Tag browse request aborted due to unknown error. 36
The browse request was canceled because the driver has been stopped. 37
Data type for the given address is not supported. A tag is not generated for this data point. | Tag
address = '<.mystruct.innerstruct.tag>'. 37
The tag could not be added to the server because the address exceeds the maximum length. |
Tag address = '<.mystruct.innerstruct.tag>', Max length = '<1024>' characters. 37
The tag could not be added to the server because it failed address validation. | Tag address =
'<.mystruct.innerstruct.tag>'. 38
The value read from the string tag was truncated. | Tag address = '<.mystruct.innerstruct.tag>',
maximum length = '<number>' characters. 38
The value written to the string tag was truncated. | Tag address = '<.mystruct.innerstruct.tag>',
maximum length = '<number>' characters. 38
Devices across channels must have unique address (IP address or hostname) and port com-
binations. | Address = '<number>', Port = '<number>', Overlapping device = '<device>'. 38
Failed to open the symbol file. | File = '<path to file>'. 39
The file path cannot be empty. 39
The symbol file was invalid or corrupt. | File = '<path to file>'. 39
Error opening file for tag database import. | OS Error = '<OS Supplied Message>'. 39
Error occurred while attempting to write tag. The bit value exceeds the size of the controller data
type. | Tag address = '<.mystruct.innerstruct.tag>', bit value = '<bit location>', controller data type
size (bytes) = '<size in bytes>'. 39
Error occurred while attempting to read tag. The bit value exceeds the size of the controller data
type. | Tag address = '<.mystruct.innerstruct.tag>', bit value = '<bit location>', controller data type
size (bytes) = '<size in bytes>'. 39
Invalid address. Please enter a valid Logical Address or PLC Name. 39
Devices across channels must have unique Logical Address/PLC Names. | Address = '<address>',
Overlapping device = '<device>'. 39
Some of the imported tags replaced tags of the same name in your project. 40
Failed to open the symbol file. | File = '<path to file>', Reason = '<error message from operating
system>'. 40
The tag could not be included in the browse because the address exceeds the maximum length. |
Tag address = '<.mystruct.innerstruct.tag>', Max length = '<1024>' characters. 40
The tag could not be included in the browse because it failed address validation. | Tag address =
'<.mystruct.innerstruct.tag>'. 40
Failure browsing tags. | Reason = '<string indicating why the tag browse failed>'. 40
Tags generated. | Tag count = <count>. 41
Index 42
www. ptc.com
CODESYS Driver 5
CODESYS Driver
Help version 1.048
CONTENTS
Overview
What is the CODESYS Driver?
Channel Set up
How do I configure channels for use with this driver?
Device Set up
How do I configure a specific device to work with this driver?
Overview
The CODESYS Driver provides a reliable way to connect CODESYS-compliant controllers to client applic-
ations, including HMI, SCADA, Historian, MES, ERP, and countless custom applications.
Set up
Communication Protocol
CODESYS V2.3 Ethernet over ARTI
CODESYS V3 Ethernet over ARTI
CODESYS Gateway for V2.3
CODESYS Gateway for V3
Device Timeouts
The driver does not support configurable timing parameters. These parameters are always set to the fol-
lowing values:
www. ptc.com
6 CODESYS Driver
N ote: This driver doesn’t allow configuration of the request timeout. This can result in a device taking a
long time to update the tag quality once connectivity is lost.
Identification
N am e: Specify the user-defined identity of this channel. In each server project, each channel name must be
unique. Although names can be up to 256 characters, some client applications have a limited display window
when browsing the OPC server's tag space. The channel name is part of the OPC browser information. The
property is required for creating a channel.
For information on reserved characters, refer to "How To... Properly Name a Channel, Device, Tag, and Tag
Group" in the server help.
Driver: Specify the protocol / driver for this channel. This property specifies the device driver that was selec-
ted during channel creation. It is a disabled setting in the channel properties. The property is required for cre-
ating a channel.
N ote: With the server's online full-time operation, these properties can be changed at any time. This
includes changing the channel name to prevent clients from registering data with the server. If a client has
already acquired an item from the server before the channel name is changed, the items are unaffected. If,
after the channel name has been changed, the client application releases the item and attempts to re-
acquire using the old channel name, the item is not accepted. Changes to the properties should not be made
once a large client application has been developed. Utilize proper user role and privilege management to
prevent operators from changing properties or accessing server features.
Diagnostics
Diagnostics Capture: When enabled, this option makes the channel's diagnostic information available to
OPC applications. Because the server's diagnostic features require a minimal amount of overhead
www. ptc.com
CODESYS Driver 7
processing, it is recommended that they be utilized when needed and disabled when not. The default is dis-
abled.
N ote: This property is not available if the driver does not support diagnostics.
For more information, refer to "Communication Diagnostics" and "Statistics Tags" in the server help.
Tag Counts
Static Tags: Provides the total number of defined static tags at this level (device or channel). This inform-
ation can be helpful in troubleshooting and load balancing.
Write Optimizations
Optim ization Method: Controls how write data is passed to the underlying communications driver. The
options are:
l Write All Values for All Tags: This option forces the server to attempt to write every value to the
controller. In this mode, the server continues to gather write requests and add them to the server's
internal write queue. The server processes the write queue and attempts to empty it by writing data
to the device as quickly as possible. This mode ensures that everything written from the client applic-
ations is sent to the target device. This mode should be selected if the write operation order or the
write item's content must uniquely be seen at the target device.
l Write Only Latest Value for N on-Boolean Tags: Many consecutive writes to the same value can
accumulate in the write queue due to the time required to actually send the data to the device. If the
server updates a write value that has already been placed in the write queue, far fewer writes are
needed to reach the same final output value. In this way, no extra writes accumulate in the server's
queue. When the user stops moving the slide switch, the value in the device is at the correct value at
virtually the same time. As the mode states, any value that is not a Boolean value is updated in the
server's internal write queue and sent to the device at the next possible opportunity. This can greatly
improve the application performance.
N ote: This option does not attempt to optimize writes to Boolean values. It allows users to optimize
the operation of HMI data without causing problems with Boolean operations, such as a momentary
push button.
l Write Only Latest Value for All Tags: This option takes the theory behind the second optimization
mode and applies it to all tags. It is especially useful if the application only needs to send the latest
value to the device. This mode optimizes all writes by updating the tags currently in the write queue
before they are sent. This is the default mode.
Duty Cycle: is used to control the ratio of write to read operations. The ratio is always based on one read for
every one to ten writes. The duty cycle is set to ten by default, meaning that ten writes occur for each read
operation. Although the application is performing a large number of continuous writes, it must be ensured
that read data is still given time to process. A setting of one results in one read operation for every write
www. ptc.com
8 CODESYS Driver
operation. If there are no write operations to perform, reads are processed continuously. This allows optim-
ization for applications with continuous writes versus a more balanced back and forth data flow.
N ote: It is recommended that the application be characterized for compatibility with the write optimization
enhancements before being used in a production environment.
N on-N orm alized Float Handling: A non-normalized value is defined as Infinity, Not-a-Number (NaN), or as
a Denormalized Number. The default is Replace with Zero. Drivers that have native float handling may
default to Unmodified. Non-normalized float handling allows users to specify how a driver handles non-nor-
malized IEEE-754 floating point data. Descriptions of the options are as follows:
l Replace with Zero: This option allows a driver to replace non-normalized IEEE-754 floating point val-
ues with zero before being transferred to clients.
l Unm odified: This option allows a driver to transfer IEEE-754 denormalized, normalized, non-num-
ber, and infinity values to clients without any conversion or changes.
N ote: This property is disabled if the driver does not support floating-point values or if it only supports the
option that is displayed. According to the channel's float normalization setting, only real-time driver tags
(such as values and arrays) are subject to float normalization. For example, EFM data is not affected by this
setting.
For more information on the floating-point values, refer to "How To ... Work with Non-Normalized Floating-
Point Values" in the server help.
Inter-Device Delay: Specify the amount of time the communications channel waits to send new requests to
the next device after data is received from the current device on the same channel. Zero (0) disables the
delay.
N ote: This property is not available for all drivers, models, and dependent settings.
Communication Parameters
www. ptc.com
CODESYS Driver 9
Keep Alive: Configure how many minutes the driver maintain an open connection with the device after all cli-
ent references are removed. If no client references are added before the timeout expires, the connection is
closed. If a client reference is added while the timer is active, the timeout is canceled, preventing the con-
nection from being closed.
3. Specify the discovery properties, which are driver-specific, such as address range, timeout, discovery
scope.
4. Click OK.
5. Devices discovered populate the dialog with the following information / headings Device N am e, ID,
Description.
6. If any discovered device is of interest, select the desired device(s) and click Add selected device
(s)....
7. Click Close.
www. ptc.com
10 CODESYS Driver
Gateway Address: Specify the IP address or host name for the gateway server.
Gateway Port: Specify the port number through which to contact the gateway server
Identification
N am e: Specify the name of the device. It is a logical user-defined name that can be up to 256 characters
long and may be used on multiple channels.
N ote: Although descriptive names are generally a good idea, some OPC client applications may have a
limited display window when browsing the OPC server's tag space. The device name and channel name
become part of the browse tree information as well. Within an OPC client, the combination of channel name
and device name would appear as "ChannelName.DeviceName".
For more information, refer to "How To... Properly Name a Channel, Device, Tag, and Tag Group" in server
help.
Channel Assignm ent: Specify the user-defined name of the channel to which this device currently belongs.
www. ptc.com
CODESYS Driver 11
Model: Specify the type of device that is associated with this ID. The contents of the drop-down menu
depend on the type of communications driver being used. Models that are not supported by a driver are dis-
abled. If the communications driver supports multiple device models, the model selection can only be
changed when there are no client applications connected to the device.
N ote: If the communication driver supports multiple models, users should try to match the model selec-
tion to the physical device. If the device is not represented in the drop-down menu, select a model that con-
forms closest to the target device. Some drivers support a model selection called "Open," which allows users
to communicate without knowing the specific details of the target device. For more information, refer to the
driver help documentation.
ID: Specify the device's driver-specific station or node. The type of ID entered depends on the com-
munications driver being used. For many communication drivers, the ID is a numeric value. Drivers that sup-
port a Numeric ID provide users with the option to enter a numeric value whose format can be changed to
suit the needs of the application or the characteristics of the selected communications driver. The format is
set by the driver by default. Options include Decimal, Octal, and Hexadecimal.
N ote: If the driver is Ethernet-based or supports an unconventional station or node name, the device's
TCP/IP address may be used as the device ID. TCP/IP addresses consist of four values that are separated by
periods, with each value in the range of 0 to 255. Some device IDs are string based. There may be additional
properties to configure within the ID field, depending on the driver. For more information, refer to the driver's
help documentation.
Operating M ode
Data Collection: This property controls the device's active state. Although device communications are
enabled by default, this property can be used to disable a physical device. Communications are not attemp-
ted when a device is disabled. From a client standpoint, the data is marked as invalid and write operations
are not accepted. This property can be changed at any time through this property or the device system tags.
Sim ulated: Place the device into or out of Simulation Mode. In this mode, the driver does not attempt to
communicate with the physical device, but the server continues to return valid OPC data. Simulated stops
physical communications with the device, but allows OPC data to be returned to the OPC client as valid data.
While in Simulation Mode, the server treats all device data as reflective: whatever is written to the simulated
device is read back and each OPC item is treated individually. The item's memory map is based on the group
Update Rate. The data is not saved if the server removes the item (such as when the server is reinitialized).
The default is No.
N otes:
1. This System tag (_Simulated) is read only and cannot be written to for runtime protection. The System
tag allows this property to be monitored from the client.
2. In Simulation mode, the item's memory map is based on client update rate(s) (Group Update Rate for
OPC clients or Scan Rate for native and DDE interfaces). This means that two clients that reference
the same item with different update rates return different data.
www. ptc.com
12 CODESYS Driver
Simulation Mode is for test and simulation purposes only. It should never be used in a production envir-
onment.
Tag Counts
Static Tags: Provides the total number of defined static tags at this level (device or channel). This inform-
ation can be helpful in troubleshooting and load balancing.
Scan Mode: Specify how tags in the device are scanned for updates sent to subscribing clients. Descriptions
of the options are:
l Respect Client-Specified Scan Rate: This mode uses the scan rate requested by the client.
l Request Data N o Faster than Scan Rate: This mode specifies the value set as the maximum scan
rate. The valid range is 10 to 99999990 milliseconds. The default is 1000 milliseconds.
N ote: When the server has an active client and items for the device and the scan rate value is
increased, the changes take effect immediately. When the scan rate value is decreased, the changes
do not take effect until all client applications have been disconnected.
l Request All Data at Scan Rate: This mode forces tags to be scanned at the specified rate for sub-
scribed clients. The valid range is 10 to 99999990 milliseconds. The default is 1000 milliseconds.
l Do N ot Scan, Dem and Poll Only: This mode does not periodically poll tags that belong to the
device nor perform a read to get an item's initial value once it becomes active. It is the OPC client's
responsibility to poll for updates, either by writing to the _DemandPoll tag or by issuing explicit device
reads for individual items. For more information, refer to "Device Demand Poll" in server help.
l Respect Tag-Specified Scan Rate: This mode forces static tags to be scanned at the rate specified
in their static configuration tag properties. Dynamic tags are scanned at the client-specified scan
rate.
Initial Updates from Cache: When enabled, this option allows the server to provide the first updates for
newly activated tag references from stored (cached) data. Cache updates can only be provided when the
new item reference shares the same address, scan rate, data type, client access, and scaling properties. A
device read is used for the initial update for the first client reference only. The default is disabled; any time a
client activates a tag reference the server attempts to read the initial value from the device.
www. ptc.com
CODESYS Driver 13
Dem ote on Failure: When enabled, the device is automatically taken off-scan until it is responding again.
Tip: Determine when a device is off-scan by monitoring its demoted state using the _AutoDemoted sys-
tem tag.
Tim eouts to Dem ote: Specify how many successive cycles of request timeouts and retries occur before the
device is placed off-scan. The valid range is 1 to 30 successive failures. The default is 3.
Dem otion Period: Indicate how long the device should be placed off-scan when the timeouts value is
reached. During this period, no read requests are sent to the device and all data associated with the read
requests are set to bad quality. When this period expires, the driver places the device on-scan and allows for
another attempt at communications. The valid range is 100 to 3600000 milliseconds. The default is 10000
milliseconds.
Discard Requests when Dem oted: Select whether or not write requests should be attempted during the
off-scan period. Disable to always send write requests regardless of the demotion period. Enable to discard
writes; the server automatically fails any write request received from a client and does not post a message
to the Event Log.
Not all devices and drivers support full automatic tag database generation and not all support the same data
types. Consult the data types descriptions or the supported data type lists for each driver for specifics.
If the target device supports its own local tag database, the driver reads the device's tag information and
uses the data to generate tags within the server. If the device does not natively support named tags, the
driver creates a list of tags based on driver-specific information. An example of these two conditions is as fol-
lows:
1. If a data acquisition system supports its own local tag database, the communications driver uses the
tag names found in the device to build the server's tags.
www. ptc.com
14 CODESYS Driver
2. If an Ethernet I/O system supports detection of its own available I/O module types, the com-
munications driver automatically generates tags in the server that are based on the types of I/O mod-
ules plugged into the Ethernet I/O rack.
N ote: Automatic tag database generation's mode of operation is completely configurable. For more inform-
ation, refer to the property descriptions below.
On Property Change: If the device supports automatic tag generation when certain properties change, the
On Property Change option is shown. It is set to Yes by default, but it can be set to N o to control over when
tag generation is performed. In this case, the Create tags action must be manually invoked to perform tag
generation.
On Device Startup: Specify when OPC tags are automatically generated. Descriptions of the options are as
follows:
l Do N ot Generate on Startup: This option prevents the driver from adding any OPC tags to the tag
space of the server. This is the default setting.
l Always Generate on Startup: This option causes the driver to evaluate the device for tag inform-
ation. It also adds tags to the tag space of the server every time the server is launched.
l Generate on First Startup: This option causes the driver to evaluate the target device for tag
information the first time the project is run. It also adds any OPC tags to the server tag space as
needed.
N ote: When the option to automatically generate OPC tags is selected, any tags that are added to the
server's tag space must be saved with the project. Users can configure the project to automatically save
from the Tools | Options menu.
On Duplicate Tag: When automatic tag database generation is enabled, the server needs to know what to
do with the tags that it may have previously added or with tags that have been added or modified after the
communications driver since their original creation. This setting controls how the server handles OPC tags
that were automatically generated and currently exist in the project. It also prevents automatically gen-
erated tags from accumulating in the server.
For example, if a user changes the I/O modules in the rack with the server configured to Always Generate
on Startup, new tags would be added to the server every time the communications driver detected a new
I/O module. If the old tags were not removed, many unused tags could accumulate in the server's tag space.
The options are:
l Delete on Create: This option deletes any tags that were previously added to the tag space before
any new tags are added. This is the default setting.
l Overwrite as N ecessary: This option instructs the server to only remove the tags that the com-
munications driver is replacing with new tags. Any tags that are not being overwritten remain in the
server's tag space.
www. ptc.com
CODESYS Driver 15
l Do not Overwrite: This option prevents the server from removing any tags that were previously gen-
erated or already existed in the server. The communications driver can only add tags that are com-
pletely new.
l Do not Overwrite, Log Error: This option has the same effect as the prior option, and also posts an
error message to the server's Event Log when a tag overwrite would have occurred.
N ote: Removing OPC tags affects tags that have been automatically generated by the com-
munications driver as well as any tags that have been added using names that match generated tags.
Users should avoid adding tags to the server using names that may match tags that are automatically
generated by the driver.
Parent Group: This property keeps automatically generated tags from mixing with tags that have been
entered manually by specifying a group to be used for automatically generated tags. The name of the group
can be up to 256 characters. This parent group provides a root branch to which all automatically generated
tags are added.
Allow Autom atically Generated Subgroups: This property controls whether the server automatically cre-
ates subgroups for the automatically generated tags. This is the default setting. If disabled, the server gen-
erates the device's tags in a flat list without any grouping. In the server project, the resulting tags are named
with the address value. For example, the tag names are not retained during the generation process.
N ote: If, as the server is generating tags, a tag is assigned the same name as an existing tag, the system
automatically increments to the next highest number so that the tag name is not duplicated. For example, if
the generation process creates a tag named "AI22" that already exists, it creates the tag as "AI23" instead.
Create: Initiates the creation of automatically generated OPC tags. If the device's configuration has been
modified, Create tags forces the driver to reevaluate the device for possible tag changes. Its ability to be
accessed from the System tags allows a client application to initiate tag database creation.
N ote: Create tags is disabled if the Configuration edits a project offline.
www. ptc.com
16 CODESYS Driver
Tip: To make it easier to read, Groups have been concatenated together using periods (similar to how a
user would access the tag via an OPC DA/UA client).
www. ptc.com
CODESYS Driver 17
Communication Parameters
Address Type: Specify the type of address to use to connect to the device (V3 Model only).
Address: Specify the logical address or the PLC name for the device (V3 Model only).
IP Address / Hostnam e: Specify the IP address or hostname for the target device. Only IP Addresses are
valid for V3 devices.
Request Tim eout: Specify how long the driver waits for a response from the target device to complete. The
valid range is 4,000 to 9,999,999 milliseconds (167.6667 minutes). The default is 10,000 milliseconds. Valid
for V2.3 Model only.
Layer 7 Motorola Byte Order: Specify if Layer 7 uses the Motorola byte order (Big Endian).
Device Motorola Byte Order: Specify if the target device uses the Motorola byte order (Big Endian). In most
cases, this is set to the same value as Layer 7 Motorola Byte Order.
www. ptc.com
18 CODESYS Driver
PLC Login: Specify if the driver should stay logged into the PLC after connecting. This setting should be dis-
abled if the PLC only supports a single client connection, otherwise it should be enabled.
Target ID: Specify the identity if this is a sub-PLC device. PLCs that require communications to be routed
through another PLC are called sub-PLCs. The target ID provides additional address information required to
communicate with sub-PLCs. When not communicating with a sub-PLC, this setting should be 0.
ELAU-Max4 Version: Specify the hardware revision of the target PLC. This value should be disabled except
when the device is an ELAU Max 4 1100 or 1200.
The IP address and port combination must be unique across all devices, even under different channels.
Most CODESYS PLCs do not support parallel communication channels, so there is no performance gain by
pointing multiple channels at the same CODESYS PLC. Currently, copying and pasting a channel in the server
creates a device with the same IP address and port combination. All devices under the channel that have
been copied should be changed to remove any IP address and port combination overlaps. Undefined beha-
vior may occur if these collisions are not resolved.
Symbol Parameters
Load Sym bols From : Specify where the driver should look for device symbols.
l File: loads the symbols file as specified by the Symbol File property. When this option is selected,
the Symbol File property must specify the full file name, including path and extension (.sdb) to the
symbol file.
l Device: loads the symbols from the device on every connect or reconnect attempt. This is the
default option.
l Device and Cache: loads the symbols from the local cache directory as specified by the Symbol
Cache Location property. When this option is selected, the Symbol Cache Location property must
specify the full directory path to the local cache location.
Sym bol File: Specify the full file name, including path, to use if the symbol file cannot be stored on the
device. This symbol file must match the symbols stored on the device. If the symbols do not match, com-
munications with the device fails.
N ote: For V2.3 devices, this property is required if the Load Symbols From property has the File option
selected. V3 devices store the symbol file on the device, so this property is not required.
Sym bol Cache Location: Specify the local directory location where the device symbols are cached. For use
with devices that store symbols. If the symbol file size is large or the network has poor quality and / or band-
width, use this property to avoid the overhead of a symbol copy over the network on every connect or recon-
nect attempt. The directory path, if specified, must end with a backslash (\).
N ote: For V2.3 devices, this property is required if the Load Symbols From property has the Device and
Cache option selected. V3 devices store the symbol file on the device, so this property is not required.
Gatew ay Parameters
Use Gateway: Specify if a gateway should be used when connecting to the device.
Gateway Password: Specify the password for the gateway (V2.3 Model only).
www. ptc.com
CODESYS Driver 19
Device connection via a gateway requires that the CODESYS Gateway be installed on the same host as the
server. If the CODESYS Gateway is not installed on the same server as the host, reading a tag results in a
“Device is not responding” message in the event log. This only applies to configurations including the V2.3
Ethernet model.
Device connection via a gateway requires that initial communications be serialized. If devices are con-
figured under different channels, they connect to the gateway one at a time. After the initial connection, com-
munications stop being serialized. This only applies to configurations including the V2.3 Ethernet model.
Performance
Tags per Request: Maximum number of tags to include in a single request. For each single request, there is
some service overhead. In general, it is better to handle several items in one request instead of request
each item separately. However, requesting many items in one request causes the round-trip time (answer
time) to rise. Depending on the application, it may be better to split up huge lists in several small requests.
N ote: The number of writes per request is limited based on the Duty Cycle specified in the channel set-
tings.
Strings
Allow Extended ASCII: Specify whether to enable or disable strings with extended ASCII characters. The
default is disabled. (V2.3 Model only)
Usernam e: Specify the name of the account to use for authentication. The maximum length supported for a
user name is 254 characters.
Password: Specify the password associated with the specified user name. The maximum length supported
for a password is 251 characters.
www. ptc.com
20 CODESYS Driver
Tag Generation Method: Tags can be imported in one of two ways. Select Online to import tags from a
device on a network visible to the driver at the time of import. Select Offline to import tags without a device
connection by providing the server with the corresponding plain-text symbol (.SYM) file created when the
CODESYS project is compiled.
Tag Generation File: Specify the path and file name of a symbol file to import. To locate and select the .SYM
file, click on the Browse (...) button. This property is disabled if Online is chosen as the import method.
Tip: Once the file is selected, start tag generation using the Create Tags command in the Tag Generation
group.
Tag Browse: Click Select Tags to Im port... to invoke the Add Tags dialog to navigate to and select tags.
The Tag Browser is used to navigate to and select the tags on the current device to be imported.
In addition to the graphical Tag Browser, a Tag Browser service is provided so users may search a device
for tags using the Configuration API Service.
For more information on how to use the Configuration API Service, consult the server help.
Browsing: Provides a tree that represents the device tag hierarchy, including all tags and tag groups on the
device. Multiple tags may be selected, but only one tag group may be selected at a time.
www. ptc.com
CODESYS Driver 21
Tags to Add: A list of all the tags to be added under this device in the project.
Leaf Filter: Limits the items shown in the Browsing tree to only those that match the filter. Click Apply to
refresh the tag list with the filter enabled.
For more information on syntax, see the table below.
Autom atically Generate Subgroups: Controls whether the server automatically creates groups for the
browsed tags.
See Also: Allow Automatically Generated Subgroups under Tag Generation for more information.
>>: All selected tags in the browsing tree are added to the Tags to Add list. If a tag group is selected, all tags
under that branch are added.
N ote: Depending on the project size and complexity, it is possible that adding a tag group could take up to
an hour. An example would be adding a group that contains many nested subgroups.
<<: Removes all selected tags from the Tags to Add list.
N ote: The user must have permission to add tags, delete tags, and to add tag groups to use the Tag
Browser.
Filter Syntax
The filter allows the browser to reduce the items displayed to those which match a pattern. The filter only
supports ASCII characters. The syntax supported is documented in the table below.
?
Example: ? matches “a”, “!”, “3”, etc. It does not match “aa” or “ok” as those
strings have two characters versus one.
Zero or more characters
*
Example: * server matches “server”, “cloud server”, and “OPC server” ...not
“OPC Server” or “erver”.
Any single digit (0-9)
#
Example: # matches “0”, “1”, “2”; not “a” or “z”.
Any single character in the list.
[charlist]
Example: [a-c] matches “a”, “b”, or “c”; not any other characters including
“A” “B” and “C”.
Any single character not in the list.
[!charlist]
Example: [!a-c] matches “d”, “e”, “A”, and “B”; not “a”, “b”, or “c”.
www. ptc.com
22 CODESYS Driver
www. ptc.com
CODESYS Driver 23
Optimizing Communications
With any programmable controller, there are unique ways for optimizing system throughput, and the
CODESYS Driver is no different. The CODESYS Driver is designed to optimize reads and writes. For tags of all
data types, requests are grouped into a single transaction. This provides drastic improvement in per-
formance over single-tag transactions. The only limitation is on the number of tags that can fit in a single
transaction.
In this example, each device appears under a single channel. In this con-
figuration, the driver must move from one device to the next as quickly as pos-
sible to gather information at an effective rate. As more devices are added or
more information is requested from a single device, the overall update rate
begins to suffer.
If the CODESYS Driver could only define a single channel, the example above would be the only option.
However, the driver can define up to 1024 channels. Using multiple channels distributes the data collection
workload by simultaneously issuing multiple requests to the network. An example of how the same applic-
ation may appear when configured using multiple channels to improve performance is shown below.
Each device is defined under its own channel. In this configuration, a single path
of execution is dedicated to the task of gathering data from each device. If the
application has 1024 or fewer devices, it can be optimized exactly as shown
here.
The performance improves even if the application has more devices. While
fewer devices may be ideal, the application still benefits from additional chan-
nels. Spreading the device load across all channels causes the server to move
from device to device again with far fewer devices to process on a single chan-
nel.
www. ptc.com
24 CODESYS Driver
For a description of CODESYS-platform specific data types, refer to CODESYS data types.
www. ptc.com
CODESYS Driver 25
Tag Scope
Global Tags
Global tags are CODESYS variables that have global scope in the controller. Any program or task can access
the global tags, which use the following notation:
.<tag name>
.<struct name>.<tag name>
N ote: Structures can be nested within other structures, so a tag name may be prefixed by multiple struc-
ture entries (<outer struct>.<inner struct>.<my tag>).
Program Tags
Program tags are identical to global tags, except that a program tag's scope is local to the program in which
it is defined. Program tags have the same addressing rules and limitations as global tags. The only dif-
ference is that program tags are prefixed with the program name:
<program name>.<tag name>
OR
<program name>.<outer struct>.<inner struct>.<tag name>
Example:
“prog_1.tag_1”: Program “prog_1” containing a tag called “tag_1”
Tag Addressing
CODESYS V2.3
There are two categories of variables supported by CODESYS: global and private. Each of these categories
has a slightly different format. The following tables provides examples of the different CODESYS variables
and their corresponding server addressing syntax.
www. ptc.com
26 CODESYS Driver
CODESYS V3
There are two categories of variables supported by CODESYS: global and private. Each of these categories
has a slightly different format. The following tables provides examples of the different CODESYS variables
and their corresponding server addressing syntax.
N otes:
1. This only applies when the Allow Automatically Generated Subgroups property is set to Enabled.
2. The symbol file contains data points for structures as a whole represented as a byte array. The
server does not support these tags.
Arrays
The CODESYS Driver supports arrays for all basic types, as well as user-defined structures. This driver has
partial support for the arrays that can be defined in a PLC. Both one- and two-dimensional arrays are sup-
ported for all types, except Strings and Structures. Strings and Structures must be accessed using the array
elem ent syntax. Neither three-dimensional arrays nor nested arrays can be read as arrays. They must be
accessed element by element using the array element syntax.
www. ptc.com
CODESYS Driver 27
It is necessary to provide the size of each of the array dimensions. The array size in the server must match
the array size in the PLC to read or write the array. See the table below for several examples.
N ote: Non-zero indexed arrays, arrays with a first element not beginning at zero, are supported. Example:
To have the first element of a 1-indexed 1D array, use .myArray[1] as the address.
Bit Addressing
The CODESYS Driver supports bit addressing for the following controller data types: USINT, SINT, BYTE,
UINT, INT, WORD, UDINT, DINT, and DWORD. Bit addressing provides access to a single bit within a 1, 2, or 4,
byte data type in the controller.
When writing to a bit tag, the driver reads the contents of the data type in the controller, changes the value
of the bit being written, and writes the entire contents of the data type back out to the controller. This is also
known as read/modify/write (RMW) behavior.
www. ptc.com
28 CODESYS Driver
N ote: The bit value inside the brackets for bit addresses can range from 0 to 31.
Unions
The CODESYS Driver supports the union data structure when communicating with a V3 device. All com-
ponents defined in the union share the same memory.
A value change to one variable in the union affects all other variables in the union, regardless of data type.
Access Privileges
Each tag described by a program’s symbol file has specific access privileges: None, Read, Write, or Both
(Read + Write). These privileges tell the server how the PLC program intends for each tag with which a client
interacts, but these privileges can be overridden by the server. This is supported through the Client Access
property on each tag. If a tag in the server is configured as Read Only, regardless of the Access Privileges
reported by the device, the server only allows clients to perform Read operations. If the tag is configured as
Read/Write, regardless of the access privileges reported by the device, clients can Read and Write to the tag.
When a user performs automatic tag generation, the tags are configured with the correct client access
based on the access privileges reported by the device. There are two cases where this does not occur.
Write Only: Tags that report as being Write Only are generated as Read/Write tags with both Read and
Write permissions as there is no Write Only setting for client access.
N one: Tags that report as having permissions None are not supported either through automatic tag gen-
eration or through manual tag creation because there is no client access setting that can correctly represent
this access privilege.
www. ptc.com
CODESYS Driver 29
www. ptc.com
30 CODESYS Driver
Tag generat ion failed because t he device sym bols could not be loaded. |
Device = '<ChannelNam e.DeviceNam e>'.
Error Type:
Error
Possible Cause:
The automatic tag generation operation failed because the server could not access the symbol information
on the device.
Possible Solution:
1. Verify that the device is capable of storing its own symbol information. Some devices do not have this
capability, requiring symbol information to be manually exported and accessed by the server.
2. Ensure that the device communication parameters are correctly configured in the server.
Tag generat ion failed because com m unicat ions could not be est ablished
wit h t he device. | Device = '<ChannelNam e.DeviceNam e>'.
Error Type:
Error
Possible Cause:
The automatic tag generation operation failed because the server was unable to connect to the device.
Possible Solution:
1. Ensure that the device communication parameters are correctly configured in the server.
2. Check the physical connection between the server and the device.
3. If connecting to the device via a gateway, verify that the CODESYS Gateway is installed on the same
host as the server.
Possible Cause:
The automatic tag generation operation failed due to an unknown reason.
www. ptc.com
CODESYS Driver 31
Possible Solution:
1. Ensure that the device communication parameters are correctly configured in the server.
2. Check the physical connection between the server and the device.
Int ernal Error. An unexpect ed error occurred. Reset t ing t he PLC con-
nect ion. | Transact ion info = '<Transact ion Type and Det ails>'.
Error Type:
Error
Possible Cause:
An unknown error occurred.
Possible Solution:
Attempt the operation again or contact technical support.
Possible Cause:
The device discovery operation failed due to an unknown reason.
Possible Solution:
1. Check the physical connection between the server, gateway if one is being used, and the devices.
2. Ensure the devices, and gateway if one is being used, are functioning properly.
Possible Cause:
The server failed to connect to the device.
Possible Solution:
1. Ensure that the device communication parameters are correctly configured in the server.
2. Check the physical connection between the server and the device.
www. ptc.com
32 CODESYS Driver
3. If connecting to the device via a gateway, verify that the CODESYS Gateway is installed on the same
host as the server.
Possible Cause:
1. The server could not access the symbol information on the device.
2. The symbols do not match between the device and the specified symbol file in the device com-
munication parameters.
Possible Solution:
1. Verify that the device is capable of storing its own symbol information. Some devices do not have this
capability, and a symbol file must be specified in the device communication parameters.
2. Ensure that the device communication parameters are correctly configured in the server.
Int ernal error occurred while at t em pt ing t o read t ag. | Tag address =
'<.m yst ruct .innerst ruct .t ag>'.
Error Type:
Error
Possible Cause:
The read failed due to an unknown reason.
Possible Solution:
Contact technical support.
Int ernal error occurred while at t em pt ing t o writ e t ag. | Tag address =
'<.m yst ruct .innerst ruct .t ag>'.
Error Type:
Error
Possible Cause:
1. Non-ASCII characters were written to the string tag.
www. ptc.com
CODESYS Driver 33
Possible Solution:
1. Only write ASCII characters to the string tag.
Possible Cause:
1. The specified data type is not supported.
Possible Solution:
Ensure that the correct data type and address are specified.
Possible Cause:
The tag address was not found on the device.
Possible Solution:
1. Verify that the correct address is specified.
Possible Cause:
The tag address was not found on the device.
Possible Solution:
www. ptc.com
34 CODESYS Driver
Error occurred while at t em pt ing t o read t ag. The specified server dat a
t ype is not com pat ible wit h t he device dat a t ype. | Tag address = '<.m y-
st ruct .innerst ruct .t ag>', server dat a t ype = '<t ype>', device dat a t ype =
'<t ype>'.
Error Type:
Error
Possible Cause:
The specified server data type is not compatible with the device data type.
Possible Solution:
Change the server data type to one that is compatible with the device data type for this address.
Error occurred while at t em pt ing t o writ e t ag. The specified server dat a
t ype is not com pat ible wit h t he device dat a t ype. | Tag address = '<.m y-
st ruct .innerst ruct .t ag>', server dat a t ype = '<t ype>', device dat a t ype =
'<t ype>'.
Error Type:
Error
Possible Cause:
The specified server data type is not compatible with the device data type.
Possible Solution:
Change the server data type to one that is compatible with the device data type for this address.
Int ernal error occurred while at t em pt ing t o connect t o device. The con-
figurat ion provided is not valid.
Error Type:
Error
Possible Cause:
The configuration provided is not valid.
Possible Solution:
Contact technical support.
www. ptc.com
CODESYS Driver 35
Possible Cause:
The path specified by the user contained non-ascii characters.
Possible Solution:
Remove all invalid characters.
Error occurred while at t em pt ing t o read t ag. The array size m ust m at ch
bet ween t he server and device. | Tag address = '<.m y-
st ruct .innerst ruct .t ag>', server array size = '<lengt h>', device array size =
'<lengt h>'.
Error Type:
Error
Possible Cause:
The array size does not match between the server and device.
Possible Solution:
Specify the same array size for both the server and device.
Error occurred while at t em pt ing t o writ e t ag. The array size m ust m at ch
bet ween t he server and device. | Tag address = '<.m y-
st ruct .innerst ruct .t ag>', server array size = '<lengt h>', device array size =
'<lengt h>'.
Error Type:
Error
Possible Cause:
The array size does not match between the server and device.
Possible Solution:
Specify the same array size for both the server and device.
Tag browsing failed because com m unicat ions could not be est ablished
wit h t he device.
Error Type:
Error
Possible Cause:
The tag browse operation failed because the server was unable to connect to the device.
Possible Solution:
1. Ensure that the device communication parameters are correctly configured in the server.
2. Check the physical connection between the server and the device.
www. ptc.com
36 CODESYS Driver
3. If connecting to the device via a gateway, verify that the CODESYS Gateway is installed on the same
host as the server.
Error occurred while at t em pt ing t o read t ag. The specified t ag address has
a st ring lengt h t hat is larger t han t he m axim um support ed by t he server.
| Tag address = '<.m yst ruct .innerst ruct .t ag>', M ax lengt h = '<num ber>'
charact ers.
Error Type:
Error
Possible Cause:
The corresponding tag on the device has a string length larger than the maximum supported by the server.
Possible Solution:
Shorten the string length of the tag on the device to a value that is supported by the server.
Possible Cause:
The corresponding tag on the device has a string length larger than the maximum supported by the server.
Possible Solution:
Shorten the string length of the tag on the device to a value that is supported by the server.
Possible Cause:
The user supplied an invalid path.
Possible Solution:
1. Verify the path is valid for the target device.
www. ptc.com
CODESYS Driver 37
Possible Cause:
1. The runtime is shutting down.
Possible Solution:
1. Retry the tag browse operation.
The browse request was canceled because t he driver has been st opped.
Error Type:
Error
Possible Cause:
The license or evaluation period for this driver has expired.
Possible Solution:
Verify the driver is properly licensed.
Dat a t ype for t he given address is not support ed. A t ag is not generat ed
for t his dat a point . | Tag address = '<.m yst ruct .innerst ruct .t ag>'.
Error Type:
Warning
Possible Cause:
This is caused by having an unsupported data type in the PLC program.
Possible Solution:
Verify that the tag is the correct data type in the programming software. Correct or use a different data type
(supported by the server) or data the unsupported type contains is not accessible.
Possible Cause:
This is caused by having a tag address in the PLC program that exceeds the maximum length supported by
the server.
Possible Solution:
Restructure the PLC program so that the tag address is shorter than the maximum length.
www. ptc.com
38 CODESYS Driver
Possible Cause:
The tag address is malformed or is not supported by the server.
Possible Solution:
1. Verify the integrity of the symbol file or make a correction before trying again.
The value read from t he st ring t ag was t runcat ed. | Tag address = '<.m y-
st ruct .innerst ruct .t ag>', m axim um lengt h = '<num ber>' charact ers.
Error Type:
Warning
Possible Cause:
The value read from the string tag was longer than the buffer size reported by the device.
Possible Solution:
Restart the server runtime.
The value writ t en t o t he st ring t ag was t runcat ed. | Tag address = '<.m y-
st ruct .innerst ruct .t ag>', m axim um lengt h = '<num ber>' charact ers.
Error Type:
Warning
Possible Cause:
The value written to the string tag was longer than the buffer on the device.
Possible Solution:
1. Write a value that has a length less than or equal to the buffer on the device.
2. Make the buffer on the device large enough to fit the value being written.
Devices across channels m ust have unique address (IP address or host -
nam e) and port com binat ions. | Address = '<num ber>', Port = '<num ber>',
Overlapping device = '<device>'.
Error Type:
Warning
Possible Cause:
www. ptc.com
CODESYS Driver 39
The address and port combination has already been used for another device.
Possible Solution:
Change the address and/or port for this device.
The sym bol file was invalid or corrupt . | File = '<pat h t o file>'.
Error Type:
Warning
Error opening file for t ag dat abase im port . | OS Error = '<OS Supplied M es-
sage>'.
Error Type:
Warning
Error occurred while at t em pt ing t o writ e t ag. The bit value exceeds t he
size of t he cont roller dat a t ype. | Tag address = '<.m y-
st ruct .innerst ruct .t ag>', bit value = '<bit locat ion>', cont roller dat a t ype
size (byt es) = '<size in byt es>'.
Error Type:
Warning
Error occurred while at t em pt ing t o read t ag. The bit value exceeds t he
size of t he cont roller dat a t ype. | Tag address = '<.m y-
st ruct .innerst ruct .t ag>', bit value = '<bit locat ion>', cont roller dat a t ype
size (byt es) = '<size in byt es>'.
Error Type:
Warning
Devices across channels m ust have unique Logical Address/ PLC Nam es. |
Address = '<address>', Overlapping device = '<device>'.
Error Type:
www. ptc.com
40 CODESYS Driver
Warning
Failed t o open t he sym bol file. | File = '<pat h t o file>', Reason = '<error
m essage from operat ing syst em >'.
Error Type:
Warning
Possible Cause:
This is caused by having a tag address in the PLC program that exceeds the maximum length supported by
the server.
Possible Solution:
Restructure the PLC program so that the tag address is shorter than the maximum length.
Possible Cause:
The tag address is malformed or is not supported by the server.
Possible Solution:
1. Verify the integrity of the symbol file or make a correction before trying again.
Failure browsing t ags. | Reason = '<st ring indicat ing why t he t ag browse
failed>'.
Error Type:
Warning
Possible Cause:
www. ptc.com
CODESYS Driver 41
1. The tag browse operation failed because the server was unable to connect to the device.
3. The server could not access the symbol information on the device.
4. The symbols do not match between the device and the specified symbol file in the device com-
munication parameters.
Possible Solution:
1. Ensure that the device communication parameters are correctly configured in the server.
2. Check the physical connection between the server and the device.
3. If connecting to the device via a gateway, verify that the CODESYS Gateway is installed on the same
host as the server.
6. Verify that the device is capable of storing its own symbol information. Some devices do not have this
capability, and a symbol file must be specified in the device communication parameters.
www. ptc.com
42 CODESYS Driver
Index
Access Privileges 28
Address 17
Address Rules 25
Addressing Atomic Data Types 28
Allow Extended ASCII 19
Allow Sub Groups 15
Array Elements 27
Arrays 26
Auto-Demotion 13
BIT 29
Bit Addressing 27
BOOL 28
Boolean 24
Byte 17, 24
BYTE 28
Byteorder 17
Cache 18
Channel Assignment 10
Channel Properties — Advanced 8
Channel Properties — General 6
Channel Properties — Write Optimizations 7
Char 24
Client / Server 25
Client Access 28
Communication Parameters 8, 17
Create 15
www. ptc.com
CODESYS Driver 43
Data Collection 11
Data type for the given address is not supported. A tag is not generated for this data point. | Tag address
= '<.mystruct.innerstruct.tag>'. 37
Data Types Description 24
Date 24
DATE 29
DATE_AND_TIME 29
Delete 14
Demote on Failure 13
Demotion Period 13
Device 18
Device Discovery 9
Device discovery failed because an unexpected failure occurred. 31
Device Discovery Settings 10
Device Properties — Auto-Demotion 13
Device Properties — General 10
Device Properties — Redundancy 22
Device Properties — Tag Generation 13
Devices across channels must have unique address (IP address or hostname) and port combinations. |
Address = '<number>', Port = '<number>', Overlapping device = '<device>'. 38
Devices across channels must have unique Logical Address/PLC Names. | Address = '<address>', Over-
lapping device = '<device>'. 39
Diagnostics 6
DINT 28
Discard Requests when Demoted 13
Do Not Scan, Demand Poll Only 12
Double 24
Driver 11
Duty Cycle 8
DWord 24
DWORD 28
ELAU-Max4 Version 18
Endian 17
ENUM 29
www. ptc.com
44 CODESYS Driver
Error occurred while attempting to connect to device. Failed to retrieve symbol list from device or file. 32
Error occurred while attempting to read tag. The array size must match between the server and device. |
Tag address = '<.mystruct.innerstruct.tag>', server array size = '<length>', device array size =
'<length>'. 35
Error occurred while attempting to read tag. The bit value exceeds the size of the controller data type. |
Tag address = '<.mystruct.innerstruct.tag>', bit value = '<bit location>', controller data type size
(bytes) = '<size in bytes>'. 39
Error occurred while attempting to read tag. The specified server data type is not compatible with the
device data type. | Tag address = '<.mystruct.innerstruct.tag>', server data type = '<type>', device
data type = '<type>'. 34
Error occurred while attempting to read tag. The specified tag address has a string length that is larger
than the maximum supported by the server. | Tag address = '<.mystruct.innerstruct.tag>', Max
length = '<number>' characters. 36
Error occurred while attempting to read tag. The specified tag address was not found on the device. |
Tag address = '<.mystruct.innerstruct.tag>'. 33
Error occurred while attempting to read tag. Unsupported data type or invalid address specified. | Tag
address = '<.mystruct.innerstruct.tag>', data type = '<type>'. 33
Error occurred while attempting to write tag. The array size must match between the server and device.
| Tag address = '<.mystruct.innerstruct.tag>', server array size = '<length>', device array size =
'<length>'. 35
Error occurred while attempting to write tag. The bit value exceeds the size of the controller data type. |
Tag address = '<.mystruct.innerstruct.tag>', bit value = '<bit location>', controller data type size
(bytes) = '<size in bytes>'. 39
Error occurred while attempting to write tag. The specified server data type is not compatible with the
device data type. | Tag address = '<.mystruct.innerstruct.tag>', server data type = '<type>', device
data type = '<type>'. 34
Error occurred while attempting to write tag. The specified tag address has a string length that is larger
than the maximum supported by the server. | Tag address = '<.mystruct.innerstruct.tag>', Max
length = '<number>' characters. 36
Error occurred while attempting to write tag. The specified tag address was not found on the device. |
Tag address = '<.mystruct.innerstruct.tag>'. 33
Error occurred while attempting to write tag. Unable to connect to the device. | Tag address = '<.my-
struct.innerstruct.tag>'. 31
Error opening file for tag database import. | OS Error = '<OS Supplied Message>'. 39
Event Log Messages 30
www. ptc.com
CODESYS Driver 45
Float 24
Gateway 18
General 10
Generate 14
Global 26
Global bit 27
Global Tags 25
Help Contents 5
Hostname 17
ID 11
Identification 6, 10
Initial Updates from Cache 12
INT 28
Inter-Device Delay 8
Internal error occurred while attempting to connect to device. The configuration provided is not valid. 34
Internal error occurred while attempting to read tag. | Tag address = '<.mystruct.innerstruct.tag>'. 32
Internal error occurred while attempting to write tag. | Tag address = '<.mystruct.innerstruct.tag>'. 32
Internal Error. An unexpected error occurred. Resetting the PLC connection. | Transaction info = '<Trans-
action Type and Details>'. 31
Invalid address. Please enter a valid Logical Address or PLC Name. 39
Keep Alive 9
Layer 7 17
LINT 28
www. ptc.com
46 CODESYS Driver
Load Symbols 18
Long 24
Long Long 24
LREAL 28
LTIME 29
LWORD 28
Method 20
Model 11
Motorola 17
Name 10
Nested Structures 26
Non-Normalized Float Handling 8
None 28
On Device Startup 14
On Duplicate Tag 14
On Property Change 14
Operating Mode 11
Optimization Method 7
Order 17
Overview 5
Overwrite 14
OWord 24
Parent Group 15
Password 19
Performance Optimization 23
PLC 18
www. ptc.com
CODESYS Driver 47
Port 17
Private 26
Private bit 27
Program Tags 25
Protocol 5, 17
Read, Write 28
Read/Write 28
REAL 28
Redundancy 22
Replace with Zero 8
Request Timeout 17
Respect Tag-Specified Scan Rate 12
Scan Mode 12
Setup 5
Short 24
Signed 24
Simulated 11
SINT 28
Some of the imported tags replaced tags of the same name in your project. 40
String 24
STRING 29
Symbol Cache Location 18
Symbol File 18
Symbolic 25
Tag Addressing 25
Tag browse request aborted due to unknown error. 36
Tag browsing failed because communications could not be established with the device. 35
Tag Counts 7, 12
Tag Generation 13
www. ptc.com
48 CODESYS Driver
UDINT 28
UINT 28
ULINT 28
Unmodified 8
Unsigned 24
Unsupported 24, 29
User Credentials 19
www. ptc.com
CODESYS Driver 49
Username 19
USINT 28
V2.3 19
V3 19
Word 24
WORD 28
Write All Values for All Tags 7
Write Only Latest Value for All Tags 7
Write Only Latest Value for Non-Boolean Tags 7
WSTRING 29
www. ptc.com