This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Modbus Read_swap function
#1
Hello,

I've run some tests with the new modbus profiler app, basically if I upload a JSON with Read_swap not globally set but individually in every register LM5 seems to ignore it, but if I set it from the modbus profiler and then download it it's ok, for example:

this JSON:
Code:
{
    "manufacturer": "IO",
    "description": "TEST",
    "read_swap": "bw",
    "mapping": [
        {
            "type": "register",
            "name": "TEST",
            "address": 0,
            "datatype": "int16",
            "bus_datatype": "int16",
            "writable": true,
            "read_swap": "n"
        }
    ]
}

Uploaded, saved and downloaded results in this:
Code:
{
    "manufacturer": "IO",
    "description": "TEST",
    "read_swap": "bw",
    "mapping": [
        {
            "type": "register",
            "name": "TEST",
            "address": 0,
            "datatype": "int16",
            "bus_datatype": "int16",
            "writable": true
        }
    ]
}

but if i set read swap to none in the app, save and download the output is correct.

Am I doing something wrong?
Reply
#2
Thanks for letting us know. Updated Modbus profiler app is available in our app store.
Reply
#3
You're welcome, thank you for your fast reply and fix.
Reply


Forum Jump: