YokogawaLinkTcpBuildReadSpecialModule 方法 (Byte, String, UInt16) |
构建读取特殊模块的命令报文,需要传入高级地址,必须以 Special: 开头表示特殊模块地址,示例:Special:cpu=1;unit=0;slot=1;100
To construct a command message to read 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<List<byte[]>> BuildReadSpecialModule(
byte cpu,
string address,
ushort length
)
Public Shared Function BuildReadSpecialModule (
cpu As Byte,
address As String,
length As UShort
) As OperateResult(Of List(Of Byte()))
public:
static OperateResult<List<array<unsigned char>^>^>^ BuildReadSpecialModule(
unsigned char cpu,
String^ address,
unsigned short length
)
static member BuildReadSpecialModule :
cpu : byte *
address : string *
length : uint16 -> OperateResult<List<byte[]>>
参数
- cpu
- 类型:SystemByte
Cpu Number - address
- 类型:SystemString
高级的混合地址,除了Cpu可以不携带,例如:Special:unit=0;slot=1;100 - length
- 类型:SystemUInt16
长度信息
返回值
类型:
OperateResultListByte原始的报文命令
参见