
Add Adquio 8 Analog Inputs to your Adquio controller using this profile with 19 Modbus RTU variables. Download the JSON file or copy the complete code and adapt the settings to your installation.
A configuration prepared for your signals
The profile includes eight read variables, AI01–AI08, without conversion, and eight variables, AI01_24v–AI08_24v, expressed in volts using the included conversion. Two LED variables and a Modbus address query complete the profile.
Channel readings are read-only. The voltage variables include cast(uint16,float32) and divide(100). Use the electrical range specified in the module’s datasheet when connecting sensors, including for variables with the _24v suffix.
Profile variables and registers
The addresses in this table use a zero-based index and correspond to holding registers.
| Group | Variables | Registers | Access |
|---|---|---|---|
| Inputs without conversion | AI01–AI08 | 1–8 | Read |
| Inputs in volts | AI01_24v–AI08_24v | 9–16 | Read |
| Status LEDs | led_power · led_error | 0 · 17 | Read and write |
| Modbus address query | modbus_slave_restart_to_apply | 18 | Read |
How to import the JSON file
- Download the file or copy the complete JSON from this page.
- In your Adquio controller’s web interface, open the device creation or editing screen and select Show JSON (Advanced). Paste the file contents.
- Check the RS-485 instance and Modbus address. This example uses
modbus_rs485_1and address4; adapt them to your installation. - The example contains
"disabled": true. Once you have checked the parameters, enable the device and verify the channel readings.
Settings included in the example
| RS-485 instance | modbus_rs485_1 |
|---|---|
| Modbus address | 4 |
| Device type | modbusrtu |
| Initial status | Disabled |
Complete variable configuration
Copy the contents using the button on the code panel or download the file to import it into your controller.
{
"code": "AI_module",
"disabled": true,
"instance": "modbus_rs485_1",
"modbusMaxLength": 10,
"modbusSlave": "4",
"schemaVersion": 5,
"type": "modbusrtu",
"variables": [
{
"canRead": true,
"canWrite": true,
"code": "led_power",
"dataType": "int16",
"modbusAddress": "0",
"modbusRegType": "holding_register",
"type": "on_off",
"units": "no_units"
},
{
"canRead": true,
"canWrite": false,
"code": "AI01",
"dataType": "uint16",
"modbusAddress": "1",
"modbusRegType": "holding_register",
"type": "generic"
},
{
"canRead": true,
"canWrite": false,
"code": "AI02",
"dataType": "uint16",
"modbusAddress": "2",
"modbusRegType": "holding_register",
"type": "generic"
},
{
"canRead": true,
"canWrite": false,
"code": "AI03",
"dataType": "uint16",
"modbusAddress": "3",
"modbusRegType": "holding_register",
"type": "generic"
},
{
"canRead": true,
"canWrite": false,
"code": "AI04",
"dataType": "uint16",
"modbusAddress": "4",
"modbusRegType": "holding_register",
"type": "generic"
},
{
"canRead": true,
"canWrite": false,
"code": "AI05",
"dataType": "uint16",
"modbusAddress": "5",
"modbusRegType": "holding_register",
"type": "generic"
},
{
"canRead": true,
"canWrite": false,
"code": "AI06",
"dataType": "uint16",
"modbusAddress": "6",
"modbusRegType": "holding_register",
"type": "generic"
},
{
"canRead": true,
"canWrite": false,
"code": "AI07",
"dataType": "uint16",
"modbusAddress": "7",
"modbusRegType": "holding_register",
"type": "generic"
},
{
"canRead": true,
"canWrite": false,
"code": "AI08",
"dataType": "uint16",
"modbusAddress": "8",
"modbusRegType": "holding_register",
"type": "generic"
},
{
"canRead": true,
"canWrite": false,
"code": "AI01_24v",
"dataType": "float32",
"modbusAddress": "9",
"modbusRegType": "holding_register",
"type": "generic",
"units": "volts",
"valueConverters": [
"cast(uint16,float32)",
"divide(100)"
]
},
{
"canRead": true,
"canWrite": false,
"code": "AI02_24v",
"dataType": "float32",
"modbusAddress": "10",
"modbusRegType": "holding_register",
"type": "generic",
"units": "volts",
"valueConverters": [
"cast(uint16,float32)",
"divide(100)"
]
},
{
"canRead": true,
"canWrite": false,
"code": "AI03_24v",
"dataType": "float32",
"modbusAddress": "11",
"modbusRegType": "holding_register",
"type": "generic",
"units": "volts",
"valueConverters": [
"cast(uint16,float32)",
"divide(100)"
]
},
{
"canRead": true,
"canWrite": false,
"code": "AI04_24v",
"dataType": "float32",
"modbusAddress": "12",
"modbusRegType": "holding_register",
"type": "generic",
"units": "volts",
"valueConverters": [
"cast(uint16,float32)",
"divide(100)"
]
},
{
"canRead": true,
"canWrite": false,
"code": "AI05_24v",
"dataType": "float32",
"modbusAddress": "13",
"modbusRegType": "holding_register",
"type": "generic",
"units": "volts",
"valueConverters": [
"cast(uint16,float32)",
"divide(100)"
]
},
{
"canRead": true,
"canWrite": false,
"code": "AI06_24v",
"dataType": "float32",
"modbusAddress": "14",
"modbusRegType": "holding_register",
"type": "generic",
"units": "volts",
"valueConverters": [
"cast(uint16,float32)",
"divide(100)"
]
},
{
"canRead": true,
"canWrite": false,
"code": "AI07_24v",
"dataType": "float32",
"modbusAddress": "15",
"modbusRegType": "holding_register",
"type": "generic",
"units": "volts",
"valueConverters": [
"cast(uint16,float32)",
"divide(100)"
]
},
{
"canRead": true,
"canWrite": false,
"code": "AI08_24v",
"dataType": "float32",
"modbusAddress": "16",
"modbusRegType": "holding_register",
"type": "generic",
"units": "volts",
"valueConverters": [
"cast(uint16,float32)",
"divide(100)"
]
},
{
"canRead": true,
"canWrite": true,
"code": "led_error",
"dataType": "int16",
"modbusAddress": "17",
"modbusRegType": "holding_register",
"type": "on_off",
"units": "no_units"
},
{
"canRead": true,
"canWrite": false,
"code": "modbus_slave_restart_to_apply",
"dataType": "int16",
"modbusAddress": "18",
"modbusRegType": "holding_register",
"type": "generic"
}
],
"virtualVariables": []
}


