Naming Conventions
While not mandatory, it is recommended to adopt the following naming conventions for clarity and usability:- Write Operations: Prefix register names with
control.to indicate that the register is used to set the analog output. - Read Operations: Prefix register names with
measure.to signify that the register is used to read the analog input signal.
Required Parameters
A unique name for the register.Example:
measure.voltageCorresponds to the number on the analog input or output module.Example:
0Please note that the address should start from 0, not from 1.
Indicates whether the register is an input or an output.Options:
input | outputOptional Parameters
The scaling factor to apply to the analog register’s return value or the value being written.Example:
50The offset to apply to the analog register’s return value or the value being written.Example:
100Example
aio_address_map.json