AllenBradleyHelperPackRequsetRead 方法 |
打包生成一个请求读取数据的节点信息,CIP指令信息
命名空间:
HslCommunication.Profinet.AllenBradley
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static byte[] PackRequsetRead(
string address,
int length,
bool isConnectedAddress = false
)
Public Shared Function PackRequsetRead (
address As String,
length As Integer,
Optional isConnectedAddress As Boolean = false
) As Byte()
public:
static array<unsigned char>^ PackRequsetRead(
String^ address,
int length,
bool isConnectedAddress = false
)
static member PackRequsetRead :
address : string *
length : int *
?isConnectedAddress : bool
(* Defaults:
let _isConnectedAddress = defaultArg isConnectedAddress false
*)
-> byte[]
参数
- address
- 类型:SystemString
地址 - length
- 类型:SystemInt32
指代数组的长度 - isConnectedAddress (Optional)
- 类型:SystemBoolean
是否是连接模式下的地址,默认为false
返回值
类型:
ByteCIP的指令信息
参见