[go: up one dir, main page]

Menu

#22 Multiple ID,

1.0
closed
None
2022-03-11
2021-12-01
fleaplc
No

Hi, first of all congrats for great job with ModRSsim2.
I'm testing it with client as follow:
* multiple ID (1 to 7)
* registers to read/write : from 1 to 13000

The ModRSsim2 return "illegal data address" on node id 6,11,17,21,26 (every 5th ID) for reading/writing registers address bigger than 2680

1 Attachments

Related

Bugs: #22

Discussion

  • Doug Lyons

    Doug Lyons - 2021-12-02

    Also, please turn on logging and capture some example communications for me and attached it here. Thanks.

     
  • Doug Lyons

    Doug Lyons - 2021-12-02

    You should use the 'F1' key when ModRSsim2 is the active window to see the help file and search for "Log" to answer your questions. I have attached a picture here that shows what it says. The file will be named "DEBUG.TXT" and will be in the same directory where ModRSsim2 resides. Thanks.

     
  • Doug Lyons

    Doug Lyons - 2021-12-02

    OK. I believe that I see what is happening here. We only have a maximum of 65536 registers that we can use. If you are assigning 13000 registers per station then we can calculate the maximum stations that you can use as the integer of 65536 / 13000 which is 5. So you can only have 5 stations and so you get the error on station #6. There is a wrap-around effect probably that allows you to use numbers higher than this, that probably should be trapped and reported as an error. On the next revision of the program I will try and implement that. Also, on this Advanced Emulation Diaglog box I might add a calculation of the maximum stations available. It seems since your example was using less than 3000 that you might only use 3000 registers per station and then the program would emulate 65536 / 3000 = 21 stations. This is a program limitation and should probably be pointed out in the documentation and I will try and add it on the next revision. Thanks for your feedback and questions. Doug Lyons

     
    • fleaplc

      fleaplc - 2021-12-03

      Hi Doug, I realized to 5th station "illegal data address" was due to 13000
      I set... Thanks for confirm. I get a workaround by voiding to use ID
      5,11,16.... If in the future you'll get a fix, please inform me Do you have
      a newsletter or similar I can register into?
      Fabrizio

      On Thu, Dec 2, 2021 at 6:18 PM Doug Lyons douglyons@users.sourceforge.net
      wrote:

      OK. I believe that I see what is happening here. We only have a maximum of
      65536 registers that we can use. If you are assigning 13000 registers per
      station then we can calculate the maximum stations that you can use as the
      integer of 65536 / 13000 which is 5. So you can only have 5 stations and so
      you get the error on station #6. There is a wrap-around effect probably
      that allows you to use numbers higher than this, that probably should be
      trapped and reported as an error. On the next revision of the program I
      will try and implement that. Also, on this Advanced Emulation Diaglog box I
      might add a calculation of the maximum stations available. It seems since
      your example was using less than 3000 that you might only use 3000
      registers per station and then the program would emulate 65536 / 3000 = 21
      stations. This is a program limitation and should probably be pointed out
      in the documentation and I will try and add it on the next revision. Thanks
      for your feedback and questions. Doug Lyons


      Status: open
      Milestone: 1.0
      Created: Wed Dec 01, 2021 04:23 PM UTC by fleaplc
      Last Updated: Thu Dec 02, 2021 05:00 PM UTC
      Owner: nobody
      Attachments:

      Hi, first of all congrats for great job with ModRSsim2.
      I'm testing it with client as follow:

      • multiple ID (1 to 7) * registers to read/write : from 1 to 13000

      The ModRSsim2 return "illegal data address" on node id 6,11,17,21,26
      (every 5th ID) for reading/writing registers address bigger than 2680


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/modrssim2/tickets/22/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #22

  • Doug Lyons

    Doug Lyons - 2022-03-11
    • status: open --> closed
    • assigned_to: Doug Lyons
     
  • Doug Lyons

    Doug Lyons - 2022-03-11

    Closing now. This is actually a feature request and not a bug. Thanks.

     

Log in to post a comment.