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){{CntHdr|Functions}}
* Generic processing of the raw analog input for:
:* simple correction-calibration at the formula "'''in''' = '''iMult'''*('''in'''+'''iAdd''')";
:* scaling from the hardware border ['''plcMin'''...'''plcMax'''] to the main border ['''min'''...'''max'''], applying the square scale '''scSqr''';
:: [[File:at.png]] The hardware borders can be inverted ones and disabled in whole for equal values of the maximum and minimum, when the main border only used.
:* permission to exceed the border for the input value on the value of '''plcExcess''' percent;
:* filtering the input value changing in the time '''Tf'''.
* Simple imitation of the analog input, setting '''plcImit''' and linking the imitation-simulation source in '''plcImitIn'''.
:: [[File:at.png]] Missing the link '''plcImitIn''' (EVAL) causes to generating random analog input
* Complex preprocessing and complete generation-imitation of the analog input on the internal programming language of OpenSCADA into the configuration IO '''inProc''' (with appending the builtin syntax highlight rules), where you can operate next service parameters:
:* ''in'' [IN|OUT] — the same raw analog input IO;
:* ''var'' [IN] — the end variable IO;
:* ''min'', ''max'' [IN] — the main border IOs;
:* ''plcMin'', ''plcMax'' [IN] — the hardware border IOs;
:* ''plcImit'', ''plcImitIn'' [IN] — IOs of the simple imitation;
:* ''levErr'', ''tErr'' [IN|OUT] — alarm level [-79...0] and text of the error (the attribute "err" format);
:* ''f_frq'' [IN] — frequency of calculation, the template IO;
:* ''this'' [IN] — reference to the parameter object, what executing the template;
:* ''ctx'' [IN] — object of the user context, what saved between the execution cycles;
:* ''args'' [IN] — object of arguments of the procedure;
:* ''toSave'' [OUT] — to force save the parameter object at exit.
* Simple substitution for the variable '''subVar''' at the error (not valid) input variable (EVAL) in the modes: "no", "last" and "substitute".
* Processing the result variable '''var''' for violation some borders and criteria, generating the alarms and proper setting the attribute '''err'''. The alarm borders can have some hysteresis '''HystBnd''', can be delayed on the time '''alDelay''' and can be suppressed setting '''alSup'''. Next borders and criteria are provided:
:* missing for data or connection with source at the EVAL input value — error code 1 and alarm level 5;
:* exceeding the input value of the hardware border — error code 1,2 and alarm level 5;
:* exceeding the end variable of the alarm border ['''aMin'''...'''aMax'''] — error code 3,4 and alarm level 4;
:: [[File:at.png]] Disabled at setting for equal or inverted values of the border
:* exceeding the end variable of the warning border ['''wMin'''...'''wMax'''] — error code 5,6 and alarm level 2;
:: [[File:at.png]] Disabled at setting for equal or inverted values of the border
:* big motion '''speed''' of the end variable — error code 7 and alarm level 2.
* Specific parameters redefinition in the common attribute '''DESCR''':
:* ''the first line'' — as description of the alarm messages;
:* the field ''CustomFlds'' — specifying of [[Special:MyLanguage/Documents/Program_manual#ArchMess|the custom fields]] of the alarm messages in the form "'''CustomFlds: {CustFld0} => {CustFld1} => ... => {CustFldN}'''";
:* the field ''CustomAlarms'' — redefinition of the standard alarm levels of the alarm messages in the form "'''CustomAlarms: {ConErr};{BrdAlarm};{BrdWarn}'''".
 h Ukrainian (uk){{CntHdr|Функції}}
* Загальне опрацювання аналогового входу щодо:
:* проста корекція-калібрування за формулою "'''in''' = '''iMult'''*('''in'''+'''iAdd''')";
:* масштабування від апаратної границі ['''plcMin'''...'''plcMax'''] у головну границю ['''min'''...'''max'''], враховуючи квадратичну шкалу '''scSqr''';
:: [[File:at.png]] Апаратні границі може бути інвертовано та взагалі вимкнено однаковими значеннями максимуму та мінімуму, коли використовується тільки головна шкала.
:* дозвіл на перевищення границі вхідним значенням на величину '''plcExcess''' відсотків;
:* фільтрування зміни вхідного значення на час '''Tf'''.
* Проста імітація аналогового входу, встановленням '''plcImit''' та підключенням джерела імітації-симуляції до '''plcImitIn'''.
:: [[File:at.png]] Відсутність зв'язка '''plcImitIn''' (EVAL) призводить до генерації випадкового аналогового входу
* Складна передобробка та повна генерація-імітація аналогового входу на внутрішній мові програмування OpenSCADA у конфігураційному ВВ '''inProc''' (із доповненням вбудованими правилами підсвітлення синтаксису), де ви можете оперувати наступними сервісними параметрами:
:* ''in'' [IN|OUT] — той самий сирий аналоговий ВВ;
:* ''var'' [IN] — ВВ кінцевої змінної;
:* ''min'', ''max'' [IN] — ВВ головної шкали;
:* ''plcMin'', ''plcMax'' [IN] — ВВ апаратної шкали;
:* ''plcImit'', ''plcImitIn'' [IN] — ВВ простої імітації;
:* ''levErr'', ''tErr'' [IN|OUT] — рівень аварії [-79...0] та текст помилки (формат атрибуту "err");
:* ''f_frq'' [IN] — частота обчислення, шаблонний ВВ;
:* ''this'' [IN] — посилання на об'єкт параметру, що виконує шаблон;
:* ''ctx'' [IN] — об'єкт користувацького контексту, що зберігається між циклами виклику;
:* ''args'' [IN] — об'єкт аргументів процедури;
:* ''toSave'' [OUT] — примусово зберігати об'єкт параметру при виході.
* Проста підстановка значення '''subVar''' за помилкою (недостовірністю) вхідної змінної (EVAL) у режимах: "немає", "останнє" та "підстановка".
* Опрацювання кінцевої змінної '''var''' на предмет порушення деяких границь та критеріїв, генеруючи аварії та відповідно встановлюючи атрибут '''err'''. Границі аварії можуть мати деякий гістерезис '''HystBnd''', можуть бути затримані на час '''alDelay''' та можуть бути придушені встановленням '''alSup'''. Надаються наступні границі та критерії:
:* відсутність даних або підключення до джерела за вхідним значенням EVAL — код помилки 1 та рівень аварії 5;
:* перевищення апаратної границі вхідним значенням — код помилки 1,2 та рівень аварії 5;
:* перевищення аварійної границі кінцевою змінною ['''aMin'''...'''aMax'''] — код помилки 3,4 та рівень аварії 4;
:: [[File:at.png]] Вимикається встановленням однакових або інверсних значень границі
:* перевищення попереджувальної границі кінцевою змінною ['''wMin'''...'''wMax'''] — код помилки 5,6 та рівень аварії 2;
:: [[File:at.png]] Вимикається встановленням однакових або інверсних значень границі
:* велика швидкість зміни '''speed''' кінцевої змінної — код помилки 7 та рівень аварії 2.
* Перевизначення специфічних параметрів у загальному атрибуті '''DESCR''':
:* ''перший рядок'' — як опис повідомлень порушень;
:* поле ''CustomFlds'' — визначення [[Special:MyLanguage/Documents/Program_manual#ArchMess|користувацьких полів]] повідомлень порушень у формі "'''CustomFlds: {CustFld0} => {CustFld1} => ... => {CustFldN}'''";
:* поле ''CustomAlarms'' — перевизначення стандартних рівнів порушень для повідомлень порушень у формі "'''CustomAlarms: {ConErr};{BrdAlarm};{BrdWarn}'''".