KeyenceNanoHelper 方法 |
KeyenceNanoHelper 类型公开以下成员。
名称 | 说明 | |
---|---|---|
BuildReadCommand(String, UInt16) |
建立读取PLC数据的指令,需要传入地址数据,以及读取的长度,地址示例参照类的说明文档 To create a command to read PLC data, you need to pass in the address data, and the length of the read. For an example of the address, refer to the class documentation | |
BuildReadCommand(KeyenceNanoAddress, UInt16) |
建立读取PLC数据的指令,需要传入地址数据,以及读取的长度,地址示例参照类的说明文档 To create a command to read PLC data, you need to pass in the address data, and the length of the read. For an example of the address, refer to the class documentation | |
BuildWriteCommand(String, Boolean) |
建立写入bool数据的指令,针对地址类型为 R,CR,MR,LR Create instructions to write bool data, address type is R, CR, MR, LR | |
BuildWriteCommand(String, Boolean) |
批量写入数据位到plc地址,针对地址格式为 R,B,CR,MR,LR,VB Write data bits in batches to the plc address, and the address format is R, B, CR, MR, LR, VB | |
BuildWriteCommand(String, Byte) |
建立写入PLC数据的指令,需要传入地址数据,以及写入的数据信息,地址示例参照类的说明文档 To create a command to write PLC data, you need to pass in the address data and the written data information. For an example of the address, refer to the class documentation | |
BuildWriteExpansionMemoryCommand |
构建写入扩展单元缓冲寄存器的报文命令,需要传入单元编号,地址,写入的数据,实际写入的数据格式才有无符号的方式 To construct a message command to write to the buffer register of the expansion unit, the unit number, address, and data to be written need to be passed in, and the format of the actually written data is unsigned. | |
CheckPlcReadResponse |
校验读取返回数据状态,主要返回的第一个字节是不是E Check the status of the data returned from reading, whether the first byte returned is E | |
CheckPlcWriteResponse |
校验写入返回数据状态,检测返回的数据是不是OK Verify the status of the returned data written and check whether the returned data is OK | |
Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) | |
ExtractActualBoolData |
从PLC反馈的数据进行提炼Bool操作 Refine Bool operation from data fed back from PLC | |
ExtractActualData |
从PLC反馈的数据进行提炼操作 Refining operation from data fed back from PLC | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) | |
GetConnectCmd |
连接PLC的命令报文 Command message to connect to PLC | |
GetDisConnectCmd |
断开PLC连接的命令报文 Command message to disconnect PLC | |
GetHashCode | Serves as the default hash function. (继承自 Object。) | |
GetType | Gets the Type of the current instance. (继承自 Object。) | |
GetWordAddressMultiple |
获取当前的地址类型是字数据的倍数关系
| |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) | |
Read |
批量读取字节数组信息,需要指定地址和长度,返回原始的字节数组 Batch read byte array information, need to specify the address and length, return the original byte array | |
ReadAddressAnnotation | [商业授权] 读取指定软元件的注释信息 [Authorization] Read the comment information of the specified device | |
ReadAddressAnnotationAsync | [商业授权] 读取指定软元件的注释信息 [Authorization] Read the comment information of the specified device | |
ReadAsync |
批量读取字节数组信息,需要指定地址和长度,返回原始的字节数组 Batch read byte array information, need to specify the address and length, return the original byte array | |
ReadBool | ||
ReadBoolAsync |
批量读取Boolean数组信息,需要指定地址和长度,返回Boolean 数组 Batch read Boolean array information, need to specify the address and length, return Boolean array | |
ReadExpansionMemory | [商业授权] 从扩展单元缓冲存储器连续读取指定个数的数据,单位为字 [Authorization] Continuously read the specified number of data from the expansion unit buffer memory, the unit is word | |
ReadExpansionMemoryAsync | [商业授权] 从扩展单元缓冲存储器连续读取指定个数的数据,单位为字 [Authorization] Continuously read the specified number of data from the expansion unit buffer memory, the unit is word | |
SetPlcDateTime | [商业授权] 设置PLC的时间 [Authorization] Set PLC time | |
SetPlcDateTimeAsync | [商业授权] 设置PLC的时间 [Authorization] Set PLC time | |
ToString | Returns a string that represents the current object. (继承自 Object。) | |
Write(IReadWriteDevice, String, Boolean) | ||
Write(IReadWriteDevice, String, Boolean) |
批量写入Boolean数组数据,返回是否成功 Batch write Boolean array data, return whether the write was successful | |
Write(IReadWriteDevice, String, Byte) |
写入原始的byte数组数据到指定的地址,返回是否写入成功 Write the original byte array data to the specified address, and return whether the write was successful | |
WriteAsync(IReadWriteDevice, String, Boolean) |
写入单个的Boolean数据,返回是否成功 Write a single Boolean data, and return whether the write was successful | |
WriteAsync(IReadWriteDevice, String, Boolean) |
批量写入Boolean数组数据,返回是否成功 Batch write Boolean array data, return whether the write was successful | |
WriteAsync(IReadWriteDevice, String, Byte) |
写入原始的byte数组数据到指定的地址,返回是否写入成功 Write the original byte array data to the specified address, and return whether the write was successful | |
WriteExpansionMemory | [商业授权] 将原始字节数据写入到扩展的缓冲存储器,需要指定单元编号,偏移地址,写入的数据 [Authorization] To write the original byte data to the extended buffer memory, you need to specify the unit number, offset address, and write data | |
WriteExpansionMemoryAsync | [商业授权] 将原始字节数据写入到扩展的缓冲存储器,需要指定单元编号,偏移地址,写入的数据 [Authorization] To write the original byte data to the extended buffer memory, you need to specify the unit number, offset address, and write data |
名称 | 说明 | |
---|---|---|
ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |