Applies To:
  • CitectSCADA 4.x

Summary:
How do I set up a digiboard in Windows NT and 95. Apparently the communications setup and drivers are now different then they were in Windows for Workgroups. 

Solution:
In Windows for Workgroups, we developed our own digiboard drivers to workaround limitations that were present in the Windows 3.x serial driver model which limited the maximum number of serial ports and reduced maximum performance (see Q1825). These limitations have now been solved in Windows NT and 95 and hence our own drivers are now not required.  (Note, these changes also mean that the COM/Xi and MC/Xi are not supported. However, the PC/Xe and PC/Xi are still supported.)

Because of this, we now have to set up our communications forms differently than in the past and also need to install the digiboard drivers manually. These digiboard drivers are available on the BBS and FTP site and you use different drivers depending on what operating system you are using. With Windows 95 there are 2 ways to configure the digiboard drivers depending on what drivers you have. On our BBS and FTP site you there are 2 files, Digi95.zip and Digi95n.zip. The Digi95n.zip are later drivers.

Below is and outline on how to configure these digiboard drivers and Citect's communication forms.

Note: The installation procedures below assume that you are installing the digiboard in a ISA slot in your computer. If you are using any other method such as PCI then refer to the Readme95.wri file included with the drivers.

Windows 95  - using Digi95.zip drivers:

  1. Download the Digiboard files form the Misc/Win95/Digi95.zip and extract them to a Temporary Directory. This will extract 4 directories which contain different files depending on your PC's architecture. E.g Alpha, I386, Images or PPC.

From the Windows 95 Control Panel, start the 'Add New Hardware' wizard.

  • To begin installing new hardware, click 'Next'.
  • To the prompt "Do you want Windows to search for your new hardware?", select 'No'. Then push the 'Next' button.
  • Highlight 'Multi-function adapters' hardware type, and click 'Next'.
  • Click 'Have Disk..'
  • On the 'Install From Disk' applet, enter the drive or directory location of the Digi Windows 95 driver files (I386) and click 'OK'.
  • A list of Digi's hardware choices will be displayed. Select your hardware adapter from the list and click 'Next'.
  • Write down or print the displayed list of hardware settings. (If you need to, you can adjust these settings later by using the Device Manager in the System control panel.)
  • Click 'Next'. The driver files will be copied to your system.
  • Click 'Finish'.
  • A 'System Settings Change' applet will ask whether you want to shut down your computer now. Click 'No'.
  • At the 'Select which driver you want to install...' prompt, select 'Driver from disk provided by hardware manufacturer'. Click 'OK'.
  • Specify the driver file location, and click 'OK'.
  • A 'New Hardware Found' message will appear while the system is adding your ports to its configuration. (This may take some time depending on the number of ports.)
  1. After you complete these steps you may find that the Input/output range will default to 0300-0303. This will be fine if you have setup the digiboard to be at this address (via the dip switches) but in the Citect Help system we recommend 0320.

From the Windows 95 Control Panel, start the 'System' wizard. Select the 'Device Manager' tab. (If you 'view devices by type', the Digi device will be listed under 'Multi-function adapters'.) Highlight the Digi adapter entry, and select 'Properties.'

Use the 'Resources' property page to configure the hardware resources for your adapter. (Set this to 0320-0323)

Use the 'Ports Configuration' property page to enable and configure the Digi ports. On-line help is available for more information.

  1. You are now ready to restart the system.

Windows 95 - using Digi95n.zip drivers:

With this driver release, Digi has created it's own Windows 95 device class. The Digi adapter is now a 'Digi Intelligent Async adapter'. On your first installation, the Digi device class will be added to Windows 95. From there after, when using the 'Add New Hardware' wizard or 'System Device Manager' wizard look for the device under the 'Digi Intelligent Async adapter' hardware type.

REMINDER: In Windows 95, you no longer use the SETUP program to install your driver files.

Here's the steps to install the Digi driver:

  1. Add New Hardware to Windows 95:

From the Windows 95 Control Panel, start the 'Add New Hardware' wizard.

  • To begin installing new hardware, click 'Next'.
  • To the prompt "Do you want Windows to search for your new hardware?", select 'No'. Then push the 'Next' button.
  • Highlight 'Other Devices' hardware type, and click 'Next'. ( Note, an subsequent installs you will be able to select 'Digi Intelligent Async adapters' as the hardware type.)
  • Click 'Have Disk..'
  • On the 'Install From Disk' applet, enter the drive or directory location of the Digi Windows 95 driver files and click 'OK'.
  • A list of Digi's hardware choices will be displayed. Select your hardware adapter from the list and click 'Next'.
  • Write down or print the displayed list of hardware settings. (If you need to, you can adjust these settings later by using the Device Manager in the System control panel.)
  • Click 'Next'. The driver files will be copied to your system. A 'Building driver database information file' message will display briefly.
  • The 'Ports Configuration' property page will be displayed for you to view and edit the assigned port names. For an Xem, you will need to configure the PORTS modules that are connected to your adapter. On-line help is available for more intormation. When finished, click 'OK'.
  • Click 'Finish'.
  • A 'System Settings Change' applet will ask whether you want to shut down your computer now. Click 'No'.
  1. Edit the assigned hardware resources:

