点击或拖拽改变大小

BeckhoffAdsServerWrite 方法 (String, Byte)

写入PLC的数据,地址共有三种格式,一:I,Q,M数据信息,举例M0,M100;二:内存地址,i=100000;三:标签地址,s=A
There are three formats for the data written into the PLC. One: I, Q, M data information, such as M0, M100; two: memory address, i = 100000; three: tag address, s = A

命名空间:  HslCommunication.Profinet.Beckhoff
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:12.0.0.0 (12.0.0.0)
语法
public override OperateResult Write(
	string address,
	byte[] value
)

参数

address
类型:SystemString
地址信息,地址共有三种格式,一:I,Q,M数据信息,举例M0,M100;二:内存地址,i=100000;三:标签地址,s=A
value
类型:SystemByte
数据值

返回值

类型:OperateResult
是否写入成功

实现

IReadWriteNetWrite(String, Byte)
参见