OpenSCADAWiki: Home Page En/Doc/SMH2 Gi ...

Home | Index | Changes | Comments | Users | Registration | Login  Password:  
 
This is an old revision of HomePageEn/Doc/SMH2Gi from 2015-12-12 10:03:20..

Module "SMH2Gi" of subsystem "DAQ"

Module: SMH2Gi
Name: Segnetics SMH2Gi
Type: DAQ
Source: daq_SMH2Gi.so
Version: 0.6.0
Author: Roman Savochenko
Description: Data acquisition and control by Segnetics SMH2Gi (http://segnetics.com/smh_2gi) hardware interfaces and modules.
License: GPL2

Contents

Introduction

The module provides functions of integration of OpenSCADA system to environment of programming panel controller with OS Linux SMH2Gi (Fig.1) from firm Segnetics. The module was developed for project "Automatic system of control of vacuum technological process" and funded by "The Laboratory of vacuum technologies". The module implementing task allowed by link.


SMH2Gi (259 Kb)
Fig.1. SMH2Gi controller.

"SMH 2Gi" — programming logical controller, aimed for automation of engineer systems of buildings and technological processes of industry.


Specifics of the controller "SMH 2Gi":

  1. High modularity level. You do not need pay for unused channels and interfaces. To the base resources added next functions:
    1. Enchantment of input-output channels by connection of an adjustment module "MC" and expansion modules "MR".
    2. Working into the networks Lonworks and Ethernet.
    3. Working with a USB-modem, channels CSD, GPRS, EDGE, 3G
    4. Working into VPN, working through the internet and local networks
  2. At a new module addition you unneeded for the PLC dismantling and disassembling. It made significant simplify the work into process of a system expanding and configuring.
  3. Free programming by the instrument "SMLogix" assistance in addition with the configuring program "SMConstructor" which allow you to create control programs quickly and to adapt it for a concrete object.
  4. Full program compatibility with the controllers "SMH2010", "Pixel" and "SMH 2G". You unneeded for the program re-creation.
  5. Possibility to work into networks, built on Modbus and Ethernet into the device's role as Slave or Master.
  6. Graphical display, which allow you show different objects of visualization, trends of processes and text of different sizes.

Table 1: SMH2Gi specification

Naming Type (Value)
Supplying
Nominal supplying voltage 24 V of DC ± 5%
Allowed range of the supplying voltage 18…36 V DC
Power consumption No more to 5 W without "ÌÑ" module and more then 10 W with the "ÌÑ" connection
Processor, memory
Control processor, bus band width Freescale iMX27 with the core ARM926EJ-S, 32 bit
Working CPU frequency 400 MHz
Operational system Linux 2.6.29
The operational memory type and size 64 Mbyte (or 128 Mbyte) DDR dependent from the model
Content memory type and size 128 MByte NAND Flash
Interfaces
RS-232 Speed – from 2400 … to 115200 bit/s; without optical isolation; protocol – Modbus RTU; socket to connection – terminal block (needed additional coupler to DB-9)
RS-485 Speed – to 2400…115200 bit/s; with optical isolation; protocol – Modbus RTU; socket to connection – terminal block
USB Host Support standard USB 2.0; socket for connection – USB type A (big socket);
USB Device Socket for connection – USB type miniAB (small socket)
Ethernet Embedded, 10/100Mbit; supported protocols: FTP, HTTP and other. Socket for connection – type RJ-45
Additional network modules LONworks, modules for specific order
User interface
Keyboard 23 buttons
Graphical display Type – STN, monochrome 192 õ 64 dots; diagonal - 4.1"
Sound alarming Missing
Discrete inputs
Inputs number 3…5 galvanic isolated inputs (the number configures in program) with counter inputs support up to 10 kHz
Type of the galvanic isolation Grouped
Triggering voltage's levels Closed "dry" contact ≤1.1Â. Opened "dry" contact ≥4.2Â DC (lesser to 50Â)
Discrete outputs
Number and type: 2 transistor outputs (without galvanic isolation)
SMH 2Gi – 0XXX – XX – Õ 1 optorele
SMH 2Gi – 1XXX – XX – Õ 2 optorele
Working voltage range For outputs on transistors: 0…36 Â DC. For outputs on optorele: 0…36 Â DC; 0…25 Â (rms) AC.
Switched current, lesser 0.4 À to each output
Switching time, lesser 1.5 ms
"Contacts" resource, switches, lesser No limited

OpenSCADA project assembling for environment of processor ARM926EJ-S and OS Linux grounds on GCC-4.3.2, Glibc-2.8, Binutils-2.18 and Kernel-2.6.29 was done long enough and it described by link: http://wiki.oscada.org/Using/PLC#h1086-9. But in an exploitation process was is a need of a direct data acquisition from modules "MC" and "MR", and interaction with the original environment "SMLogix".


At all we need to note that the original environment of SMH2Gi represent by two processes: "mbs" and "logix". Where "mbs" performs a function of acquisition of modules MC, MR and other interfaces and "logix" performs programs execution and visualization to the embedded screen. On the modules MÑ and MR configuring to frequent acquisition the process "mbs" can use more at 30% of the processor's resources into system loading then it is leave few resources to all other tasks, and it mostly reloads the processor. Replacing the process "mbs" into OpenSCADA allow you to remove that kind system loading by using function select() of the operation system at work with the serial interfaces. And working with the process "logix" by the shared memory allow you to bypass a problem of a low priority of the network interface.


Into this version implemented the data acquisition and the values transmission to the process "logix" by the shared memory, also the values acquisition and transmission from/to modules MC and MR.


The module implements functions of horizontal redundancy that is accordance working with a remote station of the same level.

1. General provisions

To the modules MC and MR working needs a previous initial procedure which must send tune-request, specified to the module concrete model. Next to a data request/send you need an information about the module structure. This kind information is contained by INI-files, per file to the device. Folder with INI-files specified into tab "SMH2Gi" by the module page (Figure 1), and the typical *.INI files archive, adapted to OpenSCADA needs, allowed here.


Âêëàäêà "SMH2Gi" ñòðàíèöû ìîäóëÿ. (61 Kb)
Fig.1. Tab "SMH2Gi" of the module page.

Translation continued

2. Îá'ºêò êîíòðîëåðó

Îá'ºêò êîíòðîëåðó îïèñóº çàäà÷ó îïèòóâàííÿ äæåðåë äàíèõ SMH2Gi äâîõ òèï³â: "SHM" òà "MRC" (ðèñ.2).


Âêëàäêà êîíôèãóðàöèè îáúåêòà êîíòðîëëåðà. (101 Kb)
Ðèñ.2. Âêëàäêà êîíô³ãóðàö³¿ îá'ºêòó êîíòðîëåðà.

Çà äîïîìîãîþ ö³º¿ âêëàäêè ìîæíà âñòàíîâèòè:


 (2 Kb) Ó çâ'ÿçêó ç òèì, ùî ìîäóë³ MC òà MR ïîòðåáóþòü ïîïåðåäíüîãî ñêèäàííÿ, à ïîò³ì â³äïðàâëåííÿ tune-çàïèòó òî íåçàëåæíå ô³çè÷íå ï³äêëþ÷åííÿ, â³äêëþ÷åííÿ òà íàâ³òü âêëþ÷åííÿ/âèêëþ÷åííÿ îá'ºêòó îêðåìîãî ìîäóëÿ ÷àñòî íåìîæëèâå áåç çóïèíêè òà âèìêíåííÿ îá'ºêòó êîíòðîëåðà ö³ëèêîì.

3. Îá'ºêò ïàðàìåòðó êîíòðîëåðà

Îá'ºêò ïàðàìåòðó º áåçïîñåðåäí³ì ïðåäñòàâíèêîì äæåðåëà äàíèõ, ó íàøîìó âèïàäêó ïîä³ëþâàíî¿ ïàì'ÿò³ òà ìîäóë³â MC, MR. Êîæåí ³ç öèõ òèï³â ïðåäñòàâëåíî îêðåìî.

3.1. Ïîä³ëþâàíà ïàì'ÿòü

Òèï ïàðàìåòðó "Ïîä³ëþâàíà ïàì'ÿòü (SHM)" âèêîðèñòîâóºòüñÿ äëÿ âçàºìî䳿 ³ç ïðîöåñîì "logix" ÷åðåç îáì³í çì³ííèìè. Âêëàäêó êîíô³ãóðàö³¿ îá'ºêòó ïàðàìåòðà öüîãî òèïà ïðåäñòàâëåíî íà ðèñ.3. Ïðîöåñ "logix" ïåðåäáà÷ຠ÷îòèðè òèïè çì³ííèõ, ÿê³ â³äîáðàæàþòüñÿ íà àòðèáóòè äæåðåë äàíèõ OpenSCADA íàñòóïíèì ÷èíîì:


Âêëàäêà êîíôèãóðàöèè îáúåêòà ïàðàìåòðà òèïà "Ðàçäåëÿåìàÿ ïàìÿòü". (68 Kb)
Ðèñ.3. Âêëàäêà êîíô³ãóðàö³¿ îá'ºêòó ïàðàìåòðà òèïó "Ïîä³ëþâàíà ïàì'ÿòü".

Çà äîïîìîãîþ ôîðìè êîíô³ãóðàö³¿ îá'ºêòó ïàðàìåòðà ìîæíà âñòàíîâèòè:


Ïðèêëàä âêëàäêè "Àòðèáóòè" ïðèâåäåíî íà ðèñ.4.


Âêëàäêà "Àòðèáóòû" îáúåêòà ïàðàìåòðà ðàçäåëÿåìîé ïàìÿòè. (64 Kb)
Ðèñ.4. Âêëàäêà "Àòðèáóòè" îá'ºêòó ïàðàìåòðà ïîä³ëþâàíî¿ ïàì'ÿò³.

3.2. Ìîäóë³ MC òà MR

Òèï ïàðàìåòðó "Ìîäóë³ MC òà MR (MRC)" âèêîðèñòîâóºòüñÿ äëÿ äîñòóïó äî äàíèõ ìîäóë³â MC òà MR. Âêëàäêó êîíô³ãóðàö³ÿ îá'ºêòó ïàðàìåòðà öüîãî òèïó ïðåäñòàâëåíî íà ðèñ.5. Òèï ïàðàìåòðó äëÿ ìîäóë³â MC òà MR ïåðåäáà÷åíî çàãàëüíèé îñê³ëüêè ðîáîòà ç öèìè ìîäóëÿìè ñõîæà òà â³äð³çíÿºòüñÿ ò³ëüêè øèíîþ íà ÿê³é âîíè âñòàíîâëåí³, ùî âðàõîâóºòüñÿ çíàêîì àäðåñè ìîäóëÿ.


Âêëàäêà êîíôèãóðàöèè îáúåêòà ïàðàìåòðà òèïà "Ìîäóëè MC è MR". (67 Kb)
Ðèñ.5. Âêëàäêà êîíô³ãóðàö³¿ îá'ºêòó ïàðàìåòðà òèïó "Ìîäóë³ MC òà MR".

Çà äîïîìîãîþ ôîðìè êîíô³ãóðàö³¿ îá'ºêòó ïàðàìåòðà ìîæíà âñòàíîâèòè:


Ïðèêëàä âêëàäêè "Àòðèáóòè" ïðèâåäåíî íà ðèñ.6. Íà ðèñóíêó 7 ïðåäñòàâëåíî âêëàäêó "Êîíô³ãóðàö³ÿ", ÿêà ì³ñòèòü âñ³ êîíô³ãóðàö³éí³ ïîëÿ òþí-çàïèòó, à òàêîæ êîíô³ãóðàö³þ ³íâåðñ³¿ äèñêðåòíèõ ñèãíàë³â.


Âêëàäêà "Àòðèáóòû" îáúåêòà ïàðàìåòðà ìîäóëÿ MC. (88 Kb)
Ðèñ.6. Âêëàäêà "Àòðèáóòè", îá'ºêòó ïàðàìåòðà ìîäóëÿ MC.

Âêëàäêà "Êîíôèãóðàöèÿ" îáúåêòà ïàðàìåòðà ìîäóëÿ MC. (101 Kb)
Ðèñ.7. Âêëàäêà "Êîíô³ãóðàö³ÿ", îá'ºêòà ïàðàìåòðà ìîäóëÿ MC.

Ïîñèëàííÿ

Àðõ³â INI-ôàéë³â ³ç êîíô³ãóðàö³ºþ ìîäóë³â MC òà MR: file:/Doc/SMH2Gi/smh2gi_ini.tgz


Referring pages: HomePageEn/Doc
HomePageEn/Function
HomePageEn/Using/PLC/firmwareARM


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