Software Tools

Description

This sample program demonstrates the Vision50's capability to read from and write to SCADAPack IO database register variables. Several of each type of IO database register, 00000 series, 10000 series, 30000 series and 40000 series, are displayed on four screens. Two of the screens allow operator input to the 00000 series and 40000 series registers. This sample may be used as a template when creating new Vision50 applications.

The SCADAPack controller's register assignment contains the default 5601 IO module register addresses.

The following Vision50 tags have been configured with its corresponding controller IO database register address:

TAG: IO Database Register
----------------------------------------------------------------------
DIN0 through DIN15: 10001 through 10016
DOUT0 through DOUT11: 00001 through 00012
AIN0 through AIN7: 30001 through 30008
AOUT0, AOUT1: 40001, 40002

Upon power-up, the Vision50 displays the title text on screen 5. Flashing text prompts the operator to press any key which then displays screen 1.

Screens 1 through 4 are the main display screens that are accessed using the NEXT and PREV buttons on each screen. Screen 4 loops around to screen 1 to form a closed loop of four screens.

  • Screen 1 contains the status of six SCADAPack digital inputs, DIN0 through DIN5. When the status is ON, the word ON flashes rapidly.
  • Screen 2 contains the status of three SCADAPack digital outputs, DOUT0 and DOUT2, and indicates a Vision50 button that toggles the corresponding bit. DOUT0 is toggled by pressing the F3 Button, DOUT1 is toggled by pressing the F4 button and DOUT2 is toggled by pressing the F5 button. When the status is ON, the word ON flashes rapidly.
  • Screen 3 displays the values of three SCADAPack analog inputs, AIN0, AIN1 and AIN2. AIN0 is displayed as a raw unsigned value of +0 through +32760. Each analog input is displayed as a raw unsigned value of +0 through +32760 and is also scaled in the Vision50 to represent a value of +0 through +100%.
  • Screen 4 displays the values of two SCADAPack analog outputs, AOUT0 and AOUT1 in the Actual column. The Vision50 numeric keypad buttons are used to enter the number to be written to the analog output variable, on the line where the cursor is flashing. The up and down arrow buttons move the cursor from one line to the next. The number being created by the numeric keypad is displayed in the Entry column and written to the SCADAPack when the ENT button is pressed.
  • The diagram below illustrates the screen display action:

Instructions

To use this sample program:

  • Select the following link: DEMO_50.ZIP
  • Select the Open button. (Winzip is opened)
  • Select the Use Evaluation Version button. (The Winzip program list is displayed)
  • From Winzip, select the file in the display list and then extract it to a target folder on your computer.
  • Exit Winzip.
  • Open the Vision application.
  • Select File | Open to display the Open Vision Application dialog box.
  • Browse to the appropriate directory where the sample file is located and select the sample file.
  • Select the Open button to open the file.

Disclaimer:
This program is intended to demonstrate one or more programming functions or methods. This is not an application-specific program and is presented as a programming example only. Control Microsystems assumes no liability for the use or application of this example program or any portion thereof.