MelsecA3CNetOverTcpWriteAsync 方法 |
名称 | 说明 | |
---|---|---|
WriteAsyncT(T) |
异步写入支持Hsl特性的数据,返回是否写入成功,该特性为HslDeviceAddressAttribute,详细参考api文档说明 (继承自 DeviceCommunication。)Asynchronously write data that supports the Hsl attribute, and return whether the write was successful. The attribute is HslDeviceAddressAttribute, please refer to the api documentation for details. | |
WriteAsync(String, Boolean) |
异步批量写入Boolean数组数据,返回是否成功 (继承自 DeviceCommunication。)Asynchronously batch write Boolean array data, return success | |
WriteAsync(String, Double) |
异步写入double数据,返回是否成功 (继承自 DeviceCommunication。)Asynchronously write double data, return whether the write was successful | |
WriteAsync(String, Double) |
异步写入double数组,返回是否成功 (继承自 DeviceCommunication。)Asynchronously write double array, return whether the write was successful | |
WriteAsync(String, Int16) |
异步写入short数据,返回是否成功 (继承自 DeviceCommunication。)Asynchronously write short data, returns whether success | |
WriteAsync(String, Int16) |
异步写入short数组,返回是否成功 (继承自 DeviceCommunication。)Asynchronously write short array, return whether the write was successful | |
WriteAsync(String, Int32) |
异步写入int数据,返回是否成功 (继承自 DeviceCommunication。)Asynchronously write int data, return whether the write was successful | |
WriteAsync(String, Int32) |
异步写入int[]数组,返回是否成功 (继承自 DeviceCommunication。)Asynchronously write int array, return whether the write was successful | |
WriteAsync(String, Int64) |
异步写入long数据,返回是否成功 (继承自 DeviceCommunication。)Asynchronously write long data, return whether the write was successful | |
WriteAsync(String, Int64) |
异步写入long数组,返回是否成功 (继承自 DeviceCommunication。)Asynchronously write long array, return whether the write was successful | |
WriteAsync(String, Single) |
异步写入float数据,返回是否成功 (继承自 DeviceCommunication。)Asynchronously write float data, return whether the write was successful | |
WriteAsync(String, Single) |
异步写入float数组,返回是否成功 (继承自 DeviceCommunication。)Asynchronously write float array, return whether the write was successful | |
WriteAsync(String, String) |
异步写入字符串信息,编码为ASCII (继承自 DeviceCommunication。)Asynchronously write string information, encoded as ASCII | |
WriteAsync(String, UInt16) |
异步写入ushort数据,返回是否成功 (继承自 DeviceCommunication。)Asynchronously write ushort data, return whether the write was successful | |
WriteAsync(String, UInt16) |
异步写入ushort数组,返回是否成功 (继承自 DeviceCommunication。)Asynchronously write ushort array, return whether the write was successful | |
WriteAsync(String, UInt32) |
异步写入uint数据,返回是否成功 (继承自 DeviceCommunication。)Asynchronously write uint data, return whether the write was successful | |
WriteAsync(String, UInt32) |
异步写入uint[]数组,返回是否成功 (继承自 DeviceCommunication。)Asynchronously write uint array, return whether the write was successful | |
WriteAsync(String, UInt64) |
异步写入ulong数据,返回是否成功 (继承自 DeviceCommunication。)Asynchronously write ulong data, return whether the write was successful | |
WriteAsync(String, UInt64) |
异步写入ulong数组,返回是否成功 (继承自 DeviceCommunication。)Asynchronously write ulong array, return whether the write was successful | |
WriteAsync(String, Boolean) |
批量写入bool类型的数组,支持的类型为X,Y,S,T,C,具体的地址范围取决于PLC的类型 (重写 DeviceCommunicationWriteAsync(String, Boolean).)Write arrays of type bool in batches. The supported types are X, Y, S, T, C. The specific address range depends on the type of PLC. | |
WriteAsync(String, Byte) |
批量写入PLC的数据,以字为单位,也就是说最少2个字节信息,支持X,Y,M,S,D,T,C,具体的地址范围需要根据PLC型号来确认 (重写 DeviceCommunicationWriteAsync(String, Byte).)The data written to the PLC in batches is in units of words, that is, at least 2 bytes of information. It supports X, Y, M, S, D, T, and C. The specific address range needs to be confirmed according to the PLC model. | |
WriteAsync(String, String, Int32) |
异步写入指定长度的字符串信息,如果超出,就截断字符串,如果长度不足,那就补0操作,编码为ASCII (继承自 DeviceCommunication。)Asynchronously write string information of the specified length. If it exceeds the value, the string is truncated. If the length is not enough, it is filled with 0 and the encoding is ASCII. | |
WriteAsync(String, String, Encoding) |
异步写入字符串信息,需要指定的编码信息 (继承自 DeviceCommunication。)Asynchronously write string information, need to specify the encoding information | |
WriteAsync(String, String, Int32, Encoding) |
异步写入指定长度的字符串信息,如果超出,就截断字符串,如果长度不足,那就补0操作,编码为指定的编码信息 (继承自 DeviceCommunication。)Asynchronously write string information of the specified length. If it exceeds the value, the string is truncated. If the length is not enough, then the operation is complemented with 0 , you should specified the encoding information |