AllenBradleyHelperPackExecutePCCCWrite 方法 |
打包一个PCCC的写入的命令报文
命名空间:
HslCommunication.Profinet.AllenBradley
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<byte[]> PackExecutePCCCWrite(
int tns,
string address,
byte[] value
)
Public Shared Function PackExecutePCCCWrite (
tns As Integer,
address As String,
value As Byte()
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ PackExecutePCCCWrite(
int tns,
String^ address,
array<unsigned char>^ value
)
static member PackExecutePCCCWrite :
tns : int *
address : string *
value : byte[] -> OperateResult<byte[]>
参数
- tns
- 类型:SystemInt32
请求序号信息 - address
- 类型:SystemString
请求的文件地址,地址示例:N7:1 - value
- 类型:SystemByte
写入的原始数据信息
返回值
类型:
OperateResultBytePCCC的写入报文信息
参见