McBinaryHelper 类 |
命名空间: HslCommunication.Profinet.Melsec.Helper
McBinaryHelper 类型公开以下成员。
名称 | 说明 | |
---|---|---|
McBinaryHelper | 初始化 McBinaryHelper 类的一个新实例 |
名称 | 说明 | |
---|---|---|
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 | Determines whether the specified object is equal to the current object. (继承自 Object。) | |
ExtractActualDataHelper |
从PLC反馈的数据中提取出实际的数据内容,需要传入反馈数据,是否位读取
| |
ExtraTagData |
解析出标签读取的数据内容
| |
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。) | |
GetType | Gets the Type of the current instance. (继承自 Object。) | |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 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 | Returns a string that represents the current object. (继承自 Object。) |
名称 | 说明 | |
---|---|---|
ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |