Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

87
S-S Technologies 5136-SD A-B DH/DH+ Driver for FactoryLink Version 7.2 February 2004

description

Axisware Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD. See the Axisware Utility manual for installation and configuration details.

Transcript of Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Page 1: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

S-S Technologies 5136-SD A-B DH/DH+ Driverfor FactoryLink

Version 7.2 February 2004

Page 2: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD
Page 3: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 1

Contents

1 Overview......................................................................................................1

1.1 Software License.....................................................................................................11.2 Introduction.............................................................................................................11.3 Historical Note........................................................................................................11.4 Card Installation......................................................................................................11.5 Software Installation...............................................................................................1

2 Factorylink Application Configuration......................................................3

2.1 External Device Definition.....................................................................................32.1.1 Logical Port.............................................................................................32.1.2 Physical Card & Physical Port................................................................32.1.3 Device Name...........................................................................................32.1.4 Function...................................................................................................32.1.5 Memory...................................................................................................42.1.6 Comment.................................................................................................4

2.2 Axisware SDKT Read/Write Control.....................................................................52.2.1 Table Name.............................................................................................52.2.2 Unsolicited Read.....................................................................................52.2.3 Exception Write......................................................................................52.2.4 Block Read Priority.................................................................................62.2.5 Block Read Trigger.................................................................................62.2.6 Block Read Disable.................................................................................62.2.7 Block Read Complete.............................................................................62.2.8 Block Read State.....................................................................................62.2.9 Block Write Priority................................................................................72.2.10 Block Write Trigger..............................................................................72.2.11 Block Write Disable..............................................................................72.2.12 Block Write Complete..........................................................................72.2.13 Block Write State..................................................................................7

2.3 Axisware SDKT Read/Write Information Table....................................................82.3.1 Tag Name................................................................................................82.3.2 Logical Station........................................................................................82.3.3 PLC Address...........................................................................................82.3.4 Data Type................................................................................................9

2.4 Axisware SDKT Logical Station Control.............................................................102.4.1 Logical Port...........................................................................................102.4.2 Timeout (Tenths)...................................................................................102.4.3 Card Memory Address (Hex)................................................................102.4.4 Data Highway Address (Octal).............................................................102.4.5 Max Concurrent Packets.......................................................................112.4.6 Message Tag..........................................................................................11

2.5 Axisware SDKT Logical Station Information......................................................122.5.1 Error/Status Tag Name..........................................................................122.5.2 Logical Station (Decimal).....................................................................122.5.3 Device Type..........................................................................................122.5.4 Local Station Address (Octal)...............................................................122.5.5 Local/Remote........................................................................................132.5.6 Remote Physical Station (Octal)...........................................................13

Axisware LLC [email protected] www.axisware.com

Page 4: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 2

2.5.7 Link ID Number....................................................................................132.5.8 Link Type..............................................................................................132.5.9 Comment...............................................................................................14

3 Appendices................................................................................................15

3.1 Appendix A: Installation of Card.........................................................................153.1.1 Installation for 5136-SD........................................................................153.1.2 I/O Port Addresses................................................................................163.1.3 Installation for 5136-SD-MCA.............................................................183.1.4 Cable Connections................................................................................18

3.2 Appendix B: Software Installation - OS/2...........................................................193.2.1 Before Starting Installation - (OS/2 version)........................................193.2.2 Driver Installation Instructions (OS/2).................................................203.2.3 Modifying CONFIG.SYS File (OS/2)..................................................213.2.4 Modifying FLRUN.CMD File (OS/2)..................................................223.2.5 Softkey Protection Validation...............................................................23

3.3 Appendix C: (Reserved).......................................................................................243.4 Appendix D: Software Installation - Windows 95/NT........................................25

3.4.1 Before Starting Installation (Windows 95/NT version)........................253.4.2 Driver Installation Instructions (Windows 95/NT)...............................253.4.3 Modifying FLRUN.BAT File (Windows 95/NT).................................273.4.4 Softkey Protection Validation...............................................................28

3.5 Appendix E: (Reserved).......................................................................................293.6 Appendix F: Driver Status Codes........................................................................30

3.6.1 Application startup errors.....................................................................303.6.2 Run-time startup errors.........................................................................333.6.3 SoftKey protection errors......................................................................343.6.4 Run-time errors.....................................................................................343.6.5 Unsolicited message processing errors.................................................35

3.7 Appendix G: PLC Status Codes...........................................................................373.8 Appendix H: Data Types and Conversions..........................................................393.9 Appendix I: PLC-2 Addressing............................................................................423.10 Appendix J: PLC-3 Logical Addressing............................................................43

3.10.1 I/O Data Tables (PLC-3).....................................................................433.10.2 All Other Data Tables (PLC-3)...........................................................44

3.11 Appendix K: PLC-5 Logical Addressing...........................................................483.11.1 I/O Data Tables (PLC-5).....................................................................483.11.2 All Other Data Tables (PLC-5)...........................................................49

3.12 Appendix L: PLC-5/250 Logical Addressing....................................................563.12.1 I/O Data Tables (PLC-5/250)..............................................................563.12.2 All Other Data Tables (PLC-5/250)....................................................57

3.13 Appendix M: SLC-5/04 Addressing..................................................................633.13.1 I/O Data Tables (SLC-5/04)................................................................633.13.2 All Other Data Tables (SLC-5/04)......................................................64

3.14 Appendix N: Unsolicited Reads.........................................................................683.14.1 PLC-2 Unsolicited Messages..............................................................683.14.2 PLC-3 Unsolicited Messages..............................................................683.14.3 PLC-5 Unsolicited Messages..............................................................683.14.4 PLC-5/250 Unsolicited Messages.......................................................683.14.5 SLC-5/04 Unsolicited Messages.........................................................68

3.15 Appendix O: Conversion of US Data A-B Serial Driver Configuration Tables. . .70

Axisware LLC [email protected] www.axisware.com

Page 5: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 3

3.16 Appendix P: FactoryLink Upgrade Procedures.................................................713.17 Appendix Q: Sample Application......................................................................723.18 Appendix R: Environment String Parser...........................................................73

4 Glossary.....................................................................................................74

5 Supplement for SST 5136-SD-PCI Cards................................................76

5.0.1 Installing the SST Card and drivers......................................................765.0.2 SST PCI Configuration Control Table..................................................775.0.3 Logical Port...........................................................................................775.0.4 Card Name............................................................................................775.0.5 SST Module ID.....................................................................................78

6 Contact information..................................................................................79

Axisware LLC [email protected] www.axisware.com

Page 6: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD
Page 7: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 1

This document contains proprietary information of Axisware LLC (Axisware). This document is based on information available at the time of its publication. While efforts have been madeto be accurate, the information contained herein does not purport to cover all details or variations in hardwareor software, nor to provide for every possible contingency in connection with installation, operation, ormaintenance. Features may be described herein which are not present in all hardware and software systems.Axisware assumes no obligation of notice to holders of this document with respect to changes subsequentlymade. Axisware makes no representation or warranty, expressed, implied, or statutory with respect to, and assumesno responsibility for the accuracy, completeness, sufficiency, or usefulness of the information containedherein. No warranties of merchantability or fitness for purpose shall apply.

All trademarks are the property of their respectve owners. All trademarks acknowledged.

Copyright 1995-1996 NOVA TechnologiesCopyright 1997-2000 Bullet SoftwareCopyright 2000-2004 Axisware LLCAll Rights Reserved

Axisware LLC [email protected] www.axisware.com

Page 8: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 2

Axisware LLC [email protected] www.axisware.com

Page 9: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 1

1 Overview

1.1 Software LicenseAxisware LLC grants you a non-exclusive license to use the Software programs and related documentationfor this product on a single processing unit. For each processing unit that executes the Software programs forthis product you must have a unique serial number and Proof of License statement. No one other than acurrent Axisware employee or agent is permitted to modify or tamper with in any way the executablecomputer files(s) associated with this product. This license applies solely to the software contained in thisproduct, and does not include any additional software or documentation provided by Axisware or otherparties required for the proper operation of this product. This product uses a SoftKey protection method. Please consult the SoftKey manual for a discussion of theprocedures to validate the SoftKey for this product.

1.2 Introduction

This manual describes the installation and configuration of the FactoryLink Data Highway/Data Highway Pluscommunication driver. The installation of the Sutherland-Schultz 5136-SD or 5136-SD-MCA board, whichemulates an Allen-Bradley KT board, is also described. The driver supports the following Allen-Bradleydevices: PLC-2, PLC3, PLC-5, PLC-5/250 Pyramid Integrator, and SLC-5/04. Unsolicited messages and remoteaddressing are also supported. Note: On PLC-3s, for “bit” writes to work the PLC-3 must be connected to the data highway plus with a

1775-SR5 module.

1.3 Historical Note

This product was previously a Nova Technologies product and is now an Axisware product. The manual iscorrect in all technical detail except install instructions, which are detailed in the Utilities manual. Axiswarehas assumed all responsibilities for this product; if you see a reference to Nova Technologies consider it areference to Axisware.

1.4 Card Installation

The Sutherland-Schultz 5136-SD(-MCA) board must be installed in the computer in an open slot. Please consultAppendix A for information concerning the installation of the 5136-SD card or the 5136-SD-MCA card. Youshould also refer to your hardware manuals for complete information.

1.5 Software Installation

Axisware LLC [email protected] www.axisware.com

Page 10: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 2

If installing over a previous version of this driver, perform a multi-platform save of the FactoryLinkapplication before the install and restore the application after installation. Please refer to FactoryLinkdocumentation for details on multi-platform save and restore. In the appendix section are appendices describing the software installation for this product on specific platforms.Please read the appropriate appendix before installing this product.

Platform Appendix OS/2 B

Windows 95/NT D

When the driver software install program is completed, please see the SoftKey manual for the instructions onrunning the Validate program. Failure to run Validate by the end of the 15-day grace period will result in a non-functioning driver. After this communications driver has been installed, updating to a newer version of FactoryLink may appear tocause operational problems. Please refer to Appendix P before updating FactoryLink.

This product uses a SoftKey protection method. Please consult the Bullet Utility manual for a discussion ofthe procedures to validate the SoftKey for this product.

Axisware LLC [email protected] www.axisware.com

Page 11: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 3

2 Factorylink Application Configuration

2.1 External Device Definition

Access this table by selecting External Device Definition from the Configuration Manager main menu. This isone of the five configuration tables that must be configured The other tables are accessed by selecting AxiswareGE PCIM Driver from the Configuration Manager main menu.

This table identifies the computer’s ports and I/O cards through which the devices will communicate withFactoryLink. In this table identifiers are declared which make the external devices recognizable to FactoryLink.

This panel contains seven fields. Use the Tab key to move among the fields.

2.1.1 Logical Port

Number assigned by the user to indicate a particular communication path. This number must be uniquefor each EDI driver used in the application.

Valid entries: 0-999

2.1.2 Physical Card & Physical Port

These fields are not used by this driver.

2.1.3 Device Name

The four-character device name for the EDI driver that will use the related Logical Port.

Valid entry: SDKT

2.1.4 Function

Type of communication used by the EDI driver for the related Logical Port. This field refers to thedifferent types of EDI communication modes.

Valid entry: SYSPRG

Axisware LLC [email protected] www.axisware.com

Page 12: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 4

2.1.5 Memory

The amount of memory in K-bytes used for the block storage size of the read and write informationentered by the user. This entry refers only to the memory used by the driver for data storage for therelated Logical Port.

Valid entries: 4-63

2.1.6 Comment

(Optional) Description for the current Logical Port. Used only for application documentation.

Valid entry: 14 alphabetic or numeric characters

Axisware LLC [email protected] www.axisware.com

Page 13: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 5

2.2 Axisware SDKT Read/Write Control

This table specifies the tags used to control the reading and writing of the values specified in the Read/WriteInformation table (the controlling tags are the Read Trigger, Read Disable, Write Trigger, Write Disable). Italso defines the tags that will report the status of reads and writes (the status tags are the Read Complete,Read State, Write Complete, Write State). Each line in this table refers to one Read/Write InformationTable.

After these fields have been configured, select "Next" or Ctrl-N to edit the Read/Write Information Tablecorresponding to the Control table selected by the cursor.

2.2.1 Table Name

User assigned name of the Read/Write Information Table to be defined or modified. Appendix Icontains additional information for the naming conventions that must be followed to configureFault/Diagnostic or Configuration tables for Genius blocks.

Valid entry: ASCII string incorporation up to 16 of the following character set:

A-Z,a-z,@,$,_, or 0-9

2.2.2 Unsolicited Read

Allows the user to select whether or not the current table will be considered in the processing of anunsolicited message received from the PLC. Standard addressing is used to correlate the message fromthe PLC with the tags configured in the table. Please note that the PLC-5/250 must send PLC-2Unprotected Writes if it is to be configured for unsolicited messages. Please refer to Appendix N forfurther details on this topic.

Valid entries: Description:

Yes Normal write to the real-time databaseForce Forced write to the real-time databaseNo No unsolicited reads are interpreted

2.2.3 Exception Write

Option determining whether or not a specific tag in the related Read/Write Information Table is writtento the selected logical station whenever the real-time database value for that tag changes.

Valid entries: Description:

Yes A change of status of any element in the table generates a write of thatelement's value.

No No exception processing.

Axisware LLC [email protected] www.axisware.com

Page 14: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 6

2.2.4 Block Read Priority

