PanasonicMewtocolOverTcpWriteAsync 方法 (String, Byte) |
将数据写入到指定的地址里去,地址示例:D0 F0 K0 T0 C0, 地址支持携带站号的访问方式,例如:s=2;D100
Write data to the specified address, address example: D0 F0 K0 T0 C0, the address supports carrying station number information, for example: s=2;D100
命名空间:
HslCommunication.Profinet.Panasonic
程序集:
HslCommunication (在 HslCommunication.dll 中) 版本:12.1.2.0 (12.1.2.0)
语法 public override Task<OperateResult> WriteAsync(
string address,
byte[] value
)
Public Overrides Function WriteAsync (
address As String,
value As Byte()
) As Task(Of OperateResult)
public:
virtual Task<OperateResult^>^ WriteAsync(
String^ address,
array<unsigned char>^ value
) override
abstract WriteAsync :
address : string *
value : byte[] -> Task<OperateResult>
override WriteAsync :
address : string *
value : byte[] -> Task<OperateResult>
参数
- address
- 类型:SystemString
起始地址 - value
- 类型:SystemByte
真实数据
返回值
类型:
TaskOperateResult是否写入成功
实现
IReadWriteNetWriteAsync(String, Byte)参见