Api.GetCommandsStatus 方法

取得命令状态。

命名空间IntervalZero.KINGSTAR.OpcUa.Api

组合: IntervalZero.KINGSTAR.OpcUa.Api (于 IntervalZero.KINGSTAR.OpcUa.Client.dll) 版本:4.4.0.0

语法

C#VB
public KsReturn<KsCommandStatus<byte[]>[]> GetCommandsStatus(
       KsCommandStatus<byte[]>[] Statuses
)
Public Function GetCommandsStatus(
       Statuses As KsCommandStatus(Of Byte())()
) As KsReturn(Of KsCommandStatus(Of Byte())())

参数

型别:KsCommandStatus<byte[]>

用来取得状态的命令阵列,您可使用 KsCommandStatus<T> 建构函式来建构一个 KsCommandStatus<byte[]> 命令,并将命令阵列传递给该函式。

回传值

型别:KsReturn<KsCommandStatus<byte[]>[]>

回传 KsReturn<T> 类别,其中包含了 ErrorId 与 Value。ErrorId 含有函式的错误码;Value 含有命令阵列的状态。

备注

可用的 EtherCAT 状态

ecatOffline, ecatInit, ecatBoot, ecatPreOP, ecatSafeOP, ecatOP

范例

C#
N/A

参见

Api 类别

IntervalZero.KINGSTAR.OpcUa.Api 命名空间