BeckhoffAdsNetWriteAdsState 方法 |
写入Ads的状态,可以携带数据信息,数据可以为空
Write the status of Ads, can carry data information, and the data can be empty
命名空间:
HslCommunication.Profinet.Beckhoff
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public OperateResult WriteAdsState(
short state,
short deviceState,
byte[] data
)
Public Function WriteAdsState (
state As Short,
deviceState As Short,
data As Byte()
) As OperateResult
public:
OperateResult^ WriteAdsState(
short state,
short deviceState,
array<unsigned char>^ data
)
member WriteAdsState :
state : int16 *
deviceState : int16 *
data : byte[] -> OperateResult
参数
- state
- 类型:SystemInt16
ads state - deviceState
- 类型:SystemInt16
device state - data
- 类型:SystemByte
数据信息
返回值
类型:
OperateResult是否写入成功
参见