CommandQueue

CommandQueue provides an interface enable the client to queue (sequences of) commands on a queue belonging to an axis control.

Example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
<Controller Name="Arcas 5EG-0">
  <AxisControl Name="X" Template="LogicalAxisControlStandard3rdOrderTemplate">
    <CommandQueue>
      <Input Name="InPosition" Source="X/TrajectoryInterpolator/InPosition/Event"/>
      <Input Name="TrajectoryComplete" Source="X/TrajectoryInterpolator/TrajectoryComplete/Event"/>

      <Event Name="QueueIdle" ContextEnabled="True"/>
      <Event Name="QueueRunning" ContextEnabled="True"/>
      <Event Name="QueueHalted" ContextEnabled="True"/>
    </CommandQueue>
  </AxisControl>
</Controller>

XML schema

Complex type CommandQueueType
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
<xs:complexType name="CommandQueueType">
  <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="StateMachine" type="StateMachineType"/>
    <xs:element name="Event" type="EventType"/>
    <xs:element name="Input" type="InputType"/>
    <xs:element name="Signal" type="SignalType"/>
    <xs:element name="EventResponse" type="EventResponseType"/>
    <xs:element name="NamedMutation" type="NamedMutationType"/>
  </xs:choice>
  <xs:attribute name="Name" type="xs:string" use="optional"/>
</xs:complexType>

Attribute

Description

Name

Used to specify the CommandQueue, which is required to be used.

Complex type CommandQueueVariantType
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
<xs:complexType name="CommandQueueVariantType">
  <xs:complexContent>
    <xs:extension base="BaseVariantType">
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="StateMachine" type="StateMachineType"/>
        <xs:element name="Event" type="EventType"/>
        <xs:element name="Input" type="InputType"/>
        <xs:element name="Signal" type="SignalType"/>
        <xs:element name="EventResponse" type="EventResponseType"/>
        <xs:element name="Variant" type="CommandQueueVariantType"/>
        <xs:element name="NamedMutation" type="NamedMutationType"/>
      </xs:choice>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>