@@ -19,6 +19,7 @@
<config default="2" name="MaxInternalWaferCount" nameView="Max Internal wafer count" description="系统可允许进入的wafer数" max="8" min="1" paramter="" tag="" unit="" visible="true" type="Integer" />
<config default="00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000" name="COMLogFlag" description="Flag for print COM data log" max="" min="" paramter="" tag="" unit="" visible="false" type="String" />
<config default="True" name="IsIgnoreSaveDB" nameView="IsIgnoreSaveDB" description="IO实时数据是否保存数据库,2023/09/02暂时加参数设计" max="" min="" paramter="" tag="" unit="" type="Bool" visible="false"/>
+ <config default="false" name="IsEnableEthercat" nameView="Is Enable Ethercat" description="I是否开启凌华Ethercat" max="" min="" paramter="" tag="" unit="" type="Bool" visible="false"/>
<config default="10" name="CheckResourceInterval" nameView="CheckResourceInterval" description="进程资源监视间隔,单位为分钟,0为不监视" max="60" min="0" paramter="" tag="" unit="min" type="Integer"/>
<config default="1000" name="DataCollectionInterval" nameView="DataCollectionInterval" description="插入数据时间间隔" max="2000" min="200" paramter="" tag="" unit="ms" type="Integer"/>
<config default="Kepler" name="Name" nameView="Name" description="Name" tag="" unit="" type="String" />
@@ -116,13 +116,17 @@ namespace Venus_RT.Instances
public override bool Initialize()
{
- if (InitEthercat())
+ if (SC.GetValue<bool>("System.IsEnableEthercat"))
- if (StarteEthercat())
+ if (InitEthercat())
- startEthercatOK = true;
+ if (StarteEthercat())
+ {
+ startEthercatOK = true;
+ }
}
+
if (ModuleHelper.IsInstalled(ModuleName.PMA))