Home | OPC Servers and iFix Drivers | Universal OPC Server | Custom Work | Contact Info

How Do I Install, Start, and Run UOS?

This "Getting Started" document includes the following topics:
 
UOS OPC Server Install Procedure
1) If you received UOS on a CD, insert the CD and run Setup.exe on the CD.
2) If you downloaded UOS, run UOSSetup.msi.
3) Follow the install prompts. When propted for the Install Type, choose Server.
 
UOS Power Tool Features

 

Figure 1: Comm Port Configuration

 

Figure 2: Device Configuration

 

Figure 3: Data Block Configuration

 
Starting/Running the UOS (applies to demo and registered versions)
1) Go to the program folder that contains UOS. Click on Start, Programs, Universal OPC Server, and UOS PowerTool.
2) The I/O Driver Server Connection dialog box will be displayed. The Use Local Server option should be selected. Click on the Connect button.
3) The PowerTool dialog box will be displayed. On the right , is the version of UOS, the Profile version that UOS will accept (note that this is the profile version that UOS requires to run, not the profile version you may be trying to run), registration information, and a summary of the configuration. If you have the demo version, the registration information states that UOS is running in the DEMO mode. The tree window on the left shows the un-expanded UOS icon.
4) The START and STOP buttons are located in the button bar. The START button is similar to the play button on an audio player. Click on the START button to start UOS.
5) Double-click on the UOS icon to expand it to show the communication connection icon. Click on this icon to view the connection configuration. Check to make sure it matches the configuration of your I/O device.
6) Double-click the connection icon to expand it to show the device icon. Click on this icon to view the device configuration. Note, from the Profile field, that the default device profile (ModbusRTU.pro) is loaded. The Primary Device Address must match the address of your device. The Profile field label will change according to the profile loaded. If the profile loaded is a production profile (build with a registered copy of the UOS Profiler), the label will read Profile. If the profile loaded is a demo profile (build with the demo version of the UOS Profiler), the label will read Profile (Demo). The ModbusRTU.pro profile shipped with UOS is a registered profile. If you open it using the demo UOS Profiler and do a Save or Save As…, it will be saved as a demo profile.
7) Double-click the device icon to expand it to show the datablock icons. Click on each datablock icon to view datablock configuration.
 
Using the UOS Simulation Mode
UOS has a simulation mode capability at the datablock level. It can be used to:
  • Demonstrate UOS operation and OPC connectivity by using any OPC client.
  • Demonstrate UOS operation and OPC connectivity by using the built-in OPC client called DataView.
  • Control logic sequencing via OPC.
  • Each datablock can be configured for a specific simulation mode
  • If a datablock is accessing a field device (reading or writing data), it is in the "run" state. When Simulation Mode is enabled for a datablock, the status of all variables in the datablock are changed from run to simulation state. Data access to the field device will be stopped.

Variable Type

Simulation Type

Description

Integer None 1 If the datablock variable supports writes, the variable will display the value you write.
  Shift Left 1 UOS will perform a logical shift left on the variable value at the Primary Rate set in the PowerTool. For example, if you write a 1, the resulting values will be: 1, 2, 4, 8 ….. 8192, 32768, 1, 2,…etc. The value will be updated at the Primary Rate. The PowerTool Secondary rate setting is not used.
  Shift Right 1 UOS will perform a logical shift right on the variable value at the Primary Rate set in the PowerTool. For example, if you write a 1, the resulting values will be: 1, 32768, 8192, 4096 ….. 8, 4, 2, 1, 32768,….etc. The value will be updated at the Primary Rate. The PowerTool Secondary rate setting is not used.
  Ramp Up 1 UOS will ramp Up from 0 to 65535 (assuming a 16 bit integer) at a rate set by the PowerTool Primary Rate setting. The ramp period is set by the PowerTool Secondary Rate setting.
  Ramp Down 1 UOS will ramp Down from 65535 to 0 (assuming a 16 bit integer) at a rate set by the PowerTool Primary Rate setting. The ramp period is set by the PowerTool Secondary Rate setting.
  Ramp Up/Down UOS will ramp the variable value Up from the minimum to the maximum at a rate set by the PowerTool Primary Rate setting. The ramp Up/Down period (time to ramp up and back down) is set by the PowerTool Secondary Rate setting. If the variable is a 16 bit integer the variable will ramp from 0 to 65535 and back down to 0 in one period.

Only the first element (Element 0) in an array variable will generate a simulation signal.

Floats None 1  
  Sine 1,2 UOS will generate a sine wave.
  Sine 90 1,2 UOS will generate a sine wave offset by 90 degrees.
  Sine 180 1,2 UOS will generate a sine wave offset by 180 degrees.
Digital None 1  
  Toggle 1  
1 If the variable is an array variable, the values of all elements of the array will be simulated according to the selected simulation mode. You can check if a variable is an array variable by clicking on the PowerTool Variables button. If a variable has a count greater than 1, it is an array variable.
2 Amplitude will vary from –1 to +1. The variable will change at a rate determined by the Primary Rate setting. The period is determined by the PowerTool Secondary Rate setting. Recommended settings are: Primary Rate = .01 (seconds) Secondary Rate = 1 (min)
3 Y

 
Setting the Default Name and Path for your server configuration
The UOS PowerTool is used to define the data that you want the UOS OPC Server to access. This definition or configuration is stored in a file named UserConfigName.UOS; where UserConfigName can be a user assigned file name. The default configuration file name is DEFAULT.UOS. A DEFAULT.UOS file is installed when you initially install or upgrade UOS.

