SW/RFM2G-WIN Reflective Memory Driver
for Windows XP(32 & 64 bit), Windows Vista(32 & 64 bit)
Copyright (C) 2002-2008 GE Fanuc Intelligent Platforms
International copyright secured. All rights reserved.
o INTRODUCTION
The SW/RFM2G-WIN Reflective Memory Drivers for the Windows
Operating System allow application programs to access and control
any of the following GE Fanuc Reflective Memory (RFM) Products:
PCI-5565PIORC
PMC-5565PIORC
PCI-5565
PMC-5565
PCIe-5565
The device driver senses the reflective memory type and requires
no configuration by the user. Any number of RFM devices may be
installed. Any combination of RFM2G models may be installed in the
same systems; the driver supports all RFM models concurrently.
Applications must open the RFM device driver before accessing the
reflective memory services. The first RFM device found is
assigned the name "\\.\rfm2g1", the second device is named
"\\.\rfm2g2" and so on.
NOTE: the RFM device name has *NO* correlation to the RFM node
number for that device. For example, if an RFM board is removed
from a system with several RFM boards and then replaced in to a
different PCI slot than from which it was removed, the device
name may change.
Once the device is opened, the applications program may then map
the memory area of the RFM device into the application's virtual
memory. Having done this, the application may then use an ordinary
pointer de-reference (also known as load's and store's) to access
the RFM memory.
Individual 8-bit bytes, 16-bit words, 32-bit long words and 64-bit
long words may be read or written by the program itself or by using
services implemented in a Dynamic Load Library (DLL) provided with the
driver. Larger data blocks may be transferred using the ordinary
file read and writes services implemented by the device driver.
If particular RFM device supports bus master DMA, the device
driver will use DMA when possible.
Applications may also send and receive RFM event interrupts.
Three RFM interrupt events are available to the application
program for signaling other RFM nodes.
o CONTENTS OF THE DISTRIBUTION
The Reflective Memory Driver for Windows XP/Vista product consists
of the following components:
1) PMC5565 Reflective Memory device driver, pmc55xx.sys which
may be loaded and unloaded onto Windows Vista and Windows XP.
2) A DLL library (RFM2GDLL_STDC.DLL) which provides
a consistent applications program interface to
the RFM device driver module. The DLL implements
additional services not located in the RFM
device driver proper. A standard ANSI interface
(rfm2gdll_stdc.dll) is provided. The DLL has
an associated header file (rfm2gdll_stdc.h) in addition
to the pmc5565_nt.h header file for the RFM
driver.
3) A sample program (rfm2g_util.exe) with source code,
which illustrates most features of the driver and DLL.
In addition, the sample program may be used as a command
line interpreter to operate an RFM device.
4) Online documentation in PDF format.
o Prerequisites for Installation:
1) .Net 2.0 Framework, Windows installer required for installing the
RFM2g Utilities setup, By default, it will be available in
Vista but not in XP, if .Net 2.0 framework/windows installer
is not installed in target PC, set up will show a pop that
it is required.
Both the setups are provided along with the RFM2g Package, user can
install the required setup accordingly based upon the host
configuration x86/x64.
2) Administrator privileges are required to install the RFM2g Utilities
setup, but not required for accessing the device.
o INSTALLATION
1) Shutdown Windows and then turn off your computer.
2) Using the appropriate ESD protection, remove the case from
your computer.
3) Jumper a unique RFM node number into each RFM
interface board, which is to be installed.
4) Install each RFM interface board into a free PCI
slot in the computer. The RFM board in the
lowest-numbered PCI slot will be assigned the device
name "\\.\rfm2g1", the RFM card in the next-higher
numbered, will be assigned the name "\\.\rfm2g2", etc.
5) Boot Windows XP/Vista as usual.
6) The "Found New Hardware Wizard" window appears.
Click Cancel to exit the Wizard because the RFM2G installation
program will install the hardware drivers automatically.
7) Place the distribution media in the
appropriate drive.
8) Unzip the file from the location \162-RFM2G-DRV-WIN and Open the RFM2g.msi file
from 162-RFM2G-DRV-WIN\RFM2g.msi.
9) Previous version of software already installed:
New RFM2g Utilities setup detects, if there is any previous installation
exists and the new setup will remove the previous installation first before
installing the new driver, A wizard comes up and asks for removing the
previous installation, please proceed the with the removal process.
During the upgrade process, if "Found New Hardware Wizard" window appears.
Click Cancel to exit the Wizard.
After the new installation is completed, it may show a pop-up message
to restart the PC, proceed with the restart to access the new driver, until
the restart is completed, new driver functionality would not be accessible.
If System doesnt ask for restart, restart is not required.
Note: Existing RFM2g customers must compile their applications with new
DLL & header files provided in this package.
10) During the installation, driver signing security alert pop-up comes and
it displays as Driver is published by GE Fanuc Automation Americas, Inc,
would you like to install this device software. Select Yes/Install option
to continue the driver installation.
11) The "Windows Installer wizard" window appears indicating successful
installation of the driver. Click "Finish".
12) For more information see the Installation Guide in the root of distribution media.
o BUILDING THE SAMPLE APPLICATION
1) The Sample Application comes with a Visual Studio 2005 Workspace
File (Samples.sln). This file is set up to correctly build the
sample applications under the Intel Platforms. However, you will
need to go to the Build/Set Active Configuration menu item within
Visual Studio 2005 to select the Intel configuration you wish to build.
The Intel configurations are Debug and Release.
Based upon your host system either 32/64 bit OS, accordingly platform
selection is required to setup accordingly to build the sample applications.