Note
This Bricklet is currently in the prototype stage and the software/hardware as well as the documentation is in an incomplete state.
This is the description of the Modbus protocol for the Analog Out Bricklet 2.0. General information and technical specifications for the Analog Out Bricklet 2.0 are summarized in its hardware description.
A general description of the Modbus protocol structure can be found here.
Function ID: | 1 |
---|---|
Request: |
|
Response: | no response |
Sets the voltage in mV. The possible range is 0V to 12V (0-12000).
Function ID: | 2 |
---|---|
Request: | empty payload |
Response: |
|
Returns the voltage as set by set_output_voltage.
Function ID: | 3 |
---|---|
Request: | empty payload |
Response: |
|
Returns the input voltage in mV.
Function ID: | 255 |
---|---|
Request: | empty payload |
Response: |
|
Returns the UID, the UID where the Bricklet is connected to, the position, the hardware and firmware version as well as the device identifier.
The position can be 'a', 'b', 'c' or 'd'.
The device identifier numbers can be found here.