08.07.2015 Views

Triconex Ethernet Driver Help - Kepware Technologies

Triconex Ethernet Driver Help - Kepware Technologies

Triconex Ethernet Driver Help - Kepware Technologies

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong><strong>Help</strong>© 2012 <strong>Kepware</strong> <strong>Technologies</strong>


<strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> <strong>Help</strong>3Tag import failed. No import file name or system tags specified 25Unable to bind to local address () 26Unable to process data update on device ''. CRC error 26Unable to process data update on device ''. Unexpected message format 26Unable to process data update on device ''. Unexpected model 26Unable to process data update on device ''. Unexpected node number 27Unable to use network redundancy on channel '' 27Unable to use specified primary network adapter '' on channel '' 27Unable to use specified secondary network adapter '' on channel '' 27Winsock initialization failed (OS Error = ) 28Winsock V1.1 or higher must be installed to use the <strong>Triconex</strong> <strong>Ethernet</strong> device driver 28Write failed for tag '' on device ''. CRC error 28Write failed for tag '' on device ''. No data for Read/Modify/Write 28Write failed for tag '' on device ''. Timeout 29Write failed for tag '' on device ''. TSAA Response Code: 29Write failed for tag '' on device ''. Unexpected model 29Write failed for tag '' on device ''. Unexpected node number 30Write failed for tag '' on device ''. Unexpected response format 30Index 31www. kepware.com


6<strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> <strong>Help</strong>Device SetupSupported DevicesTriconTridentCommunication Protocol<strong>Triconex</strong> System Access Application (TSAA)Device IDThe Device ID is the node number of the device. The valid range is 1 to 31.Request TimeoutThis parameter specifies the number of milliseconds that the driver will wait for a response before retrying.Users may specify a request timeout between 100 to 30000 milliseconds. For this driver, request timeouts onlyapply to Write operations. The device may take up to four scan cycles to complete a Write request. The controllermay be programmed to use a scan period as large as 400 milliseconds. Setting the request timeout too low maycause the driver to assume a write has failed when it hasn't been processed by the controller yet.Note: Data is read from cache, which is updated at a regular interval. For more information, refer to Communications.Fail After x Successive TimeoutsThis parameter specifies the number of times that the driver will retry a request before failing it. This only pertainsto write requests. The valid range is 1 to 10 retries.Cable DiagramsTo view a specific model's cable diagram, select a link from the list below.Cable Diagrams for TriconCable Diagram for TridentCM ConfigurationDescriptions of the parameters are as follows:www. kepware.com


<strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> <strong>Help</strong>7• IP of CM on Primary Network: This parameter specifies the IP address of the communications modulethat is connected to the primary network.• IP of CM on Secondary Network: This parameter specifies the IP address of the communications modulethat is connected to the secondary network. It will be available if network redundancy is enabled.Note: The primary and secondary IP addresses must be different. It is recommended that the primary and secondarynetworks have different subnet addresses.See Also: Channel Setup and Network Redundancy.CommunicationsDescriptions of the parameters are as follows:• Bin Data Update Period (ms): This parameter specifies the amount of time between updates. Insteadof polling the device for data, the driver requests that the device send data updates at a given interval.Values for entire bins will be sent on each update. This method has proven to be more efficient with the<strong>Triconex</strong> controllers. The valid range is 50 to 10000 milliseconds. The default setting is 1000. For moreinformation, refer to "Bin Data Update Period Notes" below.• Subscription Interval (sec): This parameter specifies the frequency at which the driver will renew itssubscription for data updates. Subscriptions must be renewed at least every 120 seconds, or dataupdates will stop. The valid range is 10 to 120 seconds. The default setting is 10.Note: The default subscription interval setting should be used when a TR_PORT_STATUS function blockis being utilized in the device configuration. This will ensure that the driver sends something to the deviceevery 10 seconds, and will maintain the function block's internal receive status flag.• Use Timestamp From Device (Trident Only): When checked, this option uses the timestamp sentfrom the device with data updates (instead of the timestamp associated with data that is normally set bythe server as the time of receipt). This option is supported by Trident devices only. Timestamps willalways be set by the server when using the Tricon model.Bin Data Update Period Notes1. When the driver services a Read request from the client application, it will return the last value sent bythe device. The data quality will be "Good" if the last update was received within 2 times the updatewww. kepware.com


8<strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> <strong>Help</strong>interval, "Uncertain" if the cached data is stale, or "Bad" until the first update is received.2. If the device cannot send updates at this rate (or if it is configured with a slower scan rate), the data willmost likely be flagged as stale between updates. For more information on how the driver processes dataupdates when network redundancy is enabled, refer to Network Redundancy.3. The Bin Data Update Period is a requested value. If the device is unable to deliver updates at therequested rate, the OPC data quality may fluctuate between updates and network errors may be reported.It is recommended that this value be at least twice the device scan period. If data from many bins isrequested (or if a large amount of memory is allocated for some bins), a larger margin may be requireddue to message segmentation. Each update contains all of the values for each bin referenced in the client.The device will break update messages into 500 byte segments and may take up to 20 milliseconds tosend each segment. For more information, refer to <strong>Driver</strong> System Tags.4. If reducing this setting, keep in mind that the device continues to send updates for two minutes after thelast request was made. As such, the update rate may not change for up to two minutes even if new subscriptionsare sent.Tag ImportDescriptions of the parameters are as follows:• Import File Name: This parameter specifies the name and location of the TriStation export file fromwhich data will be imported.Note: Before the driver can automatically create tags for all of the variables defined in the TriStationproject, users must export the project from TriStation in XML format. The XML export file may containdata for multiple devices, each with a unique node name.• Import Node Name: This parameter specifies the node name associated with the tags that will beimported.• Generate Device System Tags: When checked, this option will have the driver generate a standard setof the most useful System Tags. The TriStation export file does not contain device System Tags.Note: Users do not need to specify an import file in order to generate device System Tags. Data for thesedevice System Tags is contained in bins 8 and 9. Since the Trident controllers do not support these bins,this option will not be enabled if the Trident model is selected.www. kepware.com


<strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> <strong>Help</strong>9• Generate <strong>Driver</strong> System Tags: When checked, the driver will automatically generate a number of SystemTags that can be used to monitor driver operation and network health. Users do not need to specifyan import file in order to generate driver System Tags. For a list of tags, refer to <strong>Driver</strong> System Tags.See Also: Automatic Tag Database GenerationCable Diagrams For TriconTricon Controller with NCMNote: Users must connect to NET2.Tricon Controller with TCM (Tricon Communications Module)www. kepware.com


10<strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> <strong>Help</strong>Note: For TCM models 4351A/4351B and 4352A/4352B, connect to NET1 or NET2. For TCM models 4353 and4354, connect to NET1.See Also: Network RedundancyCable Diagram For TridentNote: Users can connect to NET1 or NET2. NET1 supports 10BaseT only. NET2 supports 10BaseT and100BaseT.See Also: Network Redundancywww. kepware.com


<strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> <strong>Help</strong>11Network RedundancyNetwork ConfigurationNetwork Redundancy requires that each controller be equipped with two communications modules and that thecomputer running this driver be equipped with two network interface cards. It is recommended that the primaryand secondary networks have different subnet addresses. For more information, refer to Channel Setup andCM Configuration.Media converters are usually required in order to connect Tricon controllers (which need a 2BaseT coaxial cable)to the NICs. NICs usually need 10BaseT or 100BaseT twisted pair cables. Trident controllers need 10BaseT and100BaseT twisted pair cables, which can be connected to the NIC via a hub. <strong>Triconex</strong> recommends combinationmedia converter/hubs from 3Com. A redundant network mixing Tricon and Trident controllers would appear similarto the one shown below.See Also: Cable Diagrams for Tricon and Cable Diagram for Trident.Reads with Network Redundancy EnabledThis driver does not poll the device for data. Instead, it instructs the controller to send data updates at a giveninterval. Values will be sent for entire bins on each update. This method has proven to be more efficient with the<strong>Triconex</strong> controllers. For more information, refer to Communications.When network redundancy is enabled, the driver will request that the device send data updates on both networks.The driver will process updates from a single network however. If an update fails to arrive on that networkwithin two update intervals, the driver will begin processing updates from the other network. Therefore, freshdata may not be available for up to three update periods following a network problem. The UpdatesFromPrimarywww. kepware.com


12<strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> <strong>Help</strong>driver System Tags can be used to monitor the network from which the driver is processing updates.Though the driver processes updates from a single network, it does monitor incoming traffic from both networks.If nothing has been received on a network for over two update periods, the driver will flag that network as beingin error. The PrimaryNetworkError and SecondaryNetworkError driver System Tags can be used to monitor thenetwork error state.See Also: <strong>Driver</strong> System TagsWrites with Network Redundancy EnabledThe driver will send a Write request over a single network, which network will be the primary unless the primaryis known to be in error and the secondary is not. In that case, the request will go out the secondary. If a Writeacknowledgement is not received within the request timeout period, the request will be retried on the other network.If a Write acknowledgement is still not received after another request timeout period, the driver will sendthe request again to both networks. The driver will continue to retry the request on both networks until anacknowledgement is received or the maximum number of retry attempts have been performed.Note: The device may take up to four scan cycles to complete a write request. The controller may be programmedto use a scan period as large as 400 milliseconds. Setting the request timeout too low may cause thedriver to assume a Write has failed when it hasn't been processed by the controller yet.www. kepware.com


<strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> <strong>Help</strong>13Optimizing Your <strong>Triconex</strong> <strong>Ethernet</strong> CommunicationsThe <strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> has been designed to provide the best performance with the least amount of impacton the system's overall performance. While the <strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> is fast, there are a couple of guidelinesthat can be used in order to control and optimize the application and gain maximum performance.The server refers to communications protocols like <strong>Triconex</strong> <strong>Ethernet</strong> as a channel. Each channel defined in theapplication represents a separate path of execution in the server. Once a channel has been defined, a series ofdevices must then be defined under that channel. Each of these devices represents a single <strong>Triconex</strong> controllerfrom which data will be collected. While this approach to defining the application will provide a high level of performance,it will not take advantage of the <strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> or the network.It's important to understand how the <strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> reads and writes data. This driver is unique in thetwo following ways:1. Instead of sending Read requests to the devices, the driver tells each device to send periodic dataupdates whose data is then stored in cache. When the server asks the driver to read a piece of data, thedriver will return the last value stored in cache. This method is more efficient than polling for <strong>Triconex</strong>controllers.2. The <strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> can service Write requests to multiple devices on a channel simultaneously.The driver must, however, wait for the last Write request pending on that channel to be completed beforeallowing the next set of writes to be issued (or any Reads to be performed). Since a <strong>Triconex</strong> device cantake up to 4 scan cycles to complete a Write, and the scan period can be as large as 400 milliseconds,Writes can have a tremendous effect on overall performance.Each device appears under a single <strong>Triconex</strong><strong>Ethernet</strong> channel. In this configuration, thedriver must move from one device to the nextas quickly as possible in order to gather informationat an effective rate. As more devicesare added or more information is requestedfrom a single device, the overall update ratebegins to suffer.If the <strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> could only define one single channel, then the example shown above would be theonly option available; however, the <strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> can define up to 32 channels. Using multiple channelsdistributes the data collection workload by simultaneously issuing multiple requests to the network. An exampleof how the same application may appear when configured using multiple channels to improve performance isshown below.Each device has now been defined under itsown channel. In this new configuration, a singlepath of execution is dedicated to the taskof gathering data from each device. If theapplication has 32 or fewer devices, it can beoptimized exactly how it is shown here.The performance will improve even if theapplication has more than X32 devices. While32 or fewer devices may be ideal, the applicationwill still benefit from additional channels.Although spreading the device loadacross all channels will cause the server tomove from device to device again, it can nowdo so with far less devices to process on a singlechannel.Because Writes control the overall performance of the <strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong>, it is important to consider howthe client application writes to the server. If many writes must be performed, it may be better to send them at thewww. kepware.com


14<strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> <strong>Help</strong>same time so that the driver can block them together. As previously mentioned, writes can be sent to multipledevices even if they are on the same channel. Writes to multiple points in a given device can also be blocked in asingle request, if the client issues them at nearly the same time. Users should be familiar with the server's WriteOptimization features, which can be accessed from the Channel Properties.Note: For an application where writes never occur, there is little advantage to distributing the devices over multiplechannels because the devices are not polled.www. kepware.com


<strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> <strong>Help</strong>15Automatic Tag Database GenerationThe <strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> can automatically create tags for all of the variables in the TriStation project. Forinformation on how to automatically generate tags, refer to the instructions below.1. To start, export the project from TriStation using XML Format. Then, save the file on the computer thatwill be running the driver.2. Next, create a new <strong>Triconex</strong> OPC server project or load an existing project.3. Then, right-click on the device for which tags will be generated and select Properties | Tag Import.Enter the file's name and path, and specify the node name associated with the tags that will be imported.4. Click OK.5. Next, click Device Properties | Database Creation and then select Auto Create. The driver will readthe XML file and then generate the required tags.6. Once finished, save the OPC server project.See Also: Tag Importwww. kepware.com


16<strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> <strong>Help</strong>Data Types DescriptionData TypeBooleanLongDWordFloatDescriptionSingle bitSigned 32 bit valuebit 0 is the low bitbit 30 is the high bitbit 31 is the sign bitUnsigned 32 bit valuebit 0 is the low bitbit 31 is the high bit32 bit realwww. kepware.com


<strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> <strong>Help</strong>17Address DescriptionsAddress specifications vary depending on the model in use. To obtain address information for the model of interest,select a link from the list below.Tricon AddressingTrident AddressingNote: The driver has several System Tags that can be used to monitor the driver's operation. For more information,refer to <strong>Driver</strong> System Tags.Tricon AddressingThe Tricon model supports the following addresses. Memory may be addressed using either Bin:Offset syntax orModbus aliases. The default data types for dynamically defined tags are shown in bold where appropriate.Bin:Offset AddressingVariable Type Address Range Data Type AccessOutput (BOOL) 00:0000-00:1999 Boolean Read/WriteMemory (BOOL) 01:0000-01:1999 Boolean Read/WriteInput (BOOL) 02:0000-02:1999 Boolean Read OnlyMemory (BOOL) 03:0000-03:1999 Boolean Read OnlyInput (REAL) 04:0000-04:099904:xxxx.00-04:xxxx.31Memory (DINT) 05:0000-05:099905:xxxx.00-05:xxxx.31Input (REAL) 06:0000-06:011906:xxxx.00-06:xxxx.31Memory (REAL) 07:0000-07:099907:xxxx.00-07:xxxx.31DWord, Long, FloatBooleanDWord, Long, FloatBooleanDWord, Long, FloatBooleanDWord, Long, FloatBooleanRead OnlyRead OnlyRead OnlyRead OnlySystem Status (BOOL) 08:0000-08:5998 Boolean Read OnlySystem Status (DINT) 09:0000-09:036809:xxxx.00-09:xxxx.31Output (REAL) 10:0000-10:024910:xxxx.00-10:xxxx.31Memory (DINT) 11:0000-11:074911:xxxx.00-11:xxxx.31Memory (REAL) 12:0000-12:099912:xxxx.00-12:xxxx.31Modbus Alias AddressingDWord, Long, FloatBooleanDWord, Long, FloatBooleanDWord, Long, FloatBooleanDWord, Long, FloatBooleanRead OnlyRead/WriteRead/WriteRead/WriteVariable Type Address Range Data Type AccessOutput (BOOL) 00001-02000 Boolean Read/WriteMemory (BOOL) 02001-04000 Boolean Read/WriteInput (BOOL) 10001-12000 Boolean Read OnlyMemory (BOOL) 12001-14000 Boolean Read OnlyInput (REAL) 30001-32000xxxxx.00-xxxxx.31Memory (DINT) 31001-32000xxxxx.00-xxxxx.31Input (REAL) 32001-32120xxxxx.00-xxxxx.31Memory (REAL) 33001-34000xxxxx.00-xxxxx.31DWord, Long, FloatBooleanDWord, Long, FloatBooleanDWord, Long, FloatBooleanDWord, Long, FloatBooleanRead OnlyRead OnlyRead OnlyRead OnlySystem Status (BOOL) 14001-19999 Boolean Read OnlySystem Status (DINT) 39631-39999xxxxx.00-xxxxx.15Output (REAL) 40001-40250xxxxx.00-xxxxx.31Word, ShortBooleanDWord, Long, FloatBooleanRead OnlyRead/Writewww. kepware.com