From the Windows 95 Control Panel, start the 'System' wizard. Select the 'Device Manager' tab. (If you 'view devices by type', the Digi device will be listed under 'Digi Intelligent Async adapters'.) Highlight the Digi adapter entry, and select 'Properties.'

Use the 'Resources' property page to configure the hardware resources for your adapter.

  1. You are now ready to restart the system

Windows NT 3.51 and 4.0

  1. Download the Digiboard files form the Misc/WinNT/Digint.zip and extract them to a Temporary Directory. This will extract 4 directories which contain different files depending on your PC's architecture. E.g Alpha, I386, Images or PPC (Citect 4.x only supports native x86 processor).
  • Once Windows NT has started, login using an account which has administrative rights.
  • Start Control Panel applet by double-clicking its icon in the Program Managers main group (or from the Start menu/Settings in NT4).
  • In the Control Panel applet, double-click the network icon to bring up the Network Control Panel Applet (NCPA).
  • Within the NCPA, select the Add Adapter button (Choose Adapter tab in NT4). A list of possible adapters should be displayed.
  • Go to the end of the list and select:
    '<Other> Requires disk from manufacturer'
    (In NT4 choose 'Have Disk' )
  • When prompted for the path, specify the drive and directory where the NCPA can find the new driver for the platform you are installing.

For example, if you were installing from your drive A: floppy diskette:
For x86 processor based systems: A:\i386
For MIPs processor based systems: A:\mips
For DEC Alpha processor based systems: A:\alpha
For PowerPC processor based systems: A:\ppc

The important thing to remember is to supply the correct directory.

  • You can now follow the configuration dialog boxes to finish installing the Digiboard Driver. Online help is available by pressing the Help button at any given dialog box. The base address will default to D000 and Input/Output address of 300 (You may need to change this to 320 depending on the dip switch settings on the digiboard).
  1. You are now ready to restart the system.

Citect Setup

SERVER
Server Name : IOServer
BOARDS
Server Name : IOServer
Board Name : Board1
Board Type : COMX
Address : 0
(Rest of the fields are blank)
PORTS
Server Name : IOServer
Port Name : Port1
Port Number: Digiboard port number
Board Name : Board1
Baud Rate : 19200
Data Bits : 8
Stop Bits : 1
Parity: None
Special Options :
IODEVICES
Server Name : IOServer
Name : Unit Name
Number : Unit number
Protocol : Your protocol
Port Name : Port1

Note that in the Boards form the Board type is now set up as 'COMX' and not 'PCXI'. Citect now assumes all ports are comports and uses the COMX driver. Citect does not use the old digiboard drivers that were required in WFW. Also notice that the Board Address, which used to signify the Comport number, is now set to 0. The Comport number is now specified in the Ports form under the Port number field. This type of addressing will now be used in all future versions of Citect using the COMX driver even without digiboards.

In the ports form the port number represents the comport address. Usually the first 2 numbers will be your actual PC comports and from 3 onwards will represent your digiboard ports. E.g port number 3 will represent port 1 of your digiboard. (note: you can configure your digiboard ports to be any number you like using Control Panel). In NT you may also need to set up the digiboard ports so that the baud rate, data bits, stop bits and parity match up.

PC/Xe/PC/Xi Digiboard Hardware Setup and Troubleshooting

PC/Xe Digiboards

The PC/Xe Digiboards provide RS-232 serial communication with your I/O Devices. PC/Xe is the recommended Digiboard for use with Citect. You can install the board in any spare slot of your computer, and you can install more than one Digiboard in the same computer. The maximum number is limited by spare PC resources (ie. number of spare slots/interrupts/I/O addressing/memory).

PC/2e PC/4e PC/8e PC/16e Installation and Hardware Setup

You must setup the board before you install it in your Citect server. You will need to install either the Windows 95 driver or the NT driver from Digiboard. Refer to the "How to Configure Digiboards in Windows 95 and Windows NT for Citect" instructions that came with your board.

The recommended I/O Port Address is: 320h.

PORT ADDRESS SW1 SW2 SW3 SW4
100h OFF OFF ON ON
110h OFF ON OFF ON
120h OFF ON ON ON
200h ON OFF OFF ON
220h ON OFF ON ON
300h ON ON OFF ON
320h ON ON ON ON

Dip Switch DS1

The Memory Window Size, Starting Address and Interrupt Request Line are set when you configure the board in Windows 95 or NT.

PC/Xi Digiboards

