12.03.2020, 17:51
Hello,
I am fiddling with a UIO20E, with the intention of configuring it as outputs.
I have the mapping like this.
In principle it works correctly, since I get voltage at the outputs.
But in registers, I get this: Modbus (RTU 1 slave 1) read failed: Illegal data value.
I installed a 120 ohm resistor, so I saw in another post, before installing it it gave me more errors.
I am fiddling with a UIO20E, with the intention of configuring it as outputs.
I have the mapping like this.
Code:
{
"manufacturer": "Indomogal",
"description": "Universal 16+4 I/O module",
"mapping": [
{
"name": "Output 1",
"bus_datatype": "1",
"type": "coil",
"address": 0,
"writable": 1,
"value_custom": {"0": "Off", "1": "On"}
},
{
"name": "Output 2",
"bus_datatype": "bool",
"type": "coil",
"address": 1,
"writable": 1,
"value_custom": {"0": "Off", "1": "On"}
},
{
"name": "Output 3",
"bus_datatype": "bool",
"type": "coil",
"address": 2,
"writable": 1,
"value_custom": {"0": "Off", "1": "On"}
},
{
"name": "Output 4",
"bus_datatype": "bool",
"type": "coil",
"address": 3,
"writable": 1,
"value_custom": {"0": "Off", "1": "On"}
},
{
"name": "Output 5",
"bus_datatype": "bool",
"type": "coil",
"address": 4,
"writable": 1,
"value_custom": {"0": "Off", "1": "On"}
},
{
"name": "Output 6",
"bus_datatype": "bool",
"type": "coil",
"address": 5,
"writable": 1,
"value_custom": {"0": "Off", "1": "On"}
},
{
"name": "Output 7",
"bus_datatype": "bool",
"type": "coil",
"address": 6,
"writable": 1,
"value_custom": {"0": "Off", "1": "On"}
},
{
"name": "Output 8",
"bus_datatype": "bool",
"type": "coil",
"address": 7,
"writable": 1,
"value_custom": {"0": "Off", "1": "On"}
},
{
"name": "Output 9",
"bus_datatype": "bool",
"type": "coil",
"address": 8,
"writable": 1,
"value_custom": {"0": "Off", "1": "On"}
},
{
"name": "Output 10",
"bus_datatype": "bool",
"type": "coil",
"address": 9,
"writable": 1,
"value_custom": {"0": "Off", "1": "On"}
},
{
"name": "Output 11",
"bus_datatype": "bool",
"type": "coil",
"address": 10,
"writable": 1,
"value_custom": {"0": "Off", "1": "On"}
},
{
"name": "Output 12",
"bus_datatype": "bool",
"type": "coil",
"address": 11,
"writable": 1,
"value_custom": {"0": "Off", "1": "On"}
},
{
"name": "Output 13",
"bus_datatype": "bool",
"type": "coil",
"address": 12,
"writable": 1,
"value_custom": {"0": "Off", "1": "On"}
},
{
"name": "Output 14",
"bus_datatype": "bool",
"type": "coil",
"address": 13,
"writable": 1,
"value_custom": {"0": "Off", "1": "On"}
},
{
"name": "Output 15",
"bus_datatype": "bool",
"type": "coil",
"address": 14,
"writable": 1,
"value_custom": {"0": "Off", "1": "On"}
},
{
"name": "Output 16",
"bus_datatype": "bool",
"type": "coil",
"address": 15,
"writable": 1,
"value_custom": {"0": "Off", "1": "On"}
}
]
}
In principle it works correctly, since I get voltage at the outputs.
But in registers, I get this: Modbus (RTU 1 slave 1) read failed: Illegal data value.
I installed a 120 ohm resistor, so I saw in another post, before installing it it gave me more errors.