OpenSCADAWiki: Home Page En/Doc/ICPDAS ...

Home | Index | Changes | Comments | Users | Registration | Login  Password:  
 
Russian (1 Êá) Ðóññêàÿ âåðñèÿ
Ukrainian (1 Êá) Óêðà¿íñüêà âåðñ³ÿ?

The module of subsystem “Data acquisition” <ICP_DAS>

Module:ICP_DAS
Name:ICP_DAS equipment
Type:DAQ
Source:daq_ICP_DAS.so
Version:0.8.0
Author:Roman Savochenko
Translated:Maxim Lysenko
Description:Provides support for ICP DAS hardware. The support of I-87000 and I-7000 DCON modules and I-8000 fast modules is included.
License:GPL

Contents

Introduction

The module provides the OpenSCADA system with the support of various equipment of ICP DAS company (http://www.icpdas.com/, http://ipc2u.ru/) through the API library of company libi8k.a. Most of the equipment of the ICP DAS company is working under the DCON protocol, but some new equipment such as I-8000 Series operates on a parallel bus, while another part is set into the parallel bus slots of I-8000 which are available under the serial interface and DCON protocol, they are not addressed directly and require call of the specialized command of the slot selection. Access to equipment that uses direct requests under the DCON protocol, can be implemented by the module DAQ.DCON. Support for the rest of the equipment is not added to the module DAQ.DCON, but it was implemented in this module due to the availability of API library of the ICP_DAS company only for the x86_32 platform, which brings restrictions on access to the equipment of the ICP DAS company and other equipment under the DCON protocol on the other hardware platforms.


The reason for creating this module was the works with the controller LP-8781 of LinPAC series of ICP_DAS company with the purpose to implement runtime PLC based on the OpenSCADA system.


API library of the ICP_DAS company (libi8k.a) is available with source code of the module and does not require separate installation.

1. Data controller

To add the ICP DAS data source the controller is created and configured in the OpenSCADA system. Example of the configuration tab of the controller of this type is shown in Figure 1.


Configuration tab of the controller. (117 Êá)
Fig.1. Configuration tab of the controller.

From this tab you can set:

2. Parameters

Module provides only one type of parameters — "Standard". On the parameters tab you can set:


Configuration tab of the parameter. (74 Êá)
Fig.2. Configuration tab of the parameter.

In accordance with the parameter settings the poll and the creation of attributes is made (Fig. 3).


Tab of the attributes of the parameter. (75 Êá)
Fig.3. Tab of the attributes of the parameter.

2.1 Module I-8017

Fast analog input module that runs on a parallel bus. Provides speed access to data on one channel at 130 kHz. However, because of the pledged hardware limitations it does not allow to reach speed over 33 kHz per channel when scanning multiple channels. Data expectation is in the blind cycle, which leads to great losses of the CPU at high frequencies of the acquisition.


Module provides eight analog input attributes i{x} and eight signs of violation of the upper ha{x} and the lower la{x} boundaries. Also the configuration tab is available with advanced configuration:

2.2 Module I-8042

Fast digital input/output module works on a parallel bus. Provides 16 attributes for input i{x} and 16 for the output o{x}.

2.3 Module I-87019

The module of the analog input for the eight channels works on the serial bus and accessible under the DCON protocol. Provides eight analog input attributes i{x} and eight signs of violation of the upper ha{x} and the lower la{x} boundaries. The module provides temperature measurement of cold junctions of thermocouples.


Module provides the tab "Configuration" with the advanced configuration of modes of inputs: +-15mV, +-50mV, +-100mV, +-150mV, +-500mV, +-1V, +-2.5V, +-5V, +-10V +-20mA, J type, K type, T type, E type, R type, S type, B type, N type, C type, L type, M type, L type (DIN43710C).

2.4 Module I-87024

Analog output module for the four channels working on the serial bus and accessible under DCON protocol. Provides four analog output attributes o{x}.


In addition it include tab "Configuration" with configuration host watchdog and output values which set at enable and reset by watchdog.

2.5 Module I-87057

Digital output at 16 channels working on the serial bus and accessible under DCON protocol. Provides 16 diskret outputs o{x}.


In addition it include tab "Configuration" with configuration host watchdog and output values which set at enable and reset by watchdog.

3. LP-8x81 series controllers configuration

For common properties the controllers series LP-8x81 configuration allowed accordingly tab on module's page, where you can get information about controller's serial number, SDK version and DIP-switch value, and also set value for controller's watchdog timer. The watchdog timer is disabled by set it to zero value. Watchdog timer's value updated into controller's task and with it period. The acquisition task hang consequently follow controller's restart!

Links

Special modules for Linux kernel 2.6.29 for controllers LP-8x81: lp8x81_2629.tgz
The driver from VIA for controllers LP-8x81 network: rhinefet20070212111037.tgz

On standard Linux network driver the speed is droped significant after days work

The patch for build network driver for Linux 2.6.29: build_2.6.29.patch


Referring pages: HomePageEn/Doc
HomePageEn/Function
HomePageEn/Using/LP8x81


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