Api.EnableAliases method

Enables the alias indexes for the axis and I/O index parameters in all methods. The alias index should be set first. This allows the application to have a different drive order from the physical EtherCAT link.

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 EnableAliases(
       bool Active
)
Public Function EnableAliases(
       Active As Boolean
) As KsError

Parameters

Active

Type: bool

This parameter determines whether aliases are used. true to enable, and false to disable aliasing. By default, it is false.

Return value

Type: KsError

A return code of a method.

Remarks

It gets details for each drive and identifies each drive using vendor, product, and alias. If drives are not plugged in the correct order, rearrange the list of drives. Use it after the KINGSTAR Subsystem is started.

Usable EtherCAT states

ecatOP

Examples

C#
N/A

See also

Api Class

IntervalZero.KINGSTAR.OpcUa.Api Namespace