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.
BrickletIndustrialAnalogOut.
enable
¶Function ID: |
|
---|---|
Request: |
|
Response: |
|
Enables the output of voltage and current.
The default is disabled.
BrickletIndustrialAnalogOut.
disable
¶Function ID: |
|
---|---|
Request: |
|
Response: |
|
Disables the output of voltage and current.
The default is disabled.
BrickletIndustrialAnalogOut.
is_enabled
¶Function ID: |
|
---|---|
Request: |
|
Response: |
|
Returns true if output of voltage and current is enabled, false otherwise.
BrickletIndustrialAnalogOut.
set_voltage
¶Function ID: |
|
---|---|
Request: |
|
Response: |
|
Sets the output voltage.
The output voltage and output current are linked. Changing the output voltage also changes the output current.
BrickletIndustrialAnalogOut.
get_voltage
¶Function ID: |
|
---|---|
Request: |
|
Response: |
|
Returns the voltage as set by set_voltage
.
BrickletIndustrialAnalogOut.
set_current
¶Function ID: |
|
---|---|
Request: |
|
Response: |
|
Sets the output current.
The output current and output voltage are linked. Changing the output current also changes the output voltage.
BrickletIndustrialAnalogOut.
get_current
¶Function ID: |
|
---|---|
Request: |
|
Response: |
|
Returns the current as set by set_current
.
BrickletIndustrialAnalogOut.
set_configuration
¶Function ID: |
|
---|---|
Request: |
|
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.
The following meanings are defined for the elements of this function:
For voltage_range:
For current_range:
BrickletIndustrialAnalogOut.
get_configuration
¶Function ID: |
|
---|---|
Request: |
|
Response: |
|
Returns the configuration as set by set_configuration
.
The following meanings are defined for the elements of this function:
For voltage_range:
For current_range:
BrickletIndustrialAnalogOut.
get_identity
¶Function ID: |
|
---|---|
Request: |
|
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', 'd', 'e', 'f', 'g' or 'h' (Bricklet Port). A Bricklet connected to an Isolator Bricklet is always at position 'z'.
The device identifier numbers can be found here.