
Reference Guide
D5092
11-Dec-2007
Allen-Bradley RDI
Bristol OpenEnterprise Reference Guide
Allen-Bradley RDI
Remote Automation Solutions
Website: www.EmersonProcess.com/Remote

Reference Guide
D5092
11-Dec-2007 - Page 2
Allen-Bradley RDI
Contents
1 Allen-Bradley RDI .................................................................................................................... 3
1.1 Overview ............................................................................................................................. 3
1.2 Overview ............................................................................................................................. 3
1.3 System Requirements......................................................................................................... 3
1.3.1 Rockwell Software RSLinx ® ........................................................................................ 3
1.3.2 Database Configuration ................................................................................................ 3
1.3.3 Allen-Bradley RDI application (abrdi.exe) .................................................................... 3
1.3.4 Services File Entry........................................................................................................ 3
1.3.5 Session Manager Configuration ................................................................................... 3
1.4 RSLinx Driver Configuration ............................................................................................... 4
1.5 Database Configuration ...................................................................................................... 4
1.5.1 abDriver_Table ............................................................................................................. 4
1.5.2 ABNetwork_Table......................................................................................................... 4
1.5.3 ABdevice_Table ........................................................................................................... 5
1.5.4 dvi_schedule................................................................................................................. 5
1.5.5 ABPollList_Table .......................................................................................................... 6
1.5.6 ABIntegerAnalog_Table ............................................................................................... 6
1.5.7 ABRealAnalog_Table ................................................................................................... 7
1.5.8 ABDigital_Table ............................................................................................................ 7
1.5.9 ABComplex_Table........................................................................................................ 8
1.6 Running the Allen-Bradley RDI ........................................................................................... 9
2 Index ....................................................................................................................................... 10
Remote Automation Solutions
Website: www.EmersonProcess.com/Remote

Reference Guide
D5092
11-Dec-2007 - Page 3
Allen-Bradley RDI
1 Allen-Bradley RDI
1.1 Overview
The OpenEnterprise Allen-Bradley RDI (filename: abrdi.exe), has been designed to communicate with
Allen-Bradley PLC-5s over any of the interface cards and protocols supported by RSLinx ®.
1.2 Overview
The OpenEnterprise Allen-Bradley RDI (filename: abrdi.exe), has been designed to communicate with
Allen-Bradley PLC-5s over any of the interface cards and protocols supported by RSLinx ®.
1.3 System Requirements
The following environment is required to run the Allen-Bradley RDI.
1.3.1 Rockwell Software RSLinx ®
As a minimum the OEM type must be installed. See the RSLinx ® Driver Configuration topic.
1.3.2 Database Configuration
• If the Database Project Builder (DPB) is used to build the database select the Allen-Bradley
Device Driver.
• If the DPB is not being used, then you need to use the SQL Client to firstly 'include' the
ab_tables.sql script, found in the OpenEnterprise Database directory into the OpenEnterprise
Database. This script contains the Allen-Bradley RDI schema.
• Then you need to make sure to add a reference to the ab.cl file at the correct place in the
poly.cfg file.
• Finally, you need to include the ab_insert.sql script. This will add the Allen-Bradley Driver to
the database.
1.3.3 Allen-Bradley RDI application (abrdi.exe)
This is included in the OpenEnterprise Server installation, along with the ociapi.dll, which is also
required in order for it to function correctly.
1.3.4 Services File Entry
The OpenEnterprise installation should have written an entry for the 'abrdi' to the Services file in
winnt\system32\drivers\etc. This is the TCP/IP service name to which OE attempts to
connect.
1.3.5 Session Manager Configuration
The Allen-Bradley RDI is an application which should be configured to run as part of an
OpenEnterprise Session on the Master Server under the control of the Session Manager. Refer to
Session Manager Help for further details.
Remote Automation Solutions
Website: www.EmersonProcess.com/Remote

Reference Guide
D5092
11-Dec-2007 - Page 4
Allen-Bradley RDI
1.4 RSLinx Driver Configuration
To configure a driver, run the Rockwell Software RSLinx ® program and select Communications >
Configure Drivers.
Select a driver from the available driver list and complete the information required in the displayed
dialog box. All drivers will require a name that will be the same as that name entered in the
abNetwork_Table.
The dialog box then varies depending on the driver selected. For instance, for the Ethernet driver the
dialog will prompt for PLC TCP/IP address mapping to Driver station numbers.
1.5 Database Configuration
The following tables are added by the default SQL script ab_tables.sql. This is included when the
Allen-Bradley option is chosen on the Device Drivers page when running the Database Project Builder
wizard, or it can be included from the SQL Client, if building the database manually. The following
gives a description of the tables and their use.
1.5.1 abDriver_Table
There is a single driver table entry added by the ABDef.sql script as a part of the initial OE
Database build process. This SQL script inserts the mandatory OpenEnterprise Database
requirement for using the Allen-Bradley RDI. Other AB table entries are project specific.
The following columns must contain valid data:
drivername - table key.
address - TCP/IP host and service name that the GDI will attempt to connect with. Set to
'abrdi' if the driver is running locally. Make sure the Services file in winnt\system32\drivers\etc
contains an entry for 'abrdi'.
retryperiod - This determines how frequently the GDI will attempt to connect with the RDI.
Example:
insert into ABDriver_Table(drivername,address,retryperiod)
values ('ABRDI','abrdi',seconds(10));
commit;
1.5.2 ABNetwork_Table
There will be a table entry for each configured RSLinx ® Driver. The following columns must
contain valid data:
networkname - table key.
drivername - ABDriver_Table key.
driver_id - unique number for RSLinx ® Driver between 0 and 15.
driver_name - name for RSLinx ® Driver assigned during configuration.
Remote Automation Solutions
Website: www.EmersonProcess.com/Remote