YokogawaLinkTcpBuildWriteSpecialModule 方法 (Byte, String, Byte) |
构建写入特殊模块的命令报文,需要传入高级地址,必须以 Special: 开头表示特殊模块地址,示例:Special:cpu=1;unit=0;slot=1;100
To construct a command message to write a special module, the advanced address needs to be passed in.
It must start with Special: to indicate the address of the special module, for example: Special:cpu=1;unit=0;slot=1;100
命名空间:
HslCommunication.Profinet.Yokogawa
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public static OperateResult<byte[]> BuildWriteSpecialModule(
byte cpu,
string address,
byte[] data
)
Public Shared Function BuildWriteSpecialModule (
cpu As Byte,
address As String,
data As Byte()
) As OperateResult(Of Byte())
public:
static OperateResult<array<unsigned char>^>^ BuildWriteSpecialModule(
unsigned char cpu,
String^ address,
array<unsigned char>^ data
)
static member BuildWriteSpecialModule :
cpu : byte *
address : string *
data : byte[] -> OperateResult<byte[]>
参数
- cpu
- 类型:SystemByte
Cpu Number - address
- 类型:SystemString
高级的混合地址,除了Cpu可以不携带,例如:Special:unit=0;slot=1;100 - data
- 类型:SystemByte
写入的原始数据内容
返回值
类型:
OperateResultByte原始的报文命令
参见