Announcement

Collapse
No announcement yet.

Beta testing Modbus 3.4.x

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • John245
    replied
    Originally posted by beerygaz View Post
    John, did you get any resolution on your writing of registers? Is it working now?
    Hi Beerygaz,

    It was not working yet.

    Did you change something? And what were the changes you made.

    Currently my License is expires so I can not test anything.

    ---
    John

    Leave a comment:


  • beerygaz
    replied
    John, did you get any resolution on your writing of registers? Is it working now?

    Leave a comment:


  • PLCCypher
    replied
    So I was having some issues and decided to delete my IP-RTU Master. Now it will not add back into the system. Here is what I see in the logs. Does it matter if it is enabled on creation?

    Jan-25 11:25:52 PM Modbus Error Error in ConfigGatewayIPDevicePost: The given key was not present in the dictionary.
    Jan-25 11:25:20 PM Modbus Error Error configuring the gateway.
    Jan-25 11:25:20 PM Modbus Error Error in GetNewGatewayInstance: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 66.96.162.92:502
    Jan-25 11:24:58 PM Modbus Created a device with reference 477 for Gateway Device
    Jan-25 11:24:58 PM Modbus Creating gateway device for plugin

    Thanks!

    Jason

    Leave a comment:


  • John245
    replied
    Issue found - write multiple registeres (0x10)

    Originally posted by John245 View Post
    Hi Beerygaz,

    Did I point you to the right direction to solve the writing multiple registers issue or do you want me to perform some specific testing?

    ---
    John
    Hi Beerygaz,

    I used an RS-232 sniffer to troubleshoot.

    I can confirm that the current status in the device list is written to the Modbus slave.


    That also clarifies why the correct value is written when I submit the value 2 times in a row.

    Looking forward for a new beta release.
    ---
    John

    Leave a comment:


  • John245
    replied
    Hi Beerygaz,

    Did I point you to the right direction to solve the writing multiple registers issue or do you want me to perform some specific testing?

    ---
    John

    Leave a comment:


  • John245
    replied
    Hi Byreegaz,

    See the LOG below.

    When I submit two times the value 200 to device 47398 with a read of the address in between the first and second submission the initial value is shown.

    When I submit two times the value 200 to device 47398 without a read between the first and the second submission the correct value is written to the address.

    It looks that the old value stored for the devices is submitted. This also explains submitting of '0' directly after enabling the PI.

    Hopes this help


    Jan-18 15:56:54 Modbus Debug Updating device 47398 : Address 47398 as HoldingRegister:Int16 to 200
    Jan-18 15:56:54 Modbus Debug Updating device 43009 : Address 43009 as HoldingRegister:Int16 to 367
    Jan-18 15:56:54 Modbus Debug Updating device 43420 : Address 43420 as HoldingRegister:Int16 to 2913
    Jan-18 15:56:53 Modbus Debug Updating device 40081 : Address 40081 as HoldingRegister:Int16 to 70
    Jan-18 15:56:53 Modbus Debug Updating device 40083 : Address 40083 as HoldingRegister:Int16 to 8
    Jan-18 15:56:53 Modbus Debug Updating device 43005 : Address 43005 as HoldingRegister:Int16 to -132
    Jan-18 15:56:53 Modbus Debug Updating device 40016 : Address 40016 as HoldingRegister:Int16 to 108
    Jan-18 15:56:53 Modbus Debug Updating device 40033 : Address 40033 as HoldingRegister:Int16 to 199
    Jan-18 15:56:53 Modbus Debug Updating device 40079 : Address 40079 as HoldingRegister:Int16 to 62
    Jan-18 15:56:53 Modbus Debug Updating device 40014 : Address 40014 as HoldingRegister:Int16 to 447
    Jan-18 15:56:53 Modbus Debug Updating device 40015 : Address 40015 as HoldingRegister:Int16 to 127
    Jan-18 15:56:53 Modbus Debug Updating device 40008 : Address 40008 as HoldingRegister:Int16 to 349
    Jan-18 15:56:53 Modbus Debug Updating device 40012 : Address 40012 as HoldingRegister:Int16 to 349
    Jan-18 15:56:53 Modbus Debug Updating device 40013 : Address 40013 as HoldingRegister:Int16 to 472
    Jan-18 15:56:53 Modbus Debug Updating device 40004 : Address 40004 as HoldingRegister:Int16 to -8
    Value 200 submitted to device 47398
    Jan-18 15:56:52 Modbus Debug Read Slave: 1 Address: 47398 HoldingRegister:Int16 as 200
    Jan-18 15:56:51 Modbus Debug Trying Slave: 1 Address: 47398 HoldingRegister:Int16
    Jan-18 15:56:50 Modbus Debug Read Slave: 1 Address: 43420 HoldingRegister:Int16 as 2913
    Jan-18 15:56:48 Modbus Debug Trying Slave: 1 Address: 43420 HoldingRegister:Int16
    Jan-18 15:56:47 Modbus Debug Read Slave: 1 Address: 43009 HoldingRegister:Int16 as 367
    Jan-18 15:56:46 Modbus Debug Trying Slave: 1 Address: 43009 HoldingRegister:Int16
    Jan-18 15:56:45 Modbus Debug Read Slave: 1 Address: 43005 HoldingRegister:Int16 as -132
    Jan-18 15:56:45 Modbus Debug Trying Slave: 1 Address: 43005 HoldingRegister:Int16
    Jan-18 15:56:44 Modbus Debug Read Slave: 1 Address: 40083 HoldingRegister:Int16 as 8
    Jan-18 15:56:42 Modbus Debug Trying Slave: 1 Address: 40083 HoldingRegister:Int16
    Jan-18 15:56:41 Modbus Debug Read Slave: 1 Address: 40081 HoldingRegister:Int16 as 70
    Jan-18 15:56:40 Modbus Debug Trying Slave: 1 Address: 40081 HoldingRegister:Int16
    Jan-18 15:56:39 Modbus Debug Read Slave: 1 Address: 40079 HoldingRegister:Int16 as 62
    Jan-18 15:56:37 Modbus Debug Trying Slave: 1 Address: 40079 HoldingRegister:Int16
    Jan-18 15:56:36 Modbus Debug Read Slave: 1 Address: 40033 HoldingRegister:Int16 as 199
    Jan-18 15:56:36 Modbus Debug Trying Slave: 1 Address: 40033 HoldingRegister:Int16
    Jan-18 15:56:35 Modbus Debug Read Slave: 1 Address: 40016 HoldingRegister:Int16 as 108
    Jan-18 15:56:35 Modbus Debug Trying Slave: 1 Address: 40016 HoldingRegister:Int16
    Jan-18 15:56:34 Modbus Debug Read Slave: 1 Address: 40015 HoldingRegister:Int16 as 127
    Jan-18 15:56:34 Modbus Debug Trying Slave: 1 Address: 40015 HoldingRegister:Int16
    Jan-18 15:56:33 Modbus Debug Read Slave: 1 Address: 40014 HoldingRegister:Int16 as 447
    Jan-18 15:56:33 Modbus Debug Trying Slave: 1 Address: 40014 HoldingRegister:Int16
    Jan-18 15:56:32 Modbus Debug Read Slave: 1 Address: 40013 HoldingRegister:Int16 as 472
    Jan-18 15:56:32 Modbus Debug Trying Slave: 1 Address: 40013 HoldingRegister:Int16
    Jan-18 15:56:31 Modbus Debug Read Slave: 1 Address: 40012 HoldingRegister:Int16 as 349
    Jan-18 15:56:31 Modbus Debug Trying Slave: 1 Address: 40012 HoldingRegister:Int16
    Jan-18 15:56:30 Modbus Debug Read Slave: 1 Address: 40008 HoldingRegister:Int16 as 349
    Jan-18 15:56:30 Modbus Debug Trying Slave: 1 Address: 40008 HoldingRegister:Int16
    Jan-18 15:56:29 Modbus Debug Read Slave: 1 Address: 40004 HoldingRegister:Int16 as -8
    Jan-18 15:56:29 Modbus Debug Polling Modbus RTU Gateway. Reading 15 registers from slaves
    Jan-18 15:56:29 Modbus Debug Trying Slave: 1 Address: 40004 HoldingRegister:Int16
    two consecutive submitments (without read in between) to device 47398 (value = 200)
    Jan-18 15:55:22 Modbus Debug Updating device 47398 : Address 47398 as HoldingRegister:Int16 to 200
    Jan-18 15:55:21 Modbus Debug SetIOMulti set value: 200->ref:729
    Jan-18 15:55:16 Modbus Debug Updating device 47398 : Address 47398 as HoldingRegister:Int16 to 200
    Jan-18 15:55:15 Modbus Debug SetIOMulti set value: 200->ref:729
    Jan-18 15:54:54 Modbus Debug Updating device 47398 : Address 47398 as HoldingRegister:Int16 to 203
    Jan-18 15:54:54 Modbus Debug Updating device 43009 : Address 43009 as HoldingRegister:Int16 to 378
    Jan-18 15:54:54 Modbus Debug Updating device 43420 : Address 43420 as HoldingRegister:Int16 to 2913
    Jan-18 15:54:54 Modbus Debug Updating device 40081 : Address 40081 as HoldingRegister:Int16 to 5
    Jan-18 15:54:54 Modbus Debug Updating device 40083 : Address 40083 as HoldingRegister:Int16 to 11
    Jan-18 15:54:54 Modbus Debug Updating device 43005 : Address 43005 as HoldingRegister:Int16 to -89
    Jan-18 15:54:54 Modbus Debug Updating device 40033 : Address 40033 as HoldingRegister:Int16 to 200
    Jan-18 15:54:54 Modbus Debug Updating device 40079 : Address 40079 as HoldingRegister:Int16 to 12
    Jan-18 15:54:54 Modbus Debug Updating device 40016 : Address 40016 as HoldingRegister:Int16 to 96
    Jan-18 15:54:53 Modbus Debug Updating device 40014 : Address 40014 as HoldingRegister:Int16 to 447
    Jan-18 15:54:53 Modbus Debug Updating device 40015 : Address 40015 as HoldingRegister:Int16 to 125
    Jan-18 15:54:53 Modbus Debug Updating device 40013 : Address 40013 as HoldingRegister:Int16 to 472
    Jan-18 15:54:53 Modbus Debug Updating device 40012 : Address 40012 as HoldingRegister:Int16 to 353
    Jan-18 15:54:53 Modbus Debug Updating device 40008 : Address 40008 as HoldingRegister:Int16 to 353
    Jan-18 15:54:53 Modbus Debug Updating device 40004 : Address 40004 as HoldingRegister:Int16 to -7
    Read device 47398, result = 203 (=initial value); read between second submitment of value.
    Jan-18 15:54:52 Modbus Debug Read Slave: 1 Address: 47398 HoldingRegister:Int16 as 203
    Jan-18 15:54:51 Modbus Debug Trying Slave: 1 Address: 47398 HoldingRegister:Int16
    Jan-18 15:54:49 Modbus Debug Read Slave: 1 Address: 43420 HoldingRegister:Int16 as 2913
    Jan-18 15:54:48 Modbus Debug Trying Slave: 1 Address: 43420 HoldingRegister:Int16
    Jan-18 15:54:47 Modbus Debug Read Slave: 1 Address: 43009 HoldingRegister:Int16 as 378
    Jan-18 15:54:46 Modbus Debug Trying Slave: 1 Address: 43009 HoldingRegister:Int16
    Jan-18 15:54:45 Modbus Debug Read Slave: 1 Address: 43005 HoldingRegister:Int16 as -89
    Jan-18 15:54:45 Modbus Debug Trying Slave: 1 Address: 43005 HoldingRegister:Int16
    Jan-18 15:54:44 Modbus Debug Read Slave: 1 Address: 40083 HoldingRegister:Int16 as 11
    Jan-18 15:54:43 Modbus Debug Trying Slave: 1 Address: 40083 HoldingRegister:Int16
    Jan-18 15:54:42 Modbus Debug Read Slave: 1 Address: 40081 HoldingRegister:Int16 as 5
    Jan-18 15:54:40 Modbus Debug Trying Slave: 1 Address: 40081 HoldingRegister:Int16
    Jan-18 15:54:38 Modbus Debug Read Slave: 1 Address: 40079 HoldingRegister:Int16 as 12
    Jan-18 15:54:37 Modbus Debug Trying Slave: 1 Address: 40079 HoldingRegister:Int16
    Jan-18 15:54:36 Modbus Debug Read Slave: 1 Address: 40033 HoldingRegister:Int16 as 200
    Jan-18 15:54:36 Modbus Debug Trying Slave: 1 Address: 40033 HoldingRegister:Int16
    Jan-18 15:54:35 Modbus Debug Read Slave: 1 Address: 40016 HoldingRegister:Int16 as 96
    Jan-18 15:54:35 Modbus Debug Trying Slave: 1 Address: 40016 HoldingRegister:Int16
    Jan-18 15:54:34 Modbus Debug Read Slave: 1 Address: 40015 HoldingRegister:Int16 as 125
    Jan-18 15:54:34 Modbus Debug Trying Slave: 1 Address: 40015 HoldingRegister:Int16
    Jan-18 15:54:33 Modbus Debug Read Slave: 1 Address: 40014 HoldingRegister:Int16 as 447
    Jan-18 15:54:33 Modbus Debug Trying Slave: 1 Address: 40014 HoldingRegister:Int16
    Jan-18 15:54:32 Modbus Debug Read Slave: 1 Address: 40013 HoldingRegister:Int16 as 472
    Jan-18 15:54:32 Modbus Debug Trying Slave: 1 Address: 40013 HoldingRegister:Int16
    Jan-18 15:54:31 Modbus Debug Read Slave: 1 Address: 40012 HoldingRegister:Int16 as 353
    Jan-18 15:54:31 Modbus Debug Trying Slave: 1 Address: 40012 HoldingRegister:Int16
    Jan-18 15:54:30 Modbus Debug Read Slave: 1 Address: 40008 HoldingRegister:Int16 as 353
    Jan-18 15:54:30 Modbus Debug Trying Slave: 1 Address: 40008 HoldingRegister:Int16
    Jan-18 15:54:29 Modbus Debug Read Slave: 1 Address: 40004 HoldingRegister:Int16 as -7
    Jan-18 15:54:29 Modbus Debug Trying Slave: 1 Address: 40004 HoldingRegister:Int16
    Jan-18 15:54:29 Modbus Debug Polling Modbus RTU Gateway. Reading 15 registers from slaves
    Jan-18 15:53:30 Modbus Debug Updating device 47398 : Address
    47398 as HoldingRegister:Int16 to 200
    Second submitment value 200 to device 47398 with read between 1st and 2nd submitment
    Jan-18 15:53:29 Modbus Debug SetIOMulti set value: 200->ref:729
    Jan-18 15:52:53 Modbus Debug Updating device 47398 : Address 47398 as HoldingRegister:Int16 to 203
    Jan-18 15:52:53 Modbus Debug Updating device 43005 : Address 43005 as HoldingRegister:Int16 to -44
    Jan-18 15:52:53 Modbus Debug Updating device 43009 : Address 43009 as HoldingRegister:Int16 to 378
    Jan-18 15:52:53 Modbus Debug Updating device 43420 : Address 43420 as HoldingRegister:Int16 to 2913
    Jan-18 15:52:53 Modbus Debug Updating device 40081 : Address 40081 as HoldingRegister:Int16 to 92
    Jan-18 15:52:53 Modbus Debug Updating device 40083 : Address 40083 as HoldingRegister:Int16 to 20
    Jan-18 15:52:53 Modbus Debug Updating device 40033 : Address 40033 as HoldingRegister:Int16 to 201
    Jan-18 15:52:53 Modbus Debug Updating device 40079 : Address 40079 as HoldingRegister:Int16 to 67
    Jan-18 15:52:53 Modbus Debug Updating device 40014 : Address 40014 as HoldingRegister:Int16 to 447
    Jan-18 15:52:53 Modbus Debug Updating device 40015 : Address 40015 as HoldingRegister:Int16 to 120
    Jan-18 15:52:53 Modbus Debug Updating device 40016 : Address 40016 as HoldingRegister:Int16 to 80
    Jan-18 15:52:53 Modbus Debug Updating device 40008 : Address 40008 as HoldingRegister:Int16 to 358
    Jan-18 15:52:53 Modbus Debug Updating device 40012 : Address 40012 as HoldingRegister:Int16 to 359
    Jan-18 15:52:53 Modbus Debug Updating device 40013 : Address 40013 as HoldingRegister:Int16 to 473
    Jan-18 15:52:53 Modbus Debug Updating device 40004 : Address 40004 as HoldingRegister:Int16 to -7
    Read 47398, value is 203 = initial value
    Jan-18 15:52:52 Modbus Debug Read Slave: 1 Address: 47398 HoldingRegister:Int16 as 203
    Jan-18 15:52:50 Modbus Debug Trying Slave: 1 Address: 47398 HoldingRegister:Int16
    Jan-18 15:52:49 Modbus Debug Read Slave: 1 Address: 43420 HoldingRegister:Int16 as 2913
    Jan-18 15:52:48 Modbus Debug Trying Slave: 1 Address: 43420 HoldingRegister:Int16
    Jan-18 15:52:47 Modbus Debug Read Slave: 1 Address: 43009 HoldingRegister:Int16 as 378
    Jan-18 15:52:47 Modbus Debug Trying Slave: 1 Address: 43009 HoldingRegister:Int16
    Jan-18 15:52:46 Modbus Debug Read Slave: 1 Address: 43005 HoldingRegister:Int16 as -44
    Jan-18 15:52:45 Modbus Debug Trying Slave: 1 Address: 43005 HoldingRegister:Int16
    Jan-18 15:52:43 Modbus Debug Trying Slave: 1 Address: 40083 HoldingRegister:Int16
    Jan-18 15:52:42 Modbus Debug Read Slave: 1 Address: 40081 HoldingRegister:Int16 as 92
    Jan-18 15:52:40 Modbus Debug Trying Slave: 1 Address: 40081 HoldingRegister:Int16
    Jan-18 15:52:39 Modbus Debug Read Slave: 1 Address: 40079 HoldingRegister:Int16 as 67
    Jan-18 15:52:37 Modbus Debug Trying Slave: 1 Address: 40079 HoldingRegister:Int16
    Jan-18 15:52:36 Modbus Debug Read Slave: 1 Address: 40033 HoldingRegister:Int16 as 201
    Jan-18 15:52:36 Modbus Debug Trying Slave: 1 Address: 40033 HoldingRegister:Int16
    Jan-18 15:52:35 Modbus Debug Read Slave: 1 Address: 40016 HoldingRegister:Int16 as 80
    Jan-18 15:52:35 Modbus Debug Trying Slave: 1 Address: 40016 HoldingRegister:Int16
    Jan-18 15:52:34 Modbus Debug Read Slave: 1 Address: 40015 HoldingRegister:Int16 as 120
    Jan-18 15:52:34 Modbus Debug Trying Slave: 1 Address: 40015 HoldingRegister:Int16
    Jan-18 15:52:33 Modbus Debug Read Slave: 1 Address: 40014 HoldingRegister:Int16 as 447
    Jan-18 15:52:33 Modbus Debug Trying Slave: 1 Address: 40014 HoldingRegister:Int16
    Jan-18 15:52:32 Modbus Debug Read Slave: 1 Address: 40013 HoldingRegister:Int16 as 473
    Jan-18 15:52:32 Modbus Debug Trying Slave: 1 Address: 40013 HoldingRegister:Int16
    Jan-18 15:52:31 Modbus Debug Read Slave: 1 Address: 40012 HoldingRegister:Int16 as 359
    Jan-18 15:52:31 Modbus Debug Trying Slave: 1 Address: 40012 HoldingRegister:Int16
    Jan-18 15:52:30 Modbus Debug Read Slave: 1 Address: 40008 HoldingRegister:Int16 as 358
    Jan-18 15:52:30 Modbus Debug Trying Slave: 1 Address: 40008 HoldingRegister:Int16
    Jan-18 15:52:29 Modbus Debug Read Slave: 1 Address: 40004 HoldingRegister:Int16 as -7
    Jan-18 15:52:29 Modbus Debug Polling Modbus RTU Gateway. Reading 15 registers from slaves
    Jan-18 15:52:29 Modbus Debug Trying Slave: 1 Address: 40004 HoldingRegister:Int16
    Submit value 200 to device 47398, status change to 200
    Jan-18 15:51:22 Modbus Debug Updating device 47398 : Address 47398 as HoldingRegister:Int16 to 200
    Jan-18 15:51:21 Modbus Debug SetIOMulti set value: 200->ref:729
    Initial value (203)
    Jan-18 15:50:52 Modbus Debug Updating device 47398 : Address 47398 as HoldingRegister:Int16 to 203


    ---
    John

    Leave a comment:


  • John245
    replied
    Hi Beerygaz,

    Please find attached the log when I submit the value twice. In this case the value is correctly submitted. I repeated this once so 2 consecutive successes.

    I hope this will help to solve the issue.

    Second try

    Correctly read of new value
    Jan-18 13:40:51 Modbus Debug Read Slave: 1 Address: 47398 HoldingRegister:Int16 as 203
    Jan-18 13:40:49 Modbus Debug Trying Slave: 1 Address: 47398 HoldingRegister:Int16
    Jan-18 13:40:48 Modbus Debug Read Slave: 1 Address: 43420 HoldingRegister:Int16 as 2911
    Jan-18 13:40:46 Modbus Debug Trying Slave: 1 Address: 43420 HoldingRegister:Int16
    Jan-18 13:40:45 Modbus Debug Read Slave: 1 Address: 43009 HoldingRegister:Int16 as 386
    Jan-18 13:40:45 Modbus Debug Trying Slave: 1 Address: 43009 HoldingRegister:Int16
    Jan-18 13:40:44 Modbus Debug Read Slave: 1 Address: 43005 HoldingRegister:Int16 as -361
    Jan-18 13:40:44 Modbus Debug Trying Slave: 1 Address: 43005 HoldingRegister:Int16
    Jan-18 13:40:43 Modbus Debug Read Slave: 1 Address: 40083 HoldingRegister:Int16 as 12
    Jan-18 13:40:41 Modbus Debug Trying Slave: 1 Address: 40083 HoldingRegister:Int16
    Jan-18 13:40:40 Modbus Debug Read Slave: 1 Address: 40081 HoldingRegister:Int16 as 26
    Jan-18 13:40:38 Modbus Debug Trying Slave: 1 Address: 40081 HoldingRegister:Int16
    Jan-18 13:40:37 Modbus Debug Read Slave: 1 Address: 40079 HoldingRegister:Int16 as 18
    Jan-18 13:40:36 Modbus Debug Trying Slave: 1 Address: 40079 HoldingRegister:Int16
    Jan-18 13:40:35 Modbus Debug Read Slave: 1 Address: 40033 HoldingRegister:Int16 as 200
    Jan-18 13:40:35 Modbus Debug Trying Slave: 1 Address: 40033 HoldingRegister:Int16
    Jan-18 13:40:34 Modbus Debug Read Slave: 1 Address: 40016 HoldingRegister:Int16 as 11
    Jan-18 13:40:34 Modbus Debug Trying Slave: 1 Address: 40016 HoldingRegister:Int16
    Jan-18 13:40:32 Modbus Debug Read Slave: 1 Address: 40015 HoldingRegister:Int16 as 62
    Jan-18 13:40:32 Modbus Debug Trying Slave: 1 Address: 40015 HoldingRegister:Int16
    Jan-18 13:40:31 Modbus Debug Read Slave: 1 Address: 40014 HoldingRegister:Int16 as 455
    Jan-18 13:40:31 Modbus Debug Trying Slave: 1 Address: 40014 HoldingRegister:Int16
    Jan-18 13:40:30 Modbus Debug Read Slave: 1 Address: 40013 HoldingRegister:Int16 as 482
    Jan-18 13:40:30 Modbus Debug Trying Slave: 1 Address: 40013 HoldingRegister:Int16
    Jan-18 13:40:29 Modbus Debug Read Slave: 1 Address: 40012 HoldingRegister:Int16 as 343
    Jan-18 13:40:29 Modbus Debug Trying Slave: 1 Address: 40012 HoldingRegister:Int16
    Jan-18 13:40:28 Modbus Debug Read Slave: 1 Address: 40008 HoldingRegister:Int16 as 407
    Jan-18 13:40:28 Modbus Debug Trying Slave: 1 Address: 40008 HoldingRegister:Int16
    Jan-18 13:40:27 Modbus Debug Read Slave: 1 Address: 40004 HoldingRegister:Int16 as -4
    Jan-18 13:40:27 Modbus Debug Polling Modbus RTU Gateway. Reading 15 registers from slaves
    Jan-18 13:40:27 Modbus Debug Trying Slave: 1 Address: 40004 HoldingRegister:Int16
    Submitting new value (203) twice
    Jan-18 13:39:23 Modbus Debug Updating device 47398 : Address 47398 as HoldingRegister:Int16 to 203
    Jan-18 13:39:22 Modbus Debug SetIOMulti set value: 203->ref:729
    Jan-18 13:39:19 Modbus Debug Updating device 47398 : Address 47398 as HoldingRegister:Int16 to 203
    Jan-18 13:39:18 Modbus Debug SetIOMulti set value: 203->ref:729
    Jan-18 13:38:52 Modbus Debug Updating device 43420 : Address 43420 as HoldingRegister:Int16 to 2911
    Initial value
    Jan-18 13:38:52 Modbus Debug Updating device 47398 : Address 47398 as HoldingRegister:Int16 to 204

    =========================================

    Correctly read of new value
    Jan-18 13:36:51 Modbus Debug Read Slave: 1 Address: 47398 HoldingRegister:Int16 as 204
    Jan-18 13:36:49 Modbus Debug Trying Slave: 1 Address: 47398 HoldingRegister:Int16
    Jan-18 13:36:48 Modbus Debug Read Slave: 1 Address: 43420 HoldingRegister:Int16 as 2911
    Jan-18 13:36:46 Modbus Debug Trying Slave: 1 Address: 43420 HoldingRegister:Int16
    Jan-18 13:36:45 Modbus Debug Read Slave: 1 Address: 43009 HoldingRegister:Int16 as 386
    Jan-18 13:36:45 Modbus Debug Trying Slave: 1 Address: 43009 HoldingRegister:Int16
    Jan-18 13:36:44 Modbus Debug Read Slave: 1 Address: 43005 HoldingRegister:Int16 as -432
    Jan-18 13:36:44 Modbus Debug Trying Slave: 1 Address: 43005 HoldingRegister:Int16
    Jan-18 13:36:43 Modbus Debug Read Slave: 1 Address: 40083 HoldingRegister:Int16 as 16
    Jan-18 13:36:41 Modbus Debug Trying Slave: 1 Address: 40083 HoldingRegister:Int16
    Jan-18 13:36:40 Modbus Debug Read Slave: 1 Address: 40081 HoldingRegister:Int16 as 28
    Jan-18 13:36:38 Modbus Debug Trying Slave: 1 Address: 40081 HoldingRegister:Int16
    Jan-18 13:36:37 Modbus Debug Read Slave: 1 Address: 40079 HoldingRegister:Int16 as 16
    Jan-18 13:36:36 Modbus Debug Trying Slave: 1 Address: 40079 HoldingRegister:Int16
    Jan-18 13:36:35 Modbus Debug Read Slave: 1 Address: 40033 HoldingRegister:Int16 as 198
    Jan-18 13:36:35 Modbus Debug Trying Slave: 1 Address: 40033 HoldingRegister:Int16
    Jan-18 13:36:34 Modbus Debug Read Slave: 1 Address: 40016 HoldingRegister:Int16 as 12
    Jan-18 13:36:34 Modbus Debug Trying Slave: 1 Address: 40016 HoldingRegister:Int16
    Jan-18 13:36:32 Modbus Debug Read Slave: 1 Address: 40015 HoldingRegister:Int16 as 63
    Jan-18 13:36:32 Modbus Debug Trying Slave: 1 Address: 40015 HoldingRegister:Int16
    Jan-18 13:36:31 Modbus Debug Read Slave: 1 Address: 40014 HoldingRegister:Int16 as 455
    Jan-18 13:36:31 Modbus Debug Trying Slave: 1 Address: 40014 HoldingRegister:Int16
    Jan-18 13:36:30 Modbus Debug Read Slave: 1 Address: 40013 HoldingRegister:Int16 as 482
    Jan-18 13:36:30 Modbus Debug Trying Slave: 1 Address: 40013 HoldingRegister:Int16
    Jan-18 13:36:29 Modbus Debug Read Slave: 1 Address: 40012 HoldingRegister:Int16 as 342
    Jan-18 13:36:29 Modbus Debug Trying Slave: 1 Address: 40012 HoldingRegister:Int16
    Jan-18 13:36:28 Modbus Debug Read Slave: 1 Address: 40008 HoldingRegister:Int16 as 404
    Jan-18 13:36:28 Modbus Debug Trying Slave: 1 Address: 40008 HoldingRegister:Int16
    Jan-18 13:36:27 Modbus Debug Read Slave: 1 Address: 40004 HoldingRegister:Int16 as -4
    Jan-18 13:36:27 Modbus Debug Polling Modbus RTU Gateway. Reading 15 registers from slaves
    Jan-18 13:36:27 Modbus Debug Trying Slave: 1 Address: 40004 HoldingRegister:Int16
    Submit new value (204) twice
    Jan-18 13:35:58 Modbus Debug Updating device 47398 : Address 47398 as HoldingRegister:Int16 to 204
    Jan-18 13:35:57 Modbus Debug SetIOMulti set value: 204->ref:729
    Jan-18 13:35:51 Modbus Debug Updating device 47398 : Address 47398 as HoldingRegister:Int16 to 204
    Jan-18 13:35:50 Modbus Debug SetIOMulti set value: 204->ref:729

    Leave a comment:


  • John245
    replied
    Beerygaz,

    Here an example of the log.

    Tried to write 203 to device 47398. Next read value is 202 (initial value)

    Jan-18 13:16:52 Modbus Debug Updating device 43420 : Address 43420 as HoldingRegister:Int16 to 2911
    Jan-18 13:16:52 Modbus Debug Updating device 47398 : Address 47398 as HoldingRegister:Int16 to 202
    Jan-18 13:16:52 Modbus Debug Updating device 40083 : Address 40083 as HoldingRegister:Int16 to 9
    Jan-18 13:16:52 Modbus Debug Updating device 43005 : Address 43005 as HoldingRegister:Int16 to -700
    Jan-18 13:16:52 Modbus Debug Updating device 43009 : Address 43009 as HoldingRegister:Int16 to 378
    Jan-18 13:16:52 Modbus Debug Updating device 40079 : Address 40079 as HoldingRegister:Int16 to 14
    Jan-18 13:16:52 Modbus Debug Updating device 40081 : Address 40081 as HoldingRegister:Int16 to 31
    Jan-18 13:16:52 Modbus Debug Updating device 40014 : Address 40014 as HoldingRegister:Int16 to 456
    Jan-18 13:16:52 Modbus Debug Updating device 40015 : Address 40015 as HoldingRegister:Int16 to 72
    Jan-18 13:16:52 Modbus Debug Updating device 40016 : Address 40016 as HoldingRegister:Int16 to 18
    Jan-18 13:16:52 Modbus Debug Updating device 40033 : Address 40033 as HoldingRegister:Int16 to 199
    Jan-18 13:16:52 Modbus Debug Updating device 40012 : Address 40012 as HoldingRegister:Int16 to 322
    Jan-18 13:16:52 Modbus Debug Updating device 40013 : Address 40013 as HoldingRegister:Int16 to 484
    Jan-18 13:16:52 Modbus Debug Updating device 40004 : Address 40004 as HoldingRegister:Int16 to -6
    Jan-18 13:16:52 Modbus Debug Updating device 40008 : Address 40008 as HoldingRegister:Int16 to 384
    Read device 47398 (initial value is shown)
    Jan-18 13:16:51 Modbus Debug Read Slave: 1 Address: 47398 HoldingRegister:Int16 as 202
    Jan-18 13:16:49 Modbus Debug Trying Slave: 1 Address: 47398 HoldingRegister:Int16
    Jan-18 13:16:48 Modbus Debug Read Slave: 1 Address: 43420 HoldingRegister:Int16 as 2911
    Jan-18 13:16:46 Modbus Debug Trying Slave: 1 Address: 43420 HoldingRegister:Int16
    Jan-18 13:16:45 Modbus Debug Read Slave: 1 Address: 43009 HoldingRegister:Int16 as 378
    Jan-18 13:16:45 Modbus Debug Trying Slave: 1 Address: 43009 HoldingRegister:Int16
    Jan-18 13:16:44 Modbus Debug Read Slave: 1 Address: 43005 HoldingRegister:Int16 as -700
    Jan-18 13:16:44 Modbus Debug Trying Slave: 1 Address: 43005 HoldingRegister:Int16
    Jan-18 13:16:43 Modbus Debug Read Slave: 1 Address: 40083 HoldingRegister:Int16 as 9
    Jan-18 13:16:41 Modbus Debug Trying Slave: 1 Address: 40083 HoldingRegister:Int16
    Jan-18 13:16:40 Modbus Debug Read Slave: 1 Address: 40081 HoldingRegister:Int16 as 31
    Jan-18 13:16:38 Modbus Debug Trying Slave: 1 Address: 40081 HoldingRegister:Int16
    Jan-18 13:16:37 Modbus Debug Read Slave: 1 Address: 40079 HoldingRegister:Int16 as 14
    Jan-18 13:16:35 Modbus Debug Trying Slave: 1 Address: 40079 HoldingRegister:Int16
    Jan-18 13:16:34 Modbus Debug Read Slave: 1 Address: 40033 HoldingRegister:Int16 as 199
    Jan-18 13:16:34 Modbus Debug Trying Slave: 1 Address: 40033 HoldingRegister:Int16
    Jan-18 13:16:33 Modbus Debug Read Slave: 1 Address: 40016 HoldingRegister:Int16 as 18
    Jan-18 13:16:33 Modbus Debug Trying Slave: 1 Address: 40016 HoldingRegister:Int16
    Jan-18 13:16:32 Modbus Debug Read Slave: 1 Address: 40015 HoldingRegister:Int16 as 72
    Jan-18 13:16:32 Modbus Debug Trying Slave: 1 Address: 40015 HoldingRegister:Int16
    Jan-18 13:16:31 Modbus Debug Read Slave: 1 Address: 40014 HoldingRegister:Int16 as 456
    Jan-18 13:16:31 Modbus Debug Trying Slave: 1 Address: 40014 HoldingRegister:Int16
    Jan-18 13:16:30 Modbus Debug Read Slave: 1 Address: 40013 HoldingRegister:Int16 as 484
    Jan-18 13:16:30 Modbus Debug Trying Slave: 1 Address: 40013 HoldingRegister:Int16
    Jan-18 13:16:29 Modbus Debug Read Slave: 1 Address: 40012 HoldingRegister:Int16 as 322
    Jan-18 13:16:29 Modbus Debug Trying Slave: 1 Address: 40012 HoldingRegister:Int16
    Jan-18 13:16:28 Modbus Debug Read Slave: 1 Address: 40008 HoldingRegister:Int16 as 384
    Jan-18 13:16:28 Modbus Debug Trying Slave: 1 Address: 40008 HoldingRegister:Int16
    Jan-18 13:16:27 Modbus Debug Read Slave: 1 Address: 40004 HoldingRegister:Int16 as -6
    Jan-18 13:16:27 Modbus Debug Polling Modbus RTU Gateway. Reading 15 registers from slaves
    Jan-18 13:16:27 Modbus Debug Trying Slave: 1 Address: 40004 HoldingRegister:Int16
    Write value 203 to device 47398
    Jan-18 13:16:13 Modbus Debug Updating device 47398 : Address 47398 as HoldingRegister:Int16 to 203
    Jan-18 13:16:12 Modbus Debug SetIOMulti set value: 203->ref:729

    ---
    John

    Leave a comment:


  • John245
    replied
    Beerygaz,

    Do you want me specific things to test ?


    ---
    John


    Sent from my iPhone using Tapatalk

    Leave a comment:


  • John245
    replied
    Originally posted by beerygaz View Post
    Anything in the log files to show when this happens? Any errors, etc?


    Sent from my iPhone using Tapatalk
    Beerygaz,

    See a log from today. PI was disabled and enabled. In first instance the update of the value to 201 resulted in a read off 0. Submitting 201 again resulted in a correct writing to the address (log should be read from bottom to top). In this case the second reading was correctly submitted without disabling and enabling the PI. I hope the log wil help you to find the issue.

    Jan-17 13:48:42 Modbus Debug Updating device 43420 : Address 43420 as HoldingRegister:Int16 to 2899
    Jan-17 13:48:42 Modbus Debug Updating device 47398 : Address 47398 as HoldingRegister:Int16 to 201
    Jan-17 13:48:42 Modbus Debug Updating device 43009 : Address 43009 as HoldingRegister:Int16 to 390
    Jan-17 13:48:42 Modbus Debug Updating device 43005 : Address 43005 as HoldingRegister:Int16 to 274
    Jan-17 13:48:42 Modbus Debug Updating device 40083 : Address 40083 as HoldingRegister:Int16 to 23
    Jan-17 13:48:42 Modbus Debug Updating device 40081 : Address 40081 as HoldingRegister:Int16 to 17
    Jan-17 13:48:42 Modbus Debug Updating device 40079 : Address 40079 as HoldingRegister:Int16 to 5
    Jan-17 13:48:42 Modbus Debug Updating device 40016 : Address 40016 as HoldingRegister:Int16 to 133
    Jan-17 13:48:42 Modbus Debug Updating device 40033 : Address 40033 as HoldingRegister:Int16 to 193
    Jan-17 13:48:42 Modbus Debug Updating device 40015 : Address 40015 as HoldingRegister:Int16 to 151
    Jan-17 13:48:42 Modbus Debug Updating device 40014 : Address 40014 as HoldingRegister:Int16 to 459
    Jan-17 13:48:42 Modbus Debug Updating device 40012 : Address 40012 as HoldingRegister:Int16 to 344
    Jan-17 13:48:42 Modbus Debug Updating device 40013 : Address 40013 as HoldingRegister:Int16 to 490
    Jan-17 13:48:42 Modbus Debug Updating device 40008 : Address 40008 as HoldingRegister:Int16 to 343
    Jan-17 13:48:42 Modbus Debug Updating device 40004 : Address 40004 as HoldingRegister:Int16 to -4
    Correct read:
    Jan-17 13:48:41 Modbus Debug Read Slave: 1 Address: 47398 HoldingRegister:Int16 as 201
    Jan-17 13:48:39 Modbus Debug Trying Slave: 1 Address: 47398 HoldingRegister:Int16
    Jan-17 13:48:38 Modbus Debug Read Slave: 1 Address: 43420 HoldingRegister:Int16 as 2899
    Jan-17 13:48:36 Modbus Debug Trying Slave: 1 Address: 43420 HoldingRegister:Int16
    Jan-17 13:48:35 Modbus Debug Read Slave: 1 Address: 43009 HoldingRegister:Int16 as 390
    Jan-17 13:48:35 Modbus Debug Trying Slave: 1 Address: 43009 HoldingRegister:Int16
    Jan-17 13:48:34 Modbus Debug Read Slave: 1 Address: 43005 HoldingRegister:Int16 as 274
    Jan-17 13:48:34 Modbus Debug Trying Slave: 1 Address: 43005 HoldingRegister:Int16
    Jan-17 13:48:33 Modbus Debug Read Slave: 1 Address: 40083 HoldingRegister:Int16 as 23
    Jan-17 13:48:31 Modbus Debug Trying Slave: 1 Address: 40083 HoldingRegister:Int16
    Jan-17 13:48:30 Modbus Debug Read Slave: 1 Address: 40081 HoldingRegister:Int16 as 17
    Jan-17 13:48:28 Modbus Debug Trying Slave: 1 Address: 40081 HoldingRegister:Int16
    Jan-17 13:48:27 Modbus Debug Read Slave: 1 Address: 40079 HoldingRegister:Int16 as 5
    Jan-17 13:48:25 Modbus Debug Trying Slave: 1 Address: 40079 HoldingRegister:Int16
    Jan-17 13:48:24 Modbus Debug Read Slave: 1 Address: 40033 HoldingRegister:Int16 as 193
    Jan-17 13:48:24 Modbus Debug Trying Slave: 1 Address: 40033 HoldingRegister:Int16
    Jan-17 13:48:23 Modbus Debug Read Slave: 1 Address: 40016 HoldingRegister:Int16 as 133
    Jan-17 13:48:23 Modbus Debug Trying Slave: 1 Address: 40016 HoldingRegister:Int16
    Jan-17 13:48:22 Modbus Debug Read Slave: 1 Address: 40015 HoldingRegister:Int16 as 151
    Jan-17 13:48:22 Modbus Debug Trying Slave: 1 Address: 40015 HoldingRegister:Int16
    Jan-17 13:48:21 Modbus Debug Read Slave: 1 Address: 40014 HoldingRegister:Int16 as 459
    Jan-17 13:48:21 Modbus Debug Trying Slave: 1 Address: 40014 HoldingRegister:Int16
    Jan-17 13:48:20 Modbus Debug Read Slave: 1 Address: 40013 HoldingRegister:Int16 as 490
    Jan-17 13:48:20 Modbus Debug Trying Slave: 1 Address: 40013 HoldingRegister:Int16
    Jan-17 13:48:19 Modbus Debug Read Slave: 1 Address: 40012 HoldingRegister:Int16 as 344
    Jan-17 13:48:19 Modbus Debug Trying Slave: 1 Address: 40012 HoldingRegister:Int16
    Jan-17 13:48:18 Modbus Debug Read Slave: 1 Address: 40008 HoldingRegister:Int16 as 343
    Jan-17 13:48:18 Modbus Debug Trying Slave: 1 Address: 40008 HoldingRegister:Int16
    Jan-17 13:48:17 Modbus Debug Read Slave: 1 Address: 40004 HoldingRegister:Int16 as -4
    Jan-17 13:48:17 Modbus Debug Polling Modbus RTU Gateway. Reading 15 registers from slaves
    Jan-17 13:48:17 Modbus Debug Trying Slave: 1 Address: 40004 HoldingRegister:Int16
    Submit value again:
    Jan-17 13:46:56 Modbus Debug Updating device 47398 : Address 47398 as HoldingRegister:Int16 to 201
    Jan-17 13:46:55 Modbus Debug SetIOMulti set value: 201->ref:729
    Jan-17 13:46:53 Modbus Debug Updating device 47398 : Address 47398 as HoldingRegister:Int16 to 201
    Jan-17 13:46:52 Modbus Debug SetIOMulti set value: 201->ref:729
    Jan-17 13:46:42 Modbus Debug Updating device 47398 : Address 47398 as HoldingRegister:Int16 to 0
    Jan-17 13:46:42 Modbus Debug Updating device 43005 : Address 43005 as HoldingRegister:Int16 to 175
    Jan-17 13:46:42 Modbus Debug Updating device 43009 : Address 43009 as HoldingRegister:Int16 to 200
    Jan-17 13:46:42 Modbus Debug Updating device 43420 : Address 43420 as HoldingRegister:Int16 to 2899
    Jan-17 13:46:42 Modbus Debug Updating device 40079 : Address 40079 as HoldingRegister:Int16 to 7
    Jan-17 13:46:42 Modbus Debug Updating device 40081 : Address 40081 as HoldingRegister:Int16 to 19
    Jan-17 13:46:42 Modbus Debug Updating device 40083 : Address 40083 as HoldingRegister:Int16 to 21
    Jan-17 13:46:42 Modbus Debug Updating device 40016 : Address 40016 as HoldingRegister:Int16 to 133
    Jan-17 13:46:42 Modbus Debug Updating device 40033 : Address 40033 as HoldingRegister:Int16 to 194
    Jan-17 13:46:42 Modbus Debug Updating device 40013 : Address 40013 as HoldingRegister:Int16 to 490
    Jan-17 13:46:42 Modbus Debug Updating device 40014 : Address 40014 as HoldingRegister:Int16 to 459
    Jan-17 13:46:42 Modbus Debug Updating device 40015 : Address 40015 as HoldingRegister:Int16 to 149
    Jan-17 13:46:42 Modbus Debug Updating device 40008 : Address 40008 as HoldingRegister:Int16 to 345
    Jan-17 13:46:42 Modbus Debug Updating device 40012 : Address 40012 as HoldingRegister:Int16 to 347
    Jan-17 13:46:42 Modbus Debug Updating device 40004 : Address 40004 as HoldingRegister:Int16 to -4
    Jan-17 13:46:41 Modbus Debug Read Slave: 1 Address: 47398 HoldingRegister:Int16 as 0
    Jan-17 13:46:39 Modbus Debug Trying Slave: 1 Address: 47398 HoldingRegister:Int16
    Jan-17 13:46:38 Modbus Debug Read Slave: 1 Address: 43420 HoldingRegister:Int16 as 2899
    Jan-17 13:46:36 Modbus Debug Trying Slave: 1 Address: 43420 HoldingRegister:Int16
    Jan-17 13:46:35 Modbus Debug Read Slave: 1 Address: 43009 HoldingRegister:Int16 as 200
    Jan-17 13:46:35 Modbus Debug Trying Slave: 1 Address: 43009 HoldingRegister:Int16
    Jan-17 13:46:34 Modbus Debug Read Slave: 1 Address: 43005 HoldingRegister:Int16 as 175
    Jan-17 13:46:34 Modbus Debug Trying Slave: 1 Address: 43005 HoldingRegister:Int16
    Jan-17 13:46:33 Modbus Debug Read Slave: 1 Address: 40083 HoldingRegister:Int16 as 21
    Jan-17 13:46:31 Modbus Debug Trying Slave: 1 Address: 40083 HoldingRegister:Int16
    Jan-17 13:46:30 Modbus Debug Read Slave: 1 Address: 40081 HoldingRegister:Int16 as 19
    Jan-17 13:46:28 Modbus Debug Trying Slave: 1 Address: 40081 HoldingRegister:Int16
    Jan-17 13:46:27 Modbus Debug Read Slave: 1 Address: 40079 HoldingRegister:Int16 as 7
    Jan-17 13:46:25 Modbus Debug Trying Slave: 1 Address: 40079 HoldingRegister:Int16
    Jan-17 13:46:24 Modbus Debug Read Slave: 1 Address: 40033 HoldingRegister:Int16 as 194
    Jan-17 13:46:24 Modbus Debug Trying Slave: 1 Address: 40033 HoldingRegister:Int16
    Jan-17 13:46:23 Modbus Debug Read Slave: 1 Address: 40016 HoldingRegister:Int16 as 133
    Jan-17 13:46:23 Modbus Debug Trying Slave: 1 Address: 40016 HoldingRegister:Int16
    Jan-17 13:46:22 Modbus Debug Read Slave: 1 Address: 40015 HoldingRegister:Int16 as 149
    Jan-17 13:46:22 Modbus Debug Trying Slave: 1 Address: 40015 HoldingRegister:Int16
    Jan-17 13:46:21 Modbus Debug Read Slave: 1 Address: 40014 HoldingRegister:Int16 as 459
    Jan-17 13:46:21 Modbus Debug Trying Slave: 1 Address: 40014 HoldingRegister:Int16
    Jan-17 13:46:20 Modbus Debug Read Slave: 1 Address: 40013 HoldingRegister:Int16 as 490
    Jan-17 13:46:20 Modbus Debug Trying Slave: 1 Address: 40013 HoldingRegister:Int16
    Jan-17 13:46:19 Modbus Debug Read Slave: 1 Address: 40012 HoldingRegister:Int16 as 347
    Jan-17 13:46:19 Modbus Debug Trying Slave: 1 Address: 40012 HoldingRegister:Int16
    Jan-17 13:46:18 Modbus Debug Read Slave: 1 Address: 40008 HoldingRegister:Int16 as 345
    Jan-17 13:46:18 Modbus Debug Trying Slave: 1 Address: 40008 HoldingRegister:Int16
    Jan-17 13:46:17 Modbus Debug Read Slave: 1 Address: 40004 HoldingRegister:Int16 as -4
    Jan-17 13:46:17 Modbus Debug Polling Modbus RTU Gateway. Reading 15 registers from slaves
    Jan-17 13:46:17 Modbus Debug Trying Slave: 1 Address: 40004 HoldingRegister:Int16

    Submit value 201
    Jan-17 13:45:34 Modbus Debug Updating device 47398 : Address 47398 as HoldingRegister:Int16 to 201
    Jan-17 13:45:32 Modbus Debug SetIOMulti set value: 201->ref:729

    ---
    John

    Leave a comment:


  • beerygaz
    replied
    Anything in the log files to show when this happens? Any errors, etc?


    Sent from my iPhone using Tapatalk

    Leave a comment:


  • John245
    replied
    Write single value using Write Multiple register function works only once

    Hi Beerygaz,

    I was playing with the PI and discovered that only once a value can be written to the holding address using the 'Write Multiple register' function.

    After disabling and enabling the PI I can write a value to a register address. The next writings are not successful.

    This bug is repeatable, I tried it 3 times with in all cases the same behavior.

    I excluded that my interface could not be the cause. Using the Modbus Poll program I am able to write values in a row.


    ---
    John

    Leave a comment:


  • John245
    replied
    Write single value using the event functionality

    Hi Beerygaz,

    Tested in: v3.4.5858.29617

    I don't know If I created the event correctly, but I did the following without a positive result.

    I created an event to set the device string of the Modbus address to 200. The initial value was 197. The status displayed is updated to 200. But not the real status. The result of the device after the next poll is 197.

    The following information is in the HS Log:
    Jan-15 16:49:10 Event Event po Modbus 47398, Action of Control a Device could not be carried out because its configuration is not complete.
    Jan-15 16:49:10 Event Event Trigger "po Modbus 47398"

    Nothing that indicates that there was a write was logged in the Modbus Log:
    2016-01-15 16:47:44.4419| DEBUG|HSPI_MODBUS.plugin.UpdateDevice |Updating device 43009 : Address 43009 as HoldingRegister:Int16 to 350
    2016-01-15 16:47:44.4939| DEBUG|HSPI_MODBUS.plugin.UpdateDevice |Updating device 43420 : Address 43420 as HoldingRegister:Int16 to 2881
    2016-01-15 16:47:44.4939| DEBUG|HSPI_MODBUS.plugin.UpdateDevice |Updating device 47398 : Address 47398 as HoldingRegister:Int16 to 197
    2016-01-15 16:52:19.4939| DEBUG|HSPI_MODBUS.Gateway.OnTimedEvent |Polling Modbus RTU Gateway. Reading 15 registers from slaves
    2016-01-15 16:52:19.4939| DEBUG|HSPI_MODBUS.Gateway.Read |Trying Slave: 1 Address: 40004 HoldingRegister:Int16
    2016-01-15 16:52:19.5439| DEBUG|HSPI_MODBUS.Gateway.Read |Read Slave: 1 Address: 40004 HoldingRegister:Int
    ---
    John
    Attached Files

    Leave a comment:


  • John245
    started a topic Beta testing Modbus 3.4.x

    Beta testing Modbus 3.4.x

    Beerygaz,

    *** Update 21JAN2016 ***

    This are my testing results until now:

    Major bugs:

    - Write single address to holding register using the Write Multiple Register function works only when submitting the value twice in a row (status value is written to the Register Address instead of the new value) (added 18JAN2016)
    - Write single address to holding register using an event not working (added 16JAN2016)

    Feature requests:

    - None.

    Minor bugs:
    1. Disabling the Modbus RTU gateway will not change the status of the Modbus RTU gateway to offline (added 11JAN2016)


    To be tested:
    1. Event functionality
    2. Endurance test (to be continued)


    Tested:

    Write single address to holding register using Multiple Registers function from the device list
    Functions correctly in v3.4.5858.29617

    Addition to the above, it only works correctly after disabling and enabling of the PI (only one write possible). (added 16JAN2016)
    See http://forums.homeseer.com/showpost....43&postcount=3

    Further testing showed that the actual status in the device list is written to the Register address. I also confirmed this with a RS-232 sniffer. (added 21JAN2016)

    Write single address to holding register using an event
    Tested in: v3.4.5858.29617
    Not successful, see post: http://forums.homeseer.com/showthrea...=1#post1221297

    Signed values are constantly "1" out (subtracting 65535 instead of 65536)
    Tested in v3.4.5858.29617. 1 out issue is fixed.

    Endurance testing

    Runned Modbus PI v3.4.5858.29617 for more than 100 hours with the settings below. (added 21JAN2016)

    Read/Write Retries: 0
    Read/Write Timeout (ms): 2100
    Delay between each poll (ms): 1000

    Started endurance test with read/write retries at 3
    ---
    John
    Last edited by John245; January 21, 2016, 04:39 PM.
Working...
X