OmronFinsNetHelper 方法 |
OmronFinsNetHelper 类型公开以下成员。
名称 | 说明 | |
---|---|---|
BuildReadCommand(String, OmronPlcType) |
同时读取多个地址的命令报文信息
| |
BuildReadCommand(OmronFinsAddress, UInt16, Boolean) |
根据读取的地址,长度,是否位读取创建Fins协议的核心报文 According to the read address, length, whether to read the core message that creates the Fins protocol | |
BuildReadCommand(OmronPlcType, String, UInt16, Boolean, Int32) |
根据读取的地址,长度,是否位读取创建Fins协议的核心报文 According to the read address, length, whether to read the core message that creates the Fins protocol | |
BuildWriteWordCommand |
根据写入的地址,数据,是否位写入生成Fins协议的核心报文 According to the written address, data, whether the bit is written to generate the core message of the Fins protocol | |
Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) | |
GetHashCode | Serves as the default hash function. (继承自 Object。) | |
GetStatusDescription |
根据欧姆龙返回的错误码,获取错误信息的字符串描述文本 According to the error code returned by Omron, get the string description text of the error message | |
GetType | Gets the Type of the current instance. (继承自 Object。) | |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) | |
Read(IOmronFins, String) |
从欧姆龙PLC中读取多个地址的数据,返回读取结果,每个地址按照字为单位读取,地址格式为"D100","C100","W100","H100","A100"
| |
Read(IOmronFins, String, UInt16, Int32) |
从欧姆龙PLC中读取想要的数据,返回读取结果,读取长度的单位为字,地址格式为"D100","C100","W100","H100","A100" Read the desired data from the Omron PLC and return the read result. The unit of the read length is word. The address format is "D100", "C100", "W100", "H100", "A100" | |
ReadAsync(IOmronFins, String) |
从欧姆龙PLC中读取多个地址的数据,返回读取结果,每个地址按照字为单位读取,地址格式为"D100","C100","W100","H100","A100"
| |
ReadAsync(IOmronFins, String, UInt16, Int32) |
从欧姆龙PLC中读取想要的数据,返回读取结果,读取长度的单位为字,地址格式为"D100","C100","W100","H100","A100" Read the desired data from the Omron PLC and return the read result. The unit of the read length is word. The address format is "D100", "C100", "W100", "H100", "A100" | |
ReadBool |
从欧姆龙PLC中批量读取位软元件,地址格式为"D100.0","C100.0","W100.0","H100.0","A100.0" Read bit devices in batches from Omron PLC with address format "D100.0", "C100.0", "W100.0", "H100.0", "A100.0" | |
ReadBoolAsync |
从欧姆龙PLC中批量读取位软元件,地址格式为"D100.0","C100.0","W100.0","H100.0","A100.0" Read bit devices in batches from Omron PLC with address format "D100.0", "C100.0", "W100.0", "H100.0", "A100.0" | |
ReadCpuTime | [商业授权] 读取CPU的时间信息 [Authorization] Read the time information of the CPU | |
ReadCpuTimeAsync | [商业授权] 读取CPU单元的一些操作状态数据,主要包含运行状态,工作模式,错误信息等。 [Authorization] Read some operating status data of the CPU unit, mainly including operating status, working mode, error information, etc. | |
ReadCpuUnitData | [商业授权] 读取CPU的一些数据信息,主要包含型号,版本,一些数据块的大小 [Authorization] Read some data information of the CPU, mainly including the model, version, and the size of some data blocks | |
ReadCpuUnitDataAsync | [商业授权] 读取CPU的一些数据信息,主要包含型号,版本,一些数据块的大小 [Authorization] Read some data information of the CPU, mainly including the model, version, and the size of some data blocks | |
ReadCpuUnitStatus | [商业授权] 读取CPU单元的一些操作状态数据,主要包含运行状态,工作模式,错误信息等。 [Authorization] Read some operating status data of the CPU unit, mainly including operating status, working mode, error information, etc. | |
ReadCpuUnitStatusAsync | [商业授权] 读取CPU单元的一些操作状态数据,主要包含运行状态,工作模式,错误信息等。 [Authorization] Read some operating status data of the CPU unit, mainly including operating status, working mode, error information, etc. | |
ResponseValidAnalysis |
验证欧姆龙的Fins-TCP返回的数据是否正确的数据,如果正确的话,并返回所有的数据内容 Verify that the data returned by Omron's Fins-TCP is correct data, if correct, and return all data content | |
Run |
将CPU单元的操作模式更改为RUN,从而使PLC能够执行其程序。 Changes the CPU Unit’s operating mode to RUN, enabling the PLC to execute its program. | |
RunAsync |
将CPU单元的操作模式更改为RUN,从而使PLC能够执行其程序。 Changes the CPU Unit’s operating mode to RUN, enabling the PLC to execute its program. | |
Stop |
将CPU单元的操作模式更改为PROGRAM,停止程序执行。 Changes the CPU Unit’s operating mode to PROGRAM, stopping program execution. | |
StopAsync |
将CPU单元的操作模式更改为PROGRAM,停止程序执行。 Changes the CPU Unit’s operating mode to PROGRAM, stopping program execution. | |
ToString | Returns a string that represents the current object. (继承自 Object。) | |
UdpResponseValidAnalysis |
验证欧姆龙的Fins-Udp返回的数据是否正确的数据,如果正确的话,并返回所有的数据内容 Verify that the data returned by Omron's Fins-Udp is correct data, if correct, and return all data content | |
Write(IOmronFins, String, Boolean) |
向PLC中位软元件写入bool数组,返回是否写入成功,比如你写入D100,values[0]对应D100.0,地址格式为"D100.0","C100.0","W100.0","H100.0","A100.0" Write the bool array to the PLC's median device and return whether the write was successful. For example, if you write D100, values [0] corresponds to D100.0 and the address format is "D100.0", "C100.0", "W100. 0 "," H100.0 "," A100.0 " | |
Write(IOmronFins, String, Byte) |
向PLC写入数据,数据格式为原始的字节类型,地址格式为"D100","C100","W100","H100","A100" Write data to PLC, the data format is the original byte type, and the address format is "D100", "C100", "W100", "H100", "A100" | |
WriteAsync(IOmronFins, String, Boolean) |
向PLC中位软元件写入bool数组,返回是否写入成功,比如你写入D100,values[0]对应D100.0,地址格式为"D100.0","C100.0","W100.0","H100.0","A100.0" Write the bool array to the PLC's median device and return whether the write was successful. For example, if you write D100, values [0] corresponds to D100.0 and the address format is "D100.0", "C100.0", "W100. 0 "," H100.0 "," A100.0 " | |
WriteAsync(IOmronFins, String, Byte) |
向PLC写入数据,数据格式为原始的字节类型,地址格式为"D100","C100","W100","H100","A100" Write data to PLC, the data format is the original byte type, and the address format is "D100", "C100", "W100", "H100", "A100" |
名称 | 说明 | |
---|---|---|
ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |