The EncoderProbeType represents the Encoder’s probe functionality.

Table 20 – EncoderProbeType Definition

Attribute

Value

BrowseName

EncoderProbeType

IsAbstract

False

References

Node Class

BrowseName

DataType

TypeDefinition

Other

Subtype of the 0:BaseObjectType defined in OPC 10000-5.

0:HasComponent

Object

Lock

2:LockingServicesType

O

0:HasComponent

Method

LatchStart

O

0:HasComponent

Variable

LatchActive

0:Boolean

0:BaseDataVariableType

O, RO

0:HasComponent

Variable

LastLatchedPos

0:Number

0:BaseDataVariableType

M, RO

0:GeneratesEvent

ObjectType

EncoderProbeLatchEventType

Conformance Units

PNENC Probes

The Lock Object ensures exclusive call of the LatchStart Method for one Client. The Client locks the EncoderProbeType Object by invoking the InitLock Method of the Lock Object. The Client invokes ExitLock to release the lock.

Clients shall be able to lock the EncoderProbeType Object and to invoke the LatchStart Method although the parent EncoderChannelType Object is locked.

This Method starts the latch capture function of the represented probe. The security constraints defined in chapter 6.6 apply.

Signature

LatchStart (

);

The Method Result Codes (defined in Call Service) are defined in Table 15.

Table 21 – Possible Method Result Codes

Result Code

Description

Good

The Method execution was successful.

Bad_UserAccessDenied

The user has not the right to execute the Method.

Bad_Locked

The EncoderProbeType Object is locked by a different Client’s Session.

Bad_RequiresLock

The EncoderProbeType Object is not locked. Clients must lock the EncoderProbeType Object before invoking a Method.

Bad_UnexpectedError

The server is not able to execute the function because an unexpected error occurred. The Device might be temporarily unavailable or unreachable due to network failure.

The LatchActive Variable contains True if the represented probe’s latch is active, otherwise False.

The LastLatchedPos Variable contains the last latched position of the probe.

The Server might provide the Client with information about changes of the probe’s latch data by sending EncoderProbeLatchEventType Events.