Bus

The Bus element is used to create sub-controllers within a specific bus.

See also

Bus

Explanation of the general concept of a bus and its purpose in the motion software.

Sub-controller

Sub-controller description and its purpose in the motion software.

Simulation

Explanation of a system simulation concept and its purpose in the motion software.

Example

Example XML for Bus
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
<System>
  <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>

XML schema

Element Bus
1
2
3
4
5
6
7
8
<xs:element name="Bus">
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="Controller" minOccurs="0" maxOccurs="unbounded" />
    </xs:sequence>
    <xs:attribute name="Name" type="xs:string" use="required"/> <!-- since all controllers are freshly created, this name should match the default name -->
  </xs:complexType>
</xs:element>
Bus attributes

Attribute

Description

Name

Name of the bus. The name must equal the name of one of the buses defined in the controller description model of the controller that contains this bus.