Announcement

Collapse
No announcement yet.

Productivity Suite - Creation of Unconnected Explicit EIP Messages with Forward Open

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts


  • Productivity Suite - Creation of Unconnected Explicit EIP Messages with Forward Open

    Moved from General because I had no responses and this seems to be a better place for this question....



    Hi All
    I have recently started working with an EthernetIP to Modbus translation module which I am trying to use with a P1-540 PLC ( firmware 1.2.5.38 ) in conjunction with the Productivity Suite (V3.2.1.4). For several reasons I need to only use the Explicit unconnected messages to interact this module and I have successfully managed to do it using the Molex Ethernet/IP Tools GUI. The module implements the CIP Modbus class, however it needs to encapsulated in a Forward Open packet to be used.
    So in the Molex Explicit Message tab, I have add extra route path of 3 and 1 in the unconnected send which results in the successfull Forward Open port call.

    So here is my problem. To get the PLC to work I somehow need to add this extra path info but I do not know how.

    Here is a successful request originating from the Molex gui (wireshark sniffed), selecting the modbus object and holding register service as well as the forward open

    0000 70 b3 d5 93 91 7e 78 2b cb af 5f 78 08 00 45 00
    0010 00 68 7e 44 40 00 80 06 00 00 c0 a8 01 03 c0 a8
    0020 01 fe cc 46 af 12 8f 77 48 7c d7 fe b7 35 50 18
    0030 fa a2 84 ac 00 00 6f 00 28 00 91 9e 0f 00 00 00
    0040 00 00 04 00 02 00 00 00 85 01 00 00 00 00 00 00
    0050 00 00 1e 00 02 00 00 00 00 00 b2 00 18 0052 02
    0060 20 06 24 01 02 bb 0a 00 4e 02 20 44 24 08 08 00
    0070 04 00 01 00 03 01

    and here is all I can currently produced from the PLC just selecting the modbus object and holding register service

    0000 70 b3 d5 93 91 7e 60 52 d0 05 d3 eb 08 00 45 00
    0010 00 5a 00 25 40 00 40 06 b6 25 c0 a8 01 05 c0 a8
    0020 01 fe 1b d2 af 12 07 8d 46 13 30 14 e1 d7 50 18
    0030 3e 80 1e 51 00 00 6f 00 1a 00 a1 b0 1d 00 00 00
    0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0050 00 00 00 04 02 00 00 00 00 00 b2 00 0a 00 4e 02
    0060 20 44 24 08 08 00 04 00

    I have underlined the Forward Open part of the telegram that is included in the first successful telegram and made bold the Modbus class common path. I need to somehow add the Forward Open path into the second (PLC) .

    Please does anyone know how I achieve this please. Is there a hidden open either in the EIP device setup or in the EMSG instruction.

    Q






  • #2
    If using Modbus then setup your EtherNet/IP Client similar like the image below. Modbus requires TCP Port Number 502. Then use Modbus Write and Read instructions similar like the photos below.

    Click image for larger version

Name:	ModBus IP Setup.jpg
Views:	1
Size:	86.8 KB
ID:	117974Click image for larger version

Name:	Modbus Read.jpg
Views:	1
Size:	95.2 KB
ID:	117975Click image for larger version

Name:	Modbus Write.jpg
Views:	1
Size:	95.3 KB
ID:	117976

    Comment



    • #3
      Have you tried using Class 3 connected explicit messages?
      If so, you can use Enable Routing and Slot Number

      Comment

      Working...
      X