Infosys在阅读器中打开 / AI 翻译

TE1000 | Automation Interface · 0 次阅读

Configuring TwinCAT Boot settings

The following documentation article describes how to configure the TwinCAT Boot settings via Automation Interface. For this the methods ITcSmTreeItem::ProduceXml() and ITcSmTreeItem::ConsumeXml() can be used to generate or import the following XML structure, which represents the corresponding settings in TwinCAT XAE.

<TreeItem>
  <System>
    <BootSettings>
      <AutoRun>true</AutoRun>
      <AutoLogon>true</AutoLogon>
      <LogonUserName>UserName</LogonUserName>
      <LogonPassword>Password</LogonPassword>
      <BootFileEncryptionType>None</BootFileEncryptionType>
    </BootSettings>
  </System>
</TreeItem>