| McAsciiHelper 类 | 
 继承层次
继承层次命名空间: HslCommunication.Profinet.Melsec.Helper
 语法
语法McAsciiHelper 类型公开以下成员。
 构造函数
构造函数| 名称 | 说明 | |
|---|---|---|
|  | McAsciiHelper | 初始化 McAsciiHelper 类的一个新实例 | 
 方法
方法| 名称 | 说明 | |
|---|---|---|
|   | BuildAsciiReadMcCoreCommand | 
            从三菱地址,是否位读取进行创建读取Ascii格式的MC的核心报文
             | 
|   | BuildAsciiReadMcCoreExtendCommand | 
            从三菱扩展地址,是否位读取进行创建读取的MC的核心报文
             | 
|   | BuildAsciiReadMemoryCommand | 
            读取本站缓冲寄存器的数据信息,需要指定寄存器的地址,和读取的长度
             | 
|   | BuildAsciiReadRandomCommand | 
            随机读取的指令创建
             | 
|   | BuildAsciiReadRandomWordCommand | 
            按字为单位随机读取的指令创建
             | 
|   | BuildAsciiReadSmartModule | 
            构建读取智能模块的命令,需要指定模块编号,起始地址,读取的长度,注意,该长度以字节为单位。
             | 
|   | BuildAsciiReadTag | 
            创建批量读取标签的报文数据信息
             | 
|   | BuildAsciiWriteBitCoreCommand | 
            以位为单位,创建ASCII数据写入的核心报文
             | 
|   | BuildAsciiWriteTag | 
            创建写入标签的报文数据信息
             | 
|   | BuildAsciiWriteWordCoreCommand | 
            以字为单位,创建ASCII数据写入的核心报文
             | 
|   | CheckResponseContent | 
            检查反馈的内容是否正确的
             | 
|  | 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。) | 
|   | WriteTag | [商业授权] 写入PLC的标签数据,需要传入标签的名称,实际写入的字节数据信息,标签举例:A; label[1]; bbb[10,10,10] [Authorization] To write PLC label data, you need to pass the name of the label, the actual written byte data information, label example: A; label[1]; BBB,10,10 [10] | 
|   | WriteTagAsync | [商业授权] 写入PLC的标签数据,需要传入标签的名称,实际写入的字节数据信息,标签举例:A; label[1]; bbb[10,10,10] [Authorization] To write PLC label data, you need to pass the name of the label, the actual written byte data information, label example: A; label[1]; BBB,10,10 [10] | 
 扩展方法
扩展方法| 名称 | 说明 | |
|---|---|---|
|  | ToJsonString | 
            获取当前对象的JSON格式表示的字符串。(由 HslExtension 定义。) Gets the string represented by the JSON format of the current object. | 
 参见
参见