OmronHostLinkCModeHelper 类 |
命名空间: HslCommunication.Profinet.Omron.Helper
OmronHostLinkCModeHelper 类型公开以下成员。
名称 | 说明 | |
---|---|---|
OmronHostLinkCModeHelper | 初始化 OmronHostLinkCModeHelper 类的一个新实例 |
名称 | 说明 | |
---|---|---|
AnalysisAddress |
解析欧姆龙的数据地址,参考来源是Omron手册第188页,比如D100, E1.100 Analyze Omron's data address, the reference source is page 188 of the Omron manual, such as D100, E1.100 | |
BuildReadCommand |
根据读取的地址,长度,是否位读取创建Fins协议的核心报文 According to the read address, length, whether to read the core message that creates the Fins protocol | |
BuildWriteWordCommand |
根据读取的地址,长度,是否位读取创建Fins协议的核心报文 According to the read address, length, whether to read the core message that creates the Fins protocol | |
ChangePlcMode | [商业授权] 将当前PLC的模式变更为指定的模式,0: 编程模式 1: 运行模式 2: 监视模式 [Authorization] Change the current PLC mode to the specified mode, 0: programming mode 1: running mode 2: monitoring mode | |
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。) | |
GetErrorMessage |
根据错误码的信息,返回错误的具体描述的文本 According to the information of the error code, return the text of the specific description of the error | |
GetHashCode | Serves as the default hash function. (继承自 Object。) | |
GetModelText |
获取model的字符串描述信息
| |
GetType | Gets the Type of the current instance. (继承自 Object。) | |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) | |
PackCommand |
将普通的指令打包成完整的指令
| |
Read |
从欧姆龙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 |
从欧姆龙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" | |
ReadPlcMode | [商业授权] 读取PLC当前的操作模式,0: 编程模式 1: 运行模式 2: 监视模式 [Authorization] Reads the Operation mode of the CPU Unit. 0: PROGRAM mode 1: RUN mode 2: MONITOR mode | |
ReadPlcType | [商业授权] 读取PLC的当前的型号信息 [Authorization] Read the current model information of the PLC | |
ResponseValidAnalysis |
验证欧姆龙的Fins-TCP返回的数据是否正确的数据,如果正确的话,并返回所有的数据内容
| |
ToString | Returns a string that represents the current object. (继承自 Object。) | |
Write |
向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 |
向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. |