How to add xS40 to Neuron L203 using custom software
-
@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
-
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 -
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 -
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 -
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/20Let me know, if you are OK with this. We certainly can update the firmware for you via Teamviewer as promised above.
Thanks,
Martin -
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!