Priority influencing the order in which the EDI task handles the queuing of block read requests. If tworequests are received simultaneously by EDI, the request with the highest priority (lowest number) isprocessed first.

Valid entries: 1 - 4 (default = 1)

2.2.5 Block Read Trigger

Digital tag whose value, when forced to 1 (ON), initiates a block read of the values specified in therelated Read/Write Information Table. This trigger allows the block read operation to be initiated bysome other task.

Valid entry: FactoryLink digital tag

2.2.6 Block Read Disable

Digital tag used to determine whether or not a block read table will be processed. If the tag value is 0,the table is permitted to function normally; however, if the value is 1, the table will not respond to theBlock Read Trigger defined above.

Valid entry: FactoryLink digital tag

2.2.7 Block Read Complete

Digital tag whose value is force written to 1 (ON) by the EDI task whenever any block read operation forthis table is completed. If this tag is specified then when the EDI task initializes, its value is forcewritten to 1 (ON).

Note: Block Read Complete tags are valid only if a different table is used for each logical port.

Valid entry: FactoryLink digital tag

2.2.8 Block Read State

Digital tag whose value is 0 (OFF) when a block read of the tags specified in this table is in progress and1 (ON) otherwise. If this tag is specified then when the EDI task initializes, its value is force written to 1(ON).

Note: Block Read State tags are valid only if a different table is used for each logical port.

Valid entry: FactoryLink digital tag

Axisware LLC [email protected] www.axisware.com

Page 15: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 7

2.2.9 Block Write Priority

Priority influencing the order in which the EDI task handles the queuing of block write and exceptionwrite requests. If two requests are received simultaneously by EDI, the request with the highest priority(lowest number) is processed first.

Valid entries: 1-4 (default = 1)

2.2.10 Block Write Trigger

Digital tag whose value, when forced to 1 (ON), initiates a block write of the values specified in therelated Read/Write Information Table. This trigger allows the block write operation to be initiated bysome other task.

Valid entry: FactoryLink digital tag

2.2.11 Block Write Disable

Digital tag used to determine whether or not a block write table will be processed. If the tag value is 0,the table is permitted to function normally; however, if the value is 1, the table will not respond to theBlock Write Trigger defined above.

Valid entry: FactoryLink digital tag

2.2.12 Block Write Complete

Digital tag whose value is force written to 1 (ON) by the EDI task whenever any block write operationfor this table is completed. If this tag is specified then, when the EDI task initializes, its value is forcewritten to 1 (ON).

Note: Block Write Complete tags are valid only if a different table is used for each logical port.

Valid entry: FactoryLink digital tag

2.2.13 Block Write State

Digital tag whose value is 0 (OFF) when a block write of the tags specified in this table is in progressand 1 (ON) otherwise. If this tag is specified then, when the EDI task initializes, its value is forcewritten to 1 (ON).

Axisware LLC [email protected] www.axisware.com

Page 16: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 8

Note: Block Write State tags are valid only if a different table is used for each logical port.

Valid entry: FactoryLink digital tag

2.3 Axisware SDKT Read/Write Information Table

The Read/Write Information Table links FactoryLink tags to specific addresses in the PLC represented by theLogical Station. Values are either read into the tags from the device or written from the real-time database tagsto the device.

These tables are sometimes referred to as overlay panels, or ovr panels. Each table has one entry (line) for itin the Read/Write Control Table.

Note: Please verify that the table name displayed at the bottom of the panel correctly shows the table to bemodified.

After these fields have been completed, select "Next" or Ctrl-N to edit the Logical Station Control Table.

2.3.1 Tag Name

Name of the FactoryLink tag to be updated as a result of the read operation or the tag from whichinformation is taken to be written to the device.

Valid entry: FactoryLink tag(DIGITAL, ANALOG, LONGANA,FLOAT, MESSAGE)

2.3.2 Logical Station

Number from the Logical Station Table identifying the particular combination of physical attributes thatwill define and govern the data transfer to and from the real-time tag.

Valid entries: 0-999

2.3.3 PLC Address

PLC address with which the real-time database element will be associated.

Valid entries: Please refer to:Appendix I (PLC-2),Appendix J (PLC-3),Appendix K (PLC-5),Appendix L (PLC-5/250),and Appendix M (SLC-5/04)

Axisware LLC [email protected] www.axisware.com

Page 17: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 9

2.3.4 Data Type

Data type for information being read/written from/to the PLC.

Valid entries: Please refer to Appendix H

Axisware LLC [email protected] www.axisware.com

Page 18: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 10

2.4 Axisware SDKT Logical Station Control

This table is used to configure each logical port and its associated stations in the Logical Station Informationtable. It specifies which specific port is connected to the external device being defined.

After completing these fields, select "Next" or Ctrl-N to edit the Logical Station Information Tablecorresponding to the table selected by the cursor.

2.4.1 Logical Port

Number specified in the External Device Definition Table which represents a particular communicationspath.

This number must also be referenced in the External Device Definition panel.

Valid entries: 0-999

2.4.2 Timeout (Tenths)

Number of seconds in tenths permitted by the driver to process a request. A value of at least 20 to 30 isrecommended.

Valid entries: Actual value in tenths of seconds. 20 to 30 (or 2-3 seconds for mostapplications.).

2.4.3 Card Memory Address (Hex)

Address for memory shared by S-S Technologies card and the FactoryLink CPU. This number mustmatch the parameter specified in the CONFIG.SYS file, the memory parameter for the SDLOAD orMCINST loader software, and the setting for the card.

Valid entries: Hex memory address as allowed by S-S card. Please refer to Appendix A.

2.4.4 Data Highway Address (Octal)

This entry is in OCTAL and represents the card's unique data highway address (the data highwayaddress for the FactoryLink station). A data highway error will occur if any other node on the highwayshares this address.

Valid entries: 0 - 77 Data Highway Plus (DH+)

0 - 377 Data Highway (DH)

Axisware LLC [email protected] www.axisware.com

Page 19: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 11

2.4.5 Max Concurrent Packets Maximum number of packets that are allowed to be placed on the Data Highway at one time. This is usedto keep the FactoryLink station from overloading PLCs on the Data Highway with more messages thenthey can buffer at one time. This field’s default value is 20 and should be left at this value for the bestperformance unless the PLCs on the Data Highway are responding with an Error 1, “station cannot buffercommand.”

Valid entries: Numeric value between 1 and 20. Default is 20

2.4.6 Message Tag

Real-time database message element to which a text string will be written in the case of any errorencountered in the processing of an EDI request.

Valid entry: Any valid FactoryLink message tag

Axisware LLC [email protected] www.axisware.com

Page 20: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 12

2.5 Axisware SDKT Logical Station Information

This table defines the logical station(s) accessible through a specific logical port defined in the LogicalStation Control Table. Each logical station is tied to its physical station address and device type. This logicalstation information structure allows communications to multiple devices on a network using one logical port. Note: Please verify that the table name displayed at the bottom of the panel is showing the table to be

modified. After these fields have been completed, "Exit" or F3 will allow you to return to the Configuration Managermain menu.

2.5.1 Error/Status Tag Name

(Optional) Analog tag to which all error codes for this logical station are to be written.

Valid entries: FactoryLink analog tag

2.5.2 Logical Station (Decimal)

Number entered by user to represent a particular combination of a logical port (card) and physical device(PLC). This number is referenced in the Read/Write Information Table to correlate specific addressesand tags with a physical device (PLC). Please note that this number must be unique for each four-letterdevice ID (SDKT).

Valid entries: 0-999

2.5.3 Device Type

Type of device on data highway with which communications are to be established. If remote addressingis used, the device type represents the actual device on the remote link.

Valid entries: “PLC2”

“PLC3”“PLC5”“PLC250”“SLC504”

Note: On PLC-3s, for “bit” writes to work the PLC-3 must be connected to the data highway pluswith a 1775-SR5 module.

2.5.4 Local Station Address (Octal)

Axisware LLC [email protected] www.axisware.com

Page 21: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 13

Data highway address of device on local DH/DH+ network with which communications are to beestablished. If a remote device is to be accessed, this is the address of the device used as a bridgebetween the DH+ networks (the PI or KA module).

Valid entries: 0 - 77 Data Highway Plus (DH+)

0 - 377 Data Highway (DH)

2.5.5 Local/Remote

Defines the related logical station as existing on the local DH/DH+ or on a remote DH/DH+. If LOCALis specified, the remaining fields in this entry are not required.

Valid entries: Description:LOCAL Physical station exists on local DH/DH+REMOTE Physical station exists on remote DH/DH+

2.5.6 Remote Physical Station (Octal)

This field is a required entry only for remote stations. The DH/DH+ address of the device to be accessedon the remote DH/DH+ network.

Valid entries: 0 - 77

2.5.7 Link ID Number

This field is a required entry only for remote DH/DH+ stations. It is used for a PI link type. EachDH/DH+ network in a Pyramid Integrator system must be given a unique link ID number. Thesenumbers are assigned in the 5/250 configuration. This field represents the link ID number of theDH/DH+ network where the target PLC resides.

Valid entries: 0 - 32767

2.5.8 Link Type

This field is a required entry only for remote DH/DH+ stations. It indicates the type of device to be usedas the bridge between the DH/DH+ networks containing the remote physical station and the FactoryLinkstation.

Valid entries: Description:PI A Pyramid Integrator is to be used as the link. Data will be

transferred between ports 2 and 3 on the RM.

KA Two KA modules will be used as the bridge. The KA modules oneach DH+ network will be connected with a DH drop.

Axisware LLC [email protected] www.axisware.com

Page 22: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 14

2.5.9 Comment

(Optional) Description for the current Logical Station. Used only for application documentation.

Valid entry: 31 alphabetic or numeric characters

Axisware LLC [email protected] www.axisware.com

Page 23: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 15

3 Appendices

3.1 Appendix A: Installation of Card

3.1.1 Installation for 5136-SD The 5136-SD is used for the standard ISA computer bus. The following chart shows the valid RAM memory addresses for the ISA version of the 5136-SD card. Thecard's RAM memory is selected via software. There are no switches on the card to be set for the RAM memorylocation.

MEMORY0xA000 0xD0000xA800 0xD8000xB000 0xE0000xB800 0xE8000xC000 0xF0000xC800 0xF800

Prior to installation, the appropriate I/O port address must be set using the switches on the board. The tables onthe following two pages show the possible settings. An I/O port address of 250 (hex) is recommended. It should be noted when installing the card that no interrupts are used by the driver or by the card.

Axisware LLC [email protected] www.axisware.com

Page 24: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 16

3.1.2 I/O Port Addresses

Table 1: This table and the one following show possible settings for the I/O port address.

ADDRESS SW1 SW2 SW3 SW4 SW5 SW6

0x200 ON ON ON ON ON ON

0x208 ON ON ON ON ON OFF

0x210 ON ON ON ON OFF ON

0x218 ON ON ON ON OFF OFF

0x220 ON ON ON OFF ON ON

0x228 ON ON ON OFF ON OFF

0x230 ON ON ON OFF OFF ON

0x238 ON ON ON OFF OFF OFF

0x240 ON ON OFF ON ON ON

0x248 ON ON OFF ON ON OFF

0x250 ON ON OFF ON OFF ON Default

0x258 ON ON OFF ON OFF OFF

0x260 ON ON OFF OFF ON ON

0x268 ON ON OFF OFF ON OFF

0x270 ON ON OFF OFF OFF ON

0x278 ON ON OFF OFF OFF OFF

0x280 ON OFF ON ON ON ON

0x288 ON OFF ON ON ON OFF

0x290 ON OFF ON ON OFF ON

0x298 ON OFF ON ON OFF OFF

0x2A0 ON OFF ON OFF ON ON

0x2A8 ON OFF ON OFF ON OFF

0x2B0 ON OFF ON OFF OFF ON

0x2B8 ON OFF ON OFF OFF OFF

0x2C0 ON OFF OFF ON ON ON

0x2C8 ON OFF OFF ON ON OFF

0x2D0 ON OFF OFF ON OFF ON

0x2D8 ON OFF OFF ON OFF OFF

0x2E0 ON OFF OFF OFF ON ON

0X2E8 ON OFF OFF OFF ON OFF

0x2F0 ON OFF OFF OFF OFF ON

0x2F8 ON OFF OFF OFF OFF OFF COM2

Axisware LLC [email protected] www.axisware.com

Page 25: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 17

Table 2:

ADDRESS SW1 SW2 SW3 SW4 SW5 SW6

0x600 OFF ON ON ON ON ON

0x608 OFF ON ON ON ON OFF

0x610 OFF ON ON ON OFF ON

0x618 OFF ON ON ON OFF OFF

0x620 OFF ON ON OFF ON ON

0x628 OFF ON ON OFF ON OFF

0x630 OFF ON ON OFF OFF ON

0x638 OFF ON ON OFF OFF OFF

0x640 OFF ON OFF ON ON ON

0x648 OFF ON OFF ON ON OFF

0x650 OFF ON OFF ON OFF ON

0x658 OFF ON OFF ON OFF OFF

0x660 OFF ON OFF OFF ON ON

0x668 OFF ON OFF OFF ON OFF

0x670 OFF ON OFF OFF OFF ON

0x678 OFF ON OFF OFF OFF OFF

0x680 OFF OFF ON ON ON ON

0x688 OFF OFF ON ON ON OFF

0x690 OFF OFF ON ON OFF ON

