AllenBradleyHelperPackRequestReadModifyWrite 方法 (String, UInt32, UInt32, Boolean) |
根据传入的地址,或掩码,和掩码来创建一个读-修改-写的请求报文信息
命名空间:
HslCommunication.Profinet.AllenBradley
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.0.0 (12.1.0.0)
语法public static byte[] PackRequestReadModifyWrite(
string address,
uint orMask,
uint andMask,
bool isConnectedAddress = false
)
Public Shared Function PackRequestReadModifyWrite (
address As String,
orMask As UInteger,
andMask As UInteger,
Optional isConnectedAddress As Boolean = false
) As Byte()
public:
static array<unsigned char>^ PackRequestReadModifyWrite(
String^ address,
unsigned int orMask,
unsigned int andMask,
bool isConnectedAddress = false
)
static member PackRequestReadModifyWrite :
address : string *
orMask : uint32 *
andMask : uint32 *
?isConnectedAddress : bool
(* Defaults:
let _isConnectedAddress = defaultArg isConnectedAddress false
*)
-> byte[]
参数
- address
- 类型:SystemString
标签的地址信息 - orMask
- 类型:SystemUInt32
或的掩码 - andMask
- 类型:SystemUInt32
和的掩码 - isConnectedAddress (Optional)
- 类型:SystemBoolean
是否为连接模式的地址
返回值
类型:
Byte打包之后的CIP指令信息
参见