Beruflich Dokumente
Kultur Dokumente
for FactoryLink
Contents
1 Overview......................................................................................................1
1.1 Software License.....................................................................................................1
1.2 Introduction.............................................................................................................1
1.3 Historical Note........................................................................................................1
1.4 Card Installation......................................................................................................1
1.5 Software Installation...............................................................................................1
3 Appendices................................................................................................15
3.1 Appendix A: Installation of Card.........................................................................15
3.1.1 Installation for 5136-SD........................................................................15
3.1.2 I/O Port Addresses................................................................................16
3.1.3 Installation for 5136-SD-MCA.............................................................18
3.1.4 Cable Connections................................................................................18
3.2 Appendix B: Software Installation - OS/2...........................................................19
3.2.1 Before Starting Installation - (OS/2 version)........................................19
3.2.2 Driver Installation Instructions (OS/2).................................................20
3.2.3 Modifying CONFIG.SYS File (OS/2)..................................................21
3.2.4 Modifying FLRUN.CMD File (OS/2)..................................................22
3.2.5 Softkey Protection Validation...............................................................23
3.3 Appendix C: (Reserved).......................................................................................24
3.4 Appendix D: Software Installation - Windows 95/NT........................................25
3.4.1 Before Starting Installation (Windows 95/NT version)........................25
3.4.2 Driver Installation Instructions (Windows 95/NT)...............................25
3.4.3 Modifying FLRUN.BAT File (Windows 95/NT).................................27
3.4.4 Softkey Protection Validation...............................................................28
3.5 Appendix E: (Reserved).......................................................................................29
3.6 Appendix F: Driver Status Codes........................................................................30
3.6.1 Application startup errors.....................................................................30
3.6.2 Run-time startup errors.........................................................................33
3.6.3 SoftKey protection errors......................................................................34
3.6.4 Run-time errors.....................................................................................34
3.6.5 Unsolicited message processing errors.................................................35
3.7 Appendix G: PLC Status Codes...........................................................................37
3.8 Appendix H: Data Types and Conversions..........................................................39
3.9 Appendix I: PLC-2 Addressing............................................................................42
3.10 Appendix J: PLC-3 Logical Addressing............................................................43
3.10.1 I/O Data Tables (PLC-3).....................................................................43
3.10.2 All Other Data Tables (PLC-3)...........................................................44
3.11 Appendix K: PLC-5 Logical Addressing...........................................................48
3.11.1 I/O Data Tables (PLC-5).....................................................................48
3.11.2 All Other Data Tables (PLC-5)...........................................................49
3.12 Appendix L: PLC-5/250 Logical Addressing....................................................56
3.12.1 I/O Data Tables (PLC-5/250)..............................................................56
3.12.2 All Other Data Tables (PLC-5/250)....................................................57
3.13 Appendix M: SLC-5/04 Addressing..................................................................63
3.13.1 I/O Data Tables (SLC-5/04)................................................................63
3.13.2 All Other Data Tables (SLC-5/04)......................................................64
3.14 Appendix N: Unsolicited Reads.........................................................................68
3.14.1 PLC-2 Unsolicited Messages..............................................................68
3.14.2 PLC-3 Unsolicited Messages..............................................................68
3.14.3 PLC-5 Unsolicited Messages..............................................................68
3.14.4 PLC-5/250 Unsolicited Messages.......................................................68
3.14.5 SLC-5/04 Unsolicited Messages.........................................................68
3.15 Appendix O: Conversion of US Data A-B Serial Driver Configuration Tables. . .
70
4 Glossary.....................................................................................................74
6 Contact information..................................................................................79
This document is based on information available at the time of its publication. While efforts have been made
to be accurate, the information contained herein does not purport to cover all details or variations in hardware
or software, nor to provide for every possible contingency in connection with installation, operation, or
maintenance. 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 subsequently
made.
Axisware makes no representation or warranty, expressed, implied, or statutory with respect to, and assumes
no responsibility for the accuracy, completeness, sufficiency, or usefulness of the information contained
herein. No warranties of merchantability or fitness for purpose shall apply.
All trademarks are the property of their respectve owners. All trademarks acknowledged.
1 Overview
This product uses a SoftKey protection method. Please consult the SoftKey manual for a discussion of the
procedures to validate the SoftKey for this product.
1.2 Introduction
This manual describes the installation and configuration of the FactoryLink Data Highway/Data Highway Plus
communication driver. The installation of the Sutherland-Schultz 5136-SD or 5136-SD-MCA board, which
emulates an Allen-Bradley KT board, is also described. The driver supports the following Allen-Bradley
devices: PLC-2, PLC3, PLC-5, PLC-5/250 Pyramid Integrator, and SLC-5/04. Unsolicited messages and remote
addressing 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.
If installing over a previous version of this driver, perform a multi-platform save of the FactoryLink
application before the install and restore the application after installation. Please refer to FactoryLink
documentation 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 on
running 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 to
cause 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 of
the procedures to validate the SoftKey for this product.
Access this table by selecting External Device Definition from the Configuration Manager main menu. This is
one of the five configuration tables that must be configured The other tables are accessed by selecting Axisware
GE 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 with
FactoryLink. 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.
Number assigned by the user to indicate a particular communication path. This number must be unique
for each EDI driver used in the application.
The four-character device name for the EDI driver that will use the related Logical Port.
2.1.4 Function
Type of communication used by the EDI driver for the related Logical Port. This field refers to the
different types of EDI communication modes.
2.1.5 Memory
The amount of memory in K-bytes used for the block storage size of the read and write information
entered by the user. This entry refers only to the memory used by the driver for data storage for the
related Logical Port.
2.1.6 Comment
(Optional) Description for the current Logical Port. Used only for application documentation.
After these fields have been configured, select "Next" or Ctrl-N to edit the Read/Write Information Table
corresponding to the Control table selected by the cursor.
User assigned name of the Read/Write Information Table to be defined or modified. Appendix I
contains additional information for the naming conventions that must be followed to configure
Fault/Diagnostic or Configuration tables for Genius blocks.
Allows the user to select whether or not the current table will be considered in the processing of an
unsolicited message received from the PLC. Standard addressing is used to correlate the message from
the PLC with the tags configured in the table. Please note that the PLC-5/250 must send PLC-2
Unprotected Writes if it is to be configured for unsolicited messages. Please refer to Appendix N for
further details on this topic.
Option determining whether or not a specific tag in the related Read/Write Information Table is written
to the selected logical station whenever the real-time database value for that tag changes.
Yes A change of status of any element in the table generates a write of that
element's value.
No No exception processing.
Priority influencing the order in which the EDI task handles the queuing of block read requests. If two
requests are received simultaneously by EDI, the request with the highest priority (lowest number) is
processed first.
Digital tag whose value, when forced to 1 (ON), initiates a block read of the values specified in the
related Read/Write Information Table. This trigger allows the block read operation to be initiated by
some other task.
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 the
Block Read Trigger defined above.
Digital tag whose value is force written to 1 (ON) by the EDI task whenever any block read operation for
this table is completed. If this tag is specified then when the EDI task initializes, its value is force
written to 1 (ON).
Note: Block Read Complete tags are valid only if a different table is used for each logical port.
Digital tag whose value is 0 (OFF) when a block read of the tags specified in this table is in progress and
1 (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.
Priority influencing the order in which the EDI task handles the queuing of block write and exception
write requests. If two requests are received simultaneously by EDI, the request with the highest priority
(lowest number) is processed first.
Digital tag whose value, when forced to 1 (ON), initiates a block write of the values specified in the
related Read/Write Information Table. This trigger allows the block write operation to be initiated by
some other task.
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 the
Block Write Trigger defined above.
Digital tag whose value is force written to 1 (ON) by the EDI task whenever any block write operation
for this table is completed. If this tag is specified then, when the EDI task initializes, its value is force
written to 1 (ON).
Note: Block Write Complete tags are valid only if a different table is used for each logical port.
Digital tag whose value is 0 (OFF) when a block write of the tags specified in this table is in progress
and 1 (ON) otherwise. If this tag is specified then, when the EDI task initializes, its value is force
written to 1 (ON).
Note: Block Write State tags are valid only if a different table is used for each logical port.
These tables are sometimes referred to as overlay panels, or ovr panels. Each table has one entry (line) for it
in the Read/Write Control Table.
Note: Please verify that the table name displayed at the bottom of the panel correctly shows the table to be
modified.
After these fields have been completed, select "Next" or Ctrl-N to edit the Logical Station Control Table.
Name of the FactoryLink tag to be updated as a result of the read operation or the tag from which
information is taken to be written to the device.
Number from the Logical Station Table identifying the particular combination of physical attributes that
will define and govern the data transfer to and from the real-time tag.
PLC address with which the real-time database element will be associated.
After completing these fields, select "Next" or Ctrl-N to edit the Logical Station Information Table
corresponding to the table selected by the cursor.
Number specified in the External Device Definition Table which represents a particular communications
path.
This number must also be referenced in the External Device Definition panel.
Number of seconds in tenths permitted by the driver to process a request. A value of at least 20 to 30 is
recommended.
Valid entries: Actual value in tenths of seconds. 20 to 30 (or 2-3 seconds for most
applications.).
Address for memory shared by S-S Technologies card and the FactoryLink CPU. This number must
match the parameter specified in the CONFIG.SYS file, the memory parameter for the SDLOAD or
MCINST loader software, and the setting for the card.
Valid entries: Hex memory address as allowed by S-S card. Please refer to Appendix A.
This entry is in OCTAL and represents the card's unique data highway address (the data highway
address for the FactoryLink station). A data highway error will occur if any other node on the highway
shares this address.
Maximum number of packets that are allowed to be placed on the Data Highway at one time. This is used
to keep the FactoryLink station from overloading PLCs on the Data Highway with more messages then
they can buffer at one time. This field’s default value is 20 and should be left at this value for the best
performance unless the PLCs on the Data Highway are responding with an Error 1, “station cannot buffer
command.”
Real-time database message element to which a text string will be written in the case of any error
encountered in the processing of an EDI request.
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 Manager
main menu.
(Optional) Analog tag to which all error codes for this logical station are to be written.
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 addresses
and tags with a physical device (PLC). Please note that this number must be unique for each four-letter
device ID (SDKT).
Type of device on data highway with which communications are to be established. If remote addressing
is used, the device type represents the actual device on the remote link.
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.
Data highway address of device on local DH/DH+ network with which communications are to be
established. If a remote device is to be accessed, this is the address of the device used as a bridge
between the DH+ networks (the PI or KA module).
2.5.5 Local/Remote
Defines the related logical station as existing on the local DH/DH+ or on a remote DH/DH+. If LOCAL
is specified, the remaining fields in this entry are not required.
This field is a required entry only for remote stations. The DH/DH+ address of the device to be accessed
on the remote DH/DH+ network.
Valid entries: 0 - 77
This field is a required entry only for remote DH/DH+ stations. It is used for a PI link type. Each
DH/DH+ network in a Pyramid Integrator system must be given a unique link ID number. These
numbers are assigned in the 5/250 configuration. This field represents the link ID number of the
DH/DH+ network where the target PLC resides.
This field is a required entry only for remote DH/DH+ stations. It indicates the type of device to be used
as the bridge between the DH/DH+ networks containing the remote physical station and the FactoryLink
station.
2.5.9 Comment
(Optional) Description for the current Logical Station. Used only for application documentation.
3 Appendices
The following chart shows the valid RAM memory addresses for the ISA version of the 5136-SD card. The
card's RAM memory is selected via software. There are no switches on the card to be set for the RAM memory
location.
MEMORY
0xA000 0xD000
0xA800 0xD800
0xB000 0xE000
0xB800 0xE800
0xC000 0xF000
0xC800 0xF800
Prior to installation, the appropriate I/O port address must be set using the switches on the board. The tables on
the 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.
Table 2:
The 5136-SD-MCA is used for the Micro Channel computer bus. Currently, only IBM manufactures and
markets personal computers that utilize the Micro Channel bus. The 5136-SD-MCA is not currently supported
by the Windows NT version of this driver.
Installing any card in a Micro Channel computer involves updating the computer's configuration. This is done
using a reference disk supplied with the computer. The .ADF file for installing the 5136-SD-MCA is included
on 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, please
consult 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 the
computer. The possible port addresses will be displayed by the configuration program. There are four possible
32K windows that may be selected for the 5136-SD-MCA card; these are listed in the following table:
MEMORY
0xC000 0xD000
0xC800 0xD800
The card must be configured with a 32K window; a 16K window is not adequate for the driver. The memory
address that is selected should be recorded so that this same memory address may be entered in the NOVA
SD/KT Logical Station Control Table.
The following diagram shows the cable pin connections for connecting the Sutherland-Schultz board to the
Allen-Bradley Data Highway/Data Highway Plus. Note that internal to the card the first set of three pins is
connected 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 be
made to 4, 5, or 6, respectively.
PIN# DESCRIPTION
1 Clear wire
2 Shield wire
3 Blue wire
4 Clear wire
5 Shield wire
6 Blue wire
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 files
copied 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 value
to $FLINK, and then restart the install program. $FLINK can be assigned a parameter by using the SET
command (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 original
copies of both files will be copied to a file with the same filename but a .NVA extension. The first file to be
modified is $FLINK\AC\TITLES (where $FLINK is the FactoryLink directory). This file is used by the
Configuration Manager to determine which tasks to list and also the order in which they are to be listed. The
following line will be added to the TITLES file. (The line may be different, depending on your FactoryLink
version.)
If you have a backup file named $FLINK\AC\TITLES.NVA (possibly created by a previous install), the
program 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 the
creation of the binary CT (configuration table) files used at run-time by FactoryLink. The following line will
be added to the CTLIST file.
If you have a backup file named $FLINK\CTGEN\CTLIST.NVA (possibly created by a previous install), the
program will ask you during the install if you wish to exit, and manually save a copy of this .NVA file before
it is overwritten.
It is important that you have followed the hardware installation procedures described in Appendix A
before 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 directory
containing the FactoryLink program files, press a key to exit and use the set command to reset the $FLINK
environment variable. The problem may be resolved by clearly stating the drive letter. At the OS/2 command
prompt 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 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 to
continue.
The install program checks for a backup file named $FLINK\AC\TITLES.NVA. If found, the following
message is displayed:
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:
The messages
are briefly displayed while the backup (.NVA) versions are being created and the $FLINK\AC\TITLES and
$FLINK\CTGEN\CTLIST files are updated.
the lines to be added to these files can be typed in manually using a text editor. Refer to the section “Before
Starting” (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 been
copied the following message will appear:
The S-S Technologies 5136-SD device driver DL.SYS must be loaded into memory when your system boots for
the FactoryLink A-B DH/DH+ driver to function properly. After the installation cdrom's INSTALL program is
run, the CONFIG.SYS file must be modified manually, using a text editor, such as OS/2’s System Editor “e”.
The following line (or one similar to it) must be added to the OS/2 CONFIG.SYS file. A directory that will
contain the device driver DL.SYS is automatically created when the software is installed from the installation
medium. 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.
Depending upon the card type and whether the Data Highway (DH) or the Data Highway Plus (DH+) is to be
used, one of the following lines should be entered from the OS/2 command line or added to the file
FLRUN.CMD located in the $FLINK\BIN directory. (Example: C:\FLOS2\BIN\FLRUN.CMD). The line
should 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 added
to the file FLRUN.CMD located in the $FLINK\BIN directory. The line should be added at the beginning of
the 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 off
setlocal
@echo off
setlocal
$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 32k
starting at the address specified. The user must ensure that no other device or program (including caches or
ROM shadowing) is attempting to utilize this same block of memory.
Please refer to the Utility Manual and run the program Validate to ensure that your product does not expire
at 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.
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 value
to $FLINK, and then restart the install program. $FLINK can be assigned a parameter by using the SET
command (example: set flink=d:\flnt).
During the installation, two ASCII text files will be modified by the installation program. The original
copies of both files will be copied to a file with the same filename but a .NVA extension. The first file to be
modified is $FLINK\AC\TITLES. This file is used by the Configuration Manager to determine which tasks
to list and also the order in which they are to be listed. The following line will be added to the TITLES file.
If you have a backup file named $FLINK\AC\TITLES.NVA (possibly created by a previous install), the
program 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 the
creation of the binary files used by the Run-time FactoryLink. The following line will be added to the
CTLIST file.
If you have a backup file named $FLINK\CTGEN\CTLIST.NVA (possibly created by a previous install), the
program will ask you during the install if you wish to exit, and manually save a copy of this .NVA file before
it is overwritten.
It is important that you have followed the hardware installation procedures described in Appendix A
before proceeding with the driver installation instructions.
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 for
it. Press y to accept this default setting. If n is pressed, the program exits, and you may use the command
required by your platform to specify the location of the FactoryLink program files (example: set
FLINK=f:\flwin), and then restart.
If a message is displayed stating that the INSTALL program is having difficulty finding the directory
containing the FactoryLink program files, press a key to exit and use the set command to reset the $FLINK
environment variable. The problem may be resolved by clearly stating the drive letter. At a DOS command
prompt 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 set
FLINK=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 to
continue.
The install program checks for a backup file named $FLINK\AC\TITLES.NVA. If found, the following
message is displayed:
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:
The messages
are briefly displayed while the backup (.NVA) versions are being created and the $FLINK\AC\TITLES and
$FLINK\CTGEN\CTLIST files are updated.
the lines to be added to these files can be typed in manually using a text editor. Refer to the section “Before
Starting” (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 been
copied the following message will appear:
During the installation process, the NOVAMEM.SYS device driver is registered with the Windows NT system
registry. The following line MUST be added to the FLRUN.BAT file (located in $FLINK\BIN\). The line
should 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 correct
values.
Additional information on the above command, and other available command line options are contained in the
S-S Technologies user's manual shipped with the 5136-SD card.
Proper installation of the NOVAMEM.SYS driver can be verified by using the utility program
NODELIST.EXE which was installed into the $FLINK\EDI\SDKT directory. This program can typically be
run as follows:
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:
where the 250 is your port number as selected by the dip switches on the card, and the D800 is the free
RAM memory location for the card to use. The loader program should load the card and perform
diagnostics. 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 data
highway. The program should display the active nodes present on the DH+, including itself.
Please refer to the Utility Manual and run the program Validate to ensure that your product does not expire
at the end of the 15-day grace period. Specific steps are included in the SoftKey Manual.
The following error codes (alphabetized) may be reported to FactoryLink while the GE PCIM Driver tables are
being processed at startup.
Line X of the Read/Write Information Table currently being processed does not contain a valid
FactoryLink tag name.
Illegal mnemonic, X
An alphabetic character or sequence of characters was detected and it does not represent a
valid PLC-5(/250) mnemonic. Please consult the appendix dedicated to the specific device for
details concerning member/sub-element range. X represents the address as entered in the
configuration table.
All bit numbers specified for a PLC-5/250 internal storage address (file type IS) must be
entered in octal. X represents the address as entered in the configuration table.
No length delimiter, X
All message strings require the length to be specified. This length defines the number of words
to read into the provided message tag. X represents the address as entered in the configuration
table.
Out of Memory
The driver was unable to internally allocate all the necessary memory. Allocate more memory
in the External Device Definition Table.
Out of RAM
EDI was unable to parse the entire read/write table due to its size. The solution is to break the
table into multiple smaller tables. There will not be any performance degradation due to
breaking up the table, since the table is already being broken up into several data packets.
The following errors (alphabetized) may be reported when the EDI task is started after all tables have been
processed. All the following errors are immediately fatal.
The 5136-SD card was not found at memory address X as specified in the NOVA SD/KT
Logical Station Control Table. Check that the command line parameter specifying the memory
address for the SDLOAD or MCINST loader program and the CONFIG.SYS device driver
matches the address selected in the Configuration Manager (should be something like D000 or
D800). Also check that the card is properly seated, that the device driver in the CONFIG.SYS
loaded without any errors, and that the loader program executed without any 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 following
message will be displayed.
The following errors may be reported while the driver is processing application requests. The text represents the
error message returned to the message tag defined in the Logical Station Control Table. The number in
parentheses is returned to the analog tag defined in the Logical Station Information Table. While the following
errors are not immediately fatal, recurring errors should be evaluated and eradicated to maintain the integrity of
the network. Status codes and extended status codes are listed in Appendix G.
* All errors returned with an extended status code are placed in the analog error tag as the extended status code
plus 1000.
** All errors returned with only a status value are placed directly in the analog error tag.
The following errors may be reported while the driver is attempting to process unsolicited message requests. The
text 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 to
maintain the integrity of the network.
A maximum number of 32000 unsolicited reads may be configured. If this limit is reached,
please contact Axisware.
Subelement unexpected
Check that the MSG instruction in the PLC is PLC-2 Unprotected Write or PLC-5 Typed
Write.
The following status and extended status codes may be returned during the driver's operation:
EXT
STS STS DESCRIPTION
0 - success, no error
1 - station cannot buffer command
2 - destination node (PLC) not found on DH+
3 - duplicate token holder detected
4 - local port is disconnected
5 - application layer timed out waiting for a response
6 - duplicate node detected
7 - station off-line
8 - hardware fault
16 - illegal command or format
32 - host has a problem and will not communicate
48 - remote node host is missing, disconnected, or shut down
64 - host could not complete function due to hardware problem
80 - addressing problem or memory protect rungs
96 - function disallowed due to command protection selection
112 - processor is in program mode
128 - compatibility mode file is missing or communication zone problem
144 - remote node cannot buffer command
160 - not used
176 - remote node problem due to download
192 - cannot execute command due to active IPBs
208 - not used
224 - not used
DIGITAL
ANALOG
LONG ANALOG
FLOATING POINT
MESSAGE
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 other
types 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 be
used to pass FactoryLink Floating Point Tags between FactoryLink stations using the PLC as
an intermediary device.
Valid PLC data types for each of the FactoryLink tag types:
DIGITAL ANALOG LONG ANALOG FLOATING POINT MESSAGE
BIN BIN BIN BIN BIN
INT2 INT2 INT2 ASC
INT4 INT4 INT4
BCD4 BCD4 BCD4
FLT4 FLT4 FLT4
FLT8 FLT8 FLT8
P3FLT P3FLT P3FLT
The following descriptions are from the viewpoint of “read”. A similar transfer occurs on writes.
DIGITAL
BIN
DIGITAL tags may only be converted to and from the BIN data type. If the requested binary PLC data
type is on, the DIGITAL tag will be set to one. If the binary element is off, the DIGITAL tag will be
set to zero.
ANALOG
INT2 or BIN
The ANALOG tag is a 16 bit signed integer; therefore, no conversion is needed.
INT4
The lowest 16 bits of the INT4 data type correspond directly with the 16 bits comprising the ANALOG
tag.
BCD4
After being read from the PLC, the BCD4 value is converted into a 16 bit integer. The value is then
transferred into the ANALOG tag.
FLT4
The whole number portion of the floating point number is transferred to the ANALOG tag. This
conversion is accurate only if the whole number value is between -32767 and +32767. When
converting back to a FLT4, the fractional portion of zero is assumed.
FLT8
The whole number portion of the floating point number is transferred to the ANALOG tag. This
conversion is accurate only if the whole number value is between -32767 and +32767. When
converting back to a FLT8, the fractional portion of zero is assumed.
P3FLT
The whole number portion of the floating point number is transferred to the ANALOG tag. This
conversion is accurate only if the whole number value is between -32768 and +32767. When
converting back to a P3FLT, the fractional portion of zero is assumed.
LONG ANALOG
INT2
The LONG ANALOG is a 32 bit signed integer; therefore, the 16 bits of the INT2 data type correspond
to the lowest 16 bits of the LONG ANALOG tag.
INT4 or BIN
No conversion necessary; all 32 bits transfer directly.
BCD4
After being read from the PLC, the BCD4 value is converted into a 16 bit integer. The value is then
handled as the INT2 data type above.
FLT4
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 FLT4, the fractional portion of zero is assumed.
FLT8
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.
P3FLT
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 P3FLT, the fractional portion of zero is assumed.
FLOATING POINT
INT2
The INT2 value is converted into a standard IEEE 64 bit floating point value and then transferred
directly into the FLOATING POINT tag. The fractional portion of the number is assumed to be zero.
INT4
The INT4 value is converted into a standard IEEE 64 bit floating point value and then transferred
directly into the FLOATING POINT tag. The fractional portion of the number is assumed to be zero.
BCD4
After being read from the PLC, the BCD4 value is converted into a 16 bit integer. The value is then
handled as the INT2 data type above.
FLT4
The FLT4 value is converted from a standard IEEE 32 floating point number into a standard IEEE 64
bit floating point number. This value is then transferred directly into the FLOATING POINT tag.
FLT8 or BIN
The data is transferred directly; no conversion is necessary.
P3FLT
The PLC-3 floating point value is converted to a IEEE 32 floating point number, and then converted
into a standard IEEE 64 bit floating point number. This value is then transferred directly into the
FLOATING POINT tag.
MESSAGE
BIN
All data is read directly into the message tag from the specified word address. No conversion of any
kind is employed.
ASC
When reading ASCII strings from the PLC, a byte inversion must be done for the string to be properly
displayed in FactoryLink. The ASC data type automatically does the needed conversion.
The addressing scheme for the PLC-2 follows exactly the standards established by the A-B programming
software.
word number[/bit]
[,length]
where
Examples:
Address: Description:
10/17 Word 10 (octal), bit 17 (octal)
2/0 Word 2, bit 0
2 As above
16,22 Word 16 (octal), 22 (decimal) words requested
The addressing scheme for inputs and outputs is different from that used for other PLC-3 file types. The
difference is that the element number is specified in octal. The addressing used by the Driver is detailed below.
filetype[filenumber]:[elementnumber][/bit]
where
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 1
I20:30/7 File 20, element 30 (octal), bit 7
I/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 1
O20:30/7 File 20, element 30 (octal), bit 7
O/17 File 0, element 0, bit 17 (octal)
The addressing scheme for the remaining tables is similar to inputs and outputs. The addressing used by the
Driver is detailed below.
filetype[filenumber]:[element][.subelement]
[/bit]
[,length]
where
filetype = One of the following (required)
A, B, C, D, F, H, N, S, or T.
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, as
described below, permit the use of bit mnemonics.
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 number
exists for an ASCII file.
Examples:
Address: Description:
A10:10 File 10, word 10, bit 0
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 above
B13: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 enable
16 CD Count down enable
15 DN Counter done
14 OV Counter overflow
13 UF Counter underflow
Subelements:
Number: Mnemonic: Description:
1 PRE Preset Value
2 ACC Accumulated Value
Examples:
Address: Description:
C:1.PRE Counter 1, preset value
C2.ACC Counter 2, accumulated value
C:5.DN Counter 5, done bit
C:6/13 Counter 6, overflow bit
D- Decimal
The decimal file uses no subelements or mnemonics. This section is comprised of 16 bit
BCD words. Please note that no default file number exists for a decimal file.
Examples:
Address: Description:
D0:10 File 0, element 10
D8:11 File 8, element 11
F - Floating Point
The floating point file uses no subelements or mnemonics.
Examples:
Address: Description:
F:10 File 0, element 10
F8:10 As above
Examples:
Address: Description:
H:10 File 0, element 10, bit 0
H7:10 File 7, element 10, bit 0
H20: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 0
N7:10 File 7, word 10, bit 0
N20: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 0
S2: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 enabled
16 TT Timer timing
15 TD Timer done
Subelements:
Number: Mnemonic: Description:
1 PRE Preset Value
2 ACC Accumulated Value
Examples:
Address: Description:
T:1.PRE Timer 1, preset value
T0:2.ACC Timer 2, accumulated value
The addressing scheme for inputs and outputs is different from that used for other PLC-5 data types. The
addressing used by the Driver is detailed below.
filetype:[wordnumber][/bit]
where
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 1
I:30/7 Element 30 (octal), bit 7
I/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 1
O:30/7 Element 30 (octal), bit 7
O/17 Element 0, bit 17 (octal)
O:32/0 Element 32 (octal), bit 0
The addressing scheme for the remaining tables is similar to inputs and outputs; however, there are enough
differences to cover them separately. The addressing used by the Driver is detailed below.
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
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, as
described below, permit the use of bit mnemonics.
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 number
exists for an ASCII file.
Examples:
Address: Description:
A10:10 File 10, word 10, bit 0
A10: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 1
B3/17 As above
B13:1/2 File 13, word 1, bit 2
BT - Block Transfer
The block transfer file permits both subelement mnemonics and bit mnemonics. Please note
that 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 Enabled
14 ST Start
13 DN Done
12 ER Error
11 CO Continue
10 EW Enable wait
9 NR No response
8 TO Time out
7 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 value
BT20:2.FILE File 20, control 2, File type value
C - Counter
The counter file permits both subelement mnemonics and bit mnemonics.
Bits:
Number: Mnemonic: Description:
15 CU Count up
14 CD Count down
13 DN Done
12 OV Overflow
11 UN Underflow
Subelements:
Number: Mnemonic: Description:
1 PRE Preset Value
2 ACC Accumulated Value
Examples:
Address: Description:
C:1.PRE File 5, counter 1, preset value
C20:2.ACC File 20, counter 2, accumulated value
C5:5.DN File 5, counter 5, done bit
C5:6/12 File 5, counter 6, overflow bit
D- Decimal
The decimal file uses no subelements or mnemonics. This section is comprised of 16 bit
BCD words. Please note that no default file number exists for a decimal file.
Examples:
Address: Description:
D0:10 File 0, element 10
D8: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 0
F8:10 As above
MG - Message
The message file permits both subelement mnemonics and bit mnemonics. Please note that 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:
Subelements:
Number: Mnemonic: Description:
1 ERR Error code
2 RLEN Request length.
3 DLEN Done length
Examples:
Address: Description:
MG11:1.ERR File 11, message 1, error code
MG21:2.3 File 21, message 2, done length
MG15: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 0
N7:10 As above
N20:30/14 File 20, word 30, bit 14
PD - PID Loop
The PID file permits both subelement mnemonics and bit mnemonics. Please note that 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:
28 INI PID initialized
27 SPOR Set point out of range
26 OLL Output alarm, Low limit
25 OLH Output alarm, High limit
24 EWD Error within dead band
19 DVNA Deviation High Alarm
18 DVPA Deviation Low Alarm
17 PVLA Process Variable Low Alarm
16 PVHA PV High Alarm
15 EN Enable
9 CT Cascaded Type
8 CL Cascaded Loop
Subelements:
Number: Mnemonic: Description:
2 SP Setpoint
4 KP Proportional gain
6 KI Initial gain
8 KD Derivative gain
10 BIAS Output bias %
12 MAXS Maximum scaled value
14 MINS Minimum scaled value
16 DB Dead band
18 SO Set output %
20 MAXO Maximum Output limit
22 MINO Minimum Output limit
24 UPD Update time
26 PV Process Variable
28 ERR Error: Scaled
30 OUT Output
32 PVH PV alarm High
34 PVL PV alarm Low
36 DVP Deviation Alarm +
38 DVN Deviation Alarm -
40 PVDB PV alarm dead band
42 DVDB Deviation alarm dead band
44 MAXI Maximum Input
46 MINI Minimum Input
48 TIE Tieback %
Examples:
Address: Description:
PD11:1.SP File 11, PID 1, setpoint
PD16:2.DB File 16, PID 2, dead band
PD15:5/PE File 15, PID 5, equation bit
PD70: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 Enabled
14 EU Enable unload
13 DN Done
12 EM Empty
11 ER Error
10 UL Unload
9 IN Inhibit Comparison
8 FD Found
Subelements:
Number: Mnemonic: Description:
1 LEN Length
2 POS Position
Examples:
Address: Description:
R:1.LEN File 6, control 1, length value
R20:2.POS File 20, control 2, position value
R6:5.UL File 6, control 5, unload bit
R6: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 0
S2:10 As above
ST - String
The string file permits subelement mnemonics. Please note that 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).
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 value
ST22: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 Enabled
14 TT Timing
13 DN Done
Subelements:
Number: Mnemonic: Description:
1 PRE Preset Value
2 ACC Accumulated Value
Examples:
Address: Description:
T:1.PRE File 4, timer 1, preset value
T20:2.ACC File 20, timer 2, accumulated value
T4:5.DN File 4, timer 5, timer done bit
T4:6/15 File 4, timer 6, enabled bit
The addressing scheme for inputs, outputs, and internal storage is different from that used for other PLC-5/250
data tables. The addressing used by the Driver is detailed below.
[RS]filetype:[wordnumber][/bit]
where
RS = Always 1.
Please Note: the remote scanner number must always be set to a 1
to access I, O, or IS data on any remote scanner.
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 for
each remote scanner module.
Address Ranges:
RS Module: Addresses (octal):
1 0 - 77
2 100 - 177
3 200 - 277
4 300 - 377
Examples:
Address: Description:
1I:7/1 RS 1, element 7, bit 1
1I:110/7 RS 2, element 110 (octal), bit 7
1I/17 RS 1, element 0, bit 17 (octal)
1I:320/0 RS 4, element 320 (octal), bit 0
O - Outputs
The output image file uses no mnemonics. Please note the octal word addresses that are valid
for each remote scanner module.
Address Ranges:
RS Module: Addresses (octal):
1 0 - 77
2 100 - 177
3 200 - 277
4 300 - 377
Examples:
Address: Description:
1O:7/1 RS 1, element 7, bit 1
1O:110/7 RS 2, element 110 (octal), bit 7
1O/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 valid
for each remote scanner module.
Address Ranges:
RS Module: Addresses (octal):
1 0 - 177
2 200 - 377
3 400 - 577
4 600 - 777
Examples:
Address: Description:
1IS:7/1 RS 1, element 7, bit 1
1IS:110/7 RS 1, element 110 (octal), bit 7
1IS/17 RS 1, element 0, bit 17 (octal)
1IS:620/0 RS 4, element 620 (octal), bit 0
The addressing scheme for the remaining tables is similar to inputs and outputs; however, there are enough
differences to cover them separately. The addressing used by the Driver is detailed below.
[module]filetype[filenumber]:[element][.subelement]
[/bit]
[,length]
where
module = Processor module where data is to be accessed.
Please refer to each data type for valid module numbers. (RM = 0, RS
and LP = 1 - 4.) If not specified, it defaults to 0.
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 as
described below permit the use of bit mnemonics.
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 1
1B3/17 LP 1 (logic processor), file 3, word 1, bit 1
4B13:1/2 LP 4, file 13, word 1, bit 2
Examples:
Address: Description:
1BTD1:1 RS 1, file 1, element 1
1BTD8;2 RS 1, file 8, element 2
C - Counter
The counter file permits both member mnemonics and bit mnemonics. Valid module numbers
are 0 - 4.
Bits:
Number: Mnemonic: Description:
15 CU Count up
14 CD Count down
13 DN Done
12 OV Overflow
11 UN Underflow
Subelements:
Number: Mnemonic: Description:
1 PRE Preset Value
2 ACC Accumulated Value
Examples:
Address: Description:
1C:1.PRE LP 1, file 0, counter 1, preset value
0C20:2.ACC RM, file 20, counter 2, accumulated value
C5: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 0
0F8:10 RM, file 8, element 10, bit 0
1F9: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 module
numbers are 0 - 4.
Examples:
Address: Description:
0L:10 RM, file 0, word 10, bit 0
L7:12/1 RM, file 7, word 12, bit 1
4L20:30/14 LP 4, file 20, word 30, bit 14
MSG - Message
The message file permits both subelement mnemonics and bit mnemonics. The only valid
module number is 0.
Bits:
Number: Mnemonic: Description:
7 EN Enable
6 ST Start transmission
5 AD Async done
4 AE Async error
3 CO Continuous
2 EW Enabled waiting
1 DN Done
0 ER Error
Subelements:
Number: Mnemonic: Description:
1 ERR Error code
2 RLEN Requested length.
3 DLEN Done length
Examples:
Address: Description:
0MSG11:1.ERR RM, file 11, message 1, error code
MSG16: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 0
N7:12/1 RM, file 7, word 12, bit 1
4N20: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 PID
file 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, setpoint
1PD16:2.DB LP 1, file 16, PID 2, dead band
3PD15:5/PE LP 3, file 15, PID 5, equation bit
3PD70:1/EN LP 3, file 70, PID 1, enable
R - Control
The control file permits both subelement mnemonics and bit mnemonics. Valid module
numbers are 0 - 4.
Bits:
Number: Mnemonic: Description:
15 EN Enabled
14 EU Enable unload
13 DN Done
12 EM Empty
11 ER Error
10 UL Unload
9 IN Inhibit Comparison
8 FD Found
Subelements:
Number: Mnemonic: Description:
1 LEN Length
2 POS Position
Examples:
Address: Description:
0R:1.LEN RM, file 0, control 1, length value
1R20:2.POS LP 1, file 20, control 2, position value
1R6:5/UL LP 1, file 6, control 5, unload bit
2R6: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 value
1ST22: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 numbers
are 0 - 4. Please note that the preset and accumulator are both 32 bit values; therefore, they must
be read with data type INT4.
Bits:
Number: Mnemonic: Description:
31 EN Enabled
30 TT Timing
29 DN Done
Subelements:
Number: Mnemonic: Description:
2 PRE Preset value
4 ACC Accumulated value
Examples:
Address: Description:
0T:1.PRE RM, file 0, timer 1, preset value
1T20:2.ACC LP 1, file 20, timer 2, accumulated value
2T4;5/DN LP 2, file 4, timer 5, done bit
4T4:6/31 LP 4, file 4, timer 6, enabled bit
filetype:I/Oslotnumber[.wordnumber][/bit]
where
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(;).
filetype[filenumber]:[element][.subelement]
[/bit]
[,length]
where
filetype = One of the following (required)
A, B, C, F, N, R, or T.
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.
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 number
exists for an ASCII file.
Examples:
Address: Description:
A10:10 File 10, word 10, bit 0
A10: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 or
you can address any particular data bit of an element individually.
Examples:
Address: Description:
B/17 File 3, word 1, bit 1
B3/17 As above
B13:1/2 File 13, word 1, bit 2
C - Counters
Each counters structure consists of three words. The counters file permits both subelement
mnemonics and bit mnemonics.
Bits:
Number: Mnemonic: Description:
15 CU Count up
14 CD Count down
13 DN Done
12 OV Overflow
11 UN Underflow
Subelements:
Number: Mnemonic: Description:
1 PRE Preset Value
2 ACC Accumulated Value
Examples:
Address: Description:
C:1.PRE File 5, counter 1, preset value
C20:2.ACC File 20, counter 2, accumulated value
C5:5/DN File 5, counter 5, done bit
C5:6/12 File 5, counter 6, overflow bit
F - Floating Point
Each floating point element consists of two words. The floating point file uses no subelements
or no mnemonics.
Examples:
Address: Description:
F:10 File 8, element 10, bit 0
F8:10 As above
N - Integer
The integer file uses no subelements or mnemonics.
Examples:
Address: Description:
N:10 File 7, word 10, bit 0
N7:10 As above
N20:30/14 File 20, word 30, bit 14
R - Control
Each control block consists of three words. The control file permits both subelement
mnemonics and bit mnemonics.
Bits:
Number: Mnemonic: Description:
15 EN Enabled
14 EU Unloading Enabled
13 DN Done
12 EM Empty
11 ER Error
10 UL Unload
9 IN Inhibit Comparisons
8 FD Found
Subelements:
Number: Mnemonic: Description:
1 LEN Length
2 POS Position
Examples:
Address: Description:
R:1.LEN File 6, control 1, length value
R20:2.POS File 20, control 2, position value
R6:5/UL File 6, control 5, unload bit
R6:6/14 File 6, control 6, enable unload bit
T - Timers
The timers file accommodates up to 256 timer structures. Each timer structure consists of three
words. You can address a timer structure in its entirety or you can address any particular
member of a structure individually.
Bits:
Number: Mnemonic: Description:
15 EN Enabled
14 TT Timer Timing
13 DN Done
Subelements:
Number: Mnemonic: Description:
1 PRE Preset Value
2 ACC Accumulated Value
Examples:
Address: Description:
T:1.PRE File 4, timer 1, preset value
T20:2.ACC File 20, timer 2, accumulated value
T4:5/DN File 4, timer 5, done bit
T4:6/15 File 4, timer 6, enabled bit
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 Logical
Station Control Table. The Logical Station used in the Read/Write Information Table which has been configured
for unsolicited messages should be defined as a PLC-2 in the Logical Station Information Table.
The PLC-3 may be programmed to send either PLC-2 Unprotected Write or PLC-3 Word Range Write
messages directed toward FactoryLink. The destination node should be the Data Highway address selected for
the FactoryLink computer in the Logical Station Control Table. The Logical Station used in the Read/Write
Information Table which has been configured for unsolicited messages should be defined as a PLC-2 if PLC-2
Unprotected Writes are used, or a PLC-3 if PLC-3 Word Range Writes are used. A single Physical Station
may have multiple Logical Stations defined in one application.
The PLC-5 may be programmed to send either PLC-2 Unprotected Write or PLC-5 Typed Write messages
directed toward FactoryLink. The destination node should be the Data Highway address selected for the
FactoryLink computer in the Logical Station Control Table. The Logical Station used in the Read/Write
Information Table which has been configured for unsolicited messages should be defined as a PLC-2 if PLC-2
Unprotected Writes are used, or a PLC-5 if PLC-5 Typed Writes are used. A single Physical Station may
have multiple Logical Stations defined in one application.
The PLC-5/250 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 Logical Station Control Table. The Logical Station used in the Read/Write Information Table which has
been 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 unsolicited
message support is desired.
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 Logical
Station Control Table. The Logical Station used in the Read/Write Information Table which has been configured
for unsolicited messages should be defined as a PLC-5 in the Logical Station Information Table.
Several steps are required to convert the FactoryLink A-B serial driver configuration tables to the Axisware A-B
DH+ tables.
There are four different configuration tables associated with the A-B serial port EDI driver. The Read/Write
Control 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 of
tables 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+).
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 what
tags are used in what tables by what tasks. Therefore, a multiplatform save and restore must be performed before
the application can be used.
The Station Information and Station Control tables may not be transferred but must be entered normally
according to the manual.
BEFORE installing the FactoryLink upgrade you MUST make a multiplatform save of your
application.
Do these steps before restoring the multiplatform save file of your application:
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 ISA
card to an I/O port address of 250 (hex) and a memory address of D800).
Please refer to Appendix B for further information on the entries that need to be made to the FLRUN.CMD file.
The SAMPLE directory of the nstall cd-rom includes compressed multiplatform save files of a sample
application for this driver. The sample application can be used to test communications, as well as serve as an
example of how to prepare a FactoryLink application to use the driver. The sample application has examples of
block 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.
The Environment string parser is designed to allow multiple computers running the same FactoryLink
application to use different settings in the Logical Station Control Table. This will allow, for example, two
FactoryLink stations to run the same FactoryLink application on a Data Highway with different Data Highway
addresses.
The parser works by reading the environment string NVLSCnnn (where nnn is the logical port number) and
assigning 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., NVLSC002
for logical port 2.
If the environment string is not found then the values that were entered in the Logical Station Control table are
used.
Where TIMEOUT is the Number of seconds in tenths permitted by the driver to process a request, CARD
MEMORY ADDRESS is Address (in HEX) for memory shared by S-S Technologies card and the FactoryLink
CPU and DATA HIGHWAY ADDRESS is the card's unique data highway address (the OCTAL data highway
address 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 for
that 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 Logical
Station Control table and the Data Highway address for the card is 10 (OCTAL).
4 Glossary
Configuration Tables
Where you establish the communication path and specify elements in the database. These tables work
together 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".
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).
Proof of License
An 8 1/2 by 11 certificate that must accompany the software indicated by its unique serial number when that
product is sold or transferred to another company or entity.
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 the
software to function past the grace period.
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. In
order to interface with the SST drivers an additional FactoryLink configuration table has been added for the
information required.
Once the card and drivers are installed start the SST program: SD Card Manager. Verify the card is
configured 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_SDKT
and Data Highway Plus in this example.
The SST PCI Configuration Control Table is a new FactoryLink configuration table added to support the
SST 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.
This number must match the Logical Port number in the rest of the SDKT FactoryLink application
for the specific card referenced in this row.
Name of the SST 5136-SD-PCI card referenced this row. This text field must match exactly the SD
Card Name field in the top left corner of the SST SD Card Manager dialog.
This entry must correspond to the “Module” section of the SST SD Card Manager dialog. This product
supports SST Data Highway Plus modules with baud rate of 56KB, 115 KB, or 230 KB.
6 Contact information
Axisware LLC
support@axisware.com
http://www.axisware.com
T: 1-(214)-764-1876
F: 1-(214)-764-1878