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 Industrial Analog Out Bricklet. General information and technical specifications for the Industrial Analog Out Bricklet are summarized in its hardware description.
A general description of the Modbus protocol structure can be found here.
Function ID: | 1 |
---|---|
Request: | empty payload |
Response: | no response |
Enables the output of voltage and current.
The default is disabled.
Function ID: | 2 |
---|---|
Request: | empty payload |
Response: | no response |
Disables the output of voltage and current.
The default is disabled.
Function ID: | 3 |
---|---|
Request: | empty payload |
Response: |
|
Returns true if output of voltage and current is enabled, false otherwise.
Function ID: | 4 |
---|---|
Request: |
|
Response: | no response |
Sets the output voltage in mV.
Function ID: | 5 |
---|---|
Request: | empty payload |
Response: |
|
Returns the voltage as set by set_voltage.
Function ID: | 6 |
---|---|
Request: |
|
Response: | no response |
Sets the output current in µA.
Function ID: | 7 |
---|---|
Request: | empty payload |
Response: |
|
Returns the current as set by set_current.
Function ID: | 8 |
---|---|
Request: |
|
Response: | no response |
Configures the voltage and current range.
Possible voltage ranges are:
Possible current ranges are:
The resolution will always be 12 bit. This means, that the precision is higher with a smaller range.
Function ID: | 9 |
---|---|
Request: | empty payload |
Response: |
|
Returns the configuration as set by set_configuration.
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.