Api.ReadInputDWord method

Reads a double word from an input of a real or simulated I/O module.

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 KsReturn<uint> ReadInputDWord(
       int Index,
       int ByteOffset
)
Public Function ReadInputDWord(
       Index As Integer,
       ByteOffset As Integer
) As KsReturn(Of UInteger)

Parameters

Index

Type: int

The index of an I/O module. Indexes are zero based. Aliases affect this parameter.

 

ByteOffset

Type: int

Specifies a byte offset to the location to read a double word value. The max offset is determined by InputLength in the SlaveStatus class.

Return value

Type: KsReturn<uint>

Returns a KsError code and an unsigned integer value.

Remarks

ReadInputDWord can only be called once a link is established and started.

Usable EtherCAT states

ecatOP

Examples

C#
N/A

See also

Api Class

IntervalZero.KINGSTAR.OpcUa.Api Namespace