0x698 OFF OFF ON ON OFF OFF

0x6A0 OFF OFF ON OFF ON ON

0x6A8 OFF OFF ON OFF ON OFF

0x6B0 OFF OFF ON OFF OFF ON

0x6B8 OFF OFF ON OFF OFF OFF

0x6C0 OFF OFF OFF ON ON ON

0x6C8 OFF OFF OFF ON ON OFF

0x6D0 OFF OFF OFF ON OFF ON

0x6D8 OFF OFF OFF ON OFF OFF

0x6E0 OFF OFF OFF OFF ON ON

0X6E8 OFF OFF OFF OFF ON OFF

0x6F0 OFF OFF OFF OFF OFF ON

0x6F8 OFF OFF OFF OFF OFF OFF

Axisware LLC [email protected] www.axisware.com

Page 26: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 18

3.1.3 Installation for 5136-SD-MCA

The 5136-SD-MCA is used for the Micro Channel computer bus. Currently, only IBM manufactures andmarkets personal computers that utilize the Micro Channel bus. The 5136-SD-MCA is not currently supportedby the Windows NT version of this driver. Installing any card in a Micro Channel computer involves updating the computer's configuration. This is doneusing a reference disk supplied with the computer. The .ADF file for installing the 5136-SD-MCA is includedon the distribution disk. Before you install the card, copy the file C:\$FLINK\EDI\SDKTOS2(SDKTWIN)\@6167.ADF to the reference diskette for the computer. Note: Once the card is installed, the computer cannot boot until you have changed the configuration. If

additional information is required for adding the S-S card to a Micro Channel computer, pleaseconsult the manual shipped with the card or the computer.

The port address and the memory address must both be configured with the program supplied with thecomputer. The possible port addresses will be displayed by the configuration program. There are four possible32K windows that may be selected for the 5136-SD-MCA card; these are listed in the following table:

MEMORY0xC000 0xD0000xC800 0xD800

The card must be configured with a 32K window; a 16K window is not adequate for the driver. The memoryaddress that is selected should be recorded so that this same memory address may be entered in the NOVASD/KT Logical Station Control Table.

3.1.4 Cable Connections The following diagram shows the cable pin connections for connecting the Sutherland-Schultz board to theAllen-Bradley Data Highway/Data Highway Plus. Note that internal to the card the first set of three pins isconnected to the second set of three pins (1 to 4, 2 to 5, and 3 to 6). Any connections to pins 1, 2, or 3 could bemade to 4, 5, or 6, respectively.

Axisware LLC [email protected] www.axisware.com

PIN# DESCRIPTION 1 Clear wire 2 Shield wire 3 Blue wire 4 Clear wire 5 Shield wire 6 Blue wire

Page 27: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 19

3.2 Appendix B: Software Installation - OS/2

3.2.1 Before Starting Installation - (OS/2 version)

Updating From A Previous Version: If the driver software is an update from an older version, the following procedures must be followed for thesoftware to be properly installed. First, the operator must exit from both the Run Manager and the ConfigurationManager. Second, a multiplatform save file should be created. Third, the driver should be installed as describedbelow. Fourth, restore the multiplatform save file created in step 2. Fifth, update the Configuration Managertables for the Axisware driver (Logical Station Information). The install command file relies upon the environment variable $FLINK to complete the installation process.($FLINK is used to refer to the environment variable “FLINK”, which points to the FactoryLink directory.)Before starting the install program you may want to manually set $FLINK if you want to have the filescopied to a directory other than the default of C:\FLOS2. If $FLINK has not been defined when the install is started, you will be requested to exit and assign a valueto $FLINK, and then restart the install program. $FLINK can be assigned a parameter by using the SETcommand (example: set flink=d:\flos2). Be sure to include the drive letter. During the installation, two ASCII text files will be modified by the installation program. The originalcopies of both files will be copied to a file with the same filename but a .NVA extension. The first file to bemodified is $FLINK\AC\TITLES (where $FLINK is the FactoryLink directory). This file is used by theConfiguration Manager to determine which tasks to list and also the order in which they are to be listed. Thefollowing line will be added to the TITLES file. (The line may be different, depending on your FactoryLinkversion.)

sdkt.ac EDI Axisware SD/KT Driver If you have a backup file named $FLINK\AC\TITLES.NVA (possibly created by a previous install), theprogram will warn you during the install that it is about to be overwritten and will ask you if you want to exit,and manually save the .NVA file. The second file to be modified is $FLINK\CTGEN\CTLIST. This file is used by the CTGEN utility in thecreation of the binary CT (configuration table) files used at run-time by FactoryLink. The following line willbe added to the CTLIST file.

sdkt: sdktshdr sdktsovr sdkt_hdr sdkt_ovr If you have a backup file named $FLINK\CTGEN\CTLIST.NVA (possibly created by a previous install), theprogram will ask you during the install if you wish to exit, and manually save a copy of this .NVA file beforeit is overwritten.

Axisware LLC [email protected] www.axisware.com

Page 28: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 20

3.2.2 Driver Installation Instructions (OS/2)

It is important that you have followed the hardware installation procedures described in Appendix Abefore proceeding with the driver installation instructions. The driver software is loaded by inserting the driver diskette in drive A or B. At the OS/2 command prompt,make the drive containing the diskette the current working drive, type INSTALL and then press Enter. Note: A source other than drive A or B can be used; e.g., from a directory on a hard drive, or across a

network. If a message is displayed stating that the INSTALL program is having difficulty finding the directorycontaining the FactoryLink program files, press a key to exit and use the set command to reset the $FLINKenvironment variable. The problem may be resolved by clearly stating the drive letter. At the OS/2 commandprompt type set FLINK= followed by the drive letter (a-z), a colon (:), a backslash (\) and the directory name(s) giving the path to the FactoryLink program files. Examples: set FLINK=d:\work1\flos2 or set FLINK=t:\sect2\factory. Make sure that the only space in this commandis between “set” and “FLINK”. After the “Axisware” screen appears the FactoryLink Path and FactoryLink Release Version are displayed.Press y and then the Enter (Return) key if the information is correct. The driver Serial Number and Release Type are then displayed. Press y and then the Enter (Return) key tocontinue. The following message will appear

Copying configuration files to hard disk . . .

followed by a message relevant to obtaining authorization for the product, if required.

The install program checks for a backup file named $FLINK\AC\TITLES.NVA. If found, the followingmessage is displayed:

This install program will update your file named

$FLINK\AC\TITLES

$FLINK\AC\TITLES.NVA (a backup file) already exists.

To overwrite it, press y followed by Enter (Return).

By pressing n, you may Exit, manually save

your .NVA backup file, and restart this program.

Enter either y or n followed by the Enter (Return) key ==>

Axisware LLC [email protected] www.axisware.com

Page 29: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 21

The install program will then go through the same procedure before updating the file$FLINK\CTGEN\CTLIST. The install program checks for a backup file named$FLINK\CTGEN\CTLIST.NVA. If found, this message appears:

This install program will update your file named

$FLINK\CTGEN\CTLIST

$FLINK\CTGEN\CTLIST.NVA (a backup file) already exists.

To overwrite it, press y followed by Enter (Return).

By pressing n, you may Exit, manually save your

.NVA backup file, and restart this program.

Enter either y or n followed by the Enter (Return) key ==>

The messages

Updating listing of driver names. . .

and

Updating CTLIST . . .

are briefly displayed while the backup (.NVA) versions are being created and the $FLINK\AC\TITLES and$FLINK\CTGEN\CTLIST files are updated. If one of the following error messages appear:

!!!! Unable to update %FLINK%\AC\TITLES file

or

!!!! Unable to update %FLINK%\CTGEN\CTLIST file

the lines to be added to these files can be typed in manually using a text editor. Refer to the section “BeforeStarting” (above) for the specific lines and where they are to be added.

Please notice any additional messages displayed on the screen. When all of the necessary files have beencopied the following message will appear:

.....Installation Program Completed.

3.2.3 Modifying CONFIG.SYS File (OS/2) The S-S Technologies 5136-SD device driver DL.SYS must be loaded into memory when your system boots forthe FactoryLink A-B DH/DH+ driver to function properly. After the installation cdrom's INSTALL program isrun, the CONFIG.SYS file must be modified manually, using a text editor, such as OS/2’s System Editor “e”.

Axisware LLC [email protected] www.axisware.com

Page 30: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 22

The following line (or one similar to it) must be added to the OS/2 CONFIG.SYS file. A directory that willcontain the device driver DL.SYS is automatically created when the software is installed from the installationmedium. Assuming that $FLINK is set to c:\flos2, the line to be added to the CONFIG.SYS would be:

DEVICE=C:\FLOS2\EDI\SDKTOS2\DL.SYS It is very important that only ONE reference to this device driver be made in the CONFIG.SYS file. Note: The changes you make to your CONFIG.SYS file will not take effect until you reboot your system.

3.2.4 Modifying FLRUN.CMD File (OS/2)

Depending upon the card type and whether the Data Highway (DH) or the Data Highway Plus (DH+) is to beused, one of the following lines should be entered from the OS/2 command line or added to the fileFLRUN.CMD located in the $FLINK\BIN directory. (Example: C:\FLOS2\BIN\FLRUN.CMD). The lineshould be added at the beginning of the file immediately after the two lines: "@echo off" and "setlocal". A line similar to one of the following two examples should be entered from the OS/2 command line or addedto the file FLRUN.CMD located in the $FLINK\BIN directory. The line should be added at the beginning ofthe file immediately after the two lines: "@echo off" and "setlocal". This example configures a 5136-SD card to an I/O port address of 250 (hex) and a memory address of D800(hex). The “p” and “m” should be lowercase.

@echo offsetlocal rem For ISA card

$FLINK\edi\sdktos2\sdload $FLINK\edi\sdktos2\[progname] p=250 m=D800

·

·

·

rem where, [progname] is SDDHP for DH+ and SDDH for DH

This example shows how to configure a 5136-SD-MCA for slot 2.

@echo offsetlocal rem For MCA card

$FLINK\edi\sdktos2\mcinst $FLINK\edi\sdktos2\[progname] 2

·

·

·

rem where, [progname] is MCDHP for DH+ and MCDH for DH

Valid memory addresses for the ISA card are listed in Appendix A. The card and driver will utilize 32kstarting at the address specified. The user must ensure that no other device or program (including caches orROM shadowing) is attempting to utilize this same block of memory.

Axisware LLC [email protected] www.axisware.com

Page 31: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 23

3.2.5 Softkey Protection Validation Please refer to the Utility Manual and run the program Validate to ensure that your product does not expireat the end of the 15-day grace period. Specific steps are included in the SoftKey Manual.

Warning: The installation of this product is not complete until the Validate program is run.

Axisware LLC [email protected] www.axisware.com

Page 32: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 24

3.3 Appendix C: (Reserved)

This appendix is reserved for future use.

Axisware LLC [email protected] www.axisware.com

Page 33: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 25

3.4 Appendix D: Software Installation - Windows 95/NT

3.4.1 Before Starting Installation (Windows 95/NT version)

The install command file relies upon the environment variable $FLINK to complete the installation process.($FLINK is used to refer to the environment variable “FLINK”, which points to the FactoryLink directory.)Before starting the install program you may want to manually set $FLINK. If $FLINK has not been defined when the install is started, you will be requested to exit and assign a valueto $FLINK, and then restart the install program. $FLINK can be assigned a parameter by using the SETcommand (example: set flink=d:\flnt). During the installation, two ASCII text files will be modified by the installation program. The originalcopies of both files will be copied to a file with the same filename but a .NVA extension. The first file to bemodified is $FLINK\AC\TITLES. This file is used by the Configuration Manager to determine which tasksto list and also the order in which they are to be listed. The following line will be added to the TITLES file.

sdkt.ac EDI NOVA SD/KT Driver If you have a backup file named $FLINK\AC\TITLES.NVA (possibly created by a previous install), theprogram will warn you during the install that it is about to be overwritten and will ask you if you want to exit,and manually save the .NVA file. The second file to be modified is $FLINK\CTGEN\CTLIST. This file is used by the CTGEN utility in thecreation of the binary files used by the Run-time FactoryLink. The following line will be added to theCTLIST file.

sdkt: sdktshdr sdktsovr sdkt_hdr sdkt_ovr If you have a backup file named $FLINK\CTGEN\CTLIST.NVA (possibly created by a previous install), theprogram will ask you during the install if you wish to exit, and manually save a copy of this .NVA file beforeit is overwritten. It is important that you have followed the hardware installation procedures described in Appendix Abefore proceeding with the driver installation instructions.

3.4.2 Driver Installation Instructions (Windows 95/NT)

The driver software is loaded by inserting the driver diskette in drive A or B. From Start…Run (or File…Run), type INSTALL and then press Enter. Note: A source other than drive A or B can be used; e.g., from a directory on a hard drive, or across a

network. If the $FLINK environment entry is not defined, you will be asked if you want to accept a default setting forit. Press y to accept this default setting. If n is pressed, the program exits, and you may use the command

Axisware LLC [email protected] www.axisware.com

Page 34: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 26

