工业PLC控制八:以太网I/O(专用网络设备)

EtherNet/IP may be used for I/O devices with the approval of the GM Controls Project Engineer. When EtherNet/IP is used for I/O devices, the following guidelines shall be observed.

通过GM 控制项目工程师的批准,EtherNet/IP可用于I/O设备中。当EtherNet/IP用于I/O设备时,应遵守以下原则。

1 Network Requirements 网络要求

  1. The network shall be isolated from the rest of the IECN by either:
    网络应通过以下方式与其他IECN隔离:

    • A physical isolation. This is achieved by adding an additional Ethernet card to the controller (chassis) and either:
      物理隔离。通过向控制器(机箱)添加额外的以太网卡来实现的,并且可以:

      • connecting all I/O directly to that card (Figure 1) OR
        将所有I/O直接连接到该卡(图 1)或
      • connecting the card and all associated I/O to an isolated Ethernet switch (managed or unmanaged) (Figure 9-32).
        将卡和所有相关的I/O连接到独立的以太网交换机(托管或非托管)(图 2)。
    • logical isolation. This is achieved by either:
      逻辑隔离。这可以通过以下方式实现:

      • adding an additional Ethernet card to the controller (chassis) and connecting it and all associated I/O to a logically segregated portion of a managed switch (Figure 3) OR
        向控制器(机箱)添加一个额外的以太网卡,并将其与所有相关的I/O连接到管理型交换机的逻辑隔离部分(图 3)或
      • using a connected routing capable switch and logically routing the I/O in the private address space to the Ethernet card in the public address space (Figure 4).
        使用连接路由功能的交换机并将私有地址空间中的I/O逻辑路由到公共地址空间中的以太网卡(图4)
  2. In order to reduce the number of managed switch ports required and to reduce the overall cabling, a linear topology shall be used for EtherNet/IP I/O wherever possible.
    为了减少所需的受管交换机端口数量并减少整体布线,应尽可能采用线性拓扑结构进行EtherNet/IP I/O。
  3. Do not use a ring topology. A ring topology is a linear network where a loop or ring is formed by connecting the last device in the line to the first device. A ring is not allowed because:
    不要使用环形拓扑。环形拓扑是一种线性网络,通过将线路中的最后一个设备连接到第一个设备来形成环路或环形。不允许使用环,因为:

    • a.A closed ring introduces configuration challenges.
      a.闭合环会带来配置上的挑战。
    • b.All devices may not be ‘DLR’ even if they are two port devices.
      b.所有设备可能不是“DLR”,即使它们是两个端口设备。
    • c.There are logistical challenges with closing the ring on physically large (long run) networks.
      c.在物理大型(长期)网络上关闭环存在后勤挑战。
  4. Do not mix devices in the public address space and devices in the private address space on the same linear network.
    不要将公共广播空间中的设备和同一线性网络上的专用地址空间中的设备混合在一起。
  5. A linear network shall not have more than 50 devices.
    线性网络不得超过50个设备。
  6. A switch used for both and public devices shall have the public devices at the lowered number ports and the private devices at the higher number ports.
    用于公共设备和公共设备的交换机应具有较低数量端口的公共设备和较高数量端口的私有设备。
  7. A diagnostic port shall be provided at the controller for connection to the private network with a PC or other diagnostic device.
    应在控制器上提供诊断端口,以便与PC或其他诊断设备连接到专用网络。

Note: Connected routing has very specific requirements that must be met before use. See section 9.6.6.2 for details. The use of connected routing must be approved by the GM Controls Project Engineer.
注意:连接的路由有非常具体的要求,使用前必须满足这些要求。详见9.6.6.2节。必须经GM控制项目工程师批准,才能使用连接的路由。

Note: A means to connect with a PC or diagnostic devices is required for every device on the network. In the case of logical isolation as shown in Figure 3, two diagnostic ports would be required, one in the public space and one in the private space.
注意:网络上的每个设备都需要一种连接PC或诊断设备的方法。在图 3所示的逻辑隔离情况下,需要两个诊断端口,一个在公共空间,一个在私有空间。

2 Connected Routing 连接路由

Connected routing is a function in the controller or system Ethernet switch where the communication between public devices (12x IP address space) and private devices (192 IP address space) is made possible. This function is subject to the following requirements and limitations:
连接路由是控制器或系统以太网交换机中的一个功能,在该功能中,公共设备(12x IP地址空间)和专用设备(192 IP地址空间)之间的通信成为可能。此功能受以下要求和限制:

  1. Connected routing is a hardware function of the switch. It is not possible in every switch. This may limit the use of connected routing, especially in reuse situations.
    连接路由是交换机的硬件功能。 每个开关都不可能。 这可能会限制连接路由的使用,尤其是在重用情况下。
  2. All devices in the 192 address space MUST have their gateway address set to 192.168.1.1. When hard setting IP addresses via switches (see 9.6.6.4), it is important to verify that the gateway address is also set. Not all devices set the gateway when the IP address is hard set.
    192地址空间中的所有设备必须将其网关地址设置为192.168.1.1。 通过交换机硬设置IP地址时(见9.6.6.4),验证网关地址是否也已设置非常重要。 当IP地址设置为硬时,并非所有设备都设置网关。
  3. The devices in the 192 space shall communicate only with 12x devices that are connected to the same physical Ethernet switch. The routing function shall not extend beyond the local controller or system switch. Typically, this means that all privately addressed I/O shall be connected to the same switch as the publicly addressed Ethernet cards in the controller chassis. See Figure 9-36.
    192空间中的设备只能与连接到同一物理以太网交换机的12 x设备通信。 路由功能不得超出本地控制器或系统交换机。 通常,这意味着所有私有寻址的I/O应连接到与控制器机箱中公共寻址的以太网卡相同的交换机。 见图9-36。

