Professional Documents
Culture Documents
GFS-154B M04 Connecting To IO
GFS-154B M04 Connecting To IO
Connecting to IO
Objectives
y Explain the different types of IO Drivers and OPC Servers.
y Discuss the basics of IO Driver configuration.
y Install IO Drivers and OPC Servers.
Connecting to IO
Overview
SCADAs use a variety of communication media to transfer data to and from control
hardware such as PLCs, RTUs and DCS systems. These media are tailored to the realities of
the industrial process, balancing cost and performance against throughput and distance.
For example, radio may be used in one area of the process where a remote location is
kilometres away, while Ethernet is used inside the plant where distances rarely exceed
several hundred metres. As a result, SCADA servers are often called on to use a variety of IO
ports to communicate to remote devices.
Serial
Radio tower cable
PLCs
Ethernet
Modem
PLC or RTU
SCADA server
Satellite dish
Most PLC, RTU and DCS vendors use their own proprietary data transfer protocols to
communicate across the media linking devices to PC-based workstations. These protocols
differ from vendor to vendor and sometimes even between products from the same
manufacturer. Without the correct protocol, the SCADA will not be able to retrieve or send
data to the control hardware.
SCADA communications
SCADA nodes need to manage these hardware connections by combining the various
available communications media with the vendor protocols. iFIX uses IO drivers and OPC
servers to continuously communicate with the plant floor devices.
IO drivers and OPC servers are software applications that are installed on the SCADA node.
These applications act as the schedulers, arbitrators, requesters and responders for all data
being exchanged between the SCADA PC and the control hardware. They pair protocols
with media in order to poll data from the various control devices. IO Drivers often support
more than one protocol and media combination, though these combinations are almost
always specific to a vendor product family (for example, Siemens, Modicon or Allen Bradley).
Installing IO Drivers
Before a SCADA can connect to control hardware, IO Drivers must be installed. The GE
Fanuc web site lists all the available IO Drivers from GE Fanuc and its partners. Once the
media type and protocol have been determined, developers can browse for the correct IO
Driver from a list of more than 400 drivers.
Navigate to http://www.gefanucautomation.com/products/fixiodrivers/ to use the IO
Driver search engine. There are fact sheets online that will help you identify the best IO
driver based on your requirements.
Driver pre-requisites.
Some drivers require third-party software in order to communicate with the specific
hardware devices. Examples include RS Linx to communicate to AB PLCs via the ABR driver,
or Bristol Babcock OpenBSI to communicate to Bristol Babcock RTUs. Naturally, if resident
cards are present, they must be installed and configured correctly.
v.7.x OPC servers require COM compliant operating systems such as Windows NT, 2000, XP,
or 2003. If using OPC over the network, DCOM will have to be enabled, proper security
enabled and appropriate firewall considerations satisfied.
Installation Steps
1. Determine which IO driver to use according to your protocol and media requirements.
2. Download the IO driver from the GlobalCare web site, or use the IO Driver CD if it is
available.
3. Install the IO driver to the iFIX Base directory. It is best to keep the driver executable and
resource files in the same directory as the other iFIX applications.
4. To install the full driver indicate “Server” when prompted. It installs all the driver
components. If you only need the Powertool configuration interface, choose “Client”.
NOTE:
In the above file names, *** represents the three letter driver name. (ex. Modbus
Ethernet = MBE, Allen Bradley RS Linx = ABR, GE Ethernet = GE9)
NOTE:
Some of the troubleshooting tools available in iFIX and Windows are able to
track and investigate activity with these tasks and components. Task Manager
and Performance Monitor are two Windows examples. The Powertool and
Mission Control are two iFIX examples.
Channel Definition
(eg. NIC or COM port).
SCADA Server
Ethernet
PLC A PLC B
Device Definition
(eg. IP address, Station #).
Static Addresses
The SIM driver provides 2,000 16-bit registers (0 to 1999 words, 0-15 bits) that can be used
for both analog and digital values. Addressing is simple. Analog and text tags use whole
number addressing representing 16 bit words (eg. 1, 25, 250, etc). Digital tags will use a
Word:Bit combination to specify a two-state value (eg. 1:0, 25:2, 250:15). These registers are
a single set of read-write addresses shared between digital and analog values.
The SM2 driver provides two independent sets of 20,000 registers. The set for analog
addresses stores values in 32-bit words, whereas the separate set for digital addresses holds
values in 16-bit words. The addressing conventions are the same as with the SIM tag.
Lab Exercises
Lab Objectives: At the end of these exercises, the student will be able to:
y Install the v.7.x MBE driver (Modbus Ethernet).
y Install the v.7.x MB1 driver (Modbus Serial).
y Install the IGS server (Industrial Gateway Server for Allen Bradley protocols).
y Set drivers for default startup.
When you are finished with these exercises, answer the Summary Questions at the end of
the module.
1. Insert the IO Drivers and OPC Servers CD into the PC’s CD or DVD drive. You should be
presented with the following installation interface.
Start with the IGS driver. Scroll down the list until you reach a selection that starts with
the three letter acronym IGS (Industrial Gateway Server). Click Install Now.
You will be faced with two steps to review information, such as licensing details; click
Next twice in succession.
4. The installation Wizard prompts you for a installation folder. By default, it supplies the
iFIX BASE path as the destination… Keep it as it is and continue with Next.
5. You will be prompted for your node name. Verify that this is SCADA## (substituting ##
with your assigned number). Click Next.
6. Provide a location for the IGS driver shortcuts (browse to the iFIX program group if
necessary).
7. Bypass the Release Notes, unless you have plenty of free time… Sit back and watch the
installation… When the process is finished, you should receive a notification that the
installation was successful. Clear the message and move on to the next driver.
8. Repeat the installation steps for the MBE driver. Early in the process, you will be
prompted to choose between SERVER and CLIENT. Choose SERVER and continue.
SERVER will install both the Powertool for configuration and the Driver engine. CLIENT
only installs the Powertool, not the Driver engine.
9. Repeat the installation steps for the MB1 driver and GE9 driver.
10. When completed, remove the IO Driver CD. If the drivers installed successfully, proceed
to Lab Exercise 3.
1. Open Windows Explorer and navigate to the C:\Classfiles\Drivers folder. There should
be four sub-directories: GE9, IGS, MB1 and MBE.
2. Start with the IGS driver. Scroll down the directories until you reach a selection that
starts with the three-letter acronym IGS (Industrial Gateway Server). Inside the folder is
a file called Setup.EXE. Double-click it to launch the installation program.
You will be faced with two steps to review information, such as licensing details; click
Next twice in succession.
3. The installation Wizard prompts you for a installation folder. By default, it supplies the
iFIX BASE path as the destination… Keep it as it is and continue with Next.
4. You will be prompted for your node name. Verify that this is SCADA## (substituting ##
with your assigned number). Click Next.
5. Provide a location for the IGS driver shortcuts (browse to the iFIX program group if
necessary).
6. Bypass the Release Notes, unless you have plenty of free time… Sit back and watch the
installation… When the process is finished, you should receive a notification that the
installation was successful. Clear the message and move on to the next driver.
7. Repeat the installation steps for the MBE driver. Early in the process, you will be
prompted to choose between SERVER and CLIENT. Choose SERVER and continue.
SERVER will install both the Powertool for configuration and the Driver engine. CLIENT
only installs the Powertool, not the Driver engine.
8. Repeat the installation steps for the MB1 driver and GE9 driver.
9. When completed, close Windows Explorer. If the drivers installed successfully, proceed
to Lab Exercise 3.
3. Select the Default Path tab and fill it in to look like the figure shown below.
NOTE!
Use your SCADA node name as the file name. The driver acronym is used as
the file extension (eg. .MBE or .MB1, etc.).
4. Click OK. Save the empty configuration file to the default path using these default
settings. You should see the new file name and path in the Title Bar of the Powertool.
Close the Powertool.
5. Repeat these steps for the MB1 Powertool and the GE9 Powertool, making sure to use
the appropriate driver acronym as the file extension.
6. When finished, double-check that these files are present in the C:\iFIX\154Water\PDB
directory using Windows Explorer.
NOTE!
These files must be present in the project PDB location before iFIX can create a
DIT for the IO driver.
Review Questions
1. Name three different types of communication media used by SCADA nodes to transfer
data to and from control devices.
3. What are the main differences between v.6.x and v.7.x IO Drivers?
4. What are the three main components of any IO driver configuration hierarchy?
5. How are digital values addressed in the SIM driver? How are analog values addressed in
the SIM driver?
Review
Now that you have completed this module, you should be able to:
y Explain the different types of IO Drivers and OPC Servers.
y Discuss the basics of IO Driver configuration.
y Install IO Drivers and OPC Servers.