required by your platform to specify the location of the FactoryLink program files (example: setFLINK=f:\flwin), and then restart. If a message is displayed stating that the INSTALL program is having difficulty finding the directorycontaining the FactoryLink program files, press a key to exit and use the set command to reset the $FLINKenvironment variable. The problem may be resolved by clearly stating the drive letter. At a DOS commandprompt type set FLINK= followed by the drive letter (a-z), a colon (:), a backslash (\) and the directory name(s) giving the path to the FactoryLink program files. Examples: set FLINK=d:\work1\flnt or setFLINK=t:\sect2\factory. Make sure that the only space in this command is between “set” and “FLINK”. After the “Axisware” screen appears the FactoryLink Path and FactoryLink Release Version are displayed.Press y and then the Enter (Return) key if the information is correct. The driver Serial Number and Release Type are then displayed. Press y and then the Enter (Return) key tocontinue. The following message will appear

Copying configuration files to hard disk . . .

followed by a message relevant to obtaining authorization for the product, if required.

The install program checks for a backup file named $FLINK\AC\TITLES.NVA. If found, the followingmessage is displayed:

This install program will update your file named

%FLINK%\AC\TITLES

%FLINK%\AC\TITLES.NVA (a backup file) already exists.

To overwrite it, press y.

By pressing n, you may Exit, manually save

your .NVA backup file, and restart this program.

Enter either y or n followed by the Enter (Return) key ==>

The install program will then go through the same procedure before updating the file$FLINK\CTGEN\CTLIST. The install program checks for a backup file named$FLINK\CTGEN\CTLIST.NVA. If found, this message appears:

This install program will update your file named

%FLINK%\CTGEN\CTLIST

%FLINK%\CTGEN\CTLIST.NVA (a backup file) already exists.

Axisware LLC [email protected] www.axisware.com

Page 35: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 27

To overwrite it, press y followed by Enter (Return).

By pressing n, you may Exit, manually save your

.NVA backup file, and restart this program.

Enter either y or n followed by the Enter (Return) key ==>

The messages

Updating listing of driver names. . .

and

Updating CTLIST . . .

are briefly displayed while the backup (.NVA) versions are being created and the $FLINK\AC\TITLES and$FLINK\CTGEN\CTLIST files are updated. If one of the following error messages appear:

!!!! Unable to update %FLINK%\AC\TITLES file

or

!!!! Unable to update %FLINK%\CTGEN\CTLIST file

the lines to be added to these files can be typed in manually using a text editor. Refer to the section “BeforeStarting” (above) for the specific lines and where they are to be added. Please notice any additional messages displayed on the screen. When all of the necessary files have beencopied the following message will appear:

.....Installation Program Completed.

3.4.3 Modifying FLRUN.BAT File (Windows 95/NT)

During the installation process, the NOVAMEM.SYS device driver is registered with the Windows NT systemregistry. The following line MUST be added to the FLRUN.BAT file (located in $FLINK\BIN\). The lineshould be added just beneath the 'setlocal' command line. If ECS, it should go just after the :flrun_started label.The 250 (I/O port address) and D800 (RAM memory address) entries should be replaced with your correctvalues. %FLINK%\EDI\SDKTW32\SDINST %FLINK%\EDI\SDKTW32\SDDHP 250 D800 Additional information on the above command, and other available command line options are contained in theS-S Technologies user's manual shipped with the 5136-SD card.

Axisware LLC [email protected] www.axisware.com

Page 36: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 28

The computer should now be rebooted to correctly register the driver.

Proper installation of the NOVAMEM.SYS driver can be verified by using the utility programNODELIST.EXE which was installed into the $FLINK\EDI\SDKT directory. This program can typically berun as follows: 1. After performing the install procedure reboot the computer 2. Open an MS-DOS command prompt window under Windows NT. 3. If the NOVAMEM device driver was not configured under the Control Panel/Devices program, then

enter and run the following:

NET START NOVAMEM

The response should say that the service was started successfully. 4. Change to the C:\FLNT\EDI\SDKT\ sub-directory (or where the FactoryLink system is installed on

your computer). 5. Enter and run the following:

SDINST SDDHP 250 D800 32k chk

where the 250 is your port number as selected by the dip switches on the card, and the D800 is the freeRAM memory location for the card to use. The loader program should load the card and performdiagnostics. Ensure that all tests pass.

6. Enter and run the following:

NODELIST D800 77

where 77 is the DH+ node number for this card. It must not conflict with any other node on the datahighway. The program should display the active nodes present on the DH+, including itself.

3.4.4 Softkey Protection Validation Please refer to the Utility Manual and run the program Validate to ensure that your product does not expireat the end of the 15-day grace period. Specific steps are included in the SoftKey Manual.

ASCII file not valid for PLC-5/250, X

Axisware LLC [email protected] www.axisware.com

Page 37: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 29

3.5 Appendix E: (Reserved)

This appendix is reserved for future use.

Axisware LLC [email protected] www.axisware.com

Page 38: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 30

3.6 Appendix F: Driver Status Codes

3.6.1 Application startup errors

The following error codes (alphabetized) may be reported to FactoryLink while the GE PCIM Driver tables arebeing processed at startup.

ASCII file not valid for PLC-5/250, XAn ASCII file (A) was specified for a PLC-5/250. This file type is only valid for a PLC-5.Check Appendix L for a list of all file types supported for PLC-5/250s. X represents theaddress as entered in the configuration table.

ASCII length error, X

A length of 0 was specified in the PLC-5(/250) ASCII address when a MESSAGE tag wasused. X represents the address as entered in the configuration table.

Attempted digital write not valid for file and device, X

Digital writes to floating point files are not permitted for the PLC-5/250. Check Appendix Lfor examples of valid PLC-5/250 addresses. X represents the address as entered in theconfiguration table.

Attempted member write not valid for file and device, X

Member writes to floating point files are not permitted for the PLC-5/250. Check Appendix Lfor examples of valid PLC-5/250 addresses. X represents the address as entered in theconfiguration table.

BCD file not valid for PLC-5/250, X

A binary coded decimal file (BCD) was specified for a PLC-5/250. This file type is only validfor a PLC-5. Check Appendix L for a list of all file types supported for PLC-5/250s. Xrepresents the address as entered in the configuration table.

BTD file not valid for PLC-5, X

A block transfer data file (BTD) was specified for a PLC-5. This file type is only valid for aPLC-5/250. Check Appendix K for a list of all file types supported for PLC-5s. X representsthe address as entered in the configuration table.

BT file not valid for PLC-5/250, X

A block transfer file (BT) was specified for a PLC-5/250. This file type is only valid for aPLC-5. Check Appendix L for a list of all file types supported for PLC-5/250s. X representsthe address as entered in the configuration table.

Configured tag does not support bit number, X

Only Digital tags are permitted to specify a bit number in the address. X represents the addressas entered in the configuration table.

CT line #X, no tag given

Axisware LLC [email protected] www.axisware.com

Page 39: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 31

Line X of the Read/Write Information Table currently being processed does not contain a validFactoryLink tag name.

DIGITAL tags may not be used with numerical types

DIGITAL tags may only be used to read or write discretes.

I, O, and IS word addresses must be in octal, XAll word addresses for PLC-5(/250) file types I, O, and IS must be entered in octal. Xrepresents the address as entered in the configuration table.

Illegal member or sub-element, X

A member (PLC-5/250) or a sub-element (PLC-5) was larger than permissible for the selectedfile type. Please consult the appendix dedicated to the specific device for details concerningmember/sub-element range. X represents the address as entered in the configuration table.

Illegal mnemonic, X

An alphabetic character or sequence of characters was detected and it does not represent avalid PLC-5(/250) mnemonic. Please consult the appendix dedicated to the specific device fordetails concerning member/sub-element range. X represents the address as entered in theconfiguration table.

Inconsistent addressing encountered

Condition may occur when both mnemonics and numbers are used to address subelements orbit numbers. When entering addresses, be consistent in whether or not mnemonics are used.

Input bit address must be in octal, X

All bit numbers specified for a PLC-5(/250) input address (file type I) must be entered in octal.X represents the address as entered in the configuration table.

Internal storage file not valid for PLC-5, X

An internal storage file (IS) was specified for a PLC-5. This file type is only valid for a PLC-5/250. Check Appendix K for a list of all file types supported for PLC-5s. X represents theaddress as entered in the configuration table.

Invalid address delimiters found, X

An illegal delimiter was detected when the specified address was being evaluated. Check theappropriate appendix for your PLC model for examples of correct addresses. X represents theaddress as entered in the configuration table.

Invalid bit number specified, XA letter rather than a number was detected after the "/" in a PLC-5(/250) address for which thefile type does not support bit mnemonics. Check the related appendix for examples using bitnumbers for the given PLC. X represents the address as entered in the configuration table.

Invalid data type encountered

Please consult Appendix H for list of valid data types.

Invalid file type, XThe first characters of the ASCII address do not define a supported PLC-5(/250) file type.Check the related appendix for a list of all file types supported for the given PLC. X representsthe address as entered in the configuration table.

IS bit address must be in octal, X

Axisware LLC [email protected] www.axisware.com

Page 40: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 32

All bit numbers specified for a PLC-5/250 internal storage address (file type IS) must beentered in octal. X represents the address as entered in the configuration table.

Logical station X not found

The logical station X was specified in the current Read/Write Information Table, but thislogical station number was never defined in the Logical Station Information Table.

MESSAGE tags may not be used with numerical types

Only BIN and ASC data types may be used with MESSAGE tags.

MG file not valid for PLC-5/250 (use MSG), XA message file (MG) was specified for a PLC-5/250. This file type is only valid for a PLC-5.Message files are indicated for the PLC-5/250 with "MSG". Check Appendix L for a list of allfile types supported for PLC-5/250s. X represents the address as entered in the configurationtable.

MSG file not valid for PLC-5 (use MG), X

A message file (MSG) was specified for a PLC-5. This file type is only valid for a PLC-5/250.Message files are indicated for the PLC-5 with "MG". Check Appendix K for a list of all filetypes supported for PLC-5s. X represents the address as entered in the configuration table.

No address delimiters found, X

All PLC-5(/250) addresses must include at least one valid delimiter following the file type.Check the related appendix for examples using the appropriate delimiters for the given PLC. Xrepresents the address as entered in the configuration table.

No default file number available for selected file, X

Not all PLC-5 file types have default file numbers. Check Appendix K for the detailsconcerning the specified file type. X represents the address as entered in the configurationtable.

No length delimiter, X

All message strings require the length to be specified. This length defines the number of wordsto read into the provided message tag. X represents the address as entered in the configurationtable.

No tags, packet not made

The current Read/Write Information Table contained entries that caused a portion of the tableto generate an error and consequently no DCT information was produced.

Only MESSAGE tags may be used with ASC

ASCII strings may only be read into MESSAGE tags.

Ordering anomaly, inefficient groupingIndicates that the Read/Write Information Table currently being processed contains addressessuch that the driver is unable to properly arrange all the entries. This generally occurs with theabnormal use of subelements or when bit numbers greater than the word length are used.

Out of Memory

The driver was unable to internally allocate all the necessary memory. Allocate more memoryin the External Device Definition Table.

Out of RAM

Axisware LLC [email protected] www.axisware.com

Page 41: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 33

EDI was unable to parse the entire read/write table due to its size. The solution is to break thetable into multiple smaller tables. There will not be any performance degradation due tobreaking up the table, since the table is already being broken up into several data packets.

Output bit address must be in octal, X

All bit numbers specified for a PLC-5(/250) output address (file type O) must be entered inoctal. X represents the address as entered in the configuration table.

PLC-2 bit number must be in octal, X

All bit numbers specified in PLC-2 addresses must be entered in octal. X represents theaddress as entered in the configuration table.

PLC-2 word address must be in octal, X

All word addresses for PLC-2 must be entered in octal. X represents the address as entered inthe configuration table.

PLC-5/250 addresses not valid for unsolicited reads

Only PLC-2 and PLC-5 addresses may be used when configuring unsolicited reads. If anunsolicited message is to be received from a PLC-5/250, the PLC must send a PLC-2Unprotected Write. The driver must then have a Logical Station defined as a PLC-2 with aData Highway address equal to the PLC-5/250. The PLC-2 addresses defined with this LogicalStation will then be considered in the driver's search to resolve the incoming message. Pleasesee Appendix N for details.

Status file not valid for PLC-5/250, X

A status file (S) was specified for a PLC-5/250. This file type is only valid for a PLC-5.Check Appendix L for a list of all file types supported for PLC-5/250s. X represents theaddress as entered in the configuration table.

3.6.2 Run-time startup errors

The following errors (alphabetized) may be reported when the EDI task is started after all tables have beenprocessed. All the following errors are immediately fatal.

Cannot get pointer from card driver (error : X) [OS/2 Only]System call failed to return card pointer. Check that the file DL.SYS is specified in theCONFIG.SYS file as indicated in Appendix B of this manual.

Cannot open device (error: X) [OS/2 Only]

Unable to open the OS/2 device driver DL.SYS. Check that this file is specified in theCONFIG.SYS file as indicated in Appendix B of this manual.

Invalid Data Highway Plus station address

Check the data highway address for FactoryLink specified in the NOVA SD/KT Logical StationControl Table.

Invalid Data Highway station address

Check the data highway address for FactoryLink specified in the NOVA SD/KT Logical StationControl Table.

No card or DH/DH+ module running at X

Axisware LLC [email protected] www.axisware.com

Page 42: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 34

