点击或拖拽改变大小

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.0.0.0 (12.0.0.0)
语法
public static OperateResult<byte[]> BuildWriteSpecialModule(
	byte cpu,
	string address,
	byte[] data
)

参数

cpu
类型:SystemByte
Cpu Number
address
类型:SystemString
高级的混合地址,除了Cpu可以不携带,例如:Special:unit=0;slot=1;100
data
类型:SystemByte
写入的原始数据内容

返回值

类型:OperateResultByte
原始的报文命令
参见