News:

  • April 01, 2026, 06:17:39 PM

Login with username, password and session length

Author Topic: Peerlink issues with 2.10  (Read 9130 times)

PLCwannabe

  • Hero Member
  • *****
  • Posts: 208
Peerlink issues with 2.10
« on: October 15, 2024, 10:32:24 AM »
  Just noticed an issue with a BX-DM1E that i recently updated to 2.10. The first 3 blocks of Peerlink do not subscribe to the network, all values remain at 0. I have multiple plcs on the same network that all continue working well with peerlink with all blocks. In memoryview, some of the PL registers are whited, even though they are not used in the program, not sure if this is part of the issue.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6152
  • Yes Pinky, Do-more will control the world!
Re: Peerlink issues with 2.10
« Reply #1 on: October 15, 2024, 11:17:32 AM »
  Just noticed an issue with a BX-DM1E that i recently updated to 2.10. The first 3 blocks of Peerlink do not subscribe to the network, all values remain at 0. I have multiple plcs on the same network that all continue working well with peerlink with all blocks. In memoryview, some of the PL registers are whited, even though they are not used in the program, not sure if this is part of the issue.

Not sure.

It appears to be working as expected and there were no (intentional) changes to PEERLINK for 2.10. Your status display is indicating that the PLC is receiving those blocks, so I'm really not sure what might be going on.
"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

PLCwannabe

  • Hero Member
  • *****
  • Posts: 208
Re: Peerlink issues with 2.10
« Reply #2 on: October 15, 2024, 01:14:20 PM »
It was working at some point, the pl0-47 registers were populated with valid data, but I'm not sure when that data was recieved, I'm assuming before the update happened. I only started using the registers yesterday and noticed that they are not working. I've powered down and rebooted multiple times, with no success. Is there anything else I can try?

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3801
    • Host Engineering
Re: Peerlink issues with 2.10
« Reply #3 on: October 15, 2024, 01:37:40 PM »
It appears from the PEERLINK status that those first 3 blocks are inhibited (by the publisher and/or subscriber).  Blocks 1, 2, and 3 in your PEERLINK status screen shot appear to be grayed out.  Check out your PL.xxInh "Inhibit" bits in a Data View (check all the PL heap item structure members and make sure they are all what you expect - some are readonly, some are read/write)

From the PEERLINK help topic DMD0300:

Green, Yellow, or Red background with Grayed Numeral indicates that updates to the block have been inhibited,in the example above Blocks 3 and 5 have their updates inhibited. The inhibit bits for the blocks allow both the publisher and the subscribers to control updates to the CPU's PEERLINK memory.
 
In the PLC that is publishing the block, setting the inhibit bit prevents that block from being published.
In the PLC that is subscribing to a block, setting the inhibit bit prevents that block from being updated in the CPU.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6152
  • Yes Pinky, Do-more will control the world!
Re: Peerlink issues with 2.10
« Reply #4 on: October 15, 2024, 01:52:17 PM »
It appears from the PEERLINK status that those first 3 blocks are inhibited (by the publisher and/or subscriber).  Blocks 1, 2, and 3 in your PEERLINK status screen shot appear to be grayed out.  Check out your PL.xxInh "Inhibit" bits in a Data View (check all the PL heap item structure members and make sure they are all what you expect - some are readonly, some are read/write)

From the PEERLINK help topic DMD0300:

Green, Yellow, or Red background with Grayed Numeral indicates that updates to the block have been inhibited,in the example above Blocks 3 and 5 have their updates inhibited. The inhibit bits for the blocks allow both the publisher and the subscribers to control updates to the CPU's PEERLINK memory.
 
In the PLC that is publishing the block, setting the inhibit bit prevents that block from being published.
In the PLC that is subscribing to a block, setting the inhibit bit prevents that block from being updated in the CPU.


Good catch. My monitor contrast made that kinda subtle.
"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

PLCwannabe

  • Hero Member
  • *****
  • Posts: 208
Re: Peerlink issues with 2.10
« Reply #5 on: October 15, 2024, 03:30:56 PM »
Okay, so that was the issue, the inhibit bits were on, not sure how that happened.I didn't even realize that they existed, before browsing through the help topic.In my defense, the greyed out numbers are very hard to distinguish from the black, even on the monitor itself.  Thanks for the quick resolution.