Академический Документы
Профессиональный Документы
Культура Документы
for FactoryLink
Version 7.2
Axisware GE Fanuc PCIM Driver for FactoryLink 1
Contents
1 Overview......................................................................................................1
1.1 Software License.....................................................................................................1
1.2 Introduction.............................................................................................................1
1.3 Historical Note........................................................................................................1
1.4 PCIM Card Installation...........................................................................................1
1.5 Software Installation...............................................................................................1
2 Factorylink Application Configuration......................................................3
2.1 External Device Definition.....................................................................................3
2.1.1 Logical Port.............................................................................................3
2.1.2 Device Name...........................................................................................3
2.1.3 Function...................................................................................................3
2.1.4 Memory...................................................................................................3
2.1.5 Comment.................................................................................................4
2.2 Axisware GE PCIM Read/Write Control................................................................5
2.2.1 Table Name.............................................................................................5
2.2.2 Unsolicited Read.....................................................................................5
2.2.3 Exception Write......................................................................................5
2.2.4 Block Read Priority.................................................................................6
2.2.5 Block Read Trigger.................................................................................6
2.2.6 Block Read Disable.................................................................................6
2.2.7 Block Read Complete.............................................................................6
2.2.8 Block Read State.....................................................................................6
2.2.9 Block Write Priority................................................................................7
2.2.10 Block Write Trigger..............................................................................7
2.2.11 Block Write Disable..............................................................................7
2.2.12 Block Write Complete..........................................................................7
2.2.13 Block Write State..................................................................................7
2.3 Axisware GE PCIM Read/Write Information Table...............................................8
2.3.1 Tag Name................................................................................................8
2.3.2 Logical Station........................................................................................8
2.3.3 Data Region.............................................................................................8
2.3.4 Memory Offset (Address).......................................................................8
2.3.5 Bit # or Length........................................................................................9
2.3.6 PLC Data Type........................................................................................9
2.3.7 No Current Function...............................................................................9
2.3.8 Program Task Name................................................................................9
2.3.9 Program Block Name..............................................................................9
2.4 Axisware GE PCIM Logical Station Control.......................................................10
2.4.1 Logical Port...........................................................................................10
2.4.2 Timeout (Tenths)...................................................................................10
2.4.3 Card Memory Address (Hex)................................................................10
2.4.4 I/O Port Address (Hex).........................................................................10
2.4.5 Global Reference...................................................................................11
2.4.6 Global Length........................................................................................11
2.4.7 Configure Redundancy..........................................................................11
2.4.8 Redundancy Status Tag.........................................................................11
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 GE Fanuc PCIM communication
driver software.
The driver currently supports the 90-70, Series-6, GCM+ (90-30 module for Genius network), and all the
currently available Genius blocks. Unsolicited messages from the 90-70 and Series-6 are supported. Diagnostic
information may be read from Genius blocks. Also, configuration data can be read from or written to Genius
blocks.
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 NT D
When the driver software installation is completed, please refer to 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 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.3 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.4 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.5 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 you 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 refer to Appendix N for additional information
and examples.
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.
Dgital 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.
Dgital 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.
Dgital 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.
Dgital 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.
Mnemonic defining area of device memory to be accessed, or manner in which device is to be addressed,
e.g., AI, AQ, G, R, ... Sometimes called “Data Table” or “Reference Table”.
Numeric portion of device address. Sometimes referred to as “Element”. May be word, byte, or bit
address depending on the selected device and Data Region.
If a digital tag is used and a byte or word oriented data region has been selected, this field is zero base
and is used to specify the bit offset in the selected byte or word. If a message tag is used, the field
specifies the number of bytes that are to be transferred between the message tag and the Logical Station.
Data type for information being read/written from/to the Logical Station.
This field has been included to maintain compatibility with the GE SNP driver tables. The entry must be
left as the default.
Valid entry: XX
Used only for the 90-70 Bus Controller and specifies the program task name required for the data
regions "L" and "P".
Used only for the 90-70 Bus Controller and specifies the program block name required for data region
"L".
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.
Address for memory shared by the PCIM card and the FactoryLink CPU. This number must match the
address configured for the PCIM daughter board.
Global Data Reference Address used by some devices on the Genius network. Check documentation for
specific device to determine if and how it is used. This value is not used directly by the PCIM driver;
however, the integer value is written to the card and is available to other devices on the network.
Number of bytes broadcast as global data and directed outputs and number of bytes received as global
data and directed inputs.
Note: The number of bytes broadcast as global data can drastically affect the speed of the Genius
network.
Specifies whether redundant bus controllers exist on the Genius network as devices 30 and 31.
(Optional) Analog tag to which the redundancy status will be written during run-time. The following
codes may be returned by the driver:
(Optional) Message tag 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 (PCIM 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). This number must be unique for each four-letter
device ID (PCIM).
2.5.5 Comment
(Optional) Description for the current Logical Station. Used only for application documentation.
3 Appendices
The GE Fanuc PCIM card must be installed in the computer in an open, full length slot. However, prior to the
card's installation, the appropriate I/O port address, interrupt, baud rate, serial bus address, shared memory
segment address, watchdog timer setting and any application-specific settings must be properly set by jumpers or
switches. For more information on installing the GE Fanuc PCIM card then is cover in this section refer to GE
Fanuc manual “Genius I/O PCIM User’s Manual” Pub. # GFK-0074A.
The I/0 port address is selected by SW1 on the PCIM card. The eight dip switches on SW1 are set in
accordance with what is specified in the PCIM manual (GFK-0074A). An I/O port address setting of 3E0 (hex)
is recommended; the following chart illustrates the proper switch settings for this address.
SW1
1 2 3 4 5 6 7
| | | | | | |
C C C 0 0 0 0
where,
C = Closed
O = Open
Interrupt Level
The interrupt level is selected by SW4 on the PCIM card. The current version of the driver does not support
interrupts; therefore, all six switches must be open.
Baud Rate
The baud rate is selected by dip switches six (6) and seven (7) on the switch assembly which resides on the
PCIM daughterboard (Please refer to the PCIM manual). Both of these dip switches should remain open unless
the network requires a lower baud rate because of noise. Please note that all nodes on one Genius network must
have the same baud rate
Daughterboard Switches
1 2 3 4 5 6 7 8
| | | | | | | |
C O C O C X X X
where,
C = Closed
O = Open
X = Not used for address
The shared memory segment address is selected by SW2 and SW3 on the PCIM card. The six dip switches on
each of the two switch assemblies are set in accordance with the PCIM manual. Please note that switch one (1)
of SW3 must be open for the driver to properly function. A shared memory segment address of E0000 (hex) is
recommended; the following chart illustrates the proper switch settings for this address.
SW2
1 2 3 4 5 6
| | | | | |
C C C O O O
SW3
1 2 3 4 5 6
| | | | | |
O X X X X X
where,
C = Closed
O = Open
X = Not used
Watchdog Timer
The watchdog timer MUST be disabled by placing jumper JP2 in the 1-2 position (Please refer to the PCIM
manual). If JP2 is left in the 2-3 position, the driver will not complete any requests.
Application-Specific Settings
Two (2) selections on the board remain which should be configured in accordance with the needs defined by the
specific application. JP1 is used to connect or disconnect the terminating resistor; please see discussion in the
PCIM manual. Dip switch number eight (8) on the PCIM daughterboard is used to enable or disable outputs
from the PCIM card. If outputs are enabled, all devices capable of receiving directed global data will receive
their outputs from the PCIM card. If outputs are disabled, only those devices to which writes have been
configured in FactoryLink will receive their outputs from the PCIM card. Both of these settings can be selected
to meet the needs of the specific application.
Cable Connections
The required communication cable is discussed in the PCIM manual. The same twisted shielded pair used for
other Genius network devices should be used with the PCIM card. The six (6) pin connectors on the back of the
PCIM card should be wired as follows: pin 1 is Serial 1, pin 2 is Serial 2, pin 3 is Shield In, and pin 4 is Shield
Out. Pin 5 and pin 6 are not used.
The GE Fanuc PCIM card must be installed in the computer in an open, full length slot. However, before
installing the card the appropriate I/O port address for configuring the board must be set in the DIP switch on the
PCIM board. The GE Fanuc PCIM card must be configured with the configuration software “DPCIMCFG.EXE”
provided be GE Fanuc. For more information on installing the GE Fanuc PCIM card please refer to the GE
Fanuc manual “Single-Slot PC Interface Module (PCIM)” Pub. # GFK-0881.
Note: It is important to note that “DPCIMCFG.EXE” is a DOS program. It will run in a DOS window in
Windows and also in a DOS window in OS/2 but it will not correctly run in a DOS window under
Windows NT. To configure the card on Windows NT the computer MUST be booted in DOS..
Note: The FactoryLink GE Fanuc PCIM Communication Driver WILL support two PCIM daughter boards on
the same PCIM card. Simply treat the daughter boards as two separate cards.
3.1.2.1 Switches
The default setting for the Board Address DIP switches is 222hex. If there are multiple PCIMs or if the address
conflicts with addresses used by other modules, it must be changed to an address in the range 102hex to 3FEhex.
Switches 1 and 2 set the high hex digit, 3, 4, 5, and 6 set the middle digit, and switches 7 and 8 set the low hex
digit.
Switch: 1 2 3 4 5 6 7 8
| | | | | | | |
U D D D U D D D
where,
U = Up
D = Down
Use the up and down arrow keys to move to the field labeled I/O base and enter in the desired I/O Port address in
HEX.
Note: This I/O Port to be entered in the “Axisware GE PCIM Logical Station Control” I/O Port Address field
NOT the I/O Port set with dip switches on the card..
Interrupt Level
Use the up and down arrow keys to move to the field labeled Interrupt. The current version of the driver does not
support interrupts; therefore, the Interrupt field must read “Disabled”. Use the left and right arrow keys to toggle
the field to disabled.
Baud Rate
Use the arrow keys to move to the field labeled Baud. Use the left and right arrow keys to select the desired
network Baud Rate. The baud rate should remain “153.6K Std” unless the network requires a lower baud rate
because of noise. Please note that all nodes on one Genius network must have the same baud rate.
Watchdog Timer
The watchdog timer MUST be disabled. Use the up and down arrow keys to move to the field labeled
Watchdog then use the left and right arrows to toggle to the selection disabled.
The required communication cable is discussed in the PCIM manual. The same twisted shielded pair used for
other Genius network devices should be used with the PCIM card. The four pin connectors on the back of the
PCIM card should be wired as follows: pin 1 is Serial 1, pin 2 is Serial 2, pin 3 is Shield In, and pin 4 is Shield
Out.
If the driver software is an update from an older version of the driver, the following procedures must be followed
for the software to be properly installed. First, the operator must exit from both the Run Manager and the
Configuration Manager. Second, a multiplatform save file should be created. Third, the driver should be
installed as described below. Fourth, restore the multiplatform save file created in step 2. Fifth, update the
Configuration Manager tables for the NOVA Technologies 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 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 value by using the SET
command (example: set flink=d:\flos2).
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.
(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 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. 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 “NOVA Technologies” 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
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.
the lines to be added to these files can be typed in manually using a text editor. Please refer to the section
Before Starting Installation (OS/2 version) 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 on the screen:
.....NOVA Installation Program Completed.
The device driver NOVAMEM.SYS must be loaded into memory when your system boots in order for the
FactoryLink PCIM driver to function properly. After the INSTALL program is run, the CONFIG.SYS file must
be modified manually, using a text editor, such as OS/2’s System Editor.
The following line (or one similar) must be added to the OS/2 CONFIG.SYS file. The directory specified for
the device driver is created when the software is installed from the installation diskette. Assuming that
$FLINK is set to c:\flos2, the line should be:
DEVICE=C:\FLOS2\EDI\PCIM\NOVAMEM.SYS
It is very important that only one reference to this device driver be made in the CONFIG.SYS file.
This driver will support four cards. They may be PCIM cards, or other cards that use the NOVAMEM.SYS
driver.
Note: The changes you make to your CONFIG.SYS file will not take effect until you reboot your system.
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:\FLNT.
If $FLINK has not been defined when the install is started, you will be requested to exit and assign a
parameter to $FLINK, and then restart the install program. $FLINK can be assigned a value by using the
SET command from a DOS prompt (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. After making the drive
containing the diskette the current working drive, type INSTALL at a DOS prompt and press Enter. The
installation may also be started by using File… Run…from Windows NT’s Program Manager or File
Manager, or by using Start… Run..
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 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 “NOVA Technologies” 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 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 Installation (Windows NT version) for the specific lines and where they are to be added.
When all of the necessary files have been copied the following message will appear on the screen:
.....NOVA Installation Program Completed.
Restart your computer to ensure that all changes have been properly made.
During the installation process, the NOVAMEM.SYS device driver is registered with the Windows NT system
registry. However, an additional step is required to actually start the NOVAMEM.SYS device driver.
The NOVAMEM device driver must be loaded for the communications driver to function. This can be
accomplished by either of two methods. The first is by adding the following command to the FLRUN.BAT
(located in $FLINK\BIN\). The line should be added just beneath the 'setlocal' command line.
A better method is to open the Control Panel folder located on the Windows NT Program Manager, then start
the Devices program using the icon located in that folder. Scroll down the list of services until NOVAMEM is
located, then change its startup type to SYSTEM.
The following error codes (alphabetized) may be reported to FactoryLink while the GE PCIM Driver tables are
being processed at startup.
Configuration/Fault information may not be accessed for bus controllers / GCM / PCIM
The selected device does not support datagrams that read or write configuration/ fault
information. If this information is needed for a bus controller, it may be read from the bus
controller by the host PLC and then read into FactoryLink from the PLC.
Configuration/Fault information may only be returned with types DGBIT, DGBYT, and DGWRD
If configuration data is to be read from or written to a Genius block, one of these Data Regions
must be used. All other data regions are considered invalid.
Data anomaly
Indicates that addresses and data types specify overlapping elements.
Data table "L" for 90-70 requires both task and block names
The specified data table (region) is not valid unless the program task name and program block
name are both given.
No tag given
The indicated line of the Read/Write Information Table currently being processed does not
contain a valid FactoryLink tag name.
The current Read/Write Information Table contained entries that caused a portion of the table
to generate an error and consequently no DCT information was output.
Only GIXXX and GOXXX used with digital blocks, GCM, or PCIM card
Please refer to Appendix J (Global Data) & Appendix K (Datagrams) for the details of
addressing each device.
Ordering anomaly
Indicates that the Read/Write Information Table currently being processed contains addresses
such that the driver is unable to properly arrange all the entries.
Out of Memory
The driver was unable to internally allocate all the necessary memory. Allocate more memory
in the External Device Definition Table.
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 PCIM card did not respond as expected. Check all card jumpers, dip switches, and verify
that the PCIM card is properly inserted. Verify that the watchdog timer has not been enabled.
Ensure that no shared memory conflicts (including ROM shadowing) exist.
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 the EDI 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.
The operator attempted to write data to a Genius block. This operation is not supported by the
Genius protocol.
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.
DIGITAL
ANALOG
LONG ANALOG
FLOATING POINT
MESSAGE
Valid PLC data types for each of the FactoryLink tag types:
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
BYTE
The 8 bits of this data type are transferred to the lowest 8 bits of the ANALOG tag.
INT2
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 to a 16 bit integer. The value is then
directly transferred without conversion into the ANALOG tag.
BCD8
After being read from the PLC, the BCD8 value is converted to a 32 bit integer. The value is then
handled as the INT4 data type above.
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 -32768 and +32767. When converting
back to a FLT4, a 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 -32768 and +32767. When converting
back to a FLT8, a fractional portion of zero is assumed.
LONG ANALOG
BYTE
The 8 bits of this data type are transferred to the lowest 8 bits of the LONG ANALOG tag.
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
No conversion necessary; all 32 bits transfer directly.
BCD4
After being read from the PLC, the BCD4 value is converted to a 16 bit integer. The value is then
handled as the INT2 data type above.
BCD8
After being read from the PLC, the BCD8 value is converted to a 32 bit integer. The value is then
handled as the INT4 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, a 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, a fractional portion of zero is assumed.
FLOATING POINT
BYTE
The BYTE value is converted into a standard IEEE 64 bit floating point value and then transferred
directly to the FLOATING POINT tag. The fractional portion of the number is assumed to be zero.
INT2
The INT2 value is converted into a standard IEEE 64 bit floating point value and then transferred
directly to 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 to 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 to a 16 bit integer. The value is then
handled as the INT2 data type above.
BCD8
After being read from the PLC, the BCD8 value is converted to a 32 bit integer. The value is then
handled as the INT4 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 to the FLOATING POINT tag.
FLT8
The data is transferred directly; no conversion is necessary.
MESSAGE
ASC
All data is read directly into the message tag from the specified device address. No conversion of any
kind is employed.
The GE PCIM driver incorporates a system of reserved table names which is not generally part of an EDI driver;
however, in so doing, this driver maintains all aspects of EDI compatibility. Reserved table names may be used
for additional functionality or completely abandoned for a standard configuration. The only data region
mnemonics that may be used for special function configuration tables are DGBIT, DGBYT, and DGWRD.
Please refer to Appendix K for more information concerning data regions. The first four (4) characters of the
table name define the intended purpose of the table. If neither of these table name prefixes are used, the table is
assumed to be a standard read or write table. The following two four-character sequences are reserved:
_FLT If the first four (4) characters of the table name are "_FLT", the table is considered by the driver
to define a fault or diagnostic table. The letters used must be all uppercase and preceded by an
underscore. Fault tables are only valid when configured for block reads from Genius blocks.
All other attempted operations for fault tables will generate errors from the driver. The specific
fault information that can be accessed by a fault table is described in the manuals for each
Genius device. The GE manual Genius I/O System and Communications I (GEK 90486D-1)
contains the most complete listing of this information for all Genius devices in chapter 5.
_CFG If the first four (4) characters of the table name are "_CFG", the table is considered by the driver
to define a configuration table. The letters used must be all uppercase and preceded by an
underscore. Configuration tables are only valid when configured for any type of writes to or
block reads from Genius blocks. All other attempted operations for configuration tables will
generate errors from the driver. The specific configuration information that can be accessed by
a configuration table is described in the manuals for each Genius device. The GE manual
Genius I/O System and Communications I (GEK 90486D-1) contains the most complete listing
of this information for all Genius devices in chapter 4.
INTRODUCTION
Two types of data transfers are available to the GE PCIM driver. These two methods are Global Data and
Datagrams. It is the responsibility of the operator to intelligently select between these two methods. Both
methods have positive and negative features; however, the specific application and function will dictate the wise
choice. This appendix describes the use of Global Data; Appendix K is dedicated to the use of Datagrams.
These two appendices are not intended to be an exhaustive or complete discussion of these topics; therefore, if
additional information is desired, please consult the appropriate GE technical manual. A brief description of
Global Data and its implementation for each supported Genius device follows.
DESCRIPTION
The following description of Global data is included in the Genius I/O System and Communication manual
(GEK 90498D-1) page 7-2.
"Global Data is data which is automatically and repeatedly broadcast by a bus controller. All other bus
controllers on the same bus are capable of receiving the data, although some bus controllers can choose
not to. The ability to send Global Data is set up when each bus controller is configured. Once the
system is in operation, the only further action required of an application program is to place new data to
be sent into the selected memory area as often as needed, and to read incoming Global Data which has
been received."
The whole of chapter seven (7) is dedicated to the subject of Global Data in the GE manual referenced above;
therefore, additional information may be obtained from this source. Of special importance and interest may be
the discussion on pages 7-12 and 7-13.
The standard FactoryLink configuration tables previously discussed are used to control and access Global Data
for the PCIM card. This method of data transfer can be very fast; however, if excessive amounts of Global Data
are transferred, the speed of the entire Genius network may be adversely affected.
IMPLEMENTATION
The only data region mnemonics that may be used are GIBIT, GOBIT, GIBYT, GOBYT, GIWRD, and
GOWRD. The second character used in the mnemonic indicates whether the transaction is to be directed toward
the Input or Output tables on the PCIM card. The last three characters of the mnemonic indicate the method in
which the memory offset will be interpreted:
Please note that the data type determines how the data at a given address will be interpreted; therefore, any
addressing scheme may be used with any valid combination of tag types and data types.
Examples:
GIBIT 10 Bit 10 of the Global Data input table
GOBIT 10 Bit 10 of the Global Data output table
GIBIT 33 Bit 33 (bit 1 of word 3) of input table
GIBYT 4 fifth byte of input table (same as above)
GIWRD 3 third word of input table (same as above)
Each circuit of the block that has been configured as an input may be read directly from the input table
(GIXXX). If circuit 14 of a 16 or 32 circuit block was configured as an input, it could be read as any of the
following addresses:
Each circuit of the block that has been configured as an output may be assigned directly by writing to the output
table. Care must be taken that more than one device is not attempting to control the outputs for one block. If
circuit 31 of a 32 circuit block was configured as an output, it could be written as any of the following addresses:
GOBIT 31,
GOBYT 3 (bit # 6),
GOWRD 2 (bit # 14).
The four (4) or six (6) analog input circuits will be located in consecutive words in the input table. If analog
input four is to be read, the following addresses could be used:
GIBIT 49,
GIBYT 6,
GIWRD 4.
The two (2) output circuits that exist on some blocks may be controlled by writing directly to the output table. If
analog output 1 is to be written, the following addresses could be used:
GOBIT 1,
GOBYT 0,
GOWRD 1.
A wide range of parameters are sent from these devices each bus scan. The inputs, both discrete and analog, are
accessed from the input table as the other devices described above. The outputs are written to the output table as
described above. The specific values and parameters that may be accessed are described in the manuals for each
device. Great care should be taken in writing to PowerTRAC outputs, because they may actually interfere with
the return of working and overcurrent data.
Global Data broadcast from these devices is read from the input table with the above described mnemonics rather
than the natural addressing for that PLC type. This function is not automatic as it is for the Genius blocks;
therefore, each PLC device must be properly configured to broadcast Global Data. The following read examples
assume that the GCM+ has been configured to broadcast from %R0001 and the 90-70 to broadcast from %
G1001:
GCM+
%R0002 GIWRD 2,
%R0019 GIBYT 36,
90-70
%G0010 GIBIN 10,
%G0065 GIBIN 65,
GIBYT 8,
GIWRD 5.
Writing Global Data to these devices is handled a little differently than the other Genius devices discussed so far.
These three devices are configured to receive data broadcast by other devices; therefore, the data must be
broadcast from the PCIM card rather than being written directly to the Genius device. Data is broadcast from the
PCIM card by selecting a logical station defined as a device type "PCIM" and a station address corresponding to
that of the card as selected by the dip switches on the PCIM daughterboard. This data will be broadcast to all
devices on the network capable of receiving such data and will be placed in PLC memory as configured. All data
to be broadcast should be written to the output table for the PCIM card.
INTRODUCTION
Two types of data transfers are available to the GE PCIM driver. These two methods are Global Data and
Datagrams. It is the responsibility of the operator to intelligently select between these two methods. Both
methods have positive and negative features; however, the specific application and function will dictate the wise
choice. This appendix describes the use of Datagrams; Appendix J is dedicated to the use of Global Data.
These two appendices are not intended to be an exhaustive or complete discussion of these topics; therefore, if
additional information is desired, please consult the appropriate GE technical manual. A brief description of
Datagrams and their implementation for each supported Genius device follows.
DESCRIPTION
A Datagram is a message sent over the Genius network to obtain or write information. Datagrams are used to
directly access all data types in the 90-70 or Series-6, obtain fault information, directly access configuration
information, and read input or output information from some Genius blocks.
Datagrams are generally slower than Global Data transfers because the required information is not available until
it is solicited. However, the speed of the network overall is not affected significantly because messages are not
sent continually as with Global Data.
IMPLEMENTATION
DGBIT 57
DGBYT 8
DGWRD 5 (First byte)
obtained from GE documentation; however, examples of such data would be fundamental VARs, harmonic
VARs, fundamental power factor or line frequency.
In addition to these standard datagram features, waveform data and overcurrent data may be returned from the
block. In general, this information should only be read with a dedicated FactoryLink read table. Waveform data
should not be read more frequently than once every 0.5 seconds. Overcurrent data can only be read after an
overcurrent condition, and not more frequently than once every 0.5 seconds. Waveform data is accessed using
the following data region mnemonics: WDBIT, WDBYT, or WDWRD. Beyond these additional mnemonics, all
previous guidelines apply to accessing this data.
Example:
WDBYT 1024 first byte of channel C current
WDBYT 514 third byte of channel C voltage
WDWRD 129 first word of channel B voltage
WDWRD 896 last word of table
Overcurrent data is accessed using the following data region mnemonics: OCBIT, OCBYT, or OCWRD. These
values are accessed exactly as the waveform data region.
IMPORTANT: The operator must always read the last word from either of these two tables when they are
accessed. This would be addressed as OCBYT 1790, WDBYT 1790, OCWRD 896, or WDWRD 896.
1) The number in the fourth decimal digit represents the timer number,
2) The number in the first, second, and third digits represents the timer data type code.
Example:
DGBYT 1001 Read accumulator value (code 1) for timer 1
DGBYT 4006 Read counter timer base (code 6) for timer 4
DGBYT 3031 Read counter preload #1 (code 31) for timer 3
90-70
No configuration or diagnostic information for a bus controller may be accessed from FactoryLink; however,
Datagrams are used to access all the memory types in the 90-70. Valid data region mnemonics are as follows:
AI, AQ, G, I, M, Q, R, S, SA, SB, SC, and T. AI, AQ, and R are all word addresses; the remaining types are bit
addresses. Digital writes may not be directed to word addresses, but digital reads may be used. All addresses are
entered exactly as they are used in the PLC. The following examples list possible FactoryLink addresses.
Examples:
AQ 16 %AQ0016,
G 1 %G0001,
M 256 %M0256.
T 15 %T0015,
Series-6
No configuration or diagnostic information for a bus controller may be accessed from FactoryLink; however,
Datagrams are used to access all the memory types in the Series-6. Valid data region mnemonics are as follows:
O
I
R
AUXO
AUXI
O1+ through OF+
I1+ through IF+
O0- through OF-
I0- through IF-
O and I are byte addresses, and the remaining data regions are accessed with word addresses. The auxiliary data
regions and channelized I/O are accessed as they are mapped to the registers by the Series-6. The following
examples list possible FactoryLink addresses. Please note that a WINDOW command in the PLC is necessary
for the PCIM card to access the PLC memory.
Examples:
R 1 R00001,
O 15 O0015,
I 16 I0016,
AUXI 256 AI0256,
IC+ 39 IC+0039,
O8- 560 O8-0560.
Unsolicited messages can be configured to allow a PLC (90-70 or Series 6) to send data to the FactoryLink real-
time database without the PLC being polled by the EDI driver. This can be useful for logging PLC data that is
not generated at predefined intervals such as error reporting, diagnostics or data that changes infrequently.
Several simple steps are required to configure the system to receive unsolicited messages.
The first step is to set the column titled Unsolicited Read in the Axisware GE PCIM Read/Write Control
Table to either "Forced" or "Yes". This will allow that specific table to be included in the driver's search for tags
with which to associate the incoming data. The table for which unsolicited reads have been enabled may now be
edited to associate FactoryLink real-time database elements to addresses in the PLC. The same addressing rules
should be followed for unsolicited read tables as for the standard read or write tables. Note: The number of tags
that are configured as unsolicited read tags directly affects the time that is required to process incoming requests;
therefore, if speed is critical, only include the unsolicited read tags that are essential to the application.
The following two sections briefly describe the steps necessary to configure FactoryLink and a 90-70 or a Series-
6 to communicate via unsolicited messages.
90-70 PLC
If Logical Station 10 is a 90-70 bus controller, the following would be an example to receive unsolicited
messages.
The second step is to configure the PLC to send the messages to the FactoryLink PCIM card. This is
accomplished via the 90-70 COMREQ command. The following rung of logic is an example to illustrate this
procedure:
Program: TEST
C:\LM90\TEST
TABLE OF CONTENTS
In the above example, contact %M0001 must only be energized for one PLC scan to initialize the data
transmission. If it is left energized for multiple, successive PLC scans, the Genius LAN will not be able to
transmit the communication commands as quickly as they are being generated. After the message has been
received by FactoryLink, the %M0001 may again be energized for one scan to re-transmit the message.
The SYSID of 4 specified in the COMREQ command indicates the location of the bus controller card in the
PLC rack. The TASK number of 1 must be left unchanged.
The register %R0001 is the starting address for the command block which defines the message. The command
block information defines the communication request and supplies all necessary addresses and parameters. A
COMREQ #14 or Write Device Command, as defined in the Series 90-70 PLC Genius Bus Controller manual
(GFK-0398C), should be used.
The following example illustrates the command block that could be used with the above line of PLC logic (Rung
1...%R0001) to transmit 20 registers starting at location %R1000 to a PCIM card at a Genius node address of 31:
If the three examples in this appendix are combined and the contact %M0001 is energized as described above,
tags tagR1000, tagR1001, tagR1019 would receive the values stored in %R0020, %R0021, and %R0038,
respectively. However, no value would be placed into tag tagR1025 since only 20 values are transmitted (%
R1000 - %R1019).
SERIES-6 PLC
If Logical Station 11 is a Series-6 bus controller, the following would be an example to receive unsolicited
messages.
The second step is to configure the PLC to send the messages to the FactoryLink PCIM card. This is
accomplished via the Series-6 DPREQ command. The rungs of logic on the following page represent an
example to illustrate this procedure:
|
| << RUNG 1 >>
|
| R01000
+[ BLOCK MOVE ]-( )
| +00001 +00001 +00001 +00001 +00001 +00001 +00001
|
| << RUNG 2 >>
|
| R01000 R01000 O0002
+[WINDOW ADDRESS COMM BLOCK]--------------( )
|
|
| << RUNG 3 >>
|
| O0101 O0100
+--] [---------------------------(OS)
|
|
| << RUNG 4 >>
|
| O0100 R00500
+--] [---[ BLOCK MOVE ]-( )
| +01009 +00012 +00000 +00010 +00510 +00020 +08224
|
| << RUNG 5 >>
|
| O0100 R00510
+--] [---[ BLOCK MOVE ]-( )
| +28416 +00087 +07296 +00001 +00002 +00003 +00004
|
| << RUNG 6 >>
|
| O0100 R00517
+--] [---[ BLOCK MOVE ]-( )
| +00005 +00006 +00007 +00008 +00009 +00010 +00011
|
| << RUNG 7 >>
|
| O0100 R0500
+--] [---[DPREQ]- ( )
|
|
In the above example, contact O0100 is only energized for one PLC scan which initializes the data transmission.
After the message has been received by FactoryLink, I0100 may be toggled to re-transmit the message.
Rungs 1 and 2 set up and execute the WINDOW command which is necessary for the PCIM card to access
Series-6 memory.
The remaining rungs control and execute the DPREQ command which sends data to FactoryLink. R00500 and
the 6 successive registers define the command block. A full description of the command block is given in the GE
Series Six Bus Controller manual (GFK-0171B). R00503 should contain the Genius address for FactoryLink as
defined in the Logical Station Control Table. R00505 represents the number of bytes that will be sent to
FactoryLink; 20 bytes would be transferred in this example.
R00510 and all the successive registers represent the data that is actually sent to FactoryLink. The format for
this data is described in the Series-6 manual referenced above. Please note that absolute addressing is used;
absolute addressing is also described in the Series-6 manual. The above example would send a message to
absolute address 576F hex or 22383 decimal. This would represent a register address of 6000 decimal (22383 -
16383 = 6000).
If this example is followed exactly, tags tagR6000, tagR6001, tagR6005 would receive the values of 1, 2, and 5,
respectively. However, no value would be placed in tag tagR6025 since only 10 registers (20 bytes) were
transmitted.
BEFORE installing the FactoryLink upgrade you MUST make a multiplatform save of your
application.
After installing the driver, upgrading to a newer version of FactoryLink may appear to cause operational
problems. This is due to the modifications to certain text files made by installing this product being
overwritten during the install of the new FactoryLink version. However, these files can be reconfigured
using a text editor
AFTER installing the FactoryLink upgrade and BEFORE restoring the multiplatform save file of your
application, do the following:
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.
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.
5 Contact information:
Axisware LLC
support@axisware.com
http://www.axisware.com
T: 1-(214)-764-1876
F: 1-(214)-764-1878