18<strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> <strong>Help</strong>Memory (DINT) 40251-41000xxxxx.00-xxxxx.31Memory (REAL) 41001-42000xxxxx.00-xxxxx.31DWord, Long, FloatBooleanDWord, Long, FloatBooleanRead/WriteRead/WriteNote: DINT system status variables, bin 9 data, are addressed as 16-bit registers when using Modbus Aliases.All other DINT and REAL variable types are addressed as 32 bit registers when using Modbus Aliases.ExamplesThe following examples show the relationship between some Modbus Aliases and Bin:Offset addresses.1. 39633 and 9:1 both address the system variable Year.2. 39635 and 9:2 both address the system variable Month.3. 39663 addresses the low word of the DINT value addressed by 9:16. This is the current control programversion number system variable. The low word is the minor version number.4. 39664 addresses the high word of the DINT value addressed by 9:16. This is the current control programversion number system variable. The high work is the major version number.5. 00001 and 0:0 both address the same BOOL output.6. 00002 and 0:1 both address the same BOOL output.7. 30001 and 4:0 both address the same REAL input.8. 30002 and 4:1 both address the same REAL input.Write RequestsFor the device to process Write requests, the following statements must be true.1. The variables must be defined as Read/Write.2. For Tricon, the keyswitch must be in the Program or Remote position. For Trident, the Remote mode mustbe enabled by setting a system attribute.3. The TriStation configuration setting (Disable Remote Changes to Outputs) which was downloaded to thecontroller must allow remote changes.Note: This setting only affects changes to discrete outputs and analog outputs.4. The TriStation configuration for the ACM or NCM (Tricon) and CM (Trident) must be configured asRead/Write.If the controller cannot write the data, it sends as reject response coded. For more information, refer to Writefailed for tag '' on device ''. TSAA Response Code: .Basic Address ExampleUsers may address values using the Bin:Offset syntax or with a Modbus Alias.10:0012 addresses the bin 10 float value with offset 12.The same value can be addressed using the Modbus Alias 40013.Bit Address ExampleIndividual bits in DINT types may be addressed by appending the "dot bit number" to a basic address.05:0010.2 addresses bit 2 of the bin 5 DINT value with offset 10.The same bit can be addressed using the Modbus Alias 31011.2.Array Address ExamplesMultiple data points may be accessed as array data.1. 05:0010 [4] addresses bin 5 DINT values with offsets 10, 11, 12, and 13.The same range of values can be addressed using the Modbus Alias 31011 [4].2. 05:0010 [4][5] addresses bin 5 DINT values with offsets from 10, to 29 as a 2-D array.The same range of values can be addressed using the Modbus Alias 31011 [4][5].www. kepware.com


<strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> <strong>Help</strong>19Trident AddressingThe Trident model supports the following addresses. Memory can be addressed using either Bin:Offset syntax orModbus aliases. The default data types for dynamically defined tags are shown in bold where appropriate.Bin:Offset AddressingVariable Type Address Range Data Type AccessOutput (BOOL) 00:0000-00:1999 Boolean Read/WriteMemory (BOOL) 01:0000-01:1999 Boolean Read/WriteInput (BOOL) 02:0000-02:1999 Boolean Read OnlyMemory (BOOL) 03:0000-03:1999 Boolean Read OnlyInput (REAL) 04:0000-04:099904:xxxx.00-04:xxxx.31Memory (DINT) 05:0000-05:099905:xxxx.00-05:xxxx.31Input (REAL) 06:0000-06:011906:xxxx.00-06:xxxx.31Memory (REAL) 07:0000-07:099907:xxxx.00-07:xxxx.31Output (REAL) 10:0000-10:024910:xxxx.00-10:xxxx.31Memory (DINT) 11:0000-11:074911:xxxx.00-11:xxxx.31Memory (REAL) 12:0000-12:099912:xxxx.00-12:xxxx.31Modbus Alias AddressingDWord, Long, FloatBooleanDWord, Long, FloatBooleanDWord, Long, FloatBooleanDWord, Long, FloatBooleanDWord, Long, FloatBooleanDWord, Long, FloatBooleanDWord, Long, FloatBooleanRead OnlyRead OnlyRead OnlyRead OnlyRead/WriteRead/WriteRead/WriteVariable Type Address Range Data Type AccessOutput (BOOL) 00001-02000 Boolean Read/WriteMemory (BOOL) 02001-04000 Boolean Read/WriteInput (BOOL) 10001-12000 Boolean Read OnlyMemory (BOOL) 12001-14000 Boolean Read OnlyInput (REAL) 30001-32000xxxxx.00-xxxxx.31Memory (DINT) 31001-32000xxxxx.00-xxxxx.31Input (REAL) 32001-32120xxxxx.00-xxxxx.31Memory (REAL) 33001-34000xxxxx.00-xxxxx.31Output (REAL) 40001-40250xxxxx.00-xxxxx.31Memory (DINT) 40251-41000xxxxx.00-xxxxx.31Memory (REAL) 41001-42000xxxxx.00-xxxxx.31DWord, Long, FloatBooleanDWord, Long, FloatBooleanDWord, Long, FloatBooleanDWord, Long, FloatBooleanDWord, Long, FloatBooleanDWord, Long, FloatBooleanDWord, Long, FloatBooleanRead OnlyRead OnlyRead OnlyRead OnlyRead/WriteRead/WriteRead/WriteNote: All DINT and REAL variable types are addressed as 32 bit registers when using Modbus Aliases.ExamplesThe following examples show the relationship between some Modbus Aliases and Bin:Offset addresses.1. 00001 and 0:0 both address the same BOOL output.2. 00002 and 0:1 both address the same BOOL output.3. 30001 and 4:0 both address the same REAL input.4. 30002 and 4:1 both address the same REAL input.Write RequestsFor the device to process Write requests, the following statements must be true.www. kepware.com


