点击或拖拽改变大小

AllenBradleyNetBuildReadCommand 方法 (String, UInt16)

创建一个读取标签的报文指定,标签地址可以手动动态指定slot编号,例如 slot=2;AAA
Build a read command bytes, The label address can manually specify the slot number dynamically, for example slot=2;AAA

命名空间:  HslCommunication.Profinet.AllenBradley
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public virtual OperateResult<byte[]> BuildReadCommand(
	string[] address,
	ushort[] length
)

参数

address
类型:SystemString
the address of the tag name
length
类型:SystemUInt16
Array information, if not arrays, is 1

返回值

类型:OperateResultByte
Message information that contains the result object
参见