AiProc3 (тест, вариант 1)
Файл конфигурации AiProc3
Section titled “Файл конфигурации AiProc3”- Путь (от каталога JSC):
JSC/Conf/Models/ObjTypes/APUCS/AiProc3/AiProc3.xlsx - Файл:
AiProc3.xlsx - Типовой блок:
AiProc3 - Оборудование: по таблице моделей APUCS
- Шаблоны:
0_20mA,4_20mA,4_20mA_AGDS_AXIOM,4_20mA_R3,4_20mA_prototype,Digital,Digital_Rep - Таблица соответствия: OBJTYPE + Template -> Unimod -> DevStudio -> HMI
- Описание модели OBJTYPE: Файлы модели OBJTYPE
- Описание моделей верхнего уровня: Связь с моделями верхнего уровня
- Описание модели ПЛК: Модель ПЛК
Шаблоны
Section titled “Шаблоны”0_20mA
Section titled “0_20mA”- Внешние переменные:
[FbdAssignmentMap],[ScaleHigh],[ScaleLow],[Units] - FB Unimod2:
[TAG] -> AiProc3,[TAG]_CH -> AiChnl_0_20mA - FBD-шаблон: FBD_AiProc_Analog
- DevStudioType:
AiProc3_Analog - Графические символы с листов HMI:
Icon_AiProc3,MS_Icon_AiProc3,Icon_AiProc3_bar,const_tag_textBased
4_20mA
Section titled “4_20mA”- Внешние переменные:
[FbdAssignmentMap],[ScaleHigh],[ScaleLow],[Units] - FB Unimod2:
[TAG] -> AiProc3,[TAG]_CH -> AiChnl_4_20mA - FBD-шаблон: FBD_AiProc_Analog
- DevStudioType:
AiProc3_Analog - Графические символы с листов HMI:
Icon_AiProc3,MS_Icon_AiProc3,Icon_AiProc3_bar,const_tag_textBased
4_20mA_AGDS_AXIOM
Section titled “4_20mA_AGDS_AXIOM”- Внешние переменные:
[FbdAssignmentMap],[ScaleHigh],[ScaleLow],[Units] - FB Unimod2:
[TAG] -> AiProc3,[TAG]_CH -> AiChnl_4_20mA_AGDS_AXIOM,channel_4_20mA_AGDS_SSE -> — - FBD-шаблон: FBD_AiProc_Analog_Rep3
- DevStudioType:
AiProc3_Analog - Графические символы с листов HMI:
Icon_AiProc3,MS_Icon_AiProc3,Icon_AiProc3_bar,const_tag_textBased
4_20mA_R3
Section titled “4_20mA_R3”- Внешние переменные:
[FbdAssignmentMap],[ScaleHigh],[ScaleLow],[Units] - FB Unimod2:
[TAG] -> AiProc3,[TAG]_CH -> AiChnl_4_20mA - FBD-шаблон: FBD_AiProc_Analog_Rep3
- DevStudioType:
AiProc3_Analog - Графические символы с листов HMI:
Icon_AiProc3,MS_Icon_AiProc3,Icon_AiProc3_bar,const_tag_textBased
4_20mA_prototype
Section titled “4_20mA_prototype”- Внешние переменные:
[FbdAssignmentMap],[ScaleHigh],[ScaleLow],[Units] - FB Unimod2:
[TAG] -> AiProc3,[TAG]_CH -> AiChnl_4_20mA_prototype - FBD-шаблон: FBD_AiProc_Analog_Rep3
- DevStudioType:
AiProc3_Analog - Графические символы с листов HMI:
Icon_AiProc3,MS_Icon_AiProc3,Icon_AiProc3_bar,const_tag_textBased
Digital
Section titled “Digital”- Внешние переменные:
[FbdAssignmentMap],[ScaleHigh],[ScaleLow],[Units] - FB Unimod2:
[TAG] -> AiProc3 - FBD-шаблон: FBD_AiProc_Digital
- DevStudioType:
AiProc3_Digital - Графические символы с листов HMI:
Icon_AiProc3,MS_Icon_AiProc3,Icon_AiProc3_bar,const_tag_textBased - Особенность: канал
*_CHне создается.
Digital_Rep
Section titled “Digital_Rep”- Внешние переменные:
[FbdAssignmentMap],[ScaleHigh],[ScaleLow],[Units] - FB Unimod2:
[TAG] -> AiProc3 - FBD-шаблон: FBD_AiProc_Digital_Rep3
- DevStudioType:
AiProc3_Digital - Графические символы с листов HMI:
Icon_AiProc3,MS_Icon_AiProc3,Icon_AiProc3_bar,const_tag_textBased - Особенность: канал
*_CHне создается.
Внешние переменные (сводная таблица)
Section titled “Внешние переменные (сводная таблица)”| Имя переменной | Описание | Лист шаблона |
|---|---|---|
[Environment] | — | HMI.AiProc3 |
[EqtDescr] | — | DevSt.attributes |
[FbdAssignmentMap] | — | 0_20mA, 4_20mA, 4_20mA_AGDS_AXIOM, 4_20mA_R3, 4_20mA_prototype, Digital, Digital_Rep |
[GLOBAL_OBJECTS_PATH] | — | template |
[HmiSrc] | — | HMI.AiProc3, HMI.Bar, HMI.MS_AiProc3 |
[Repair] | — | HMI.AiProc3 |
[ScaleHigh] | — | 0_20mA, 4_20mA, 4_20mA_AGDS_AXIOM, 4_20mA_R3, 4_20mA_prototype, Digital, Digital_Rep |
[ScaleLow] | — | 0_20mA, 4_20mA, 4_20mA_AGDS_AXIOM, 4_20mA_R3, 4_20mA_prototype, Digital, Digital_Rep |
[SystemPosition] | — | DevSt.attributes |
[TAG] | — | DevSt.attributes, HMI.AiProc3, HMI.Bar, HMI.MS_AiProc3, HMI.tag, Wntk.SrtList, template |
[TechObject.modbusTemplate] | — | Wntk.SrtList |
[Template] | — | DevSt.attributes, HMI.AiProc3, HMI.MS_AiProc3 |
[Units] | — | 0_20mA, 4_20mA, 4_20mA_AGDS_AXIOM, 4_20mA_R3, 4_20mA_prototype, DevSt.attributes, Digital, Digital_Rep |
[opt.plcName] | — | HMI.AiProc3, HMI.Bar, HMI.MS_AiProc3 |
[opt.unimod] | — | template |
[parentDescr] | — | DevSt.attributes |
Листы DevStudio
Section titled “Листы DevStudio”| № | Имя листа | Назначение |
|---|---|---|
| 1 | DevSt.attributes | По файлу конфигурации |
Параметры листа DevSt.attributes
Section titled “Параметры листа DevSt.attributes”| attrName | attrValue |
|---|---|
unit.CommonLib.Attributes.DevParams.SystemTag | <script [GAP.ScadaProjectBase.Tags.GetPrjTag](/reference/gap/ScadaProjectBase-Tags/tags-getprjtag/)([TAG])/> |
unit.System.Attributes.Title | [parentDescr] |
unit.CommonLib.Attributes.DevParams.EqtDescr | [EqtDescr] |
unit.CommonLib.Attributes.DevParams.SystemPosition | [SystemPosition] |
unit.CommonLib.Attributes.IO_Channels.Units | [Units] |
unit.CommonLib.Attributes.IO_Channels.UnitsIO | <script [GAP.ScadaProjectBase.General.GetMappedValueOrDefault](/reference/gap/ScadaProjectBase-General/general-getmappedvalueordefault/)([Template], "", "мА")/> |
Листы мнемосимволов HMI
Section titled “Листы мнемосимволов HMI”HmiType — это графический символ в проекте Alpha.HMI.
Подробнее: HMI Manager.
| № | Имя листа | Тип графического элемента | Назначение |
|---|---|---|---|
| 1 | HMI.AiProc3 | Icon_AiProc3 | По файлу конфигурации |
| 2 | HMI.MS_AiProc3 | MS_Icon_AiProc3 | По файлу конфигурации |
| 3 | HMI.Bar | Icon_AiProc3_bar | По файлу конфигурации |
| 4 | HMI.tag | const_tag_textBased | По файлу конфигурации |
Параметры листа HMI.AiProc3
Section titled “Параметры листа HMI.AiProc3”- HmiType:
Icon_AiProc3
| OptionName | Comment | OptionType | ApplyOptions |
|---|---|---|---|
_init_APSourceRef | Ссылка на AP | ref | [HmiSrc] |
_init_AP_path | Объект привязки | value | $Api.Automiq.Ds.GetIosPath([opt.plcName],[HmiSrc],[TAG]) |
_init_AP_Tag | Tag | value | [TAG] |
env | Код среды | ref | unit.Environments.[Environment] |
_init_InHighScale | Верх токовой шкалы | value | <script [GAP.ScadaProjectBase.General.GetMappedValue](/reference/gap/ScadaProjectBase-General/general-getmappedvalue/)([Template], "Digital=|4_20mA=20.0|0_20mA=20.0|4_20mA_SSE=20.0|4_20mA_R3=20.0")/> |
_init_InLowScale | Низ токовой шкалы | value | <script [GAP.ScadaProjectBase.General.GetMappedValue](/reference/gap/ScadaProjectBase-General/general-getmappedvalue/)([Template], "Digital=|4_20mA=4.0|0_20mA=0.0|4_20mA_SSE=4.0|4_20mA_R3=4.0")/> |
_init_Th1 | Тег уставки 1 | value | <script [GAP.AUCS.Thresholds.GetThTag](/reference/gap/AUCS-Thresholds/thresholds-getthtag/)([TAG],1)/> |
_init_Th1_Up | Уставка 1 верхняя | value | <script [GAP.AUCS.Thresholds.GetThUpBySensorTag](/reference/gap/AUCS-Thresholds/thresholds-getthupbysensortag/)([TAG],1)/> |
_init_Th1_Severity | Важность уставки 1 | ref | <script [GAP.AUCS.Thresholds.GetThSeverity](/reference/gap/AUCS-Thresholds/thresholds-getthseverity/)([TAG],1)/> |
_init_Th2 | Тег уставки 2 | value | <script [GAP.AUCS.Thresholds.GetThTag](/reference/gap/AUCS-Thresholds/thresholds-getthtag/)([TAG],2)/> |
_init_Th2_Up | Уставка 2 верхняя | value | <script [GAP.AUCS.Thresholds.GetThUpBySensorTag](/reference/gap/AUCS-Thresholds/thresholds-getthupbysensortag/)([TAG],2)/> |
_init_Th2_Severity | Важность уставки 2 | ref | <script [GAP.AUCS.Thresholds.GetThSeverity](/reference/gap/AUCS-Thresholds/thresholds-getthseverity/)([TAG],2)/> |
_init_Th3 | Тег уставки 3 | value | <script [GAP.AUCS.Thresholds.GetThTag](/reference/gap/AUCS-Thresholds/thresholds-getthtag/)([TAG],3)/> |
_init_Th3_Up | Уставка 3 верхняя | value | <script [GAP.AUCS.Thresholds.GetThUpBySensorTag](/reference/gap/AUCS-Thresholds/thresholds-getthupbysensortag/)([TAG],3)/> |
_init_Th3_Severity | Важность уставки 3 | ref | <script [GAP.AUCS.Thresholds.GetThSeverity](/reference/gap/AUCS-Thresholds/thresholds-getthseverity/)([TAG],3)/> |
_init_Th4 | Тег уставки 4 | value | <script [GAP.AUCS.Thresholds.GetThTag](/reference/gap/AUCS-Thresholds/thresholds-getthtag/)([TAG],4)/> |
_init_Th4_Up | Уставка 4 верхняя | value | <script [GAP.AUCS.Thresholds.GetThUpBySensorTag](/reference/gap/AUCS-Thresholds/thresholds-getthupbysensortag/)([TAG],4)/> |
_init_Th4_Severity | Важность уставки 4 | ref | <script [GAP.AUCS.Thresholds.GetThSeverity](/reference/gap/AUCS-Thresholds/thresholds-getthseverity/)([TAG],4)/> |
_init_Th5 | Тег уставки 5 | value | <script [GAP.AUCS.Thresholds.GetThTag](/reference/gap/AUCS-Thresholds/thresholds-getthtag/)([TAG],5)/> |
_init_Th5_Up | Уставка 5 верхняя | value | <script [GAP.AUCS.Thresholds.GetThUpBySensorTag](/reference/gap/AUCS-Thresholds/thresholds-getthupbysensortag/)([TAG],5)/> |
_init_Th5_Severity | Важность уставки 5 | ref | <script [GAP.AUCS.Thresholds.GetThSeverity](/reference/gap/AUCS-Thresholds/thresholds-getthseverity/)([TAG],5)/> |
_init_Th6 | Тег уставки 6 | value | <script [GAP.AUCS.Thresholds.GetThTag](/reference/gap/AUCS-Thresholds/thresholds-getthtag/)([TAG],6)/> |
_init_Th6_Up | Уставка 6 верхняя | value | <script [GAP.AUCS.Thresholds.GetThUpBySensorTag](/reference/gap/AUCS-Thresholds/thresholds-getthupbysensortag/)([TAG],6)/> |
_init_Th6_Severity | Важность уставки 6 | ref | <script [GAP.AUCS.Thresholds.GetThSeverity](/reference/gap/AUCS-Thresholds/thresholds-getthseverity/)([TAG],6)/> |
_init_AiProcType | № AiProc | value | 3 |
_init_Repair | № AiProc | value | <script [GAP.ScadaProjectBase.General.GetMappedValue](/reference/gap/ScadaProjectBase-General/general-getmappedvalue/)([Repair], "undefined=false|false=false|true=true")/> |
Параметры листа HMI.MS_AiProc3
Section titled “Параметры листа HMI.MS_AiProc3”- HmiType:
MS_Icon_AiProc3
| OptionName | Comment | OptionType | ApplyOptions |
|---|---|---|---|
_init_APSourceRef | Ссылка на AP | ref | [HmiSrc] |
_init_AP_path | Путь к объекту | value | $Api.Automiq.Ds.GetIosPath([opt.plcName],[HmiSrc],[TAG]) |
_init_AP_path_Add | Путь к дополнительным объектам | value | <script [GAP.ScadaProjectBase.General.GetCombinedString](/reference/gap/ScadaProjectBase-General/general-getcombinedstring/)([GAP.ScadaProjectBase.General.GetIOSPath](/reference/gap/ScadaProjectBase-General/general-getiospath/)([TAG]), ".", [TAG], "_Add")/> |
_init_AP_Tag | Tag | value | [TAG] |
_init_InHighScale | Верх токовой шкалы | value | <script [GAP.ScadaProjectBase.General.GetMappedValue](/reference/gap/ScadaProjectBase-General/general-getmappedvalue/)([Template], "Digital=|4_20mA=20.00")/> |
_init_InLowScale | Низ токовой шкалы | value | <script [GAP.ScadaProjectBase.General.GetMappedValue](/reference/gap/ScadaProjectBase-General/general-getmappedvalue/)([Template], "Digital=|4_20mA=4.00")/> |
_init_Th1 | Тег уставки 1 | value | <script [GAP.AUCS.Thresholds.GetThTag](/reference/gap/AUCS-Thresholds/thresholds-getthtag/)([TAG],1)/> |
_init_Th1_Up | Уставка 1 верхняя | value | <script [GAP.AUCS.Thresholds.GetThUpBySensorTag](/reference/gap/AUCS-Thresholds/thresholds-getthupbysensortag/)([TAG],1)/> |
_init_Th1_Severity | Важность уставки 1 | ref | <script [GAP.AUCS.Thresholds.GetThSeverity](/reference/gap/AUCS-Thresholds/thresholds-getthseverity/)([TAG],1)/> |
_init_Th2 | Тег уставки 2 | value | <script [GAP.AUCS.Thresholds.GetThTag](/reference/gap/AUCS-Thresholds/thresholds-getthtag/)([TAG],2)/> |
_init_Th2_Up | Уставка 2 верхняя | value | <script [GAP.AUCS.Thresholds.GetThUpBySensorTag](/reference/gap/AUCS-Thresholds/thresholds-getthupbysensortag/)([TAG],2)/> |
_init_Th2_Severity | Важность уставки 2 | ref | <script [GAP.AUCS.Thresholds.GetThSeverity](/reference/gap/AUCS-Thresholds/thresholds-getthseverity/)([TAG],2)/> |
_init_Th3 | Тег уставки 3 | value | <script [GAP.AUCS.Thresholds.GetThTag](/reference/gap/AUCS-Thresholds/thresholds-getthtag/)([TAG],3)/> |
_init_Th3_Up | Уставка 3 верхняя | value | <script [GAP.AUCS.Thresholds.GetThUpBySensorTag](/reference/gap/AUCS-Thresholds/thresholds-getthupbysensortag/)([TAG],3)/> |
_init_Th3_Severity | Важность уставки 3 | ref | <script [GAP.AUCS.Thresholds.GetThSeverity](/reference/gap/AUCS-Thresholds/thresholds-getthseverity/)([TAG],3)/> |
_init_Th4 | Тег уставки 4 | value | <script [GAP.AUCS.Thresholds.GetThTag](/reference/gap/AUCS-Thresholds/thresholds-getthtag/)([TAG],4)/> |
_init_Th4_Up | Уставка 4 верхняя | value | <script [GAP.AUCS.Thresholds.GetThUpBySensorTag](/reference/gap/AUCS-Thresholds/thresholds-getthupbysensortag/)([TAG],4)/> |
_init_Th4_Severity | Важность уставки 4 | ref | <script [GAP.AUCS.Thresholds.GetThSeverity](/reference/gap/AUCS-Thresholds/thresholds-getthseverity/)([TAG],4)/> |
_init_Th5 | Тег уставки 5 | value | <script [GAP.AUCS.Thresholds.GetThTag](/reference/gap/AUCS-Thresholds/thresholds-getthtag/)([TAG],5)/> |
_init_Th5_Up | Уставка 5 верхняя | value | <script [GAP.AUCS.Thresholds.GetThUpBySensorTag](/reference/gap/AUCS-Thresholds/thresholds-getthupbysensortag/)([TAG],5)/> |
_init_Th5_Severity | Важность уставки 5 | ref | <script [GAP.AUCS.Thresholds.GetThSeverity](/reference/gap/AUCS-Thresholds/thresholds-getthseverity/)([TAG],5)/> |
_init_Th6 | Тег уставки 6 | value | <script [GAP.AUCS.Thresholds.GetThTag](/reference/gap/AUCS-Thresholds/thresholds-getthtag/)([TAG],6)/> |
_init_Th6_Up | Уставка 6 верхняя | value | <script [GAP.AUCS.Thresholds.GetThUpBySensorTag](/reference/gap/AUCS-Thresholds/thresholds-getthupbysensortag/)([TAG],6)/> |
_init_Th6_Severity | Важность уставки 6 | ref | <script [GAP.AUCS.Thresholds.GetThSeverity](/reference/gap/AUCS-Thresholds/thresholds-getthseverity/)([TAG],6)/> |
_init_AiProcType | № AiProc | value | 3 |
Параметры листа HMI.Bar
Section titled “Параметры листа HMI.Bar”- HmiType:
Icon_AiProc3_bar
| OptionName | Comment | OptionType | ApplyOptions |
|---|---|---|---|
_init_APSourceRef | Ссылка на AP | ref | [HmiSrc] |
_init_AP_path | Объект привязки | value | $Api.Automiq.Ds.GetIosPath([opt.plcName],[HmiSrc],[TAG]) |
_init_AP_Tag | Tag | value | [TAG] |
_init_Th1 | Тег уставки 1 | value | <script [GAP.AUCS.Thresholds.GetThTag](/reference/gap/AUCS-Thresholds/thresholds-getthtag/)([TAG],1)/> |
_init_Th1_Up | Уставка 1 верхняя | value | <script [GAP.AUCS.Thresholds.GetThUpBySensorTag](/reference/gap/AUCS-Thresholds/thresholds-getthupbysensortag/)([TAG],1)/> |
_init_Th1_Severity | Важность уставки 1 | ref | <script [GAP.AUCS.Thresholds.GetThSeverity](/reference/gap/AUCS-Thresholds/thresholds-getthseverity/)([TAG],1)/> |
_init_Th2 | Тег уставки 2 | value | <script [GAP.AUCS.Thresholds.GetThTag](/reference/gap/AUCS-Thresholds/thresholds-getthtag/)([TAG],2)/> |
_init_Th2_Up | Уставка 2 верхняя | value | <script [GAP.AUCS.Thresholds.GetThUpBySensorTag](/reference/gap/AUCS-Thresholds/thresholds-getthupbysensortag/)([TAG],2)/> |
_init_Th2_Severity | Важность уставки 2 | ref | <script [GAP.AUCS.Thresholds.GetThSeverity](/reference/gap/AUCS-Thresholds/thresholds-getthseverity/)([TAG],2)/> |
_init_Th3 | Тег уставки 3 | value | <script [GAP.AUCS.Thresholds.GetThTag](/reference/gap/AUCS-Thresholds/thresholds-getthtag/)([TAG],3)/> |
_init_Th3_Up | Уставка 3 верхняя | value | <script [GAP.AUCS.Thresholds.GetThUpBySensorTag](/reference/gap/AUCS-Thresholds/thresholds-getthupbysensortag/)([TAG],3)/> |
_init_Th3_Severity | Важность уставки 3 | ref | <script [GAP.AUCS.Thresholds.GetThSeverity](/reference/gap/AUCS-Thresholds/thresholds-getthseverity/)([TAG],3)/> |
_init_Th4 | Тег уставки 4 | value | <script [GAP.AUCS.Thresholds.GetThTag](/reference/gap/AUCS-Thresholds/thresholds-getthtag/)([TAG],4)/> |
_init_Th4_Up | Уставка 4 верхняя | value | <script [GAP.AUCS.Thresholds.GetThUpBySensorTag](/reference/gap/AUCS-Thresholds/thresholds-getthupbysensortag/)([TAG],4)/> |
_init_Th4_Severity | Важность уставки 4 | ref | <script [GAP.AUCS.Thresholds.GetThSeverity](/reference/gap/AUCS-Thresholds/thresholds-getthseverity/)([TAG],4)/> |
_init_Th5 | Тег уставки 5 | value | <script [GAP.AUCS.Thresholds.GetThTag](/reference/gap/AUCS-Thresholds/thresholds-getthtag/)([TAG],5)/> |
_init_Th5_Up | Уставка 5 верхняя | value | <script [GAP.AUCS.Thresholds.GetThUpBySensorTag](/reference/gap/AUCS-Thresholds/thresholds-getthupbysensortag/)([TAG],5)/> |
_init_Th5_Severity | Важность уставки 5 | ref | <script [GAP.AUCS.Thresholds.GetThSeverity](/reference/gap/AUCS-Thresholds/thresholds-getthseverity/)([TAG],5)/> |
_init_Th6 | Тег уставки 6 | value | <script [GAP.AUCS.Thresholds.GetThTag](/reference/gap/AUCS-Thresholds/thresholds-getthtag/)([TAG],6)/> |
_init_Th6_Up | Уставка 6 верхняя | value | <script [GAP.AUCS.Thresholds.GetThUpBySensorTag](/reference/gap/AUCS-Thresholds/thresholds-getthupbysensortag/)([TAG],6)/> |
_init_Th6_Severity | Важность уставки 6 | ref | <script [GAP.AUCS.Thresholds.GetThSeverity](/reference/gap/AUCS-Thresholds/thresholds-getthseverity/)([TAG],6)/> |
Параметры листа HMI.tag
Section titled “Параметры листа HMI.tag”- HmiType:
const_tag_textBased
| OptionName | Comment | OptionType | ApplyOptions |
|---|---|---|---|
designed.Text | — | value | <script [GAP.ScadaProjectBase.Tags.GetPrjTag](/reference/gap/ScadaProjectBase-Tags/tags-getprjtag/)([TAG])/> |
init_borderType | — | value | 0 |
_init_AP_Tag | Tag | value | [TAG] |
Листы для панелей Weintek
Section titled “Листы для панелей Weintek”| № | Имя листа | Назначение |
|---|---|---|
| 1 | Wntk.SrtList | По файлу конфигурации |
Параметры листа Wntk.SrtList
Section titled “Параметры листа Wntk.SrtList”| chapterName | valueRus | valueEng |
|---|---|---|
| Имя раздела | Значение | Значение |
[TechObject.modbusTemplate]_Tags | [TAG] | — |