Important: If you do not change DEFAULT.UOS to UserConfigName.UOS you will loose your configuration if you upgrade UOS. The procedure below shows how to change DEFAULT.UOS to UserConfigName.UOS.. The procedure below shows how to change DEFAULT.UOS to UserConfigName.UOS.

 
1) Start the UOS PowerTool. Refer to the Starting/Running UOS section above.
2) Click on the UOS PowerTool Setup button. <Show Button here>
3) Click on the Default Path tab.
4) Change the Default configuration file name: field to a name of your choosing and press the TAB key.
5) Change the Default path for configuration file: field to the directory where you want your configuration file located.
6) Click on the OK button.
7) Click on the UOS PowerTool File popup menu item and select the Save As… option. The new configuration file name (UserConfigName.UOS) should appear in the File name: field. You may want to save the current configuration to the new name. If so click the Save button. Now, as you define communication channels, devices and datablocks they will be saved in a file named UserConfigName.UOS.
Upgrading UOS
If you received a new version of UOS in any format, you must uninstall the old version of UOS before installing the new version.
It is recommended that you do the following before upgrading UOS.
 
1) Backup all *.PRO files. These are the profiles that tell UOS how to communicate with your field devices.
2) Backup all *.UOS files. These are the files that contain your current UOS runtime configuration that was created using the UOS PowerTool.
3) Backup all *.CSV files. These are the files that contain your current UOS configuration reported out to a CSV (ASCII) file format that was created using the UOS PowerTool. You will not have these files unless you manually reported your configuration to the CSV format.
 
How to Upgrade Your Old Profile (applies to demo and registered versions)
If you received a new version of UOS and UOS Profiler...
If you have received a new version of the Profiler and UOS you will need to upgrade your old profiles to be compatible with the new versions.
1) Save your original profile to a Backup directory.
2) To determine if your profile is an old version, run the Profiler (the new version) and open your old profile. If it was created with an old version of the UOS Profiler Wizard, an information dialog box will appear with a message similar to: Profile is version x.x. Conversion will be attempted. For example, if you received UOS Profiler Wizard version 6.4 and you opened a profile created with a version 6.3 UOS Profiler Wizard, the information dialog box will read Profile is version 6.3. Conversion will be attempted.
3) Click on the OK button. Your profile will be automatically converted to the version of the UOS Profiler Wizard. Check over the new profile to make sure everything is OK.
4) Click on the Save button to save the new profile. This will write over the old profile. You can do a Save As… and save it to a different name if you like.
5) Now the new profile can be used by the new version of UOS OPC Server.
 
If you received a new version of UOS only...
If you have received a new version of UOS only (you did not purchased the UOS Profiler), you can send your profiles to DSI and we will upgrade them for you. Please contact DSI for further information.
 
UOS Demo Version

If you have received the UOS demo version the following restrictions apply:

  • The demo version will run for 30 minutes and stop

You can start it again for another 30 minutes.

 
UOS Documentation
UOS has two types of Help documentation: Context sensitive help and electronic documentation.
 
Context Sensitive Help Context sensitive help is accessed by placing the cursor in a field and pressing the F1 key.
Electronic Documentation Electronic Documentation is accessed by clicking on the Help menu item and selecting the Help Topics option. Several "getting started" topics include:
Using the Power Tool - Describes how to use the UOS PowerTool.
How Do I connect using OPC (Under the How Do I… topic) - Identifies the OPC functions supported by UOS and describes how to connect to UOS using an OPC client.
OPC Addressing - Describes how to use OPC addressing to access data items.
 
UOS and UOS Profiler Overview
UOS is a stand-alone Universal OPC Server for TCP/IP and Serial Devices. UOS is based on the latest OPC Standard. It provides a real-time interface between field devices that use TCP/IP or serial communications and OPC Clients such as iFix, OA Enterprise 99, Wonder Ware, etc. UOS has the capability to "learn" how to communicate with a device. It does this by loading a device profile that describes the communications characteristics (protocol) of the device. Unlike other OPC Servers, UOS can communicate with multiple different devices simultaneously with each device using a different protocol.
UOS is supplied with a client, called DataView, which will allow you to browse the UOS OPC Server and automatically create screens to display and write data. DataView can be used to:
  • Verify communications with your I/O hardware.
  • Verify that UOS is reading/writing the correct data before other clients or system components are connected.
  • Trouble-shoot the system.
  • Monitor process data
The device profile is built using the UOS Profiler (sold separately). A profile is built by selecting "communication objects" that comprise the device protocol and assigning attributes. The user interface is simple and easy to use. Profile examples are supplied to assist you. Profiles built by Dimension Software for UOS are shown on our web site.
The UOS Server and Profiler combination provides a faster, less expensive way to develop an OPC Server for TCP/IP and serial devices. Programming is not required to develop a new OPC Server. The task of developing a OPC Server is reduced to building a device profile using the UOS Profiler (sold separately). The result is communications with serial devices without sacrificing data integrity or throughput.
 
Contact Information
Please call or email if you have any questions about using UOS (Universal OPC Server) for your application.
If you have any comments or suggestions to improve UOS, please let us know. We would appreciate your input.

 

© 2011 Dimension Software, Inc. All Rights Reserved.