Api.SetTrigger method

Configures a trigger.

Namespace: IntervalZero.KINGSTAR.OpcUa.Api

Assembly: IntervalZero.KINGSTAR.OpcUa.Api (in IntervalZero.KINGSTAR.OpcUa.Client.dll) Version: 4.4.0.0

Syntax

C#VB
public KsError SetTrigger(
       int Index
       McTriggerSource Source
)
Public Function SetTrigger(
       Index As Integer
       Source As McTriggerSource
) As KsError

Parameters

Index

Type: int

A trigger index. Indexes are zero based. You can have up to 16 triggers. For example, index 0 uses triggerTime, index 1 uses triggerIoOutput, and index 2 uses triggerMotion.

 

Source

Type: McTriggerSource

The class that contains the trigger details.

Return value

Type: KsError

A return code of a method.

Remarks

Usable EtherCAT states

ecatOP

Examples

C#
N/A

See also

Api Class

IntervalZero.KINGSTAR.OpcUa.Api Namespace