The PC/Xi Digiboards provide RS-232 serial communication with your I/O Devices. You can install a Digiboard in any spare slot of your computer, and you can install more than one Digiboard in the same computer. The maximum number is limited by spare PC resources (ie. number of spare slots/interrupts/I/O addressing/memory).

PC/8i, PC/16i Installation and Hardware Setup

You must setup the board before you install it in your Citect server. You will need to install either the Windows 95 driver or the NT driver from Digiboard. Refer to the "How to Configure Digiboards in Windows 95 and Windows NT for Citect" instructions that came with your board.

The recommended Memory Start Address is: D0000h.

MEMORY ADDRESS SW1 SW2 SW3 SW4 SW5 SW6 SW7 SW8 SW9 SW10 SW11
C0000h ON ON OFF OFF ON ON ON ON
D0000h OFF ON OFF OFF ON ON ON ON
E0000h ON OFF OFF OFF ON ON ON ON

Dip Switch DS1

The recommended I/O Port Address is: 320h.

PORT ADDRESS SW1 SW2 SW3 SW4 SW5 SW6 SW7 SW8 SW9 SW10 SW11
100h ON OFF OFF
110h OFF ON OFF
120h ON ON OFF
200h OFF OFF ON
220h ON OFF ON
300h OFF ON ON
320h ON ON ON

Dip Switch DS1

The recommended Interrupt Request Line is: IRQ5.

INTERRUPT SW1 SW2 SW3 SW4 SW5 SW6 SW7 SW8
DISABLED OFF OFF OFF OFF OFF OFF OFF OFF
IRQ3 ON OFF OFF OFF OFF OFF OFF OFF
IRQ4 OFF ON OFF OFF OFF OFF OFF OFF
IRQ5 OFF OFF ON OFF OFF OFF OFF OFF
IRQ7 OFF OFF OFF ON OFF OFF OFF OFF
IRQ10 OFF OFF OFF OFF ON OFF OFF OFF
IRQ11 OFF OFF OFF OFF OFF ON OFF OFF
IRQ12 OFF OFF OFF OFF OFF OFF ON OFF
IRQ15 OFF OFF OFF OFF OFF OFF OFF ON

Dip Switch DS2

NOTES:

  1. If you are using an EISA bus computer, you must run the EISA configuration program.
  2. When selecting a memory location for the RAM window, you must choose an address that does not conflict with any EMS or BIOS memory (or other hardware boards) you have installed. Some computers have hard disk BIOS at memory address C000 to C7FF so these addresses may be unavailable. You may have to tell any memory managers (you have loaded) to exclude the memory used by the board. See your memory manager documentation for details.
  3. This board uses a base memory size of 32k. To prevent conflict with other boards in your system, you must ensure that no memory overlap exists when setting the memory address.
  4. You will require the base memory size (32k) when configuring an EISA bus computer.
  5. When configuring an EISA bus computer, the EISA configuration utility may disable the interrupts of boards that are not setup correctly. If you can not get a response from the COM/Xi Digiboard, check the EISA configuration for the board. If there is still no response, try another interrupt. If you set the COM/Xi to an interrupt that is used by a COM port, the EISA configuration will move the COM port to another interrupt. If you do not get a response from the Digiboard, disable the COM port that was reconfigured.
  6. Citect does not support multiple PCXi Digiboards at the same physical address.
  7. In Config.sys - add the exclusion of the address in EMM386.SYS taken by the digiboard. For example Device = c:\windows\emm386.sys -x =D000-DFFF.

Troubleshooting

The most common problems involve memory conflict with other boards in your computer. If you do encounter conflicts, use the DIGIMAP.EXE program to find available memory space. The program is located in the \DIAGS directory of the Windows diskette provided with the Digiboard.

The PC/Xi Digiboard allows its memory address to be set to any address up to the 16Mb limit. If your computer has less than 16Mb of memory it is better to set the Digiboard address up as high as possible, ie around the 16Mb range. This is best because you will not clash with any other hardware cards at low memory, and you will also free scarce low DOS memory. However, if your computer has 16Mb or more memory, the only available memory location is at D000h.

If your computer has 16 Megabytes or more of memory, the computer uses segments 10000H to FF000H. The only memory address available for the PC/Xi Digiboard is segment D000H. If your computer has 8 Megabytes of memory, the PC/Xi Digiboard can use any segment from 80000h to F9000H. If your computer has 12 Megabytes of memory, the PC/Xi Digiboard can use any segment from C0000H to F9000H.

A good way to test your hardware setup is to run the serial port loop-back test.

COM/Xi Digiboard

This board is not properly supported by Windows 95 or Windows NT. Do not use this board for communication with Citect.

MC/Xi Digiboard

These boards were made for use with IBM microchannel PCs, and are now rarely used. Do not use this type of board for communication with Citect.

 

Keywords:
 

Attachments