The 5136-SD card was not found at memory address X as specified in the NOVA SD/KTLogical Station Control Table. Check that the command line parameter specifying the memoryaddress for the SDLOAD or MCINST loader program and the CONFIG.SYS device drivermatches the address selected in the Configuration Manager (should be something like D000 orD800). Also check that the card is properly seated, that the device driver in the CONFIG.SYSloaded without any errors, and that the loader program executed without any errors.

Timeout waiting for card reset

Expected response not returned from card. Check that the command line parameter specifyingthe memory address for the SDLOAD or MCINST loader program and the CONFIG.SYSdevice driver matches the address selected in the Configuration Manager (should be somethinglike D000 or D800). Also check that the card is properly seated, that the device driver in theCONFIG.SYS loaded without any errors, and that the loader program executed without anyerrors.

3.6.3 SoftKey protection errors

Messages relating to SoftKey protection may appear after the driver has been initialized by the EDI task.Please refer to the SoftKey manual if they appear. If SoftKey does not detect a problem the followingmessage will be displayed.

Serial #: XXXXXXX Single Processor Run Time LicenseThis is a normal informational message displaying the product name and your SerialNumber.

3.6.4 Run-time errors

The following errors may be reported while the driver is processing application requests. The text represents theerror message returned to the message tag defined in the Logical Station Control Table. The number inparentheses is returned to the analog tag defined in the Logical Station Information Table. While the followingerrors are not immediately fatal, recurring errors should be evaluated and eradicated to maintain the integrity ofthe network. Status codes and extended status codes are listed in Appendix G.

(-) Timeout, retry attemptedData Highway communication errorNo analog value is returned for this error. This should serve as a warning that the networkintegrity is suspect. Check for cabling problems or noise.

(-) XXXX sdktcpt iomgr() unknown state

Buffer manipulation errorNo analog value is returned for these errors. An internal processing error has occurred duringdriver execution. Please contact NOVA Technologies with the problem.

(-1) Module communication timeout

Communications between the DSF module and the CPT module were disrupted. If this erroroccurs regularly, contact NOVA Technologies with the problem.

Axisware LLC [email protected] www.axisware.com

Page 43: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 35

(-2) Buffer manipulation error

Communication error with PLCThese errors should not occur during normal processing. However, if one of these errorsoccurs, please contact NOVA Technologies.

(-3) Logical station X failed to respond

SD/KT card timeout malfunctionTimeout waiting for PLC responseThe indicated logical station did not reply to the driver's write message or read request. Checkcabling and PLC station number.

(-4) XXXX sdktdsf dsf_read/write() error returned from bld_q_rd/wr()

EDI communication problem, report error to NOVA Technologies.

(4) Data Highway network down!Check all data highway cabling and connectors. This error is generated by a status code of 4.

(*) Status code X, extended status Y

The indicated status and extended status codes were returned by the selected PLC. Check Xand Y against the error table provided in Appendix G.

(**) Status code X

The indicated status code was returned by the PLC. No extended status code was returned.Action as above.

* All errors returned with an extended status code are placed in the analog error tag as the extended status codeplus 1000. ** All errors returned with only a status value are placed directly in the analog error tag.

3.6.5 Unsolicited message processing errors

The following errors may be reported while the driver is attempting to process unsolicited message requests. Thetext represents the error message returned to the message tag defined in the Logical Station Control Table.While the following errors are not immediately fatal, recurring errors should be evaluated and eradicated tomaintain the integrity of the network.

EDI DSF pointer errorSoftware error; contact NOVA Technologies with error message.

Invalid PLC type for EDI processing

Check that the MSG instruction in the PLC is PLC-2 Unprotected Write or PLC-5 TypedWrite.

Linked list error

Software error; contact Axisware with error message.

Maximum number of unsolicited reads exceeded

Axisware LLC [email protected] www.axisware.com

Page 44: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 36

A maximum number of 32000 unsolicited reads may be configured. If this limit is reached,please contact Axisware.

No unsolicited reads have been defined

An unsolicited message has been received over the data highway; however, no unsolicitedmessages were defined in the Configuration Manager. If unsolicited messages are to be used,at least one line on the Read/Write Control Table must specify unsolicited message support.

PLC-2/PLC-5 address format errorCheck that the MSG instruction in the PLC is PLC-2 Unprotected Write or PLC-5 TypedWrite.

Subelement unexpected

Check that the MSG instruction in the PLC is PLC-2 Unprotected Write or PLC-5 TypedWrite.

Unable to allocate memory for all unsolicited messages

Allocate more memory to EDI task.

Unable to establish unsolicited indexInternal software error, contact Axisware.

Unable to evaluate unsolicited message

An unsolicited message was received over the data highway that has an unexpected format.Check that the MSG instruction in the PLC is PLC-2 Unprotected Write or PLC-5 TypedWrite.

Undefined unsolicited message received - X

An unsolicited message directed toward PLC address X was received. This address has notbeen configured as an unsolicited message in the Configuration Manager.

Unsolicited message buffer exceeded

EDI limits the maximum number of unsolicited messages that can be queued before beingprocessed by the driver. This error indicates that FactoryLink is receiving messages over thenetwork more quickly than the driver can process them. Reduce the number of messagesdirected toward FactoryLink or reduce the number of tags that are configured as unsolicitedreads.

Unsolicited message too long

The message instruction from the PLC required more than one packet to transmit. Data may belost in transfer. Split MSG instruction into two smaller instructions.

Unsolicited odd byte address encountered

The PLC-2 Unprotected Write will only generate messages with even byte counts; therefore, ifthis error occurs, the operator must verify that the PLC is properly configured to send messagesto FactoryLink.

Axisware LLC [email protected] www.axisware.com

Page 45: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 37

3.7 Appendix G: PLC Status Codes

The following status and extended status codes may be returned during the driver's operation:

EXTSTS STS DESCRIPTION 0 - success, no error1 - station cannot buffer command2 - destination node (PLC) not found on DH+3 - duplicate token holder detected4 - local port is disconnected5 - application layer timed out waiting for a response6 - duplicate node detected7 - station off-line8 - hardware fault16 - illegal command or format32 - host has a problem and will not communicate48 - remote node host is missing, disconnected, or shut down64 - host could not complete function due to hardware problem80 - addressing problem or memory protect rungs96 - function disallowed due to command protection selection112 - processor is in program mode128 - compatibility mode file is missing or communication zone problem144 - remote node cannot buffer command160 - not used176 - remote node problem due to download192 - cannot execute command due to active IPBs208 - not used224 - not used 240 0 not used240 1 a field has an illegal value240 2 less levels specified in address than minimum for any address240 3 more levels specified in address than system supports240 4 symbol not found240 5 symbol is of improper format240 6 address does not point to something usable240 7 file is of wrong size240 8 cannot complete request, situation has changed since the start of

the command240 9 data or file is too large240 10 transaction size plus word size is too large240 11 access denied, improper privilege240 12 condition cannot be generated, resource is not available (upload active)240 13 condition already exists, resource is already available240 14 command cannot be executed240 15 histogram overflow240 16 no access240 17 illegal data type240 18 invalid parameter or invalid data

Axisware LLC [email protected] www.axisware.com

Page 46: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 38

240 19 address reference exists to deleted data table240 20 command execution failure for unknown reason240 21 data conversion error240 22 scanner not able to communicate with 1771 rack adapter240 23 adapter cannot communicate with module240 24 1771 module response was not valid240 25 duplicated label240 26 file is open; another node owns it240 27 another node is the program owner

Axisware LLC [email protected] www.axisware.com

Page 47: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 39

3.8 Appendix H: Data Types and Conversions

The driver supports the following FactoryLink tag types:

DIGITALANALOGLONG ANALOGFLOATING POINTMESSAGE

The driver also supports the following PLC data types:

BIN (single data bit)INT2 (16 bit signed integer)INT4 (32 bit signed integer)BCD4 (16 bit, 4 digit BCD)FLT4 (32 bit floating point - single precision)FLT8 (64 bit floating point - double precision)P3FLT (32 bit PLC-3 floating point - single precision)ASC (ASCII strings)

Note P3FLT is valid only with A-B PLC-3s. The floating point format used by PLC-3s is different

from the format used in other types of A-B PLCs. The native floating point format for othertypes of A-B PLCs is specified by using FLT4.

Note: FLT8 is not a native A-B PLC data type. It is present in this driver for compatibility with

USData's FactoryLink Allen-Bradley Asynchronous Driver. This data type is designed to beused to pass FactoryLink Floating Point Tags between FactoryLink stations using the PLC asan intermediary device.

Valid PLC data types for each of the FactoryLink tag types:

DIGITAL ANALOG LONG ANALOG FLOATING POINT MESSAGEBIN BIN BIN BIN BIN

INT2 INT2 INT2 ASCINT4 INT4 INT4BCD4 BCD4 BCD4FLT4 FLT4 FLT4FLT8 FLT8 FLT8

P3FLT P3FLT P3FLT

The following descriptions are from the viewpoint of “read”. A similar transfer occurs on writes. DIGITAL

BINDIGITAL tags may only be converted to and from the BIN data type. If the requested binary PLC datatype is on, the DIGITAL tag will be set to one. If the binary element is off, the DIGITAL tag will beset to zero.

Axisware LLC [email protected] www.axisware.com

Page 48: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 40

ANALOG

INT2 or BINThe ANALOG tag is a 16 bit signed integer; therefore, no conversion is needed.

INT4The lowest 16 bits of the INT4 data type correspond directly with the 16 bits comprising the ANALOGtag.

BCD4After being read from the PLC, the BCD4 value is converted into a 16 bit integer. The value is thentransferred into the ANALOG tag.

FLT4The whole number portion of the floating point number is transferred to the ANALOG tag. Thisconversion is accurate only if the whole number value is between -32767 and +32767. Whenconverting back to a FLT4, the fractional portion of zero is assumed.

FLT8The whole number portion of the floating point number is transferred to the ANALOG tag. Thisconversion is accurate only if the whole number value is between -32767 and +32767. Whenconverting back to a FLT8, the fractional portion of zero is assumed.

P3FLTThe whole number portion of the floating point number is transferred to the ANALOG tag. Thisconversion is accurate only if the whole number value is between -32768 and +32767. Whenconverting back to a P3FLT, the fractional portion of zero is assumed.

LONG ANALOG

INT2The LONG ANALOG is a 32 bit signed integer; therefore, the 16 bits of the INT2 data type correspondto the lowest 16 bits of the LONG ANALOG tag.

INT4 or BINNo conversion necessary; all 32 bits transfer directly.

BCD4After being read from the PLC, the BCD4 value is converted into a 16 bit integer. The value is thenhandled as the INT2 data type above.

FLT4The whole number portion of the floating point number is transferred to the LONG ANALOG tag.This conversion is accurate only if the whole number value is between -2,147,483,648 and+2,147,483,647. When converting back to a FLT4, the fractional portion of zero is assumed.

FLT8

Axisware LLC [email protected] www.axisware.com

Page 49: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 41

The whole number portion of the floating point number is transferred to the LONG ANALOG tag.This conversion is accurate only if the whole number value is between -2,147,483,648 and+2,147,483,647. When converting back to a FLT8, the fractional portion of zero is assumed.

P3FLTThe whole number portion of the floating point number is transferred to the LONG ANALOG tag.This conversion is accurate only if the whole number value is between -2,147,483,648 and+2,147,483,647. When converting back to a P3FLT, the fractional portion of zero is assumed.

FLOATING POINT

INT2The INT2 value is converted into a standard IEEE 64 bit floating point value and then transferreddirectly into the FLOATING POINT tag. The fractional portion of the number is assumed to be zero.

INT4The INT4 value is converted into a standard IEEE 64 bit floating point value and then transferreddirectly into the FLOATING POINT tag. The fractional portion of the number is assumed to be zero.

BCD4After being read from the PLC, the BCD4 value is converted into a 16 bit integer. The value is thenhandled as the INT2 data type above.

FLT4The FLT4 value is converted from a standard IEEE 32 floating point number into a standard IEEE 64bit floating point number. This value is then transferred directly into the FLOATING POINT tag.

FLT8 or BINThe data is transferred directly; no conversion is necessary.

P3FLTThe PLC-3 floating point value is converted to a IEEE 32 floating point number, and then convertedinto a standard IEEE 64 bit floating point number. This value is then transferred directly into theFLOATING POINT tag.

MESSAGE

BINAll data is read directly into the message tag from the specified word address. No conversion of anykind is employed.

ASCWhen reading ASCII strings from the PLC, a byte inversion must be done for the string to be properlydisplayed in FactoryLink. The ASC data type automatically does the needed conversion.

Axisware LLC [email protected] www.axisware.com

Page 50: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 42

3.9 Appendix I: PLC-2 Addressing

The addressing scheme for the PLC-2 follows exactly the standards established by the A-B programmingsoftware. The standard format is as follows:

word number[/bit] [,length]

where

word number = Word number in OCTAL.Must be included.

bit = Bit number specified in OCTAL.

If omitted the bit number is assumed to be zero (0).

length = Number of words for string specified in DECIMAL.Must be used with Message tags only.

Examples:

Address: Description: 10/17 Word 10 (octal), bit 17 (octal)2/0 Word 2, bit 02 As above16,22 Word 16 (octal), 22 (decimal) words requested

Axisware LLC [email protected] www.axisware.com

Page 51: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 43

3.10 Appendix J: PLC-3 Logical Addressing

3.10.1 I/O Data Tables (PLC-3) The addressing scheme for inputs and outputs is different from that used for other PLC-3 file types. Thedifference is that the element number is specified in octal. The addressing used by the Driver is detailed below. The standard format is as follows:

