News:

  • May 01, 2026, 02:04:24 PM

Login with username, password and session length

Author Topic: Peerlink - Troubleshooting  (Read 35183 times)

b_carlton

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 606
    • thePLCguy
Peerlink - Troubleshooting
« on: March 28, 2013, 11:10:46 AM »
I have a network of 4 DL06s each with an H0-ECOM100 (firmware V4.0.334)

All have Peerlink enabled. All are using address groups starting at V6000

Three have 'Publish' selected at V6000, V6020 and V6040 respectively (In other words, one at V6000 the next at V6020, the third at V6040)

The fourth has 'Subscribe' enable for V6000, V6020 and V6040

I have information (non-zero) in V6000 in the unit which is Publishing at V6000

Nothing (stays at zero) shows up in V6000 in the unit with V6000 enabled as 'Subscribe'

I can see and program all of these from my PC. I have confirmed multiple times the Peerlink settings. All are running.

Any ideas?
« Last Edit: March 28, 2013, 11:14:33 AM by b_carlton »
An output is a PLC's way of getting its inputs to change.

b_carlton

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 606
    • thePLCguy
Re: Peerlink - Troubleshooting
« Reply #1 on: March 28, 2013, 11:27:58 AM »
Using Wireshark (picture appended) the three units appear to be publishing ok

Note - this particular packet is from a unit with zeroes in the data area. I did capture one from the unit with data and it has expected values in the areas that this trace has zeroes.

Documentation says that Peerlink uses TCP/IP broadcasts yet Wireshark labels these as UDP. Problem?
« Last Edit: March 28, 2013, 11:41:33 AM by b_carlton »
An output is a PLC's way of getting its inputs to change.

b_carlton

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 606
    • thePLCguy
Re: Peerlink - Troubleshooting
« Reply #2 on: March 28, 2013, 11:57:58 AM »
Sorry - false alarm

I had two of the 'publishing' units set to the same block. Changed and is now working.
An output is a PLC's way of getting its inputs to change.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6154
  • Yes Pinky, Do-more will control the world!
Re: Peerlink - Troubleshooting
« Reply #3 on: March 28, 2013, 12:02:26 PM »
It's definitely UDP Bernie, but that confuses people, so we tend to call everything TCP/IP.

Glad it's working now...I designed the protocol, but know next to nothing about the ECOM100 implementation...and both Greg and Mike are out right now. :-[
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

b_carlton

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 606
    • thePLCguy
Re: Peerlink - Troubleshooting
« Reply #4 on: March 28, 2013, 12:47:25 PM »
It's working pretty nicely. If I could just follow the instructions! (Not the instruction's fault. They're clear. It's me following them tha's the problem. need more coffee!)
An output is a PLC's way of getting its inputs to change.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3806
    • Host Engineering
Re: Peerlink - Troubleshooting
« Reply #5 on: March 28, 2013, 02:37:12 PM »
If you turn status on in run mode, the PEERLINK instruction status should have shown you the issue.  DMD0300 Help Topic in Designer shows the various status states.  You should have seen the multiple Block ID with a Red Circle with a Slash (see Block 8 in the example below).


BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6154
  • Yes Pinky, Do-more will control the world!
Re: Peerlink - Troubleshooting
« Reply #6 on: March 28, 2013, 02:40:16 PM »
H0-ECOM100 Mark...
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3806
    • Host Engineering
Re: Peerlink - Troubleshooting
« Reply #7 on: March 28, 2013, 02:40:52 PM »
Doh!  I just posted the same on the ADC post.  I'll go delete it.  :-\

b_carlton

  • Internal Dev
  • Hero Member
  • ****
  • Posts: 606
    • thePLCguy
Re: Peerlink - Troubleshooting
« Reply #8 on: March 28, 2013, 02:59:20 PM »
I'll look forward to using the same function in the Do-More. Easier troubleshooting.
An output is a PLC's way of getting its inputs to change.