From OpenSCADAWiki
Jump to: navigation, search
Other languages:
Constr.png The translation checking and actualizing
Module Name Version License Source Languages Platforms Type Author Description
DCON DCON client 1.2 GPL2 daq_DCON.so en,uk,ru,de x86,x86_64,ARM DAQ Roman Savochenko, Almaz Kharimov
Maxim Lysenko (2009,2011) — the page translation
Provides an implementation of DCON-client protocol. Supports I-7000 DCON protocol.

DCON — the protocol of controllers' family ADAM(http://www.advantech.com, http://ipc2u.ru), ICP DAS(http://www.icpdas.com, http://ipc2u.ru), RealLab (http://www.RLDA.ru) and the like ones. It uses serial lines RS-485 to transfer data.

This module provides the ability of input/output of information from various devices on the protocol DCON. Also, the module implements the functions of the horizontal reservation, namely, working in conjunction with the remote station of the same level.

1 General description of the protocol DCON

DCON protocol requires one lead(requesting) device in the line (master), which can send commands to one or more driven devices (slave), referring to them by a unique address in the line. Syntax of the commands of the protocol allows the address 255 devices at one line of standard RS-485.

Initiative to exchange always comes from the leading device. Slave devices listen the line. Master request (package, the sequence of bytes) in the line and turns into a listening the line. Slave device responds to the request, which came to him.

2 Module

This module provides the ability of clear interrogation and record of input-output ports of devices that are compatible with ICP DAS I-7000. On the settings tabs of DCON module the necessary settings are inserted, and on the attributes tabs the corresponding to the given parameters variables of input-output appear.

2.1 Data controller

For addition of the DCON data source the controller is created and configured in the system OpenSCADA. Example of the configuration tab of the controller of the type is depicted in Figure 1.

Fig.1. Configuration tab of a controller object.

From this tab you can set:

  • The state of the controller, as follows: Status, "Enable", "Run" and the name of the database containing the configuration.
  • Id, name and description of the controller.
  • The state, in which the controller must be translated at boot: "To enable" and "To start".
  • Name of table to store the configuration of the parameters of the controller.
  • The acquisition schedule policy and the priority of the task of data acquisition.
  • Name of the outgoing transport, typical is transport of serial interfaces.
  • Request tries.

2.2 Parameters

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

  • The state of the parameter "Enable": requires disabling-enabling for the changes on this tab take effect.
  • Id, name and description of the parameter.
  • The state, in which the parameter must be translated at boot: "To enable".
  • Address of the device in the RS-485 network. In decimal from 0 to 255.
  • Flag of the checksum control. It must match to the specified in the I/O device.
  • The host signal. It is provided for the control of the host by the devices of the network. It must match the watchdog settings of the devices.
  • The method of the analog inputs (AI) reading or the lack thereof.
  • The range of the analog inputs (AI). It participates in the work only for the given method of the analog inputs reading and should match the device settings.
  • The method of analog outputs (AO) writing or the lack thereof.
  • The range of the analog outputs (AO). It participates in the work only for the given method of analog outputs writing and should match the device settings.
  • The method of the digital inputs (DI) reading or the lack thereof.
  • The method of digital outputs (DO) writing or the lack thereof.
  • The method of the counter inputs (CI) reading or the lack thereof.
Fig.2. Configuration tab of a parameter object.

In accordance with the settings of the parameter and the interrogation and creation of the attributes is carried out(Fig. 3).

Fig.3. Tab of attributes of a parameter.

3 Compatibility table of input/output modules of different manufacturers