20<strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> <strong>Help</strong>1. The variables must be defined as Read/Write.2. For Tricon, the keyswitch must be in the Program or Remote position. For Trident, the Remote mode mustbe enabled by setting a system attribute.3. The TriStation configuration setting (Disable Remote Changes to Outputs) which was downloaded to thecontroller must allow remote changes.Note: This setting only affects changes to discrete outputs and analog outputs.4. The TriStation configuration for the ACM or NCM (Tricon) and CM (Trident) must be configured asRead/Write.If the controller cannot write the data, it sends as reject response coded. For more information, refer to Writefailed for tag '' on device ''. TSAA Response Code: .Basic Address ExampleUsers may address values using the Bin:Offset syntax or with a Modbus Alias.10:0012 addresses the bin 10 float value with offset 12.The same value can be addressed using the Modbus Alias 40013.Bit Address ExampleIndividual bits in DINT types may be addressed by appending the "dot bit number" to a basic address.05:0010.2 addresses bit 2 of the bin 5 DINT value with offset 10.The same bit can be addressed using the Modbus Alias 31011.2.Array Address ExamplesMultiple data points may be accessed as array data.1. 05:0010 [4] addresses bin 5 DINT values with offsets 10, 11, 12, and 13.The same range of values can be addressed using the Modbus Alias 31011 [4].2. 05:0010 [4][5] addresses bin 5 DINT values with offsets from 10, to 29 as a 2-D array.The same range of values can be addressed using the Modbus Alias 31011 [4][5].<strong>Driver</strong> System TagsTags may be created with the following addresses to monitor driver operation.Address Data Type Access DescriptionPrimaryNetworkError Boolean Read Only Set to 0 if the state of the primary network appears to be goodor is uncertain.Set to 1 if the state of the primary network appears to be bad.Set when an expected message is not received.SecondaryNetworkError Boolean Read Only Set to 0 if the state of the secondary network appears to begood or is uncertain.Set to 1 if the state of the secondary network appears to bebad. Set when an expected message is not received or networkredundancy is not enabled.UpdatesFromPrimary Boolean Read Only Set to 1 when the driver is processing data updates from theprimary network.*UpdatesFromSecondary Boolean Read Only Set to 1 when the driver is processing data updates from thesecondary network.***Updates may also be coming in on the secondary network, but are ignored by the driver.**Updates may also be coming in on the primary network, but are ignored by the driver.www. kepware.com


<strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> <strong>Help</strong>21Error DescriptionsThe following error/warning messages may be generated. Click on the link for a description of the message.Address ValidationAddress '' is out of range for the specified device or registerData Type '' is not valid for device address ''Device address '' contains a syntax errorDevice address '' is not supported by model ''Device address '' is Read OnlyMissing addressDevice Status MessagesCould not detect available network adapters for networkDevice '' is not respondingFailed to load Winsock or related libraryTag import error - invalid bin in item path: ''Tag import error - invalid item path format: ''Tag import error - invalid name: ''Tag import error - invalid offset in item path: ''Tag import failed. Could not find data for node ''Tag import failed. Could not open file ''Tag import failed due to unexpected XML format in ''Tag import failed. File name given, but no node nameTag import failed. No import file name or system tags specifiedUnable to bind to local address ()Unable to process data update on device ''. CRC errorUnable to process data update on device ''. Unexpected message formatUnable to process data update on device ''. Unexpected modelUnable to process data update on device ''. Unexpected node numberUnable to use network redundancy on channel ''Unable to use specified primary network adapter '' on channel ''. Using''Unable to use specified secondary network adapter '' on channel ''. Using''Winsock initialization failed (OS Error = )Winsock V1.1 or higher must be installed to use the <strong>Triconex</strong> <strong>Ethernet</strong> device driverWrite failed for tag '' on device ''. CRC errorWrite failed for tag '' on device ''. No data for read/modify/writeWrite failed for tag '' on device ''. TimeoutWrite failed for tag '' on device ''. TSAA Response Code: Write failed for tag '' on device ''. Unexpected modelWrite failed for tag '' on device ''. Unexpected node numberWrite failed for tag '' on device ''. Unexpected response formatAddress ValidationThe following error/warning messages may be generated. Click on the link for a description of the message.Address ValidationAddress '' is out of range for the specified device or registerData Type '' is not valid for device address ''Device address '' contains a syntax errorDevice address '' is not supported by model ''Device address '' is Read OnlyMissing addressAddress '' is out of range for the specified device or registerError Type:WarningPossible Cause:www. kepware.com


