点击或拖拽改变大小

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"
Top
扩展方法
  名称说明
公共扩展器方法ToJsonString
获取当前对象的JSON格式表示的字符串。
Gets the string represented by the JSON format of the current object.
(由 HslExtension 定义。)
Top
参见