IReadWriteCip 方法 |
IReadWriteCip 类型公开以下成员。
名称 | 说明 | |
---|---|---|
Read(String, UInt16) |
批量读取字节数组信息,需要指定地址和长度,返回原始的字节数组 (继承自 IReadWriteNet。)Batch read byte array information, need to specify the address and length, return the original byte array | |
Read<T>() |
读取支持Hsl特性的数据内容,该特性为HslDeviceAddressAttribute,详细参考api文档说明,或是官网的详细文档 (继承自 IReadWriteNet。)Read the data content of the Hsl attribute. The attribute is HslDeviceAddressAttribute, please refer to the api documentation for details. | |
ReadAsync(String, UInt16) |
异步批量读取字节数组信息,需要指定地址和长度,返回原始的字节数组 (继承自 IReadWriteNet。)Asynchronous batch read byte array information, need to specify the address and length, return the original byte array | |
ReadAsync<T>() |
异步读取支持Hsl特性的数据内容,该特性为HslDeviceAddressAttribute,详细参考api文档说明 (继承自 IReadWriteNet。)Asynchronously read the data content of the Hsl attribute. The attribute is HslDeviceAddressAttribute, please refer to the api documentation for details. | |
ReadBool(String) |
读取单个的Boolean数据信息 (继承自 IReadWriteNet。)Read a single Boolean data message | |
ReadBool(String, UInt16) |
批量读取Boolean数组信息,需要指定地址和长度,返回Boolean 数组 (继承自 IReadWriteNet。)Batch read Boolean array information, need to specify the address and length, return Boolean array | |
ReadBoolAsync(String) |
异步读取单个的Boolean数据信息 (继承自 IReadWriteNet。)Asynchronously read a single Boolean data message | |
ReadBoolAsync(String, UInt16) |
异步批量读取Boolean数组信息,需要指定地址和长度,返回Boolean 数组 (继承自 IReadWriteNet。)Asynchronously batch read Boolean array information, need to specify the address and length, return Boolean array | |
ReadCustomer<T>(String) |
读取自定义的数据类型,需要继承自IDataTransfer接口,返回一个新的类型的实例对象。 (继承自 IReadWriteNet。)To read a custom data type, you need to inherit from the IDataTransfer interface and return an instance object of a new type. | |
ReadCustomer<T>(String, T) |
读取自定义的数据类型,需要继承自IDataTransfer接口,传入一个实例,对这个实例进行赋值,并返回该实例的对象。 (继承自 IReadWriteNet。)To read a custom data type, you need to inherit from the IDataTransfer interface, pass in an instance, assign a value to this instance, and return the object of the instance. | |
ReadCustomerAsync<T>(String) |
读取自定义的数据类型,需要继承自IDataTransfer接口,返回一个新的类型的实例对象。 (继承自 IReadWriteNet。)To read a custom data type, you need to inherit from the IDataTransfer interface and return an instance object of a new type. | |
ReadCustomerAsync<T>(String, T) |
读取自定义的数据类型,需要继承自IDataTransfer接口,传入一个实例,对这个实例进行赋值,并返回该实例的对象。 (继承自 IReadWriteNet。)To read a custom data type, you need to inherit from the IDataTransfer interface, pass in an instance, assign a value to this instance, and return the object of the instance. | |
ReadDate |
读取指定地址的日期数据,最小日期为 1970年1月1日,当PLC的变量类型为 "Date" 和 "TimeAndDate" 时,都可以用本方法读取。 Read the date data of the specified address. The minimum date is January 1, 1970. When the PLC variable type is "Date" and "TimeAndDate", this method can be used to read. | |
ReadDateAsync |
读取指定地址的日期数据,最小日期为 1970年1月1日,当PLC的变量类型为 "Date" 和 "TimeAndDate" 时,都可以用本方法读取。 Read the date data of the specified address. The minimum date is January 1, 1970. When the PLC variable type is "Date" and "TimeAndDate", this method can be used to read. | |
ReadDouble(String) |
读取双浮点的数据 (继承自 IReadWriteNet。)Read double floating point data | |
ReadDouble(String, UInt16) |
读取双浮点数据的数组 (继承自 IReadWriteNet。)Read double floating point data array | |
ReadDoubleAsync(String) |
异步读取双浮点的数据 (继承自 IReadWriteNet。)Asynchronously read double floating point data | |
ReadDoubleAsync(String, UInt16) |
异步读取双浮点数据的数组 (继承自 IReadWriteNet。)Asynchronously read double floating point data array | |
ReadFloat(String) |
读取单浮点数据 (继承自 IReadWriteNet。)Read single floating point data | |
ReadFloat(String, UInt16) |
读取单浮点精度的数组 (继承自 IReadWriteNet。)Read single floating point array | |
ReadFloatAsync(String) |
异步读取单浮点数据 (继承自 IReadWriteNet。)Asynchronously read single floating point data | |
ReadFloatAsync(String, UInt16) |
异步读取单浮点精度的数组 (继承自 IReadWriteNet。)Asynchronously read single floating point array | |
ReadInt16(String) |
读取16位的有符号的整型数据 (继承自 IReadWriteNet。)Read 16-bit signed integer data | |
ReadInt16(String, UInt16) |
读取16位的有符号整型数组 (继承自 IReadWriteNet。)Read 16-bit signed integer array | |
ReadInt16Async(String) |
异步读取16位的有符号的整型数据 (继承自 IReadWriteNet。)Asynchronously read 16-bit signed integer data | |
ReadInt16Async(String, UInt16) |
异步读取16位的有符号整型数组 (继承自 IReadWriteNet。)Asynchronously read 16-bit signed integer array | |
ReadInt32(String) |
读取32位的有符号整型 (继承自 IReadWriteNet。)Read 32-bit signed integer | |
ReadInt32(String, UInt16) |
读取32位有符号整型数组 (继承自 IReadWriteNet。)Read 32-bit signed integer array | |
ReadInt32Async(String) |
异步读取32位的有符号整型 (继承自 IReadWriteNet。)Asynchronously read 32-bit signed integer | |
ReadInt32Async(String, UInt16) |
异步读取32位有符号整型数组 (继承自 IReadWriteNet。)Asynchronously read 32-bit signed integer array | |
ReadInt64(String) |
读取64位的有符号整型 (继承自 IReadWriteNet。)Read 64-bit signed integer | |
ReadInt64(String, UInt16) |
读取64位的有符号整型数组 (继承自 IReadWriteNet。)Read 64-bit signed integer array | |
ReadInt64Async(String) |
异步读取64位的有符号整型 (继承自 IReadWriteNet。)Asynchronously read 64-bit signed integer | |
ReadInt64Async(String, UInt16) |
异步读取64位的有符号整型数组 (继承自 IReadWriteNet。)Asynchronously read 64-bit signed integer array | |
ReadPlcType |
从PLC里读取当前PLC的型号信息 Read the current PLC model information from the PLC | |
ReadString(String, UInt16) |
读取字符串数据,默认为最常见的ASCII编码 (继承自 IReadWriteNet。)Read string data, default is the most common ASCII encoding | |
ReadString(String, UInt16, Encoding) |
使用指定的编码,读取字符串数据 (继承自 IReadWriteNet。)Reads string data using the specified encoding | |
ReadStringAsync(String, UInt16) |
异步读取字符串数据,默认为最常见的ASCII编码 (继承自 IReadWriteNet。)Asynchronously read string data, default is the most common ASCII encoding | |
ReadStringAsync(String, UInt16, Encoding) |
异步使用指定的编码,读取字符串数据 (继承自 IReadWriteNet。)Asynchronously reads string data using the specified encoding | |
ReadStruct<T> |
读取结构体类型的数据,根据结构体自身的定义,读取原始字节数组,然后解析出实际的结构体数据,结构体需要实现HslStructAttribute特性
(继承自 IReadWriteNet。) | |
ReadStructAsync<T> |
读取结构体类型的数据,根据结构体自身的定义,读取原始字节数组,然后解析出实际的结构体数据,结构体需要实现HslStructAttribute特性
(继承自 IReadWriteNet。) | |
ReadTag |
从PLC里读取一个指定标签名的原始数据信息及其数据类型信息 Read the original data information of a specified tag name and its data type information from the PLC | |
ReadTime |
读取指定地址的时间数据,最小时间为 0,如果获取秒,可以访问 TotalSeconds,当PLC的变量类型为 "Time" 和 "TimeOfDate" 时,都可以用本方法读取。 Read the time data of the specified address. The minimum time is 0. If you get seconds, you can access TotalSeconds. When the PLC variable type is "Time" and "TimeOfDate", you can use this Method to read. | |
ReadTimeAsync |
读取指定地址的时间数据,最小时间为 0,如果获取秒,可以访问 TotalSeconds,当PLC的变量类型为 "Time" 和 "TimeOfDate" 时,都可以用本方法读取。 Read the time data of the specified address. The minimum time is 0. If you get seconds, you can access TotalSeconds. When the PLC variable type is "Time" and "TimeOfDate", you can use this Method to read. | |
ReadUInt16(String) |
读取16位的无符号整型 (继承自 IReadWriteNet。)Read 16-bit unsigned integer | |
ReadUInt16(String, UInt16) |
读取16位的无符号整型数组 (继承自 IReadWriteNet。)Read 16-bit unsigned integer array | |
ReadUInt16Async(String) |
异步读取16位的无符号整型 (继承自 IReadWriteNet。)Asynchronously read 16-bit unsigned integer | |
ReadUInt16Async(String, UInt16) |
异步读取16位的无符号整型数组 (继承自 IReadWriteNet。)Asynchronously read 16-bit unsigned integer array | |
ReadUInt32(String) |
读取32位的无符号整型 (继承自 IReadWriteNet。)Read 32-bit unsigned integer | |
ReadUInt32(String, UInt16) |
读取32位的无符号整型数组 (继承自 IReadWriteNet。)Read 32-bit unsigned integer array | |
ReadUInt32Async(String) |
异步读取32位的无符号整型 (继承自 IReadWriteNet。)Asynchronously read 32-bit unsigned integer | |
ReadUInt32Async(String, UInt16) |
异步读取32位的无符号整型数组 (继承自 IReadWriteNet。)Asynchronously read 32-bit unsigned integer array | |
ReadUInt64(String) |
读取64位的无符号整型 (继承自 IReadWriteNet。)Read 64-bit unsigned integer | |
ReadUInt64(String, UInt16) |
读取64位的无符号整型的数组 (继承自 IReadWriteNet。)Read 64-bit unsigned integer array | |
ReadUInt64Async(String) |
异步读取64位的无符号整型 (继承自 IReadWriteNet。)Asynchronously read 64-bit unsigned integer | |
ReadUInt64Async(String, UInt16) |
异步读取64位的无符号整型的数组 (继承自 IReadWriteNet。)Asynchronously read 64-bit unsigned integer array | |
Wait(String, Boolean, Int32, Int32) |
等待指定地址的Boolean值为指定的值,可以指定刷新数据的频率,等待的超时时间,如果超时时间为-1的话,则是无期限等待。 (继承自 IReadWriteNet。)Waiting for the Boolean value of the specified address to be the specified value, you can specify the frequency of refreshing the data, and the timeout time to wait. If the timeout time is -1, it is an indefinite wait. | |
Wait(String, Int16, Int32, Int32) |
等待指定地址的Int16值为指定的值,可以指定刷新数据的频率,等待的超时时间,如果超时时间为-1的话,则是无期限等待。 (继承自 IReadWriteNet。)Waiting for the Int16 value of the specified address to be the specified value, you can specify the frequency of refreshing the data, and the timeout time to wait. If the timeout time is -1, it is an indefinite wait. | |
Wait(String, Int32, Int32, Int32) |
等待指定地址的Int32值为指定的值,可以指定刷新数据的频率,等待的超时时间,如果超时时间为-1的话,则是无期限等待。 (继承自 IReadWriteNet。)Waiting for the Int32 value of the specified address to be the specified value, you can specify the frequency of refreshing the data, and the timeout time to wait. If the timeout time is -1, it is an indefinite wait. | |
Wait(String, Int64, Int32, Int32) |
等待指定地址的Int64值为指定的值,可以指定刷新数据的频率,等待的超时时间,如果超时时间为-1的话,则是无期限等待。 (继承自 IReadWriteNet。)Waiting for the Int64 value of the specified address to be the specified value, you can specify the frequency of refreshing the data, and the timeout time to wait. If the timeout time is -1, it is an indefinite wait. | |
Wait(String, UInt16, Int32, Int32) |
等待指定地址的UInt16值为指定的值,可以指定刷新数据的频率,等待的超时时间,如果超时时间为-1的话,则是无期限等待。 (继承自 IReadWriteNet。)Waiting for the UInt16 value of the specified address to be the specified value, you can specify the frequency of refreshing the data, and the timeout time to wait. If the timeout time is -1, it is an indefinite wait. | |
Wait(String, UInt32, Int32, Int32) |
等待指定地址的UInt32值为指定的值,可以指定刷新数据的频率,等待的超时时间,如果超时时间为-1的话,则是无期限等待。 (继承自 IReadWriteNet。)Waiting for the UInt32 value of the specified address to be the specified value, you can specify the frequency of refreshing the data, and the timeout time to wait. If the timeout time is -1, it is an indefinite wait. | |
Wait(String, UInt64, Int32, Int32) |
等待指定地址的UInt64值为指定的值,可以指定刷新数据的频率,等待的超时时间,如果超时时间为-1的话,则是无期限等待。 (继承自 IReadWriteNet。)Waiting for the UInt64 value of the specified address to be the specified value, you can specify the frequency of refreshing the data, and the timeout time to wait. If the timeout time is -1, it is an indefinite wait. | |
WaitAsync(String, Boolean, Int32, Int32) |
等待指定地址的Boolean值为指定的值,可以指定刷新数据的频率,等待的超时时间,如果超时时间为-1的话,则是无期限等待。 (继承自 IReadWriteNet。)Waiting for the Boolean value of the specified address to be the specified value, you can specify the frequency of refreshing the data, and the timeout time to wait. If the timeout time is -1, it is an indefinite wait. | |
WaitAsync(String, Int16, Int32, Int32) |
等待指定地址的Int16值为指定的值,可以指定刷新数据的频率,等待的超时时间,如果超时时间为-1的话,则是无期限等待。 (继承自 IReadWriteNet。)Waiting for the Int16 value of the specified address to be the specified value, you can specify the frequency of refreshing the data, and the timeout time to wait. If the timeout time is -1, it is an indefinite wait. | |
WaitAsync(String, Int32, Int32, Int32) |
等待指定地址的Int32值为指定的值,可以指定刷新数据的频率,等待的超时时间,如果超时时间为-1的话,则是无期限等待。 (继承自 IReadWriteNet。)Waiting for the Int32 value of the specified address to be the specified value, you can specify the frequency of refreshing the data, and the timeout time to wait. If the timeout time is -1, it is an indefinite wait. | |
WaitAsync(String, Int64, Int32, Int32) |
等待指定地址的Int64值为指定的值,可以指定刷新数据的频率,等待的超时时间,如果超时时间为-1的话,则是无期限等待。 (继承自 IReadWriteNet。)Waiting for the Int64 value of the specified address to be the specified value, you can specify the frequency of refreshing the data, and the timeout time to wait. If the timeout time is -1, it is an indefinite wait. | |
WaitAsync(String, UInt16, Int32, Int32) |
等待指定地址的UInt16值为指定的值,可以指定刷新数据的频率,等待的超时时间,如果超时时间为-1的话,则是无期限等待。 (继承自 IReadWriteNet。)Waiting for the UInt16 value of the specified address to be the specified value, you can specify the frequency of refreshing the data, and the timeout time to wait. If the timeout time is -1, it is an indefinite wait. | |
WaitAsync(String, UInt32, Int32, Int32) |
等待指定地址的UInt32值为指定的值,可以指定刷新数据的频率,等待的超时时间,如果超时时间为-1的话,则是无期限等待。 (继承自 IReadWriteNet。)Waiting for the UInt32 value of the specified address to be the specified value, you can specify the frequency of refreshing the data, and the timeout time to wait. If the timeout time is -1, it is an indefinite wait. | |
WaitAsync(String, UInt64, Int32, Int32) |
等待指定地址的UInt64值为指定的值,可以指定刷新数据的频率,等待的超时时间,如果超时时间为-1的话,则是无期限等待。 (继承自 IReadWriteNet。)Waiting for the UInt64 value of the specified address to be the specified value, you can specify the frequency of refreshing the data, and the timeout time to wait. If the timeout time is -1, it is an indefinite wait. | |
Write(String, Boolean) |
写入单个的Boolean数据,返回是否成功 (继承自 IReadWriteNet。)Write a single Boolean data, and return whether the write was successful | |
Write(String,Boolean[]) |
批量写入Boolean数组数据,返回是否成功 (继承自 IReadWriteNet。)Batch write Boolean array data, return whether the write was successful | |
Write(String,Byte[]) |
写入原始的byte数组数据到指定的地址,返回是否写入成功 (继承自 IReadWriteNet。)Write the original byte array data to the specified address, and return whether the write was successful | |
Write(String, Double) |
写入double数据,返回是否成功 (继承自 IReadWriteNet。)Write double data, return whether the write was successful | |
Write(String,Double[]) |
写入double数组,返回是否成功 (继承自 IReadWriteNet。)Write double array, return whether the write was successful | |
Write(String, Int16) |
写入short数据,返回是否成功 (继承自 IReadWriteNet。)Write short data, returns whether success | |
Write(String,Int16[]) |
写入short数组,返回是否成功 (继承自 IReadWriteNet。)Write short array, return whether the write was successful | |
Write(String, Int32) |
写入int数据,返回是否成功 (继承自 IReadWriteNet。)Write int data, return whether the write was successful | |
Write(String,Int32[]) |
写入int[]数组,返回是否成功 (继承自 IReadWriteNet。)Write int array, return whether the write was successful | |
Write(String, Int64) |
写入long数据,返回是否成功 (继承自 IReadWriteNet。)Write long data, return whether the write was successful | |
Write(String,Int64[]) |
写入long数组,返回是否成功 (继承自 IReadWriteNet。)Write long array, return whether the write was successful | |
Write(String, Single) |
写入float数据,返回是否成功 (继承自 IReadWriteNet。)Write float data, return whether the write was successful | |
Write(String,Single[]) |
写入float数组,返回是否成功 (继承自 IReadWriteNet。)Write float array, return whether the write was successful | |
Write(String, String) |
写入字符串信息,编码为ASCII (继承自 IReadWriteNet。)Write string information, encoded as ASCII | |
Write(String, UInt16) |
写入ushort数据,返回是否成功 (继承自 IReadWriteNet。)Write ushort data, return whether the write was successful | |
Write(String,UInt16[]) |
写入ushort数组,返回是否成功 (继承自 IReadWriteNet。)Write ushort array, return whether the write was successful | |
Write(String, UInt32) |
写入uint数据,返回是否成功 (继承自 IReadWriteNet。)Write uint data, return whether the write was successful | |
Write(String,UInt32[]) |
写入uint[]数组,返回是否成功 (继承自 IReadWriteNet。)Write uint array, return whether the write was successful | |
Write(String, UInt64) |
写入ulong数据,返回是否成功 (继承自 IReadWriteNet。)Write ulong data, return whether the write was successful | |
Write(String,UInt64[]) |
写入ulong数组,返回是否成功 (继承自 IReadWriteNet。)Write ulong array, return whether the write was successful | |
Write(String, String, Int32) |
写入指定长度的字符串信息,如果超出,就截断字符串,如果长度不足,那就补0操作,编码为ASCII (继承自 IReadWriteNet。)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. | |
Write(String, String, Encoding) |
写入字符串信息,需要指定的编码信息 (继承自 IReadWriteNet。)Write string information, need to specify the encoding information | |
Write(String, String, Int32, Encoding) |
写入指定长度的字符串信息,如果超出,就截断字符串,如果长度不足,那就补0操作,编码为指定的编码信息 (继承自 IReadWriteNet。)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 | |
Write<T>(T) |
写入支持Hsl特性的数据,返回是否写入成功,该特性为HslDeviceAddressAttribute,详细参考api文档说明 (继承自 IReadWriteNet。)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数组数据,返回是否成功 (继承自 IReadWriteNet。)Asynchronously batch write Boolean array data, return success | |
WriteAsync(String,Boolean[]) |
异步批量写入Boolean数组数据,返回是否成功 (继承自 IReadWriteNet。)Asynchronously batch write Boolean array data, return success | |
WriteAsync(String,Byte[]) |
异步写入原始的byte数组数据到指定的地址,返回是否写入成功 (继承自 IReadWriteNet。)Asynchronously writes the original byte array data to the specified address, and returns whether the write was successful | |
WriteAsync(String, Double) |
异步写入double数据,返回是否成功 (继承自 IReadWriteNet。)Asynchronously write double data, return whether the write was successful | |
WriteAsync(String,Double[]) |
异步写入double数组,返回是否成功 (继承自 IReadWriteNet。)Asynchronously write double array, return whether the write was successful | |
WriteAsync(String, Int16) |
异步写入short数据,返回是否成功 (继承自 IReadWriteNet。)Asynchronously write short data, returns whether success | |
WriteAsync(String,Int16[]) |
异步写入short数组,返回是否成功 (继承自 IReadWriteNet。)Asynchronously write short array, return whether the write was successful | |
WriteAsync(String, Int32) |
异步写入int数据,返回是否成功 (继承自 IReadWriteNet。)Asynchronously write int data, return whether the write was successful | |
WriteAsync(String,Int32[]) |
异步写入int[]数组,返回是否成功 (继承自 IReadWriteNet。)Asynchronously write int array, return whether the write was successful | |
WriteAsync(String, Int64) |
异步写入long数据,返回是否成功 (继承自 IReadWriteNet。)Asynchronously write long data, return whether the write was successful | |
WriteAsync(String,Int64[]) |
异步写入long数组,返回是否成功 (继承自 IReadWriteNet。)Asynchronously write long array, return whether the write was successful | |
WriteAsync(String, Single) |
异步写入float数据,返回是否成功 (继承自 IReadWriteNet。)Asynchronously write float data, return whether the write was successful | |
WriteAsync(String,Single[]) |
异步写入float数组,返回是否成功 (继承自 IReadWriteNet。)Asynchronously write float array, return whether the write was successful | |
WriteAsync(String, String) |
异步写入字符串信息,编码为ASCII (继承自 IReadWriteNet。)Asynchronously write string information, encoded as ASCII | |
WriteAsync(String, UInt16) |
异步写入ushort数据,返回是否成功 (继承自 IReadWriteNet。)Asynchronously write ushort data, return whether the write was successful | |
WriteAsync(String,UInt16[]) |
异步写入ushort数组,返回是否成功 (继承自 IReadWriteNet。)Asynchronously write ushort array, return whether the write was successful | |
WriteAsync(String, UInt32) |
异步写入uint数据,返回是否成功 (继承自 IReadWriteNet。)Asynchronously write uint data, return whether the write was successful | |
WriteAsync(String,UInt32[]) |
异步写入uint[]数组,返回是否成功 (继承自 IReadWriteNet。)Asynchronously write uint array, return whether the write was successful | |
WriteAsync(String, UInt64) |
异步写入ulong数据,返回是否成功 (继承自 IReadWriteNet。)Asynchronously write ulong data, return whether the write was successful | |
WriteAsync(String,UInt64[]) |
异步写入ulong数组,返回是否成功 (继承自 IReadWriteNet。)Asynchronously write ulong array, return whether the write was successful | |
WriteAsync(String, String, Int32) |
异步写入指定长度的字符串信息,如果超出,就截断字符串,如果长度不足,那就补0操作,编码为ASCII (继承自 IReadWriteNet。)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) |
异步写入字符串信息,需要指定的编码信息 (继承自 IReadWriteNet。)Asynchronously write string information, need to specify the encoding information | |
WriteAsync(String, String, Int32, Encoding) |
异步写入指定长度的字符串信息,如果超出,就截断字符串,如果长度不足,那就补0操作,编码为指定的编码信息 (继承自 IReadWriteNet。)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 | |
WriteAsync<T>(T) |
异步写入支持Hsl特性的数据,返回是否写入成功,该特性为HslDeviceAddressAttribute,详细参考api文档说明 (继承自 IReadWriteNet。)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. | |
WriteCustomer<T> |
写入自定义类型的数据,该类型必须继承自IDataTransfer接口 (继承自 IReadWriteNet。)Write data of a custom type, which must inherit from the IDataTransfer interface | |
WriteCustomerAsync<T> |
写入自定义类型的数据,该类型必须继承自IDataTransfer接口 (继承自 IReadWriteNet。)Write data of a custom type, which must inherit from the IDataTransfer interface | |
WriteDate |
使用日期格式(Date)将指定的数据写入到指定的地址里,PLC的地址类型变量必须为 "Date",否则写入失败。 Use the date format (Date) to write the specified data to the specified address. The PLC address type variable must be "Date", otherwise the writing will fail. | |
WriteDateAsync |
使用日期格式(Date)将指定的数据写入到指定的地址里,PLC的地址类型变量必须为 "Date",否则写入失败。 Use the date format (Date) to write the specified data to the specified address. The PLC address type variable must be "Date", otherwise the writing will fail. | |
WriteTag |
使用指定的类型写入指定的节点数据,类型信息参考API文档,地址支持携带类型代号信息,可以强制指定本次写入数据的类型信息,例如 "type=0xD1;A" Use the specified type to write the specified node data. For the type information, refer to the API documentation. The address supports carrying type code information. You can force the type information of the data to be written this time. For example, "type=0xD1;A" | |
WriteTagAsync |
使用指定的类型写入指定的节点数据,类型信息参考API文档,地址支持携带类型代号信息,可以强制指定本次写入数据的类型信息,例如 "type=0xD1;A" Use the specified type to write the specified node data. For the type information, refer to the API documentation. The address supports carrying type code information. You can force the type information of the data to be written this time. For example, "type=0xD1;A" | |
WriteTime |
使用时间格式(TIME)将时间数据写入到PLC中指定的地址里去,PLC的地址类型变量必须为 "TIME",否则写入失败。 Use the time format (TIME) to write the time data to the address specified in the PLC. The PLC address type variable must be "TIME", otherwise the writing will fail. | |
WriteTimeAndDate |
使用日期格式(Date)将指定的数据写入到指定的地址里,PLC的地址类型变量必须为 "Date",否则写入失败。 Use the date format (Date) to write the specified data to the specified address. The PLC address type variable must be "Date", otherwise the writing will fail. | |
WriteTimeAndDateAsync |
使用日期格式(Date)将指定的数据写入到指定的地址里,PLC的地址类型变量必须为 "Date",否则写入失败。 Use the date format (Date) to write the specified data to the specified address. The PLC address type variable must be "Date", otherwise the writing will fail. | |
WriteTimeAsync |
使用时间格式(TIME)将时间数据写入到PLC中指定的地址里去,PLC的地址类型变量必须为 "TIME",否则写入失败。 Use the time format (TIME) to write the time data to the address specified in the PLC. The PLC address type variable must be "TIME", otherwise the writing will fail. | |
WriteTimeOfDate |
使用时间格式(TimeOfDate)将时间数据写入到PLC中指定的地址里去,PLC的地址类型变量必须为 "TimeOfDate",否则写入失败。 Use the time format (TimeOfDate) to write the time data to the address specified in the PLC. The PLC address type variable must be "TimeOfDate", otherwise the writing will fail. | |
WriteTimeOfDateAsync |
使用时间格式(TimeOfDate)将时间数据写入到PLC中指定的地址里去,PLC的地址类型变量必须为 "TimeOfDate",否则写入失败。 Use the time format (TimeOfDate) to write the time data to the address specified in the PLC. The PLC address type variable must be "TimeOfDate", otherwise the writing will fail. |