Adquio 8 Analog Outputs configuration: Modbus RTU JSON driver

Adquio 8 Analog Outputs

Add Adquio 8 Analog Outputs 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 variables, AO01–AO08, with limits from 0 to 4095, and eight voltage variables, AO01_10V–AO08_10V, with limits from 0 to 10. Both representations allow reading and writing. Two LED variables and a Modbus address query complete the profile.

The voltage variables include cast(int16,float32) and divide(100). Select the representation your control logic will use for each output and check the value applied to the equipment during commissioning.

Profile variables and registers

The addresses in this table use a zero-based index and correspond to holding registers.

GroupVariablesRegistersAccess
Outputs from 0 to 4095AO01–AO081–8Read and write
Voltage outputs, from 0 to 10AO01_10V–AO08_10V9–16Read and write
Status LEDsled_power · led_error0 · 17Read and write
Modbus address querymodbus_slave_restart_to_apply18Read

How to import the JSON file

  1. Download the file or copy the complete JSON from this page.
  2. In your Adquio controller’s web interface, open the device creation or editing screen and select Show JSON (Advanced). Paste the file contents.
  3. Check the RS-485 instance and Modbus address. This example uses modbus_rs485_1 and address 3; adapt them to your installation.
  4. The example contains "disabled": false. Review the settings and the automation logic that will use the outputs before adding it to the installation. Check communication and test the outputs one at a time.

Settings included in the example

RS-485 instancemodbus_rs485_1
Modbus address3
Device typemodbusrtu
Initial statusEnabled

Complete variable configuration

Copy the contents using the button on the code panel or download the file to import it into your controller.

AO_module.json · 19 variables