22<strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> <strong>Help</strong>A tag address that has been specified dynamically references a location that is beyond the range of supportedlocations for the device.Solution:Verify the address is correct; if it is not, re-enter it in the client application.Data Type '' is not valid for device address ''Error Type:WarningPossible Cause:A tag address that has been specified dynamically has been assigned an invalid data type.Solution:Modify the requested data type in the client application.Device address '' contains a syntax errorError Type:WarningPossible Cause:A tag address that has been specified dynamically contains one or more invalid characters.Solution:Re-enter the address in the client application.Device address '' is not supported by model ''Error Type:WarningPossible Cause:A tag address that has been specified dynamically references a location that is valid for the communications protocolbut not supported by the target device.Solution:1. Verify that the address is correct; if it is not, re-enter it in the client application.2. Verify that the selected model name for the device is correct.Device address '' is Read OnlyError Type:WarningPossible Cause:A tag address that has been specified dynamically has a requested access mode that is not compatible with whatthe device supports for that address.Solution:Change the access mode in the client application.Missing addressError Type:WarningPossible Cause:A tag address that has been specified dynamically has no length.Solution:Re-enter the address in the client application.www. kepware.com


<strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> <strong>Help</strong>23Device Status MessagesThe following error/warning messages may be generated. Click on the link for a description of the message.Device Status MessagesCould not detect available network adapters for networkDevice '' is not respondingFailed to load Winsock or related libraryTag import error - invalid bin in item path: ''Tag import error - invalid item path format: ''Tag import error - invalid name: ''Tag import error - invalid offset in item path: ''Tag import failed. Could not find data for node ''Tag import failed. Could not open file ''Tag import failed due to unexpected XML format in ''Tag import failed. File name given, but no node nameTag import failed. No import file name or system tags specifiedUnable to bind to local address ()Unable to process data update on device ''. CRC errorUnable to process data update on device ''. Unexpected message formatUnable to process data update on device ''. Unexpected modelUnable to process data update on device ''. Unexpected node numberUnable to use network redundancy on channel ''Unable to use specified primary network adapter '' on channel ''. Using''Unable to use specified secondary network adapter '' on channel ''. Using''Winsock initialization failed (OS Error = )Winsock V1.1 or higher must be installed to use the <strong>Triconex</strong> <strong>Ethernet</strong> device driverWrite failed for tag '' on device ''. CRC errorWrite failed for tag '' on device ''. No data for read/modify/writeWrite failed for tag '' on device ''. TimeoutWrite failed for tag '' on device ''. TSAA Response Code: Write failed for tag '' on device ''. Unexpected modelWrite failed for tag '' on device ''. Unexpected node numberWrite failed for tag '' on device ''. Unexpected response formatCould not detect available network adapters for networkError Type:SeriousPossible Cause:The network adapters are not connected to a hub or other device.Solution:The network adapters must be connected to a device or hub in order for Windows to correctly report their configurationto the driver. Verify the network connection.Device '' is not respondingError Type:SeriousPossible Cause:1. The network connection between the device and the Host PC is broken.2. The named device may have been assigned an incorrect IP, Device ID, or model.3. An expected data update was late.4. The response from the device took longer to receive than the amount of time specified in the Request Timeout.Solution:1. Verify the cabling between the PC and the PLC.www. kepware.com


24<strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> <strong>Help</strong>2. Verify the Device Properties.3. Consider increasing the Bin Data Update Period if the device is not capable of sending updates at the requestedrate.4. Increase the Request Timeout setting so that the entire response can be handled.See Also:CommunicationsFailed to load Winsock or related libraryError Type:FatalPossible Cause:The driver could not load Winsock (winsock.dll) or the IP <strong>Help</strong>er API dll (iphlpapi.dll).Solution:These libraries are normally installed with Windows. Verify that these files exist in the system folder.Tag import error - invalid bin in item path: ''Error Type:WarningPossible Cause:An entry in the import file had an item path with an invalid bin number.Solution:Verify that the item path has the format :: and that the bin number is between 0and 12.Tag import error - invalid item path format\: ''Error Type:WarningPossible Cause:An entry in the import file had an unexpected item path format.Solution:Verify that the item paths in the export file have the format ::.Tag import error - invalid name: ''Error Type:WarningPossible Cause:The PST alias name value does not conform to the server's tag naming rules.Solution:1. Verify that the name contains only alphanumeric characters and underscores.2. Verify that the first character is not an underscore, editing the import file if necessary.Note:There should be two entries for each tag. The first entry gives the tag name and the second gives the Modbusalias. The driver skips the entries with Modbus alias values.Tag import error - invalid offset in item path: ''Error Type:WarningPossible Cause:An entry in the import file had an item path with an invalid offset value.www. kepware.com


<strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> <strong>Help</strong>25Solution:Verify that the item path has the format :: and that the offset is within the validrange for the bin.See Also:Address DescriptionsTag import failed. Could not find data for node ''Error Type:WarningPossible Cause:The driver did not find any entires in the import file with the specified node name.Solution:Verify that the correct node name has been specified.Note:The node name is given by the PSTAliasGroup name.Tag import failed. Could not open file ''Error Type:WarningPossible Cause:The driver could not find or open the import file specified on the Tag Import page in Device Properties.Solution:1. Verify that the file exists and that the specified path is correct.2. Make sure that no other application has opened the file.See Also:Tag ImportTag import failed due to unexpected XML format in ''Error Type:WarningPossible Cause:The driver could not process the import file because it did not have the expected format.Solution:Verify that the data is exported from TriStation in XML format.Tag import failed. File name given, but no node nameError Type:WarningPossible Cause:No node name was specified on the Tag Import page in Device Properties.Solution:Specify the node name used in the import file.See Also:Tag ImportTag import failed. No import file name or system tags specifiedError Type:www. kepware.com


26<strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> <strong>Help</strong>WarningPossible Cause:No tag import options were specified in the Tag Import page in Device Properties when the driver attempted togenerate a tag database.Solution:Verify that an import file name is specified or that one of the system tag options is selected when tag generation isstarted.See Also:Tag ImportUnable to bind to local address ()Error Type:FatalPossible Cause:The driver was not able to bind a socket to receive data sent to the specified IP and port.Solution:Make sure no other application is using that IP and port.Unable to process data update on device ''. CRC errorError Type:WarningPossible Cause:The driver rejected a data update message because its CRC checksum was not valid.Solution:This error implies noise in the network. If this error is persistent, efforts should be made to improve network reliability.Unable to process data update on device ''. Unexpected message formatError Type:WarningPossible Cause:The driver rejected a data update message because it did not have the expected format.Solution:If the problem persists and does not appear to be network related, perform a Channel Diagnostics capture of theincoming update messages and contact Technical Support.Unable to process data update on device ''. Unexpected modelError Type:WarningPossible Cause:The driver rejected a data update message because it did not have the expected model number.Solution:Verify the model setting.See Also:Device Setupwww. kepware.com


<strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> <strong>Help</strong>27Unable to process data update on device ''. Unexpected node numberError Type:WarningPossible Cause:The driver rejected a data update message because it did not have the expected node number.Solution:Verify the Device ID setting.See Also:Device SetupUnable to use network redundancy on channel ''Error Type:WarningPossible Cause:1. The driver loaded a project that was created on a computer that had multiple network interface cards.2. The network adapter cards are not connected to a device or hub.Solution:1. Reset the Network Interface in Channel Properties to be compatible with the host computer. In order to use networkredundancy, the host computer must have two network interface cards (NICs) installed. Save the adjustedsetting.2. The network adapters must be connected to a device or hub in order for Windows to correctly report their configurationto the driver. Ensure that the adapters are connected.See Also:Channel SetupNetwork RedundancyUnable to use specified primary network adapter '' on channel''Error Type:WarningPossible Cause:1. The driver loaded a project that was created on another computer with different network interface hardware orIP address.2. The network adapter cards are not connected to a device or hub.Solution:1. Reset the Network Interface in Channel Properties to be compatible with the host computer. In order to use networkredundancy, the host computer must have two network interface cards (NICs) installed. Save the adjustedsetting.2. The network adapters must be connected to a device or hub in order for Windows to correctly report their configurationto the driver. Ensure that the adapters are connected.See Also:Channel SetupNetwork RedundancyUnable to use specified secondary network adapter '' on channel''Error Type:WarningPossible Cause:www. kepware.com


28<strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> <strong>Help</strong>1. The driver loaded a project that was created on another computer with different network interface hardware orIP address.2. The network adapter cards are not connected to a device or hub.Solution:1. Reset the Network Interface in Channel Properties to be compatible with the host computer. In order to use networkredundancy, the host computer must have two network interface cards (NICs) installed. Save the adjustedsetting.2. The network adapters must be connected to a device or hub in order for Windows to correctly report the configurationto the driver. Ensure that the adapters are connected.See Also:Channel SetupNetwork RedundancyWinsock initialization failed (OS Error = )Error Type:FatalOS Error Indication Possible Solution10091 Indicates that the underlying network subsystem isnot ready for network communication.10067 Limit on the number of tasks supported by the WindowsSockets implementation has been reached.Wait a few seconds and restart the driver.Close one or more applications that may beusing Winsock and restart the driver.Winsock V1.1 or higher must be installed to use the <strong>Triconex</strong> <strong>Ethernet</strong> devicedriverError Type:FatalPossible Cause:The version number of the Winsock DLL found on the system is less than 1.1.Solution:Upgrade Winsock to version 1.1 or higher.Write failed for tag '' on device ''. CRC errorError Type:WarningPossible Cause:The driver rejected a write complete message because its CRC checksum was not valid.Solution:This error implies noise in the network. If this error is persistent, efforts should be made to improve network reliability.Write failed for tag '' on device ''. No data for Read/Modify/WriteError Type:WarningPossible Cause:Bit writes require a read/modify/write procedure. The last known value has bad quality.Solution:Ensure that the driver has had time to receive a data update for the value in question before bit writes are performed.Failure can occur before an initial data update has been received or following a network failure.www. kepware.com


<strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> <strong>Help</strong>29Write failed for tag '' on device ''. TimeoutError Type:WarningPossible Cause:The driver did not receive a write complete message after the request timeout period and number of retries.Solution:<strong>Triconex</strong> devices can take a long time to process Writes. Thus, a timeout error does not necessarily mean thedevice did not receive the write request or has failed to process it. Ensure that an ample request timeout periodhas been specified that is consistent with the device's scan rate.Note:Other reasons for timeout errors could be related to hardware or network failure.See Also:Device SetupWrite failed for tag '' on device ''. TSAA Response Code:Error Type:WarningPossible Cause:The device could not complete the write request for the reason given by the response code.Solution:Proper solution depend on failure reason. For more information, refer to the table below.CodeDescription1 No buffer available to process the request.2 Bin number specified in the request was out of range.3 The Tricon NCM or Trident CM module is busy processing precious request andcannot accept another request. This can happen if more than four write requestare outstanding at one time.4 No MP is running.5 TSX has rejected the request. the Reason contains the specific reason.6 Request to TSX timed out.7 Invalid response from TX.8 Message was too big.9 Offset or number of values in the request was invalid.10 No control program (TriStation applications).11 Read Only port.236 Bad SOE number.237 Invalid SOE type.238 Invalid SOE state.Write failed for tag '' on device ''. Unexpected modelError Type:WarningPossible Cause:The driver rejected a write complete message because it did not have the expected model number.Solution:Verify the model setting.See Also:Device Setupwww. kepware.com


30<strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> <strong>Help</strong>Write failed for tag '' on device ''. Unexpected nodenumberError Type:WarningPossible Cause:The driver rejected a write complete message because it did not have the expected node number.Solution:Verify the Device ID setting.See Also:Device SetupWrite failed for tag '' on device ''. Unexpected responseformatError Type:WarningPossible Cause:The driver rejected a write complete message because it did not have the expected format.Solution:If the problem persists and does not appear to be network related, perform a Channel Diagnostics capture of theincoming update messages and contact Technical Support.www. kepware.com


<strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> <strong>Help</strong>31IndexAAddress '' is out of range for the specified device or register 21Address Descriptions 17Address Validation 21Array Address 18, 20Automatic Tag Database Generation 15BBit Address 18, 20Boolean 16CCable Diagram for Trident 10Cable Diagrams for Tricon 9Channel Setup 5CM Configuration 6Communication Protocol 6Communications 7Could not detect available network adapters for network 23DData Type '' is not valid for device address '' 22Data Types Description 16Device '' is not responding 23Device address '' contains a syntax error 22Device address '' is not supported by model '' 22Device address '' is Read Only 22Device ID 6Device Setup 6Device Status Messages 23www. kepware.com


32<strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> <strong>Help</strong>Device System Tags 8<strong>Driver</strong> System Tags 11, 20DWord 16EError Descriptions 21FFailed to load Winsock or related library 24Float 16IImport File 8LLong 16MMissing address 22NNetwork Redundancy 11Node Name 8Node Number 6www. kepware.com


<strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> <strong>Help</strong>33OOPC Data Quality 8Optimizing Your <strong>Triconex</strong> <strong>Ethernet</strong> Communications 13Overview 4RReads 11Request Timeout 6TTag Import 8Tag import error - invalidbin in item path/'' 24Tag import error - invalid item path format: '' 24Tag import error - invalid name: '' 24Tag import error - invalid offset in item path: '' 24Tag import failed due to unexpected XML format in '' 25Tag import failed. Could not find data for node '' 25Tag import failed. Could not open file '' 25Tag import failed. File name given, but no node name 25Tag import failed. No import file name or system tags specified 25Timestamp 7Tricon Addressing 17<strong>Triconex</strong> System Access Application (TSAA) 6Trident Addressing 19TriStation 15UUnable to bind to local address () 26Unable to process data update on device ''. CRC error 26Unable to process data update on device ''. Unexpected message format 26Unable to process data update on device ''. Unexpected model 26www. kepware.com


34<strong>Triconex</strong> <strong>Ethernet</strong> <strong>Driver</strong> <strong>Help</strong>Unable to process data update on device ''. Unexpected node number 27Unable to use network redundancy on channel '' 27Unable to use specified primary network adapter '' on channel '' 27Unable to use specified secondary network adapter '' on channel '' 27Update Rate 8WWinsock initialization failed (OS Error = ) 28Winsock V1.1 or higher must be installed to use the <strong>Triconex</strong> <strong>Ethernet</strong> device driver 28Write failed for tag '' on device ''. CRC error 28Write failed for tag '' on device ''. No data for Read/Modify/Write 28Write failed for tag '' on device ''. Timeout 29Write failed for tag '' on device ''. TSAA Response Code: 29Write failed for tag '' on device ''. Unexpected model 29Write failed for tag '' on device ''. Unexpected node number 30Write failed for tag '' on device ''. Unexpected response format 30Writes 12www. kepware.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!