| 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 |
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.
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.

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

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

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:
Fast digital input/output module works on a parallel bus. Provides 16 attributes for input i{x} and 16 for the output o{x}.
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).
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.
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.
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!
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
The patch for build network driver for Linux 2.6.29: build_2.6.29.patch