{
  "code": "AO_module",
  "disabled": false,
  "instance": "modbus_rs485_1",
  "modbusMaxLength": 10,
  "modbusSlave": "3",
  "schemaVersion": 5,
  "type": "modbusrtu",
  "variables": [
    {
      "canRead": true,
      "canWrite": true,
      "code": "led_power",
      "dataType": "int16",
      "maxValue": "1",
      "minValue": "0",
      "modbusAddress": "0",
      "modbusRegType": "holding_register",
      "type": "on_off",
      "units": "no_units"
    },
    {
      "canRead": true,
      "canWrite": true,
      "code": "AO01",
      "dataType": "uint16",
      "maxValue": "4095",
      "minValue": "0",
      "modbusAddress": "1",
      "modbusRegType": "holding_register",
      "type": "generic"
    },
    {
      "canRead": true,
      "canWrite": true,
      "code": "AO02",
      "dataType": "uint16",
      "maxValue": "4095",
      "minValue": "0",
      "modbusAddress": "2",
      "modbusRegType": "holding_register",
      "type": "generic"
    },
    {
      "canRead": true,
      "canWrite": true,
      "code": "AO03",
      "dataType": "uint16",
      "maxValue": "4095",
      "minValue": "0",
      "modbusAddress": "3",
      "modbusRegType": "holding_register",
      "type": "generic"
    },
    {
      "canRead": true,
      "canWrite": true,
      "code": "AO04",
      "dataType": "uint16",
      "maxValue": "4095",
      "minValue": "0",
      "modbusAddress": "4",
      "modbusRegType": "holding_register",
      "type": "generic"
    },
    {
      "canRead": true,
      "canWrite": true,
      "code": "AO05",
      "dataType": "uint16",
      "maxValue": "4095",
      "minValue": "0",
      "modbusAddress": "5",
      "modbusRegType": "holding_register",
      "type": "generic"
    },
    {
      "canRead": true,
      "canWrite": true,
      "code": "AO06",
      "dataType": "uint16",
      "maxValue": "4095",
      "minValue": "0",
      "modbusAddress": "6",
      "modbusRegType": "holding_register",
      "type": "generic"
    },
    {
      "canRead": true,
      "canWrite": true,
      "code": "AO07",
      "dataType": "uint16",
      "maxValue": "4095",
      "minValue": "0",
      "modbusAddress": "7",
      "modbusRegType": "holding_register",
      "type": "generic"
    },
    {
      "canRead": true,
      "canWrite": true,
      "code": "AO08",
      "dataType": "uint16",
      "maxValue": "4095",
      "minValue": "0",
      "modbusAddress": "8",
      "modbusRegType": "holding_register",
      "type": "generic"
    },
    {
      "canRead": true,
      "canWrite": true,
      "code": "AO01_10V",
      "dataType": "float32",
      "maxValue": "10",
      "minValue": "0",
      "modbusAddress": "9",
      "modbusRegType": "holding_register",
      "type": "generic",
      "units": "volts",
      "valueConverters": [
        "cast(int16,float32)",
        "divide(100)"
      ]
    },
    {
      "canRead": true,
      "canWrite": true,
      "code": "AO02_10V",
      "dataType": "float32",
      "maxValue": "10",
      "minValue": "0",
      "modbusAddress": "10",
      "modbusRegType": "holding_register",
      "type": "generic",
      "units": "volts",
      "valueConverters": [
        "cast(int16,float32)",
        "divide(100)"
      ]
    },
    {
      "canRead": true,
      "canWrite": true,
      "code": "AO03_10V",
      "dataType": "float32",
      "maxValue": "10",
      "minValue": "0",
      "modbusAddress": "11",
      "modbusRegType": "holding_register",
      "type": "generic",
      "units": "volts",
      "valueConverters": [
        "cast(int16,float32)",
        "divide(100)"
      ]
    },
    {
      "canRead": true,
      "canWrite": true,
      "code": "AO04_10V",
      "dataType": "float32",
      "maxValue": "10",
      "minValue": "0",
      "modbusAddress": "12",
      "modbusRegType": "holding_register",
      "type": "generic",
      "units": "volts",
      "valueConverters": [
        "cast(int16,float32)",
        "divide(100)"
      ]
    },
    {
      "canRead": true,
      "canWrite": true,
      "code": "AO05_10V",
      "dataType": "float32",
      "maxValue": "10",
      "minValue": "0",
      "modbusAddress": "13",
      "modbusRegType": "holding_register",
      "type": "generic",
      "units": "volts",
      "valueConverters": [
        "cast(int16,float32)",
        "divide(100)"
      ]
    },
    {
      "canRead": true,
      "canWrite": true,
      "code": "AO06_10V",
      "dataType": "float32",
      "maxValue": "10",
      "minValue": "0",
      "modbusAddress": "14",
      "modbusRegType": "holding_register",
      "type": "generic",
      "units": "volts",
      "valueConverters": [
        "cast(int16,float32)",
        "divide(100)"
      ]
    },
    {
      "canRead": true,
      "canWrite": true,
      "code": "AO07_10V",
      "dataType": "float32",
      "maxValue": "10",
      "minValue": "0",
      "modbusAddress": "15",
      "modbusRegType": "holding_register",
      "type": "generic",
      "units": "volts",
      "valueConverters": [
        "cast(int16,float32)",
        "divide(100)"
      ]
    },
    {
      "canRead": true,
      "canWrite": true,
      "code": "AO08_10V",
      "dataType": "float32",
      "maxValue": "10",
      "minValue": "0",
      "modbusAddress": "16",
      "modbusRegType": "holding_register",
      "type": "generic",
      "units": "volts",
      "valueConverters": [
        "cast(int16,float32)",
        "divide(100)"
      ]
    },
    {
      "canRead": true,
      "canWrite": true,
      "code": "led_error",
      "dataType": "int16",
      "maxValue": "1",
      "minValue": "0",
      "modbusAddress": "17",
      "modbusRegType": "holding_register",
      "type": "on_off",
      "units": "no_units"
    },
    {
      "canRead": true,
      "canWrite": false,
      "code": "modbus_slave_restart_to_apply",
      "dataType": "int16",
      "minValue": "0",
      "modbusAddress": "18",
      "modbusRegType": "holding_register",
      "type": "generic"
    }
  ],
  "virtualVariables": []
}

Guillermo Cuervo

CTO at Adquio · A decade of experience developing automation hardware and software.

Privacy Overview
Adquio

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Strictly Necessary Cookies

Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.

Analytics

These cookies measure visits and contact enquiries using Google Analytics and Clientify analytics. They are only enabled if you accept them.

Advertising

These cookies enable Google advertising features and measure their performance. They are only enabled if you accept them.