filetype[filenumber]:[elementnumber][/bit] where

filetype = Either I for input or O for output

filenumber = File number in DECIMAL (optional)If the file number is omitted, a zero (0) is assumed.Valid range for file number is 0 - 999

elementnumber= Element number in OCTAL (optional)

If the element number is omitted, a zero (0) is assumed.The valid range for word number is 0 - 7777.

bit = Bit number in OCTAL (optional) specified after slash (slash must be

included if bit number is specified)If the bit number is omitted, a zero (0) is assumed.

Note: The filenumber and elementnumber may be separated by either a colon(:) or a semicolon(;).

I - Inputs The input image file uses no mnemonics.

Examples:

Address: Description: I:7/1 File 0, element 7, bit 1I20:30/7 File 20, element 30 (octal), bit 7I/17 File 0, element 0, bit 17 (octal)I:32/0 File 0, element 32 (octal), bit 0

O - Outputs The output image file uses no mnemonics.

Examples:

Address: Description: O:7/1 File 0, element 7, bit 1O20:30/7 File 20, element 30 (octal), bit 7O/17 File 0, element 0, bit 17 (octal)

Axisware LLC [email protected] www.axisware.com

Page 52: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 44

O:32/0 File 0, element 32 (octal), bit 0

3.10.2 All Other Data Tables (PLC-3) The addressing scheme for the remaining tables is similar to inputs and outputs. The addressing used by theDriver is detailed below. The standard format is as follows:

filetype[filenumber]:[element][.subelement] [/bit] [,length]

where

filetype = One of the following (required)A, B, C, D, F, H, N, S, or T.

filenumber = File number in DECIMAL (optional)

If the file number is omitted, a zero (0) is assumed.Valid range for file number is 0 - 999, except for C and T files where 0is the only valid file number.

element = Element number in DECIMAL (optional)

If element is not specified, a zero (0) is assumed.Valid range for element is 0 - 9999.

(Of the following you may use one or none:)

subelement = Subelement number specified in DECIMAL or mnemonic (optional).Subelements are only valid for the file types where they arespecifically mentioned below.

bit = Bit number in OCTAL (optional) specified after slash (slash must be

included if bit number is specified).If the bit number is omitted, a zero (0) is assumed. Some file types, asdescribed below, permit the use of bit mnemonics.

length = Number of words to be read into message tag.

This is always preceded by a comma. Note: The filenumber and element may be separated by either a colon(:) or a semicolon(;).

A - ASCII The ASCII file uses no subelements or mnemonics. Please note that no default file numberexists for an ASCII file.

Examples:

Address: Description: A10:10 File 10, word 10, bit 0

Axisware LLC [email protected] www.axisware.com

Page 53: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 45

A10:10,20 File 10, word 10, length 20 (40 bytes)A20:30/14 File 20, word 30, bit 14 (octal)

B - Binary The binary file uses no subelements or mnemonics.

Examples:

Address: Description: B/17 File 0, word 0, bit 17 (octal)B0/17 As aboveB13:1/2 File 13, word 1, bit 2

C - Counter The counter file permits both subelement mnemonics and bit mnemonics.

Bits:

Number: Mnemonic: Description: 17 CU Count up enable16 CD Count down enable15 DN Counter done14 OV Counter overflow13 UF Counter underflow

Subelements:

Number: Mnemonic: Description: 1 PRE Preset Value2 ACC Accumulated Value

Examples:

Address: Description: C:1.PRE Counter 1, preset valueC2.ACC Counter 2, accumulated valueC:5.DN Counter 5, done bitC:6/13 Counter 6, overflow bit

D- Decimal

The decimal file uses no subelements or mnemonics. This section is comprised of 16 bitBCD words. Please note that no default file number exists for a decimal file.

Examples:

Address: Description: D0:10 File 0, element 10D8:11 File 8, element 11

F - Floating Point The floating point file uses no subelements or mnemonics.

Examples:

Axisware LLC [email protected] www.axisware.com

Page 54: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 46

Address: Description: F:10 File 0, element 10F8:10 As above

H - High-Order Integer (Long) The High-Order integer or long file uses no subelements or mnemonics. Elements are 32 bitsigned integers

Examples:

Address: Description: H:10 File 0, element 10, bit 0H7:10 File 7, element 10, bit 0H20:30/14 File 20, element 30, bit 14 (octal)

N - Integer The integer file uses no subelements or mnemonics.

Examples:

Address: Description: N:10 File 0, word 10, bit 0N7:10 File 7, word 10, bit 0N20:30/14 File 20, word 30, bit 14 (octal)

S - Status

The status file uses no subelements or mnemonics.

Examples:Address: Description: S:10 File 0, word 10, bit 0S2:10 File 2, word 10, bit 0

T - Timer The timer file permits both subelement mnemonics and bit mnemonics.

Bits:

Number: Mnemonic: Description: 17 TE Timer enabled16 TT Timer timing15 TD Timer done

Subelements:

Number: Mnemonic: Description: 1 PRE Preset Value2 ACC Accumulated Value

Examples:

Address: Description: T:1.PRE Timer 1, preset valueT0:2.ACC Timer 2, accumulated value

Axisware LLC [email protected] www.axisware.com

Page 55: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 47

T5.TD Timer 5, timer done bitT6/17 Timer 6, enabled bit

Axisware LLC [email protected] www.axisware.com

Page 56: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 48

3.11 Appendix K: PLC-5 Logical Addressing

3.11.1 I/O Data Tables (PLC-5) The addressing scheme for inputs and outputs is different from that used for other PLC-5 data types. Theaddressing used by the Driver is detailed below. The standard format is as follows:

filetype:[wordnumber][/bit] where

filetype = Either I for input or O for output

wordnumber = Word number in OCTAL (optional)If the word number is omitted, a zero (0) is assumed.The valid range for word number is 0 - 37.

bit = Bit number in OCTAL (optional) specified after slash (slash must be

included if bit number is specified)If the bit number is omitted, a zero (0) is assumed.

Note: The filetype and wordnumber may be separated by either a colon(:) or a semicolon(;).

I - Inputs The input image file uses no mnemonics.

Examples:

Address: Description: I:7/1 Element 7, bit 1I:30/7 Element 30 (octal), bit 7I/17 Element 0, bit 17 (octal)I:32/0 Element 32 (octal), bit 0

O - Outputs

The output image file uses no mnemonics.

Examples:Address: Description: O:7/1 Element 7, bit 1O:30/7 Element 30 (octal), bit 7O/17 Element 0, bit 17 (octal)O:32/0 Element 32 (octal), bit 0

Axisware LLC [email protected] www.axisware.com

Page 57: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 49

3.11.2 All Other Data Tables (PLC-5) The addressing scheme for the remaining tables is similar to inputs and outputs; however, there are enoughdifferences to cover them separately. The addressing used by the Driver is detailed below. The standard format is as follows:

filetype[filenumber]:[element][.subelement] [/bit] [,length]

where

filetype = One of the following (required)A, B, BT, C, D, F, MG, N, PD, R, S, ST, or T

filenumber = File number in DECIMAL (optional)

If the file number is omitted, the default for that file type is assumed(i.e. T: = T4:).

element = Element number in DECIMAL (optional)

Valid ranges are as configured in PLC. If element is not specified, azero (0) is assumed.

(Of the following you may use one or none:)

subelement = Subelement number specified in DECIMAL or mnemonic (optional).Subelements are only valid for the file types where they arespecifically mentioned below.

bit = Bit number in DECIMAL (optional) specified after slash (slash must

be included if bit number is specified).If the bit number is omitted, a zero (0) is assumed. Some file types, asdescribed below, permit the use of bit mnemonics.

length = Number of words to be read into message tag.

This is always preceded by a comma. Note: The filenumber and element may be separated by either a colon(:) or a semicolon(;).

Axisware LLC [email protected] www.axisware.com

Page 58: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 50

A - ASCII The ASCII file uses no subelements or mnemonics. Please note that no default file numberexists for an ASCII file.

Examples:

Address: Description: A10:10 File 10, word 10, bit 0A10:10,20 File 10, word 10, length 20 (40 bytes)A20:30/14 File 20, word 30, bit 14

B - Binary The binary file uses no subelements or mnemonics.

Examples:

Address: Description: B/17 File 3, word 1, bit 1B3/17 As aboveB13:1/2 File 13, word 1, bit 2

BT - Block Transfer The block transfer file permits both subelement mnemonics and bit mnemonics. Please notethat no default file number exists for this file type and that this file type is only valid for “new”generation PLC-5s (5/30, 5/40, 5/60, 5/80).

Bits:

Number: Mnemonic: Description: 15 EN Enabled14 ST Start13 DN Done12 ER Error11 CO Continue10 EW Enable wait9 NR No response8 TO Time out7 RW Read/Write

Subelements:

Number: Mnemonic: Description: 1 RLEN Receive length. Requested

word count.2 DLEN Done length. Transmitted

word count.3 FILE File-type number.4 ELEM Element. Word number.5 RGS Rack/Group/Slot.

Examples:

Address: Description: BT12:1.RLEN File 6, control 1, receive length valueBT20:2.FILE File 20, control 2, File type value

Axisware LLC [email protected] www.axisware.com

Page 59: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 51

BT15:5/ST File 6, control 5, start bit

C - Counter The counter file permits both subelement mnemonics and bit mnemonics.

Bits:

Number: Mnemonic: Description: 15 CU Count up14 CD Count down13 DN Done12 OV Overflow11 UN Underflow

Subelements:

Number: Mnemonic: Description: 1 PRE Preset Value2 ACC Accumulated Value

Examples:

Address: Description: C:1.PRE File 5, counter 1, preset valueC20:2.ACC File 20, counter 2, accumulated valueC5:5.DN File 5, counter 5, done bitC5:6/12 File 5, counter 6, overflow bit

D- Decimal The decimal file uses no subelements or mnemonics. This section is comprised of 16 bitBCD words. Please note that no default file number exists for a decimal file.

Examples:

Address: Description: D0:10 File 0, element 10D8:11 File 8, element 11

F - Floating Point The floating point file uses no subelements or mnemonics.

Examples:

Address: Description: F:10 File 8, element 10, bit 0F8:10 As above

MG - Message The message file permits both subelement mnemonics and bit mnemonics. Please note that nodefault file number exists for this file type and that this file type is only valid for “new”generation PLC-5s (5/30, 5/40, 5/60, 5/80).

Bits:

Axisware LLC [email protected] www.axisware.com

Page 60: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 52

Number: Mnemonic: Description: 9 NR No response8 TO Time out7 EN Enable6 ST Start transmission5 DN Done4 ER Error3 CO Continuous2 EW Enable waiting

Subelements:

Number: Mnemonic: Description: 1 ERR Error code2 RLEN Request length.3 DLEN Done length

Examples:

Address: Description: MG11:1.ERR File 11, message 1, error codeMG21:2.3 File 21, message 2, done lengthMG15:5/CO File 15, message 5, continuous bit

N - Integer The integer file uses no subelements or mnemonics.

Examples:

Address: Description: N:10 File 7, word 10, bit 0N7:10 As aboveN20:30/14 File 20, word 30, bit 14

PD - PID Loop The PID file permits both subelement mnemonics and bit mnemonics. Please note that nodefault file number exists for this file type and that this file type is only valid for “new”generation PLC-5s (5/30, 5/40, 5/60, 5/80).

Bits:

Number: Mnemonic: Description: 28 INI PID initialized27 SPOR Set point out of range26 OLL Output alarm, Low limit25 OLH Output alarm, High limit24 EWD Error within dead band19 DVNA Deviation High Alarm18 DVPA Deviation Low Alarm17 PVLA Process Variable Low Alarm16 PVHA PV High Alarm15 EN Enable9 CT Cascaded Type8 CL Cascaded Loop

Axisware LLC [email protected] www.axisware.com

Page 61: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 53

7 PVT Process Variable Tracking6 DO Derivative Of4 SWM Software A/M Mode2 CA Control Action1 MO Station Mode (auto/manual)0 PE PID Equation Type

Subelements:

Number: Mnemonic: Description: 2 SP Setpoint4 KP Proportional gain6 KI Initial gain8 KD Derivative gain10 BIAS Output bias %12 MAXS Maximum scaled value14 MINS Minimum scaled value16 DB Dead band18 SO Set output %20 MAXO Maximum Output limit22 MINO Minimum Output limit24 UPD Update time26 PV Process Variable28 ERR Error: Scaled30 OUT Output32 PVH PV alarm High34 PVL PV alarm Low36 DVP Deviation Alarm +38 DVN Deviation Alarm -40 PVDB PV alarm dead band42 DVDB Deviation alarm dead band44 MAXI Maximum Input46 MINI Minimum Input48 TIE Tieback %

Examples:

Address: Description: PD11:1.SP File 11, PID 1, setpointPD16:2.DB File 16, PID 2, dead bandPD15:5/PE File 15, PID 5, equation bitPD70:1/OLL File 70, PID 1, lower output alarm

R - Control The control file permits both subelement mnemonics and bit mnemonics.

Bits:

Number: Mnemonic: Description: 15 EN Enabled14 EU Enable unload13 DN Done12 EM Empty11 ER Error

Axisware LLC [email protected] www.axisware.com

Page 62: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 54

10 UL Unload9 IN Inhibit Comparison8 FD Found

