点击或拖拽改变大小

OmronFinsUdp 类

欧姆龙的Udp协议的实现类,地址类型和Fins-TCP一致,无连接的实现,可靠性不如OmronFinsNet
Omron's Udp protocol implementation class, the address type is the same as Fins-TCP, and the connectionless implementation is not as reliable as OmronFinsNet
继承层次
SystemObject
  HslCommunication.Core.NetNetworkBase
    HslCommunication.Core.NetNetworkUdpBase
      HslCommunication.Core.NetNetworkUdpDeviceBase
        HslCommunication.Profinet.OmronOmronFinsUdp

命名空间:  HslCommunication.Profinet.Omron
程序集:  HslCommunication (在 HslCommunication.dll 中) 版本:11.8.2.0 (11.8.2.0)
语法
public class OmronFinsUdp : NetworkUdpDeviceBase, 
	IOmronFins, IReadWriteNet

OmronFinsUdp 类型公开以下成员。

构造函数
  名称说明
公共方法OmronFinsUdp
实例化一个欧姆龙PLC Fins帧协议的通讯对象
Instantiate a communication object of Omron PLC Fins frame protocol
公共方法OmronFinsUdp(String, Int32)
指定ip地址和端口号来实例化一个欧姆龙PLC Fins帧协议的通讯对象
Specify the IP address and port number to instantiate a communication object of the Omron PLC Fins frame protocol
Top
属性
  名称说明
公共属性代码示例ByteTransform
当前的数据变换机制,当你需要从字节数据转换类型数据的时候需要。
The current data transformation mechanism is required when you need to convert type data from byte data.
(继承自 NetworkUdpDeviceBase。)
公共属性ConnectionId
当前连接的唯一ID号,默认为长度20的guid码加随机数组成,方便列表管理,也可以自己指定
The unique ID number of the current connection. The default is a 20-digit guid code plus a random number.
(继承自 NetworkUdpBase。)
公共属性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,