Samples | I/O "; ecSlave.ConsumeXml(aggregatedXml); Making a data type global A local PLC data type can be converted to a global data type for the GVL. To do this, call MakeDutGlobal on the DUT's Tree Item. ITcSmTreeItem dut = sysManager.LookupTreeItem(@"TIPC^PLC1^PLC1 Project^DUTs^MyStruct"); dut.ConsumeXml(@" true "); 6.6.7 Configuring PDO assignments | Configuring PDO assignments The process data object assignment (PDO assignment) of an EtherCAT slave determines which PDOs are transmitted via the Sync Manager channels. The configuration is set on the slave node using ConsumeXml .
All PDOs must be passed in full in XML, including those that have not been modified, since missing entries are interpreted as being disabled. Requirements An EtherCAT slave is present in the I/O configuration. C# sample ITcSmTreeItem ecSlave = sysManager.LookupTreeItem(@"TIID^EtherCAT Master^EL6695-0002"); ecSlave.ConsumeXml(pdoXml); PowerShell sample $ecSlave = $sysManager.LookupTreeItem("TIID^EtherCAT Master^EL6695-0002") $ecSlave.ConsumeXml($pdoXml) XML structure derived from the source Outputs 7168 100 0 5640 Inputs 2 36352 32 1 6657 6664 #x1a01 SYNC Inputs #x1a02 TE1000 258 Version: 1.7.0