• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    How to add xS40 to Neuron L203 using custom software

    Official EVOK API
    6
    46
    9580
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Martin Kudláček
      Martin Kudláček last edited by

      Hello @Boy-Lenssen,
      that's rather odd, if it still doesn't work. You can of course send the extension to us for a warranty claim. But if you have an USB-RS485 converter, you can try talking to the extension directly with this app: https://sourceforge.net/projects/qmodmaster/. Let me know if you will need more help with this.

      Martin

      B 1 Reply Last reply Reply Quote 0
      • B
        Boy Lenssen @Martin Kudláček last edited by Boy Lenssen

        @martin-kudláček I swapped the Neuron, the cables, I used your SD card, I've set the dip switches like you said, nothing works. So I'm starting to expect the extension is defective.

        Would the stacktrace I mentioned a couple of times be thrown in case I have the switch incorrect?

        I don't have a converter at hand...

        I'm thinking of ordering a new xS40 and try it out. If it works, I send the previous one back, if it does work, I keep them both.

        Am I missing some hardware specific thing? Are the wires of a different kind than for the other connectors?
        Is there anything trivial I'm missing?

        Martin Kudláček 1 Reply Last reply Reply Quote 0
        • Martin Kudláček
          Martin Kudláček last edited by

          Sorry @Boy-Lenssen,
          I think we ran out of ideas what can be wrong. The last thing would be to check whether the extension communicates at all. You could ssh into the Neuron, stop the Evok, run the minicom utility, send some Modbus packet (e.g read register 1000 - the firmware version) and see, if the extension responds to you. But the process is far from being simple and there are caveats along the way which are easy to overlook.

          1 Reply Last reply Reply Quote 0
          • Martin Kudláček
            Martin Kudláček @Boy Lenssen last edited by

            @boy-lenssen And I really recommend you to purchase the USB-RS485 converter. It is extremely handy for such debugging and it costs around $1 on eBay.

            B 1 Reply Last reply Reply Quote 1
            • B
              Boy Lenssen @Martin Kudláček last edited by Boy Lenssen

              @martin-kudláček Hey Martin, I got me one of those things :)

              I connected it to the Extension, set the device id to 5, connected and then pressed the 'scan' button.

              It shows this error right away: https://imgur.com/a/mVWeGa7

              In the mean time, the Rx light flashes a few times and then it stays on.

              Edit: hmm, I've set the pins to be port 15 and now both lights are flashing intermediately. That seems to be right...

              weird that it doesn't work on 5...

              edit 2: I've toggle the dipswitches again to be set to 5, but still doesn't work. I've set the slave address in the qModMaster to 15 and then it works. It looks like it ignores the dipswitches. I've powercycled the device, so it should take the dip switches in consideration...

              edit 3: I'm able to toggle the relays be sending value between 0 and 127 on 'write single register'. Device seems to work fine, but only on slave address 15 then

              1 Reply Last reply Reply Quote 0
              • Martin Kudláček
                Martin Kudláček last edited by

                Hello @Boy-Lenssen,
                from your description, it looks like the DIP switch address settings are ignored, for some unknown reason. They should be ignored only when all of the address switches (3-6) are in upper position, thus indicating address 0. When this is set, the extension will set its address from the SW configuration, which you can change via Modbus register (see documentation, if you are interested in this).

                Just to be absolutely sure, can you send me a photo of your "address 5" configuration?

                Thanks,
                Martin

                1 Reply Last reply Reply Quote 0
                • Martin Kudláček
                  Martin Kudláček last edited by

                  Hello @Boy-Lenssen ,
                  we have experienced the same issue with different Neuron unit and different extensions. It could be problem with extension's firmware. We will investigate it a bit more and let you know as soon as possible.

                  Thank you for your patience,
                  Martin

                  1 Reply Last reply Reply Quote 0
                  • Martin Kudláček
                    Martin Kudláček last edited by

                    Hi @Boy-Lenssen,
                    would it be possible to use Teamviewer or direct SSH to your controller so we can check what's happening? We will check the extension's firmware version and do the FW update if neccessary.

                    The best time would be between 12:00 and 20:00 CEST.

                    Thanks,
                    Martin

                    1 Reply Last reply Reply Quote 0
                    • Martin Kudláček
                      Martin Kudláček last edited by

                      Hi @Boy-Lenssen,
                      I have created a tutorial, how to flash the firmware via SSH: https://forum.unipi.technology/topic/693/multiple-xs50-on-a-l513-rs485/20

                      Let me know, if you are OK with this. We certainly can update the firmware for you via Teamviewer as promised above.

                      Thanks,
                      Martin

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        Boy Lenssen @Martin Kudláček last edited by

                        Hi @martin-kudláček ,

                        sorry for the superlate response! I went on holiday the day after my last post.

                        I will try to do the upgrade myself and otherwise we can still do a Teamviewer session. will let you know!

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post