SiemensFetchWriteNetWriteAsync 方法 (String, Byte) | 
 
            向PLC中写入byte数据,返回是否写入成功
            Writes byte data to the PLC and returns whether the write succeeded
            
 
        命名空间: 
     HslCommunication.Profinet.Siemens
        程序集:
     HslCommunication (在 HslCommunication.dll 中) 版本:12.5.1.0 (12.5.1.0)
语法public Task<OperateResult> WriteAsync(
	string address,
	byte value
)
Public Function WriteAsync ( 
	address As String,
	value As Byte
) As Task(Of OperateResult)
public:
Task<OperateResult^>^ WriteAsync(
	String^ address, 
	unsigned char value
)
member WriteAsync : 
        address : string * 
        value : byte -> Task<OperateResult> 
参数
- address
 - 类型:SystemString
起始地址,格式为M100,I100,Q100,DB1.100 -> Starting address, formatted as M100,I100,Q100,DB1.100 - value
 - 类型:SystemByte
要写入的实际数据 -> The actual data to write 
返回值
类型:
TaskOperateResult是否写入成功的结果对象 -> Whether to write a successful result object
参见