<?xml version='1.0' encoding='UTF-8' ?> <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'> <html class="client-nojs" dir="ltr" lang="en"> <head> <meta charset="UTF-8" /> <title>Modules/BFN - OpenSCADAWiki</title> <meta content="MediaWiki 1.26.4" name="generator" /> <link href="https://www.gnu.org/copyleft/fdl.html" rel="copyright" /> <link href="../files/doc.css" rel="stylesheet" /></head> <body><div class="floatright"><a href="../index.html"><img alt="OpenSCADA" src="../../en/files/index.png" /></a></div><div id="mw_header"> <div class="mw-indicators"> </div> <h1 id="firstHeading" lang="en">Modules/BFN</h1> </div><div class="mw-content-ltr" dir="ltr" id="mw-content-text" lang="en"><div class="mw-pt-languages" dir="ltr" lang="en"><div class="mw-pt-languages-list autonym"><span class="mw-pt-languages-ui mw-pt-languages-selected mw-pt-progress mw-pt-progress--complete">English</span> • ‎<a class="mw-pt-progress mw-pt-progress--complete" href="../../ru/Modules/BFN.html" title="Модули/BFN (92% translated)">mRussian</a> • ‎<a class="mw-pt-progress mw-pt-progress--complete" href="../../uk/Modules/BFN.html" title="Модулі/BFN (92% translated)">УкраїнÑька</a></div></div> <table class="wikitable"> <tr> <th> Module </th> <th> Name </th> <th> Version </th> <th> License </th> <th> Source </th> <th> Languages </th> <th> Platforms </th> <th> Type </th> <th> Author </th> <th> Description </th></tr> <tr> <td> <a href="../Modules/BFN.html" title="Special:MyLanguage/Modules/BFN">BFN</a> </td> <td> BFN module </td> <td> 0.6 </td> <td> GPL2 </td> <td> daq_BFN.so </td> <td> en,uk,ru,de </td> <td> x86,x86_64,ARM </td> <td> DAQ </td> <td> Roman Savochenko<br /> <font size="-2"><i>Maxim Lysenko (2011) — the page translation</i></font> </td> <td> Support Big Farm Net (BFN) modules for Viper CT/BAS and other from "Big Dutchman" (<a class="external free" href="http://www.bigdutchman.com" rel="nofollow noreferrer noopener" target="_blank">http://www.bigdutchman.com</a>). </td></tr></table> <div class="toc" id="toc"><div id="toctitle"><h2>Contents</h2></div> <ul> <li class="toclevel-1 tocsection-1"><a href="#Controller_object"><span class="tocnumber">1</span> <span class="toctext">Controller object</span></a></li> <li class="toclevel-1 tocsection-2"><a href="#Parameters"><span class="tocnumber">2</span> <span class="toctext">Parameters</span></a></li> </ul> </div> <p>The module is written for the current data and alarms acquisition from the data concentration module BFN(BigFarmNet) of the poultry automation of "Big Dutchman" company (<a class="external free" href="http://www.bigdutchman.com" rel="nofollow noreferrer noopener" target="_blank">http://www.bigdutchman.com</a>). To the one module of data concentration (BFN) can be connected multiple controllers of the poultry house, for example, Viper CT/BAS — a computer to control the microclimate and production processes, designed in a modular principle; it is provided to maintain an optimal climate and production efficiency in the poultry-yard. </p><p>Acquisition of the BFN module is made by the SOAP/XML protocol (the CGI service "/cgi-bin/imwl_ws.cgi" on port 8000 mostly), during which it can be obtained at once all available data of the one house computer. As a result of this, and because of the connection of multiple house computers to one BFN module, total query time of current data can reach 30 (thirty) seconds! </p><p>Data and alarms are transmitted as codes of the signals and the alarms, and, therefore, to convert them to text messages it is necessary to have correspondence tables. Formation the code table of the signals and the alarms is provided by this module at the module's object level and in the "Symbols" tab (Fig.1). To use in the multilingual projects, data tables can be configured separately for each language. </p> <div class="center"><div class="thumb tnone"><div class="thumbinner" style="width:810px;"><a class="image" href="http://oscada.org/wiki/File:BFN_symb.png"><img class="thumbimage" height="629" src="../files/BFN_symb.png" width="808" /></a> <div class="thumbcaption">Fig.1. Configuration tab of symbols of the signals and the alarms.</div></div></div></div> <h2><span class="mw-headline" id="Controller_object"><span class="mw-headline-number">1</span> Controller object</span></h2> <p>To add a data source, in OpenSCADA creates and configures the controller object. An example of the configuration tab of a controller object of this type is shown in Figure 2. </p> <div class="center"><div class="thumb tnone"><div class="thumbinner" style="width:781px;"><a class="image" href="http://oscada.org/wiki/File:BFN_tr_cntr.png"><img class="thumbimage" height="681" src="../files/BFN_tr_cntr.png" width="779" /></a> <div class="thumbcaption">Fig.2. Configuration tab of a controller object.</div></div></div></div> <p>From this tab you can set: </p> <ul><li> State of the controller object, as follows: status, "Enabled", "Running" and the name of the database containing the configuration.</li> <li> Identifier, name and description of the controller.</li> <li> The state "Enabled" and "Running", in which the controller object must be set at starting.</li> <li> The acquisition schedule policy and the priority of the data acquisition task.</li> <li> Period of sync with the remote station.</li> <li> Address of the transport by which the access to the BFN module is made. Usually the TCP-sockets of the transport module "<a href="../Modules/Sockets.html" title="Special:MyLanguage/Modules/Sockets">Sockets</a>" on port <b>8000</b> are used.</li> <li> User and password for connecting to the BFN module.</li></ul> <h2><span class="mw-headline" id="Parameters"><span class="mw-headline-number">2</span> Parameters</span></h2> <p>The module doesn't provides the possibility of creating parameters manually, all parameters are automatically created taking into account the list of house controllers connected to the BFN module. In fact, one parameter — a single house controller and all its data is presented as the attributes of the parameter. One controller-computer of the house contains approximately 250 parameters, and some up to 500. As a result, the total amount of information of one BFN can reach 2000 signals! An example of the "Attributes" tab of the poultry house computer's parameter is shown in Figure 3. </p> <div class="center"><div class="thumb tnone"><div class="thumbinner" style="width:839px;"><a class="image" href="http://oscada.org/wiki/File:BFN_tr_prm_a.png"><img class="thumbimage" height="760" src="../files/BFN_tr_prm_a.png" width="837" /></a> <div class="thumbcaption">Fig.3. Tab "Attributes" of a parameter of a poultry house computer.</div></div></div></div> <p>Obtained alarms of the poultry computer are placed in the alarms list and to the message archive with: </p> <ul><li> Category: <b>alBFN:{cntrId}:{house}:{nodeCode}:{alarmId}</b>, where: <ul><li> <i>cntrId</i> — controller ID;</li> <li> <i>house</i> — house or the parameter object ID;</li> <li> <i>nodeCode</i> — code of the node-signal for which the alarm is formed;</li> <li> <i>alarmId</i> — alarm ID.</li></ul></li> <li> Name: <b>{HouseName} > {NodeName} : {AlarmMess}</b>, where: <ul><li> <i>HouseName</i> — house name;</li> <li> <i>NodeName</i> — house or the parameter object name;</li> <li> <i>AlarmMess</i> — alarm message.</li></ul></li> <li> Alarm level: -4(Error) — error; 1(Info) — norm.</li></ul> </div><table style="border-top: dotted 2px #999999; margin-top: 20pt; color: gray;" width="100%"><tr><td style="text-align: left;" width="40%"><a href="http://oscada.org/wiki/Modules/BFN/en">Modules/BFN/en</a> - <a href="http://oscada.org/en/main/about-the-project/licenses/">GFDL</a></td><td style="text-align: center;">April 2025</td><td style="text-align: right;" width="40%">OpenSCADA 1+r3018</td></tr></table></body> </html>