点击或拖拽改变大小

McBinaryHelper 类

三菱PLC,二进制的辅助类对象
继承层次
SystemObject
  HslCommunication.Profinet.Melsec.HelperMcBinaryHelper

命名空间:  HslCommunication.Profinet.Melsec.Helper
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public class McBinaryHelper

McBinaryHelper 类型公开以下成员。

构造函数
  名称说明
公共方法McBinaryHelper
初始化 McBinaryHelper 类的一个新实例
Top
方法
  名称说明
公共方法静态成员BuildReadMcCoreCommand
从三菱地址,是否位读取进行创建读取的MC的核心报文
From the Mitsubishi address, whether to read the core message of the MC for creating and reading
公共方法静态成员BuildReadMcCoreExtendCommand
从三菱扩展地址,是否位读取进行创建读取的MC的核心报文
公共方法静态成员BuildReadMemoryCommand
读取本站缓冲寄存器的数据信息,需要指定寄存器的地址,和读取的长度
公共方法静态成员BuildReadRandomCommand
随机读取的指令创建
公共方法静态成员BuildReadRandomWordCommand
按字为单位随机读取的指令创建
公共方法静态成员BuildReadSmartModule
构建读取智能模块的命令,需要指定模块编号,起始地址,读取的长度,注意,该长度以字节为单位。
公共方法静态成员BuildReadTag
创建批量读取标签的报文数据信息
公共方法静态成员BuildWriteBitCoreCommand
以位为单位,创建数据写入的核心报文
公共方法静态成员BuildWriteWordCoreCommand
以字为单位,创建数据写入的核心报文
公共方法静态成员CheckResponseContentHelper
检查从MC返回的数据是否是合法的。
公共方法Equals (继承自 Object。)
公共方法静态成员ExtractActualDataHelper
从PLC反馈的数据中提取出实际的数据内容,需要传入反馈数据,是否位读取
公共方法静态成员ExtraTagData
解析出标签读取的数据内容
受保护的方法Finalize (继承自 Object。)
公共方法GetHashCode (继承自 Object。)
公共方法GetType (继承自 Object。)
受保护的方法MemberwiseClone (继承自 Object。)
公共方法静态成员PackMcCommand
将MC协议的核心报文打包成一个可以直接对PLC进行发送的原始报文
公共方法静态成员ReadTags
[商业授权] 读取PLC的标签信息,需要传入标签的名称,读取的字长度,标签举例:A; label[1]; bbb[10,10,10]
[Authorization] To read the label information of the PLC, you need to pass in the name of the label, the length of the word read, and an example of the label: A; label [1]; bbb [10,10,10]
公共方法静态成员ReadTagsAsync
[商业授权] 读取PLC的标签信息,需要传入标签的名称,读取的字长度,标签举例:A; label[1]; bbb[10,10,10]
[Authorization] To read the label information of the PLC, you need to pass in the name of the label, the length of the word read, and an example of the label: A; label [1]; bbb [10,10,10]
公共方法ToString (继承自 Object。)
Top
扩展方法
  名称说明
公共扩展器方法ToJsonString
获取当前对象的JSON格式表示的字符串。
Gets the string represented by the JSON format of the current object.
(由 HslExtension 定义。)
Top
参见