Latch¶
The Latch
element provides an interface to configure and access a latch in a controller, usually a position latch that is triggered by a configurable input.
Example¶
1 2 3 4 5 6 7 8 9 10 | <Controller Name="Arcas 5EG-0">
<NamedMutation FromDefault="UserSignalDouble0" To="Data"/>
<NamedMutation FromDefault="UserSignalBool0" To="Trigger"/>
<Latch Name="Latch1" TriggerMode="OneShot" TriggerType="RisingEdge">
<Event Name="Triggered" ContextEnabled="True"/>
<Input Name="DataSource" Source="Data"/>
<Input Name="TriggerSource" Source="Trigger"/>
</Latch>
</Controller>
|
Latch
can only be configured when in NotConfigured state.
XML schema¶
1 2 3 4 5 6 7 8 9 10 11 12 13 | <xs:complexType name="LatchType">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Signal" type="SignalType"/>
<xs:element name="Input" type="InputType"/>
<xs:element name="StateMachine" type="StateMachineType"/>
<xs:element name="Event" type="EventType"/>
<xs:element name="Variant" type="LatchVariantType"/>
<xs:element name="NamedMutation" type="NamedMutationType"/>
</xs:choice>
<xs:attribute name="Name" type="xs:string" use="required"/>
<xs:attribute name="TriggerMode" type="xs:string"/>
<xs:attribute name="TriggerType" type="xs:string"/>
</xs:complexType>
|
Attribute |
Description |
---|---|
|
Used to specify the Latch, which is required to be used. |
|
Alignment methods.
Accepted modes are: |
|
Limits the homing procedure time (s).
Accepted types are: |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | <xs:complexType name="LatchVariantType">
<xs:complexContent>
<xs:extension base="BaseVariantType">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="Signal" type="SignalType"/>
<xs:element name="Input" type="InputType"/>
<xs:element name="StateMachine" type="StateMachineType"/>
<xs:element name="Event" type="EventType"/>
<xs:element name="Variant" type="LatchVariantType"/>
<xs:element name="NamedMutation" type="NamedMutationType"/>
</xs:choice>
</xs:extension>
</xs:complexContent>
</xs:complexType>
|