点击或拖拽改变大小

McAsciiHelper 方法

McAsciiHelper 类型公开以下成员。

方法
  名称说明
公共方法静态成员BuildAsciiReadMcCoreCommand
从三菱地址,是否位读取进行创建读取Ascii格式的MC的核心报文
公共方法静态成员BuildAsciiReadMcCoreExtendCommand
从三菱扩展地址,是否位读取进行创建读取的MC的核心报文
公共方法静态成员BuildAsciiReadMemoryCommand
读取本站缓冲寄存器的数据信息,需要指定寄存器的地址,和读取的长度
公共方法静态成员BuildAsciiReadRandomCommand
随机读取的指令创建
公共方法静态成员BuildAsciiReadRandomWordCommand
按字为单位随机读取的指令创建
公共方法静态成员BuildAsciiReadSmartModule
构建读取智能模块的命令,需要指定模块编号,起始地址,读取的长度,注意,该长度以字节为单位。
公共方法静态成员BuildAsciiReadTag
创建批量读取标签的报文数据信息
公共方法静态成员BuildAsciiWriteBitCoreCommand
以位为单位,创建ASCII数据写入的核心报文
公共方法静态成员BuildAsciiWriteTag
创建写入标签的报文数据信息
公共方法静态成员BuildAsciiWriteWordCoreCommand
以字为单位,创建ASCII数据写入的核心报文
公共方法静态成员BuildWriteRandomWordCommand
按字为单位随机写入的指令创建,一次最多写入80/160个字
公共方法静态成员CheckResponseContent
检查反馈的内容是否正确的
公共方法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。)
公共方法静态成员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]
Top
扩展方法
  名称说明
公共扩展器方法ToJsonString
获取当前对象的JSON格式表示的字符串。
Gets the string represented by the JSON format of the current object.
(由 HslExtension 定义。)
Top
参见