8.2.8 VisionStateMachineType Methods

8.2.8.1 Halt method

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
causeImplementation-specific number denoting the reason for the Halt method call.
causeDescriptionText 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
BrowseNameHalt
References NodeClass BrowseName DataType TypeDefinition ModellingRule
HasPropertyVariableInputArgumentsArgument[]PropertyTypeMandatory
HasPropertyVariableOutputArgumentsArgument[]PropertyTypeMandatory

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

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
causeImplementation-specific number denoting the reason for the Reset method call.
causeDescriptionText 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
BrowseNameReset
References NodeClass BrowseName DataType TypeDefinition ModellingRule
HasPropertyVariableInputArgumentsArgument[]PropertyTypeMandatory
HasPropertyVariableOutputArgumentsArgument[]PropertyTypeMandatory

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

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
BrowseNameSelectModeAutomatic
References NodeClass BrowseName DataType TypeDefinition ModellingRule
HasPropertyVariableOutputArgumentsArgument[]PropertyTypeMandatory
8.2.8.4 ConfirmAll method

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
CommentA localized text to be applied to the conditions.
Table 92 – ConfirmAll Method AddressSpace Definition
Attribute Value
BrowseNameConfirmAll
References NodeClass BrowseName DataType TypeDefinition ModellingRule
HasPropertyVariableInputArgumentsArgument[]PropertyTypeMandatory