Subelements:

Number: Mnemonic: Description: 1 LEN Length2 POS Position

Examples:

Address: Description: R:1.LEN File 6, control 1, length valueR20:2.POS File 20, control 2, position valueR6:5.UL File 6, control 5, unload bitR6:6/14 File 6, control 6, enable unload bit

S - Status The status file uses no subelements or mnemonics.

Examples:

Address: Description: S:10 File 2, word 10, bit 0S2:10 As above

ST - String The string file permits subelement mnemonics. Please note that no default file number exists forthis file type and that this file type is only valid for “new” generation PLC-5s (5/30, 5/40, 5/60,5/80).

Subelements:

Number: Mnemonic: Description: 0 LEN Length. Specifies an even

number of bytes.1 DATA Actual string data

Examples:

Address: Description: ST22:1.LEN File 22, string 1, length valueST22:2.1,5 File 22, string 2, string data, length 5

T - Timer The timer file permits both subelement mnemonics and bit mnemonics.

Bits:

Number: Mnemonic: Description: 15 EN Enabled14 TT Timing

Axisware LLC [email protected] www.axisware.com

Page 63: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 55

13 DN Done

Subelements:Number: Mnemonic: Description: 1 PRE Preset Value2 ACC Accumulated Value

Examples:

Address: Description: T:1.PRE File 4, timer 1, preset valueT20:2.ACC File 20, timer 2, accumulated valueT4:5.DN File 4, timer 5, timer done bitT4:6/15 File 4, timer 6, enabled bit

Axisware LLC [email protected] www.axisware.com

Page 64: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 56

3.12 Appendix L: PLC-5/250 Logical Addressing

3.12.1 I/O Data Tables (PLC-5/250) The addressing scheme for inputs, outputs, and internal storage is different from that used for other PLC-5/250data tables. The addressing used by the Driver is detailed below. The standard format is as follows:

[RS]filetype:[wordnumber][/bit] where

RS = Always 1.Please Note: the remote scanner number must always be set to a 1to access I, O, or IS data on any remote scanner.

filetype = Either I for input, O for output, or IS for internal

storage

wordnumber = Word number in OCTAL (optional).If the word number is omitted, a zero (0) is assumed.The valid range for word number is 0 - 377 (0 - 777 for IS).

bit = Bit number in OCTAL (optional) specified after slash (slash must be

included if bit number is specified).If the bit number is omitted, a zero (0) is assumed.

Note: The filetype and wordnumber may be separated by either a colon(:) or a semicolon(;).

I - Inputs The input image file uses no mnemonics. Please note the octal word addresses that are valid foreach remote scanner module.

Address Ranges:

RS Module: Addresses (octal): 1 0 - 772 100 - 1773 200 - 2774 300 - 377

Examples:

Address: Description: 1I:7/1 RS 1, element 7, bit 11I:110/7 RS 2, element 110 (octal), bit 71I/17 RS 1, element 0, bit 17 (octal)1I:320/0 RS 4, element 320 (octal), bit 0

Axisware LLC [email protected] www.axisware.com

Page 65: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 57

O - Outputs The output image file uses no mnemonics. Please note the octal word addresses that are validfor each remote scanner module.

Address Ranges:

RS Module: Addresses (octal): 1 0 - 772 100 - 1773 200 - 2774 300 - 377

Examples:

Address: Description: 1O:7/1 RS 1, element 7, bit 11O:110/7 RS 2, element 110 (octal), bit 71O/17 RS 1, element 0, bit 17 (octal)1O:320/0 RS 4, element 320 (octal), bit 0

IS - Internal Storage The internal storage file uses no mnemonics. Please note the octal word addresses that are validfor each remote scanner module.

Address Ranges:

RS Module: Addresses (octal): 1 0 - 1772 200 - 3773 400 - 5774 600 - 777

Examples:

Address: Description: 1IS:7/1 RS 1, element 7, bit 11IS:110/7 RS 1, element 110 (octal), bit 71IS/17 RS 1, element 0, bit 17 (octal)1IS:620/0 RS 4, element 620 (octal), bit 0

3.12.2 All Other Data Tables (PLC-5/250) The addressing scheme for the remaining tables is similar to inputs and outputs; however, there are enoughdifferences to cover them separately. The addressing used by the Driver is detailed below. The standard format is as follows:

[module]filetype[filenumber]:[element][.subelement] [/bit] [,length]

Axisware LLC [email protected] www.axisware.com

Page 66: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 58

where

module = Processor module where data is to be accessed.Please refer to each data type for valid module numbers. (RM = 0, RSand LP = 1 - 4.) If not specified, it defaults to 0.

filetype = One of the following (required)

B, BTD, C, F, L, MSG, N, PD, R, ST, or T.

filenumber = File number in DECIMAL (optional)If the file number is omitted, a default of zero is assumed.

element = Element number in DECIMAL (optional)

Valid ranges are as configured in PLC. If element is not specified, azero (0) is assumed.

(Of the following you may use one or none:)

subelement = Subelement number specified in DECIMAL or mnemonic (optional).Subelements are only valid for the file types where they arespecifically mentioned below.

bit = Bit number in DECIMAL (optional) specified after slash (slash must

be included if bit number is specified).If the bit number is omitted, a zero (0) is assumed. Some file types asdescribed below permit the use of bit mnemonics.

length = Number of words to be read into message tag.

This is always preceded by a comma. Note: The filenumber and element may be separated by either a colon(:) or a semicolon(;).

B - Binary The binary file uses no subelements or mnemonics. Valid module numbers are 0 - 4.

Examples:

Address: Description: 0B/17 RM (resource manager), file 0, word 1, bit 11B3/17 LP 1 (logic processor), file 3, word 1, bit 14B13:1/2 LP 4, file 13, word 1, bit 2

BTD - Block Transfer Data The block transfer data file uses no subelements or mnemonics. Valid module numbers are 1 -4. These module numbers represent remote scanner modules.

Examples:

Address: Description: 1BTD1:1 RS 1, file 1, element 11BTD8;2 RS 1, file 8, element 2

Axisware LLC [email protected] www.axisware.com

Page 67: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 59

4BTD2:5/2 RS 4, file 2, element 5, bit 2

C - Counter The counter file permits both member mnemonics and bit mnemonics. Valid module numbersare 0 - 4.

Bits:

Number: Mnemonic: Description: 15 CU Count up14 CD Count down13 DN Done12 OV Overflow11 UN Underflow

Subelements:

Number: Mnemonic: Description: 1 PRE Preset Value2 ACC Accumulated Value

Examples:

Address: Description: 1C:1.PRE LP 1, file 0, counter 1, preset value0C20:2.ACC RM, file 20, counter 2, accumulated valueC5:5/DN RM (default), file 5, counter 5, done bit

F - Floating Point The floating point file permits no subelements or mnemonics.

Examples:

Address: Description: 4F:10 LP 4, file 0, element 10, bit 00F8:10 RM, file 8, element 10, bit 01F9:22/2 LP 1, file 9, element 22, bit 2

L - Long Integer The long integer file (32 bit integers) uses no subelements or mnemonics. Valid modulenumbers are 0 - 4.

Examples:

Address: Description: 0L:10 RM, file 0, word 10, bit 0L7:12/1 RM, file 7, word 12, bit 14L20:30/14 LP 4, file 20, word 30, bit 14

MSG - Message

The message file permits both subelement mnemonics and bit mnemonics. The only validmodule number is 0.

Axisware LLC [email protected] www.axisware.com

Page 68: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 60

Bits:Number: Mnemonic: Description: 7 EN Enable6 ST Start transmission5 AD Async done4 AE Async error3 CO Continuous2 EW Enabled waiting1 DN Done0 ER Error

Subelements:

Number: Mnemonic: Description: 1 ERR Error code2 RLEN Requested length.3 DLEN Done length

Examples:

Address: Description: 0MSG11:1.ERR RM, file 11, message 1, error codeMSG16:7/EN RM, file 16, message 7, enable bit

N - Integer The integer file uses no subelements or mnemonics. Valid module numbers are 0 - 4.

Examples:

Address: Description: 0N:10 RM, file 0, word 10, bit 0N7:12/1 RM, file 7, word 12, bit 14N20:30/14 LP 4, file 20, word 30, bit 14

PD - PID Loop The PID file permits subelement mnemonics and bit mnemonics. Please refer to the PLC-5 PIDfile for a list of all valid mnemonics. The valid module numbers are 0 - 4.

Examples:

Address: Description: 0PD11:1.SP RM, file 11, PID 1, setpoint1PD16:2.DB LP 1, file 16, PID 2, dead band3PD15:5/PE LP 3, file 15, PID 5, equation bit3PD70:1/EN LP 3, file 70, PID 1, enable

R - Control The control file permits both subelement mnemonics and bit mnemonics. Valid modulenumbers are 0 - 4.

Bits:

Number: Mnemonic: Description: 15 EN Enabled

Axisware LLC [email protected] www.axisware.com

Page 69: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 61

14 EU Enable unload13 DN Done12 EM Empty11 ER Error10 UL Unload9 IN Inhibit Comparison8 FD Found

Subelements:

Number: Mnemonic: Description: 1 LEN Length2 POS Position

Examples:

Address: Description: 0R:1.LEN RM, file 0, control 1, length value1R20:2.POS LP 1, file 20, control 2, position value1R6:5/UL LP 1, file 6, control 5, unload bit2R6:6/14 LP 2, file 6, control 6, error bit

ST - String The string file permits subelement mnemonics. The valid module numbers are 0 - 4.

Subelements:

Number: Mnemonic: Description: 0 LEN Length. Specifies an even

number of bytes.1 DATA Actual string data

Examples:

Address: Description: 0ST22:1.LEN RM, file 22, string 1, length value1ST22:2.DATA,5 LP 1, file 22, string 2, string data,

length 5

T - Timer The timer file permits both subelement mnemonics and bit mnemonics. Valid module numbersare 0 - 4. Please note that the preset and accumulator are both 32 bit values; therefore, they mustbe read with data type INT4.

Bits:

Number: Mnemonic: Description: 31 EN Enabled30 TT Timing29 DN Done

Subelements:

Number: Mnemonic: Description: 2 PRE Preset value4 ACC Accumulated value

Axisware LLC [email protected] www.axisware.com

Page 70: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 62

Examples:

Address: Description: 0T:1.PRE RM, file 0, timer 1, preset value1T20:2.ACC LP 1, file 20, timer 2, accumulated value2T4;5/DN LP 2, file 4, timer 5, done bit4T4:6/31 LP 4, file 4, timer 6, enabled bit

Axisware LLC [email protected] www.axisware.com

Page 71: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 63

3.13 Appendix M: SLC-5/04 Addressing

3.13.1 I/O Data Tables (SLC-5/04) The addressing used by the Driver is detailed below. The standard format is as follows:

filetype:I/Oslotnumber[.wordnumber][/bit] where

filetype = Either I for input or O for output

I/Oslotnumber = I/O Slot Number in DECIMAL (0-30)

wordnumber = Word number in DECIMAL (optional)If the word number is omitted, a zero (0) is assumed.The valid range for the word number is 0 - 1.Only required for bits above bit number 15 with 24 and 32 bit I/ODevices.To access bits above 15 specify wordnumber of 1, and subtract 16from the desired bit number

bit = Bit number in DECIMAL (optional) specified after slash (slash must

be included if bit number is specified).The valid range is: 0 - 7 (8 bit I/O)0 - 15 (16, 24, 32 bit I/0)If the bit number is omitted, a zero (0) is assumed.

Note: The filetype and I/Oslotnumber may be separated by either a colon(:) or a semicolon(;).

Axisware LLC [email protected] www.axisware.com

Page 72: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 64

3.13.2 All Other Data Tables (SLC-5/04) The addressing used by the Driver is detailed below. The standard format is as follows:

filetype[filenumber]:[element][.subelement] [/bit] [,length]

where

filetype = One of the following (required)A, B, C, F, N, R, or T.

filenumber = File number in DECIMAL (optional)

If the file number is omitted, the default for that file type is assumed(i.e. T: = T4:).

element = Element number in DECIMAL (optional)

Valid ranges are as configured in PLC. If element is not specified, azero (0) is assumed.

(Of the following you may use one or none:)

subelement = Subelement number specified in DECIMAL or mnemonic (optional).Subelements are only valid for the file types where they arespecifically mentioned below.

bit = Bit number in DECIMAL (optional) specified after slash (slash must

be included if bit number is specified).Valid bit numbers are 0 - 15.Some file types, as described below, permit the use of bit mnemonics.If the bit number is omitted, a zero (0) is assumed.

length = Number of words to be read into message tag.

This is always preceded by a comma.

Note: The filenumber and element may be separated by either a colon(:) or a semicolon(;).

Axisware LLC [email protected] www.axisware.com

Page 73: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 65

A - ASCII The ASCII file uses no subelements or mnemonics. Please note that no default file numberexists for an ASCII file.

Examples:

Address: Description: A10:10 File 10, word 10, bit 0A10:10,20 File 10, word 10, length 20 (40 bytes)A20:30/14 File 20, word 30, bit 14

B - Bit (Binary) Each binary element consists of one word. You can address a binary element in its entirety oryou can address any particular data bit of an element individually.

Examples:

Address: Description: B/17 File 3, word 1, bit 1B3/17 As aboveB13:1/2 File 13, word 1, bit 2

