News:

  • November 23, 2026, 11:48:05 AM

Login with username, password and session length

Author Topic: EIPMSG and SL0 in Cross Reference or Find  (Read 15319 times)

Mike Nash

  • Hero Member
  • *****
  • Posts: 655
EIPMSG and SL0 in Cross Reference or Find
« on: February 27, 2024, 02:16:52 PM »
Maybe this has been mentioned before, but...

I need to make some changes to a program that uses EIPMSG to multiple devices. I'll be using strings and everything is already set up for Built-In Memory only (C-more).

While SS0 and SL0 aren't intentionally used anywhere, SS0 is a default element in EIPMSG that always shows grayed out. I can't change these unless I am using them (I'm not).

SS0 does not show up in Cross Reference or Find. But SL0 does and every EIPMSG is where they are found.

Exporting a program with one rung with default values in EIPMSG provides:

EIPMSG @IntEIPClient 2130706433 44818 0x4 0x65 0x3 0x2E0 DST511 SL0 DST511 DST511 SL0 D1 D2 4 DST511 SL0 DST511 DST511 DST511 0 0x0 C1 C2 DST511 DST511

So is SL0 used or not?
I don't want to have a bunch of hits on instructions that shouldn't contain an element I can't see. I also don't need to change anything in the EIPMSG instructions for this new programming revision.

And finally, if I change all three SL0 to SL60 in the txt file and import that back, I no longer find SL0. I do find three SL60's and the instruction still only shows SS0 grayed out.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3858
    • Host Engineering
Re: EIPMSG and SL0 in Cross Reference or Find
« Reply #1 on: February 27, 2024, 03:31:09 PM »
Sadly, it's just a place holder for an "unused string parameter".  We have an ACTUAL place holder for unused bit and unused numeric parameters, but not for string - hence SS0 or SL0 gets used as the "stub".

Hence, some instructions that have unused "optional" parameters and SS0 or SL0 in Designer, and it shows up in Cross Reference (it should NOT because it really is NOT an actual parameter in the PLC instruction - it's just a placeholder in Designer).

It has been fixed in Designer 2.10 due out next.  I will double check to make sure it works as everyone expects it should (sorry).

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3858
    • Host Engineering
Re: EIPMSG and SL0 in Cross Reference or Find
« Reply #2 on: February 27, 2024, 03:38:39 PM »
Yeah, it's fixed.  I imported your example and SL0 does not show up in Cross Reference (see attached screen shot)

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3858
    • Host Engineering
Re: EIPMSG and SL0 in Cross Reference or Find
« Reply #3 on: February 27, 2024, 03:40:00 PM »
But it shows up in Find  ::)

We'll look at it (should be easy fix).

Mike Nash

  • Hero Member
  • *****
  • Posts: 655
Re: EIPMSG and SL0 in Cross Reference or Find
« Reply #4 on: February 27, 2024, 03:52:37 PM »
Thanks!

It's not a show stopper, but was a bit confusing. That's the first time I ran across that - or at least noticed.

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3858
    • Host Engineering
Re: EIPMSG and SL0 in Cross Reference or Find
« Reply #5 on: February 27, 2024, 04:00:19 PM »
Fixed.  We had added a query to Designer's "CInstruction" C++ class
bool IsTempString(int iParmNum);

We added the call to the new query to Cross Reference, but did not add it to the Find routine.

It's there now - 2 line fix.