From OpenSCADAWiki
Jump to: navigation, search

Enter a message name below to show all available translations.

Message

Found 2 translations.

NameCurrent message text
 h English (en)[[File:LibsMainInitConsAssignTrsCfg.png|right|Configuration.]]
{{CntHdr|Configuring and using}}
:1. Create an input transport of receiving the initiative connections of [[Special:MyLanguage/Modules/Sockets#InTr|the module "Sockets"]] with the name like to "InitiateCons".
:2. Set the previously created transport to the needed address of opening the input socket and move it to the mode of creating the associative output transports, leaving the protocol field in empty.
:3. Provide a container of the data sources to which associative transports must be connected, which can be either a DAQ-module (such as "DAQ.ModBus"), or a logical controller (such as "DAQ.LogicLev.Sources"), or a parameter in it (such as "DAQ.LogicLev.PLC.Sources"), with logical level parameters representing the data source.
:4. For this template create and run a [[Special:MyLanguage/Modules/LogicLev|logical controller object]] or use any available with the required scheduling properties.
:5. Create a [[Special:MyLanguage/Modules/LogicLev|logical parameter object]] and select this template for it. Enable the parameter.
:6. In the tab "Template configuration" of the logical parameter object you need to set:
:* ''Input transport'' — to value of the identifier of the input transport, created in the item 1, like to "InitiateCons;
:* ''Output transport timeouts'' — increase the first digit for very slow connections and typical is normal in most situations
:* ''Source objects path'' — set according to the item 3, for the first part, and to the control field path, for the second part, for example, and typically for for "ModBus", is — "ModBus:%2fcntr%2fcfg%2fADDR".
:6. RESULT: Starting the controller object (where this parameter was created) and when it was not started, we should get, in the attribute ''prcTr'' of the parameter for information about the processed and therefore successfully transport-linked data sources. In case of some violations, we will get the corresponding information in the attribute ''err'' of the parameter. The absence of a representative object for the received identifier is placed in the protocol of messages.
 h Ukrainian (uk)[[File:LibsMainInitConsAssignTrsCfg_uk.png|right|Конфігурація.]]
{{CntHdr|Конфігурація та використання}}
:1. Створити вхідний транспорт прийняття ініціативних підключень у [[Special:MyLanguage/Modules/Sockets#InTr|модулі "Сокети"]] із назвою на кшталт "InitiateCons".
:2. Встановити, для попередньо створеного транспорту, потрібну адресу відкриття вхідного сокету та перевести його у режим створення асоціативних вихідних транспортів, залишивши поле протоколу порожнім.
:3. Передбачити контейнер джерел даних до яких асоціативні транспорти мають під'єднуватися, який може бути або DAQ-модулем (як то "DAQ.ModBus"), або логічним контролером (як то "DAQ.LogicLev.Sources"), чи параметром у ньому (як то "DAQ.LogicLev.PLC.Sources"), із вмістом параметрів логічного рівня, що представляють джерело даних.
:4. Для цього шаблону створити та запустити [[Special:MyLanguage/Modules/LogicLev|об'єкт логічного контролеру]] або використати будь який наявний з потрібними властивостями планування.
:5. Створити [[Special:MyLanguage/Modules/LogicLev|об'єкт логічного параметру]] та обрати цей шаблон для нього. Ввімкнути параметр.
:6. У вкладці "Конфігурація шаблону" об'єкту логічного параметру треба встановити:
:* ''Вхідний транспорт'' — у значення ідентифікатору вхідного транспорту, створеного у пункті 1, на кшталт "InitiateCons;
:* ''Таймаути вихідних транспортів'' — збільшити першу цифру для дуже повільних підключень та типове є нормальним для більшості ситуацій;
:* ''Шлях об'єктів джерела'' — встановити згідно до пункту 3, для першої частини, та у шлях до контрольного поля, для другої частини, наприклад, та типово для "ModBus", це — "ModBus:%2fcntr%2fcfg%2fADDR".
:6. РЕЗУЛЬТАТ: Запустивши об'єкт контролеру (де створено цей параметр) та якщо він не був запущений, маємо отримати у атрибуті параметру ''prcTr'' інформацію щодо вдало опрацьованих, а відтак і вдало пов'язаних із транспортом, джерелах даних. У випадку деяких порушень отримаємо відповідну інформацію у атрибуті параметру ''err''. Інформація про відсутність представницького об'єкту для отриманого ідентифікатору поміщається у протоколі порушень.