Note: The use of connected routing requires GM Controls Project Engineer approval.
注意:使用连接路由需要GM控制项目工程师批准。

3 Address Requirements 地址要求

  1. Private address requirements:
    专用地址要求:

    • a.Private networks shall use the 192.168.1.x range for IP addresses.
      a.专用网络应使用192.168.1.x范围的IP地址。
    • b.Address 192.168.1.1 is reserved for the gateway address and shall not be used as IP address.
      b.地址192.168.1.1保留用于网关地址,不得用作IP地址。
    • c.Subnet mask shall be 255.255.255.0
      c.子网掩码应为255.255.255.0
  2. Each private network has 255 IP addresses (253 usable, 192.168.1.2 – 192.168.1.254). Limit each address range to no more than 250 device (IP addresses).
    每个专用网络有255IP地址(253个可用,192.168.1.2 - 192.168.1.254)。 将每个地址范围限制为不超过250个设备(IP地址)。
  3. Where multiple private networks exist on the same controller (i.e. PLC, robot) they shall not use duplicate private addresses even if the networks are isolated. Controllers requiring duplicate addresses (more than 250 devices) require GM Controls Project Engineer approval.
    如果同一控制器(即PLC,机器人)上存在多个专用网络,即使网络是隔离的,它们也不应使用重复的专用地址。 需要重复地址(超过250台设备)的控制器需要GM 控制项目工程师批准。
  4. Addresses may be duplicated from controller to controller. (i.e. every material handling robot may use the same addresses for I/O blocks).
    地址可以从控制器复制到控制器。 (即,每个物料搬运机器人可以对I/O块使用相同的地址)。

4 Device Requirements 设备要求

  1. Only ODVA certified devices shall be used on GM networks.
    只有ODVA认证的设备才能用于GM网络。
  2. IP6x (on machine) devices require dual 4 pin, M12, D-code ports.
    IP6x(机器上)设备需要双4针,M12,D代码端口。
  3. IP2x (panel mount) devices require dual RJ45 ports.
    IP2x(面板安装)设备需要双RJ45端口。
  4. Devices shall support Device Level Ring (DLR) functionality.
    设备应支持设备级环(DLR)功能。
  5. Devices shall support unicast EtherNet/IP implicit message (real time) communication.
    设备应支持单播以太网/IP隐式消息(实时)通信。
  6. Devices shall support hard setting of the IP address in the 192.168.1.x range.
    设备应支持192.168.1.x范围内IP地址的硬设置。

    • a.Switches (preferably rotary, see Figure 8) shall be used to set the 4th octet of the IP address.
      a.应使用开关(最好是旋转开关,见图 8)设置IP地址的第四个八位字节。
    • b.The subnet mask shall be set to 255.255.255.0 when using the switches to set the IP address.
      b.使用交换机设置IP地址时,子网掩码应设置为255.255.255.0。
    • c.The gateway address shall be set:
      c.网关地址应设置:

      • i.to 192.168.1.1 when using the switches to set the IP address from 192.168.1.2 – 192.168.1.254.
        i.到192.168.1.1,当使用交换机将IP地址设置为192.168.1.2 - 192.168.1.254
      • ii.to 0.0.0.0 when using the switches to set the IP address to 192.168.1.1.
        ii.到0.0.0.0,使用开关将IP地址设置为192.168.1.1
      • iii.programmatically when the switches are not used to hard set the IP address.
        iii.以编程方式不使用交换机来硬设置IP地址。
  7. Devices shall comply with CIP specifications for power pin out described in section 11.9
    设备应符合第11.9节中描述的电源引脚CIP规范
  8. It is preferred that devices utilize mini (M22) power connectors and support “pass through” power (Figure 9)
    设备最好使用迷你(M22)电源连接器,并支持“直通”电源(图 9)
  9. It is preferred that devices include web browser based support for configuring, monitoring, and troubleshooting.
    设备优选包括基于web浏览器的支持,用于配置,监视和故障排除。

Note: GM Controls Project Engineer approval is required for the use of EtherNet/IP I/O devices that deviate from the above specifications.
注意:使用不符合上述规格的EtherNet/IP I/O设备需要GM 控制项目工程师批准。

5 Documentation Requirements 文档要求

  1. Document all private network in the CE section of the controller drawing package or the C section of the unit drawing package (station robot, etc.).
    记录控制器绘图包的CE部分中的所有专用网络或单元绘图包(站点机器人等)的C部分。
  2. Each private linear network shall have at least one drawing sheet. Do not include multiple linear networks on the same sheet.
    每个专用线性网络应至少有一个图纸。 不要在同一张纸上包含多个线性网络。
  3. Each device shall be tagged with the Device Name, Source Ethernet Switch and Port, and IP Address.
    每个设备都应标记设备名称,源以太网交换机和端口以及IP地址。

Exception: Devices in linear networks with no Ethernet switch do not require source switch and port.
例外:没有以太网交换机的线性网络中的设备不需要源交换机和端口。

文章目录