点击或拖拽改变大小

MelsecFxLinksHelper 类

三菱的FxLinks的辅助方法信息
继承层次
SystemObject
  HslCommunication.Profinet.Melsec.HelperMelsecFxLinksHelper

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

MelsecFxLinksHelper 类型公开以下成员。

构造函数
  名称说明
公共方法MelsecFxLinksHelper
初始化 MelsecFxLinksHelper 类的一个新实例
Top
方法
  名称说明
公共方法静态成员BuildReadCommand
创建一条读取的指令信息,需要指定一些参数
公共方法静态成员BuildReadPlcType
创建读取PLC类型的命令报文
公共方法静态成员BuildStart
创建启动PLC的报文信息
公共方法静态成员BuildStop
创建启动PLC的报文信息
公共方法静态成员BuildWriteBoolCommand
创建一条别入bool数据的指令信息,需要指定一些参数
公共方法静态成员BuildWriteByteCommand
创建一条别入byte数据的指令信息,需要指定一些参数,按照字单位
公共方法静态成员CheckPlcResponse
检查PLC的消息反馈是否合法,合法则提取当前的数据信息,当时写入的命令消息时,无任何的数据返回
Check whether the PLC's message feedback is legal. If it is legal, extract the current data information. When the command message is written at that time, no data is returned.
公共方法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。)
公共方法GetHashCode
Serves as the default hash function.
(继承自 Object。)
公共方法静态成员GetPlcTypeFromCode
从编码中提取PLC的型号信息
公共方法GetType
Gets the Type of the current instance.
(继承自 Object。)
受保护的方法MemberwiseClone
Creates a shallow copy of the current Object.
(继承自 Object。)
公共方法静态成员PackCommandWithHeader
将当前的报文进行打包,根据和校验的方式以及格式信息来实现打包操作
公共方法静态成员Read
批量读取PLC的数据,以字为单位,支持读取X,Y,M,S,D,T,C,具体的地址范围需要根据PLC型号来确认,地址支持动态指定站号,例如:s=2;D100
Read PLC data in batches, in units of words, supports reading X, Y, M, S, D, T, C. The specific address range needs to be confirmed according to the PLC model, The address supports dynamically specifying the station number, for example: s=2;D100
公共方法静态成员ReadAsync
批量读取PLC的数据,以字为单位,支持读取X,Y,M,S,D,T,C,具体的地址范围需要根据PLC型号来确认,地址支持动态指定站号,例如:s=2;D100
Read PLC data in batches, in units of words, supports reading X, Y, M, S, D, T, C. The specific address range needs to be confirmed according to the PLC model, The address supports dynamically specifying the station number, for example: s=2;D100
公共方法静态成员ReadBool
批量读取bool类型数据,支持的类型为X,Y,S,T,C,具体的地址范围取决于PLC的类型,地址支持动态指定站号,例如:s=2;D100
Read bool data in batches. The supported types are X, Y, S, T, C. The specific address range depends on the type of PLC, The address supports dynamically specifying the station number, for example: s=2;D100
公共方法静态成员ReadBoolAsync
批量读取bool类型数据,支持的类型为X,Y,S,T,C,具体的地址范围取决于PLC的类型,地址支持动态指定站号,例如:s=2;D100
Read bool data in batches. The supported types are X, Y, S, T, C. The specific address range depends on the type of PLC, The address supports dynamically specifying the station number, for example: s=2;D100
公共方法静态成员ReadPlcType
[商业授权] 读取PLC的型号信息,可以携带额外的参数信息,指定站号。举例:s=2; 注意:分号是必须的。
[Authorization] Read the PLC model information, you can carry additional parameter information, and specify the station number. Example: s=2; Note: The semicolon is required.
公共方法静态成员ReadPlcTypeAsync
[商业授权] 读取PLC的型号信息,可以携带额外的参数信息,指定站号。举例:s=2; 注意:分号是必须的。
[Authorization] Read the PLC model information, you can carry additional parameter information, and specify the station number. Example: s=2; Note: The semicolon is required.
公共方法静态成员StartPLC
[商业授权] 启动PLC的操作,可以携带额外的参数信息,指定站号。举例:s=2; 注意:分号是必须的。
[Authorization] Start the PLC operation, you can carry additional parameter information and specify the station number. Example: s=2; Note: The semicolon is required.
公共方法静态成员StartPLCAsync
[商业授权] 启动PLC的操作,可以携带额外的参数信息,指定站号。举例:s=2; 注意:分号是必须的。
[Authorization] Start the PLC operation, you can carry additional parameter information and specify the station number. Example: s=2; Note: The semicolon is required.
公共方法静态成员StopPLC
[商业授权] 停止PLC的操作,可以携带额外的参数信息,指定站号。举例:s=2; 注意:分号是必须的。
[Authorization] Stop PLC operation, you can carry additional parameter information and specify the station number. Example: s=2; Note: The semicolon is required.
公共方法静态成员StopPLCAsync
[商业授权] 停止PLC的操作,可以携带额外的参数信息,指定站号。举例:s=2; 注意:分号是必须的。
[Authorization] Stop PLC operation, you can carry additional parameter information and specify the station number. Example: s=2; Note: The semicolon is required.
公共方法ToString
Returns a string that represents the current object.
(继承自 Object。)
公共方法静态成员Write(IReadWriteFxLinks, String, Boolean)
批量写入bool类型的数组,支持的类型为X,Y,S,T,C,具体的地址范围取决于PLC的类型,地址支持动态指定站号,例如:s=2;D100
Write arrays of type bool in batches. The supported types are X, Y, S, T, C. The specific address range depends on the type of PLC, The address supports dynamically specifying the station number, for example: s=2;D100
公共方法静态成员Write(IReadWriteFxLinks, String, Byte)
批量写入PLC的数据,以字为单位,也就是说最少2个字节信息,支持X,Y,M,S,D,T,C,具体的地址范围需要根据PLC型号来确认,地址支持动态指定站号,例如:s=2;D100
The data written to the PLC in batches is in units of words, that is, at least 2 bytes of information. It supports X, Y, M, S, D, T, and C. The specific address range needs to be confirmed according to the PLC model, The address supports dynamically specifying the station number, for example: s=2;D100
公共方法静态成员WriteAsync(IReadWriteFxLinks, String, Boolean)
批量写入bool类型的数组,支持的类型为X,Y,S,T,C,具体的地址范围取决于PLC的类型,地址支持动态指定站号,例如:s=2;D100
Write arrays of type bool in batches. The supported types are X, Y, S, T, C. The specific address range depends on the type of PLC, The address supports dynamically specifying the station number, for example: s=2;D100
公共方法静态成员WriteAsync(IReadWriteFxLinks, String, Byte)
批量写入PLC的数据,以字为单位,也就是说最少2个字节信息,支持X,Y,M,S,D,T,C,具体的地址范围需要根据PLC型号来确认,地址支持动态指定站号,例如:s=2;D100
The data written to the PLC in batches is in units of words, that is, at least 2 bytes of information. It supports X, Y, M, S, D, T, and C. The specific address range needs to be confirmed according to the PLC model, The address supports dynamically specifying the station number, for example: s=2;D100
Top
扩展方法
  名称说明
公共扩展器方法ToJsonString
获取当前对象的JSON格式表示的字符串。
Gets the string represented by the JSON format of the current object.
(由 HslExtension 定义。)
Top
参见