C - Counters Each counters structure consists of three words. The counters file permits both subelementmnemonics and bit mnemonics.

Bits:

Number: Mnemonic: Description: 15 CU Count up14 CD Count down13 DN Done12 OV Overflow11 UN Underflow

Subelements:

Number: Mnemonic: Description: 1 PRE Preset Value2 ACC Accumulated Value

Examples:

Address: Description: C:1.PRE File 5, counter 1, preset valueC20:2.ACC File 20, counter 2, accumulated valueC5:5/DN File 5, counter 5, done bitC5:6/12 File 5, counter 6, overflow bit

Axisware LLC [email protected] www.axisware.com

Page 74: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 66

F - Floating Point Each floating point element consists of two words. The floating point file uses no subelementsor no mnemonics.

Examples:

Address: Description: F:10 File 8, element 10, bit 0F8:10 As above

N - Integer The integer file uses no subelements or mnemonics.

Examples:

Address: Description: N:10 File 7, word 10, bit 0N7:10 As aboveN20:30/14 File 20, word 30, bit 14

R - Control

Each control block consists of three words. The control file permits both subelementmnemonics and bit mnemonics.

Bits:

Number: Mnemonic: Description: 15 EN Enabled14 EU Unloading Enabled13 DN Done12 EM Empty11 ER Error10 UL Unload9 IN Inhibit Comparisons8 FD Found

Subelements:

Number: Mnemonic: Description: 1 LEN Length2 POS Position

Examples:Address: Description: R:1.LEN File 6, control 1, length valueR20:2.POS File 20, control 2, position valueR6:5/UL File 6, control 5, unload bitR6:6/14 File 6, control 6, enable unload bit

Axisware LLC [email protected] www.axisware.com

Page 75: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 67

T - Timers The timers file accommodates up to 256 timer structures. Each timer structure consists of threewords. You can address a timer structure in its entirety or you can address any particularmember of a structure individually.

Bits:

Number: Mnemonic: Description: 15 EN Enabled14 TT Timer Timing13 DN Done

Subelements:

Number: Mnemonic: Description: 1 PRE Preset Value2 ACC Accumulated Value

Examples:

Address: Description: T:1.PRE File 4, timer 1, preset valueT20:2.ACC File 20, timer 2, accumulated valueT4:5/DN File 4, timer 5, done bitT4:6/15 File 4, timer 6, enabled bit

Axisware LLC [email protected] www.axisware.com

Page 76: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 68

3.14 Appendix N: Unsolicited Reads

3.14.1 PLC-2 Unsolicited Messages The PLC-2 should be programmed to send a PLC-2 Unprotected Write message directed toward FactoryLink.The destination node should be the Data Highway address selected for the FactoryLink computer in the LogicalStation Control Table. The Logical Station used in the Read/Write Information Table which has been configuredfor unsolicited messages should be defined as a PLC-2 in the Logical Station Information Table.

3.14.2 PLC-3 Unsolicited Messages The PLC-3 may be programmed to send either PLC-2 Unprotected Write or PLC-3 Word Range Writemessages directed toward FactoryLink. The destination node should be the Data Highway address selected forthe FactoryLink computer in the Logical Station Control Table. The Logical Station used in the Read/WriteInformation Table which has been configured for unsolicited messages should be defined as a PLC-2 if PLC-2Unprotected Writes are used, or a PLC-3 if PLC-3 Word Range Writes are used. A single Physical Stationmay have multiple Logical Stations defined in one application.

3.14.3 PLC-5 Unsolicited Messages The PLC-5 may be programmed to send either PLC-2 Unprotected Write or PLC-5 Typed Write messagesdirected toward FactoryLink. The destination node should be the Data Highway address selected for theFactoryLink computer in the Logical Station Control Table. The Logical Station used in the Read/WriteInformation Table which has been configured for unsolicited messages should be defined as a PLC-2 if PLC-2Unprotected Writes are used, or a PLC-5 if PLC-5 Typed Writes are used. A single Physical Station mayhave multiple Logical Stations defined in one application.

3.14.4 PLC-5/250 Unsolicited Messages The PLC-5/250 should be programmed to send a PLC-2 Unprotected Write message directed towardFactoryLink. The destination node should be the Data Highway address selected for the FactoryLink computerin the Logical Station Control Table. The Logical Station used in the Read/Write Information Table which hasbeen configured for unsolicited messages should be defined as a PLC-2 in the Logical Station Information Table.All other communication functions for the PLC-5/250 require that the Logical Station be defined as a PLC-5/250; therefore, as can be seen, at least two Logical Stations for each PLC-5/250 must be defined if unsolicitedmessage support is desired.

3.14.5 SLC-5/04 Unsolicited Messages

Axisware LLC [email protected] www.axisware.com

Page 77: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 69

The SLC-5/04 should be programmed to send a PLC-5 Typed Write message directed toward FactoryLink.The destination node should be the Data Highway address selected for the FactoryLink computer in the LogicalStation Control Table. The Logical Station used in the Read/Write Information Table which has been configuredfor unsolicited messages should be defined as a PLC-5 in the Logical Station Information Table.

Axisware LLC [email protected] www.axisware.com

Page 78: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 70

3.15 Appendix O: Conversion of US Data A-B Serial Driver ConfigurationTables

Several steps are required to convert the FactoryLink A-B serial driver configuration tables to the Axisware A-BDH+ tables. There are four different configuration tables associated with the A-B serial port EDI driver. The Read/WriteControl and Read/Write Information tables use a database format identical to the corresponding tables for the A-B Serial Port EDI driver. This means that several options are available to transfer information from one set oftables to the other. The four relating files may be copied from the command line in the following manner (for A-B Serial to A-B DH+).

copy ab___ovr.cdb sdkt_ovr.cdbcopy ab___ovr.cdx sdkt_ovr.cdxcopy ab___hdr.cdb sdkt_hdr.cdbcopy ab___hdr.cdx sdkt_hdr.cdx

The remaining A-B files (ab__sovr.* and ab__shdr.*) should be deleted. The External Device Interface table should be modified to match the description in this manual. The method works and is very simple; however, the Configuration Manager can potentially lose track of whattags are used in what tables by what tasks. Therefore, a multiplatform save and restore must be performed beforethe application can be used. The Station Information and Station Control tables may not be transferred but must be entered normallyaccording to the manual.

Axisware LLC [email protected] www.axisware.com

Page 79: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 71

3.16 Appendix P: FactoryLink Upgrade Procedures

BEFORE installing the FactoryLink upgrade you MUST make a multiplatform save of yourapplication.

Do these steps before restoring the multiplatform save file of your application: Where $FLINK indicates the FactoryLink directory (example: FLINK=C:\FLOS2): 1. Edit the file $FLINK\AC\TITLES and add the following line:

sdkt.ac EDI Axisware SD/KT Driver

2. Open the file $FLINK\CTGEN\CTLIST and add the following line:

sdkt: sdktshdr sdktsovr sdkt_hdr sdkt_ovr 3. Open the file $FLINK\BIN\FLRUN.CMD and add the following line at the beginning of the file,immediately after the two lines: "@echo off" and "setlocal". (The example below configures a 5136-SD ISAcard to an I/O port address of 250 (hex) and a memory address of D800). $FLINK\edi\sdktos2\sdload $FLINK\edi\sdktos2\[progname] p=250 m=D800

Please refer to Appendix B for further information on the entries that need to be made to the FLRUN.CMD file. Appendix Q: Sample Application

Axisware LLC [email protected] www.axisware.com

Page 80: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 72

3.17 Appendix Q: Sample Application

The SAMPLE directory of the nstall cd-rom includes compressed multiplatform save files of a sampleapplication for this driver. The sample application can be used to test communications, as well as serve as anexample of how to prepare a FactoryLink application to use the driver. The sample application has examples ofblock reads, block writes, exception writes and unsolicited reads from a single PLC. Please refer to the"README.TXT" file in the SAMPLE directory for instructions on how to use this application.

Axisware LLC [email protected] www.axisware.com

Page 81: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 73

3.18 Appendix R: Environment String Parser

The Environment string parser is designed to allow multiple computers running the same FactoryLinkapplication to use different settings in the Logical Station Control Table. This will allow, for example, twoFactoryLink stations to run the same FactoryLink application on a Data Highway with different Data Highwayaddresses.

The parser works by reading the environment string NVLSCnnn (where nnn is the logical port number) andassigning the values in the string to the corresponding values in the Logical Station Control Table.

NOTE : The logical station number must fill all three available digits by padding with 0; e.g., NVLSC002for logical port 2.

If the environment string is not found then the values that were entered in the Logical Station Control table areused.

The format for the string is as follows.

NVLSCnnn=TIMEOUT;CARD MEMORY ADDRESS;DATA HIGHWAY ADDRESS;

Where TIMEOUT is the Number of seconds in tenths permitted by the driver to process a request, CARDMEMORY ADDRESS is Address (in HEX) for memory shared by S-S Technologies card and the FactoryLinkCPU and DATA HIGHWAY ADDRESS is the card's unique data highway address (the OCTAL data highwayaddress for the FactoryLink station)

Any of the values may be set to the value in the Logical Station Control Table by simple entering no value forthat position in the environment string. For example :

set NVLSC001=30;;10;

Where the logical port is 1, the timeout is set to 30 (3 seconds), the card memory address is read from the LogicalStation Control table and the Data Highway address for the card is 10 (OCTAL).

Axisware LLC [email protected] www.axisware.com

Page 82: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 74

4 Glossary

Configuration Tables

Where you establish the communication path and specify elements in the database. These tables worktogether to allow FactoryLink to exchange information from the tag database with the device.

Data Region

Area of device (e.g., PLC) memory to be accessed. Also called "Data Table" or "Reference Table".

External Device Definition Table

Configuration table that tells the application what type of devices are connected to the computer's ports andassigns them a logical port number.

Logical Port

Number specified in the External Device Definition table which represents a particular communication path.

Logical Station

Number entered by the user to represent a particular combination of a logical port and a physical device(PLC). Correlates specific addresses and tags with a physical device (PLC).

Logical Station Control Table

Table used to configure each logical port and its associated stations in the Logical Station Information table.The Logical Station Control table specifies which specific port is connected to the external device beingdefined.

Logical Station Information Table

Table which defines the logical station(s) accessible through a specific logical port defined in the LogicalStation Control table. Each logical station is tied to its physical station address and device type.

Proof of License

An 8 1/2 by 11 certificate that must accompany the software indicated by its unique serial number when thatproduct is sold or transferred to another company or entity.

Read/Write Control Table

Table used to configure each logical port and its associated stations in the Logical Station Information table.Each line in this table refers to one Read/Write Information table.

Read/Write Information Table

Configuration table that links FactoryLink tags to specific addresses in the PLC represented by the LogicalStation.

Axisware LLC [email protected] www.axisware.com

Page 83: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 75

SoftKey

Axisware software protection system where no hardware key (dongle) is required.

Validate

The program run after the software is installed that checks for improper use of the product and enables thesoftware to function past the grace period.

Axisware LLC [email protected] www.axisware.com

Page 84: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 76

5 Supplement for SST 5136-SD-PCI Cards

The SDKT product has been modified to support SST 5136-SD-PCI cards. If you are not using the SST 5136-SD-PCI card please ignore this supplement. These cards are supported using SST’s low-level drivers. Inorder to interface with the SST drivers an additional FactoryLink configuration table has been added for theinformation required.

5.0.1 Installing the SST Card and driversPlease refer to SST documentation and support for information on installing and setting up the SST 5136-SD-PCI card and drivers. We suggest that you verify functionality using supplied SST programs beforeproceeding with the SD-KT product configuration.

Once the card and drivers are installed start the SST program: SD Card Manager. Verify the card isconfigured similar to the screen sample below:

Make note of the SST SD Card Name in the top left corner of the dialog and the Module field: PCI_SDKTand Data Highway Plus in this example.

Axisware LLC [email protected] www.axisware.com

Page 85: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 77

5.0.2 SST PCI Configuration Control Table

The SST PCI Configuration Control Table is a new FactoryLink configuration table added to support theSST 5136-SD-PCI card. If you are not using the SST 5136-SD-PCI-card leave this table blank.Create one entry in this table for each SST 5136-SD-PCI card being used in the application.

5.0.3 Logical Port

This number must match the Logical Port number in the rest of the SDKT FactoryLink applicationfor the specific card referenced in this row.

Valid entries: 0 - 999

5.0.4 Card Name

Name of the SST 5136-SD-PCI card referenced this row. This text field must match exactly the SDCard Name field in the top left corner of the SST SD Card Manager dialog.

Valid entries: Text field

Axisware LLC [email protected] www.axisware.com

Page 86: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 78

5.0.5 SST Module ID

This entry must correspond to the “Module” section of the SST SD Card Manager dialog. This productsupports SST Data Highway Plus modules with baud rate of 56KB, 115 KB, or 230 KB.

Valid entries: DHP_56

DHP_115DHP_230

Axisware LLC [email protected] www.axisware.com

Page 87: Axisware SDKT Manual: FactoryLink driver for Allen-Bradley DH/DH+ via SST 5136-SD

Axisware SDKT Driver for FactoryLink 79

6 Contact information

Axisware LLC

[email protected]://www.axisware.com

3213 Peppertree Pl.Plano, TX 75074, USA

T: 1-(214)-764-1876F: 1-(214)-764-1878

Axisware LLC [email protected] www.axisware.com