adccommunitymod (AutomationDirect) asked a question.

ECOM Peer to Peer issues

Created Date: May 16,2014

Created By: dgrove

**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****

Hi, I’m trying to set a flag on four PLC’s to indicate when a pump controlled by a fifth PLC is running. The code is working on two of the four PLC’s but I haven’t been able to get it to work on the other two. Here’s the code, it's only two lines (hope this is readable): --?SP116--?SP136— , , , --||B1400.1 – (OUT) C114 The PlC’S in question are named System 3,5,6, and 7 (don’t ask what happened to 4, it wasn't pretty). The code works fine in 3 and 7, not in 5 and 6. The main code in 3 and 6 are almost identical while the main code in 7 is radically different. The PLC being read from is the Facilities (F) PLC. I’ve set up Peer to Peer on 3,5,6, and 7 with F as Device 21, Protocol ECOM. Here are the specs on the PLCs: ....PLC......Ver....Gate....EcomSlot..... Working? 3..D2-260..1.9....1.0.....7.................Y 5..D2-250..1.36..N/A.....4.................N 6..D2-260..1.9....1.0.....4.................N 7..D2-260..1.9....1.0.....7.................Y F..D2-250..1.57..N/A.....7.................N/A 3,5,6, and 7 have H2-ECOM modules Firmware 1.0.227, Boot 3.0.157. Facilities has H2-ECOM100 Firmware 4.0.1808, Boot 4.0.165. I’m using ?SP130 and LD K421 for systems 5 and 6 To add to the mix, system 6 has a persistent SP131 even with the RX code removed, and shows Disabled in DSLaunch except for one PC that’s close by (otherwise returns a Comm Error: Attempted access of unlocked device) though NetEdit3 sees it just fine. This is the first time I 've worked with PLC to PLC comms and was pretty stoked to get it working on 7. I then deployed to 3 with no issues so I’m stumped as to why 5 and 6 aren't working. Thanks in advance for your help!


  • adccommunitymod (AutomationDirect)

    Created Date: May 16,2014

    Created by: Do-more PE

    Please contact technical support, they should be able to get this sorted out for you.

  • adccommunitymod (AutomationDirect)

    Created Date: May 27,2014

    Created by: dgrove

    Resolved

    My resolution (at the suggestion of Tech Support) for this issue was to upgrade one of D2-260's to the current firmware, swap it out with the 250 in the Facilities PLC. I then used IBox comms commands to have the Facilities PLC handle all comms and basically push the pump status to all the other PLCs. This works great, didn't take much code changing, and the IBox commands are much easier to implement than the old setup.

    Expand Post
  • adccommunitymod (AutomationDirect)

    Created Date: May 16,2014

    Created by: dgrove

    Hi,

    I’m trying to set a flag on four PLC’s to indicate when a pump controlled by a fifth PLC is running.

    The code is working on two of the four PLC’s but I haven’t been able to get it to work on the other two.

    Here’s the code, it's only two lines (hope this is readable):

    --?SP116--?SP136— , , ,

    --||B1400.1 – (OUT) C114

    The PlC’S in question are named System 3,5,6, and 7 (don’t ask what happened to 4, it wasn't pretty). The code works fine in 3 and 7, not in 5 and 6. The main code in 3 and 6 are almost identical while the main code in 7 is radically different. The PLC being read from is the Facilities (F) PLC. I’ve set up Peer to Peer on 3,5,6, and 7 with F as Device 21, Protocol ECOM.

    Here are the specs on the PLCs:

    ....PLC......Ver....Gate....EcomSlot..... Working?

    3..D2-260..1.9....1.0.....7.................Y

    5..D2-250..1.36..N/A.....4.................N

    6..D2-260..1.9....1.0.....4.................N

    7..D2-260..1.9....1.0.....7.................Y

    F..D2-250..1.57..N/A.....7.................N/A

    3,5,6, and 7 have H2-ECOM modules Firmware 1.0.227, Boot 3.0.157. Facilities has H2-ECOM100 Firmware 4.0.1808, Boot 4.0.165.

    I’m using ?SP130 and LD K421 for systems 5 and 6

    To add to the mix, system 6 has a persistent SP131 even with the RX code removed, and shows Disabled in DSLaunch except for one PC that’s close by (otherwise returns a Comm Error: Attempted access of unlocked device) though NetEdit3 sees it just fine.

    This is the first time I 've worked with PLC to PLC comms and was pretty stoked to get it working on 7. I then deployed to 3 with no issues so I’m stumped as to why 5 and 6 aren't working.

    Thanks in advance for your help!

    Expand Post