ParameterSet¶
The ParameterSet
element enables to configure a set of signals within one sample.
Example¶
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | <Controller Name="Arcas 5EG-0">
<AxisControl Name="X" Template="LogicalAxisControlStandard3rdOrderTemplate">
<ParameterSet Name="HomingParameters">
<Signal Name="TrajectoryGenerator/MaximumVelocity">0.1</Signal>
<Signal Name="TrajectoryGenerator/MaximumAcceleration">1</Signal>
<Signal Name="TrajectoryGenerator/MaximumJerk">10</Signal>
<Signal Name="TrajectoryInterpolator/DemandAccelerationLimit" Unit="m/s2">1.0</Signal>
<Signal Name="TrajectoryInterpolator/DemandPositionHighLimit" Unit="m/s3">10.0</Signal>
<Signal Name="TrajectoryInterpolator/DemandPositionLowLimit" Unit="m/s4">100.0</Signal>
</ParameterSet>
<ParameterSet Name="MoveParameters">
<Signal Name="TrajectoryGenerator/MaximumVelocity">0.4</Signal>
<Signal Name="TrajectoryGenerator/MaximumAcceleration">4</Signal>
<Signal Name="TrajectoryGenerator/MaximumJerk">40</Signal>
<Signal Name="TrajectoryInterpolator/DemandAccelerationLimit" Unit="m/s2">4.0</Signal>
<Signal Name="TrajectoryInterpolator/DemandPositionHighLimit" Unit="m/s3">40.0</Signal>
<Signal Name="TrajectoryInterpolator/DemandPositionLowLimit" Unit="m/s4">400.0</Signal>
</ParameterSet>
</AxisControl>
</Controller>
|
Note
A ParameterSet
is instantiated (and scoped) within an axis control.
If a ParameterSet
with the provided name already exists in the axis control where it is defined, then either:
if the exact same signals are listed, then the signal values are overwritten;
otherwise, initialization fails.
XML schema¶
1 2 3 4 5 6 7 8 | <xs:complexType name="ParameterSetType">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Signal" type="SignalType"/>
<xs:element name="Variant" type="ParameterSetVariantType"/>
<xs:element name="NamedMutation" type="NamedMutationType"/>
</xs:choice>
<xs:attribute name="Name" type="xs:string" use="required"/>
</xs:complexType>
|
Attribute |
Description |
---|---|
|
Used to define a name for a parameter set block. |
1 2 3 4 5 6 7 8 9 10 11 | <xs:complexType name="ParameterSetVariantType">
<xs:complexContent>
<xs:extension base="BaseVariantType">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Signal" type="SignalType"/>
<xs:element name="Variant" type="ParameterSetVariantType"/>
<xs:element name="NamedMutation" type="NamedMutationType"/>
</xs:choice>
</xs:extension>
</xs:complexContent>
</xs:complexType>
|