OpenSCADAWiki: Home Page En/Doc/ Diamond Boards ...

Home | Index | Changes | Comments | Users | Registration | Login  Password:  
 
This is an old revision of HomePageEn/Doc/DiamondBoards from 2015-12-07 14:29:11..
Ukrainian (1 Kb) Óêðà¿íñüêà
Russian (1 Kb) Ðóññêàÿ
 (2 Kb) The page is not actual more and need translation update from original

The module of subsystem "Data acquisition" <DiamondBoards>

Module: DiamondBoards
Name: Diamond cards of data acquisition
Type: DAQ
Source: daq_DiamondBoards.so
Version: 2.1.0
Author: Roman Savochenko, Maxim Lysenko ()
Description: Provides an access to "Diamond Systems" DAQ boards. Includes main support for all generic boards.
License: GPL

Contents


Translation continues

Introduction

The module provides for the system OpenSCADA support of dynamic data sources, based on the cards for data collection of Diamond Systems company( http://diamondsystems.com/ ). The module is built on the basis of the universal driver of the manufacturer of board. Universal driver is available for almost all known software platforms in the form of a library. Universal driver has been received at http://www.diamondsystems.com/support/software. The driver was included in the distribution kit of OpenSCADA, therefore, for the building of the module external libraries are not required.


The boards of data acquisition of Diamond Systems represent the modules of expansion of the PC/104 format. Boards may include: analog IO (input/outputs), digital IO, and counters. Complete set of cards can vary greatly. There can be contained only one type of IO or many others. In addition, the function of data acquisition can be given to the system boards of this company. For example, the motherboard Athena contains: 16 AI, 4 AO, 24 DIO.


The module provides support for analog and digital IO. The of analog inputs (AI) is supported in two modes: direct acquisition and the acquisition on interruption. The method of the acquisition on interruption allows to achieve the maximum frequency of interrogation which is supported by the hardware. In the case of Athena, the frequency achieves 100 kHz. The process of acquisition on interruption data becomes the second frames and placed in the archives buffer.


In the case of interrogation of the analog channels on interruption is not possible to configure individually each channel. Such an opportunity is provided only through direct interrogation.


Discrete channels are usually bi-directional and grouped into 8 channels. Each group of channels can be separately designate direction. The module provides the ability to configure a group of discrete parameters.


Also, the module implements the functions of the horizontal reservation, namely, working in conjunction with the remote station of the same level.

1. Data controller of Diamond boards

Board of Diamond Systems configured by creating the controller in the system OpenSCADA and configuration of it. Example of the tab of configuration of the
controller of the board is shown in Figure 1.


Tab of configuration of the controller's object. (101 Kb)
Fig.1. Tab of configuration of the controller/board of Diamond Systems.

Using this form, it can be set:


In the mode of direct interrogation of analog inputs hardware interrupt of the card, frequency of analog inputs interrogation and the strengthening of the analog converter are not available.


To configure ports of digital inputs / outputs on the controller's page there is the tab of the configuration (fig. 2).


file:diam_cntr_dig.png
Fig.2. Tab of configuration of digital inputs / outputs ports.

2. Parameters of the Diamond controller

Module provides the information on two types of parameters: the digital and analog. Each type of the parameter is stored in the database and, consequently, has its own tab configuration. Tab of the configuration of analog parameters is presented in Fig.3. Configuration tab of digital parameters is presented in Fig.4.


file:diam_a.png
Fig.3. Tab of the configuration of analog parameters.

Using the form of configuration of analog parameters it can be set:


To access the values of analog parameters are attributes must be formed. For analog inputs:


For analog outputs are set:


file:diam_dio.png
Fig.4. Configuration tab of digital parameters.

Using the Configuration tab of digital parameters there can be set:


To access the values of digital parameters the attribute, which provides the input value or inserts the new one, must be formed.

Links

Used version the Linux driver from Diamond systems: dscud5.91linux.tar.gz
The patch for build driver at kernel Linux 2.6.29, used for data gathering by interrupt: lastkernels.patch


Referring pages: HomePageEn/Doc
HomePageEn/Doc/DAQ
HomePageEn/Function
HomePageEn/Using/PLC/firmware


 
There are no files on this page.[Display files/form]
There is no comment on this page. [Display comments/form]