# IO (DCON Method) NILAP (http://www.rlda.ru/) ICPDAS (http://www.icpdas.com/) Advantech (http://www.advantech.com/)
1 1AI(#AA), 1AI(#AAN) NL-1RTD I-7013 ADAM-4011, ADAM-4013, ADAM-4012, ADAM-4016
2 1AI(#AA), 1AI(#AAN), 3DO(^AADOVVV) NL-1RTD
3 4AI(#AA), 4AI(#AAN) NL-4RTD
4 4AI(#AA), 4AI(#AAN), 3DO(^AADOVVV) NL-4RTD, CL-4RTD
5 1AI(#AA), 1AI(#AAN), 1DI(@AADI), 2DO(@AADO) I-7011, I-7012, I-7014
6 1AI(#AA), 1AI(#AAN), 1DI(@AADI), 4DO(@AADO) I-7016P
7 2AI(#AA), 2AI(#AAN), 1DI(@AADI), 4DO(@AADO) I-7016
8 8AI(#AA), 8AI(#AAN), 6DO(@AADODD) I-7005
9 3AI(#AA), 3AI(#AAN) I-7033
10 6AI(#AA), 6AI(#AAN) I-7015 ADAM-4015
11 8AI(#AA), 8AI(#AAN) NL-8AI, NL-8TI I-7017, I-7018, I-7019R ADAM-4017, ADAM-4018, ADAM-4019
12 8AI(#AA), 8AI(#AAN), 2DO(^AADOVVV) CL-8TI
13 8AI(#AA), 8AI(#AAN), 3DO(^AADOVVV) NL-8AI, NL-8TI, CL-8AI
14 10AI(#AA), 10AI(#AANN) I-7017Z, I-7018Z
15 16AI(#AA^AA), 16AI(#AAN^AAN) NL-8AI
16 16AI(#AA^AA), 16AI(#AAN^AAN), 3DO(^AADOVVV) NL-8AI, RL-16AIF
17 20AI(#AA), 20AI(#AANN) I-7017Z
18 1AO(#AA) NL-1AO I-7021 ADAM-4021
19 2AO(#AAN) NL-2AO, CL-2AO I-7022
20 4AO(#AAN) NL-4AO, CL-4AO I-7024
21 4AO(#AACN) ADAM-4024
22 14DI($AA6) I-7041
23 16DI($AA6) NL-16DI, NL-16HV I-7051, I-7053 ADAM-4051, ADAM-4053
24 16DI($AA6), 2DO(^AADOVVV) NL-16DI, NL-16HV, CL-16DI
25 8DI($AA6,FF00) NL-8DI I-7052, I-7058, I-7059 ADAM-4052
26 8DI($AA6), 2DO(^AADOVVV) NL-8DI, CL-8DI
27 2DO(@AA,0300) NL-2R
28 4DO(@AA,0F00) NL-4R, NL-4DO, CL-4DO
29 4DO(#AA000F) ADAM-4060
30 3DI($AA6), 4DO(@AA,0F00) NL-4DO
31 8DO(@AA,FF00) NL-8R, NL-8DO, RL-8RC, CL-8DO, CL-8RC
31 8DO(#AA00FF) ADAM-4068, ADAM-4069
32 3DI($AA6), 8DO(@AA,FF00) NL-8DO
33 13DO(@AA,1FFF) I-7042
34 16DO(@AA,FFFF) NL-16DO, CL-16DO I-7043, I-7045
35 3DI($AA6), 16DO(@AA,FFFF) NL-16DO
36 4DI($AA6), 8DO(@AA,FF) I-7044
37 7DI($AA6), 8DO(@AA,FF) I-7050
38 7DI($AA6), 8DO(#AA00FF) ADAM-4050
39 8DI($AA6), 8DO(@AA,FF) I-7055
40 8DI($AA6), 8DO(#AA00FF) ADAM-4055
41 4DI($AA6), 4DO(@AA,F) I-7060
42 12DO(@AA,0FFF) I-7061
43 12DO(#AA000FFF) ADAM-4056
44 8DI($AA6), 3DO(@AA,7) I-7063
45 4DI($AA6), 5DO(@AA,1F) I-7065
46 7DO(@AA,7F) I-7066, I-7067
47 2CI(#AA) NL-2C ADAM-4080
48 2CI(#AA), 2DO(@AADO0D) I-7080
49 2CI(#AA), 4DO(@(^)AADO0D) NL-2C
50 3CI(#AA) I-7083