AllenBradleySLCNetBuildReadCommand 方法 |
构建读取的指令信息
命名空间:
HslCommunication.Profinet.AllenBradley
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<byte[]> BuildReadCommand(
string address,
int length
)
Public Shared Function BuildReadCommand (
address As String,
length As Integer
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ BuildReadCommand(
String^ address,
int length
)
static member BuildReadCommand :
address : string *
length : int -> OperateResult<byte[]>
参数
- address
- 类型:SystemString
地址信息,举例:A9:0 - length
- 类型:SystemInt32
读取的长度信息
返回值
类型:
OperateResultByte是否成功
参见