Communication Line bound to server signal limitation

Forum Home Forums Runtime Bugs Communicator Bugs Communication Line bound to server signal limitation

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #8814
    JW
    Participant

    I have following setup at first
    1 Commutation line -> 1 Device -> 1×8000 signals.

    commutation line [1]
    |- device [11]
         |- 8000 signals (160Groups x 50Elements/Group)

    it turns out that the communicator can get all signals correctly, but can only send about 2810 signals to server.
    e.g. InCnl of signal 2811 will have correct Val but Stat of 0. the InCnl with signal larger than 2811 will have Val of 0 and Stat of 0.

    then I change to following setup, 1 commutation line -> 8devices -> 8×1000 signals.

    commutation line [1]
    |- device [11]
         |- 1000 signals (20Groups x 50Elements/Group)
    |- device [12]
         |- 1000 signals(20Groups x 50Elements/Group)
    |....
    |....
    |- device [18]
         |- 1000 signals (20Groups x 50Elements/Group)

    then all the communicator can send all signals to server

    #8822
    Mikhail
    Moderator

    After a polling session is finished, Communicator sends data to the Server app. It sends data device by device. Usually it sends only modified data (it depends on the configuration). So when you split devices, it sends data correctly.

    However, the limit of 2810 signals should not be the maximum. I expect that the max. is 4680 according to the binary protocol between Communicator and Server.
    Could you check if there are any errors in Communicator and Server log files?

    #8823
    Mikhail
    Moderator

    Likely, 2810 signals is caused by data length overflow. You should try 4500 signals.

    #8827
    JW
    Participant

    Thanks Mikhail. I checked my other project, 3000 signals per device worked correctly. So surely 2810 is not the limit.
    Will test 4000 and 4500. 4000×2 is much more convenient than 8×1000, and should be enough for most of my projects.

    #8832
    Mikhail
    Moderator

    Share the results please.

    #8870
    JW
    Participant

    My Test Result

    When doing 1000,2000,3000,4000 signals per device, every thing works well.

    When doing 5000 signals per device, communicator gets all the signals, but only 318 signals are sent to server. (which is different from 8000 signal test)

    the signals sent to server seems to be uncertain when the limit is exceeded.

    #8874
    Mikhail
    Moderator

    Thank you for the info.

    the signals sent to server seems to be uncertain when the limit is exceeded.

    It’s because of integer overflow. 5001 signals would send 319 items.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.