Complete XML exampleΒΆ

The following example is a complete system XML description, which can be used to create a simulator.

Note

Make sure to specify the correct path to the master controller and the slave controller in case they are used.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
<System>
  <Properties>
    <Property Name="SimulatorCpuUtilization"  Value="Greedy" />
    <Property Name="SimulatorRealTimeThreads" Value="1" />
    <Property Name="SimulatorSpeedFactor"     Value="1.0" />
    <Property Name="SimulatorClientAddress"   Value="Localhost" />
    <Property Name="TargetBusState"           Value="Init" />
  </Properties>

  <Controllers>
    <Controller Description="./controller_arcas_5eg.xml" HardwareSerialNumber="1" Id="1">
      <Bus Name="EtherCatBus">
        <Controller Description="./controller_cygnus_d3_400_4.xml" HardwareSerialNumber="2" Id="1"/>
        <Controller Description="./controller_cygnus_d3_400_4.xml" HardwareSerialNumber="3" Id="2"/>
      </Bus>
    </Controller>
  </Controllers>
</System>