21.01.2026, 16:37
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:
Uploaded, saved and downloaded results in this:
but if i set read swap to none in the app, save and download the output is correct.
Am I doing something wrong?
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?