点击或拖拽改变大小

AllenBradleyNetBuildReadCommand 方法 (String, Int32)

创建一个读取标签的报文指定,标签地址可以手动动态指定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.0.4.0 (11.0.4.0)
语法
public virtual OperateResult<byte[]> BuildReadCommand(
	string[] address,
	int[] length
)

参数

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

返回值

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