8 ObjectTypes for Vision System State Handling ToC Previous Next

8.2 VisionStateMachineType ToC Previous Next

8.2.8 VisionStateMachineType Methods ToC Previous Next

8.2.8.1 Halt method ToC

This method commands the system to go into the Halted state from where it is safe to power down the system without damage to system resources (like files, data bases, etc.); what the system does during this transition and how long it takes, is application-defined and may depend on the parameter given to the Halt method (e.g. to distinguish between a fast shutdown due to power-loss or a more gentle shutdown completing ongoing evaluations).

Signature

Halt ([in]	Int32	cause[in]	String	causeDescription[out]	Int32	error);

Table 85 – Halt Method Arguments

Argument Description
cause Implementation-specific number denoting the reason for the Halt method call.
causeDescription Text for said reason, e.g. for logging purposes. May be empty.
error 0 – OK
Values > 0 are reserved for errors defined by this and future standards.
Values < 0 shall be used for application-specific errors.

Table 86 – Halt Method AddressSpace Definition

Attribute Value
BrowseName Halt
References NodeClass BrowseName DataType TypeDefinition ModellingRule
HasProperty Variable InputArguments Argument[] PropertyType Mandatory
HasProperty Variable OutputArguments Argument[] PropertyType Mandatory

The cause argument given to the method can only be interpreted by the underlying vision system It can be used, for example, for logging purposes. It is expected that a value of 0 will be considered an “unspecified reason”.

8.2.8.2 Reset method ToC

This method commands the system to return to the Preoperational state where it has not parameterization for carrying out jobs (single or continuous), e.g. to reset the state of recipes; what the system does during this transition and how long it takes, is application-defined and may depend on the parameter given to the Reset method (e.g. to distinguish between a fast emergency reset due to an error or safety condition or a more gentle reset completing ongoing evaluations).

Signature

Reset ([in]	Int32	cause[in]	String	causeDescription[out]	Int32	error);

Table 87 – Reset Method Arguments

Argument Description
cause Implementation-specific number denoting the reason for the Reset method call.
causeDescription Text for said reason, e.g. for logging purposes. . May be empty.
error 0 – OK
Values > 0 are reserved for errors defined by this and future standards.
Values < 0 shall be used for application-specific errors.

Table 88 – Reset Method AddressSpace Definition

Attribute Value
BrowseName Reset
References NodeClass BrowseName DataType TypeDefinition ModellingRule
HasProperty Variable InputArguments Argument[] PropertyType Mandatory
HasProperty Variable OutputArguments Argument[] PropertyType Mandatory

The Cause argument given to the method can only be interpreted by the underlying vision system It can be used, for example, for logging purposes. It is expected that a value of 0 will be considered an “unspecified reason”.

8.2.8.3 SelectModeAutomatic method ToC

This method commands the system to enter the mandatory AutomaticModeStateMachine attached to Operational state, or, more precisely, the Initialized state of that SubStateMachine.

Signature

SelectModeAutomatic ([out]	Int32	error);

Table 89 – SelectModeAutomatic Method Arguments

Argument Description
error 0 – OK
Values > 0 are reserved for errors defined by this and future standards.
Values < 0 shall be used for application-specific errors.

Table 90 – SelectModeAutomatic Method AddressSpace Definition

Attribute Value
BrowseName SelectModeAutomatic
References NodeClass BrowseName DataType TypeDefinition ModellingRule
HasProperty Variable OutputArguments Argument[] PropertyType Mandatory

8.2.8.4 ConfirmAll method ToC

With this method, a client can confirm all currently active conditions of the server derived from VisionConditionType. In analogy to the Confirm method of the AcknowledgeableConditionType it expects a LocalizedText as a comment, not, however an EventId as this would not make sense for multiple events.

Signature

ConfirmAll ([in]	LocalizedText	comment);

Table 91 – ConfirmAll Method Arguments

Argument Description
Comment A localized text to be applied to the conditions.

Table 92 – ConfirmAll Method AddressSpace Definition

Attribute Value
BrowseName ConfirmAll
References NodeClass BrowseName DataType TypeDefinition ModellingRule
HasProperty Variable InputArguments Argument[] PropertyType Mandatory

Previous Next