点击或拖拽改变大小

IOmronFins 属性

IOmronFins 类型公开以下成员。

属性
  名称说明
公共属性ConnectionId
当前连接的唯一ID号,默认为长度20的guid码加随机数组成,方便列表管理,也可以自己指定
The unique ID number of the current connection. The default is a 20-digit guid code plus a random number.
(继承自 IReadWriteNet。)
公共属性DA1
PLC的节点地址,默认为0,在和PLC连接的过程中,自动从PLC获取到DA1的值。
The node address of the PLC is 0 by default. During the process of connecting with the PLC, the value of DA1 is automatically obtained from the PLC.
公共属性DA2
PLC的单元号地址,通常都为0
PLC unit number address, usually 0
公共属性DNA
PLC的网络号地址,默认0x00
PLC network number address, default 0x00
公共属性GCT
网络层信息,默认0x02,如果有八层消息,就设置为0x07
Network layer information, default is 0x02, if there are eight layers of messages, set to 0x07
公共属性ICF
信息控制字段,默认0x80
Information control field, default 0x80
公共属性代码示例LogNet
组件的日志工具,支持日志记录,只要实例化后,当前网络的基本信息,就以DEBUG等级进行输出
The component's logging tool supports logging. As long as the instantiation of the basic network information, the output will be output at DEBUG
(继承自 IReadWriteNet。)
公共属性PlcType
获取或设置欧姆龙PLC的系列信息
Obtain or set the series information of Omron PLC
公共属性ReadSplits
进行字读取的时候对于超长的情况按照本属性进行切割,默认500,如果不是CP1H及扩展模块的,可以设置为999,可以提高一倍的通信速度。
When reading words, it is cut according to this attribute for the case of overlength. The default is 500. If it is not for CP1H and expansion modules, it can be set to 999, which can double the communication speed.
公共属性RSV
系统使用的内部信息
Internal information used by the system
公共属性SA1
上位机的节点地址,默认是0x01,当连接PLC之后,将由PLC来设定当前的值。
The node address of the host computer is 0x01 by default. After connecting to the PLC, the PLC will set the current value.
公共属性SA2
上位机的单元号地址
Unit number and address of the computer
公共属性SID
服务的标识号,由客户端生成自增的顺序值,用来标识和校验通信报文的ID
Service ID. Used to identify the process generating the transmission. Set the SID to any number between 00 and FF
公共属性SNA
上位机的网络号地址
Network number and address of the computer
Top
参见