Analog output
Full Name
AO/I (AO + Pt1000)
Library
LIB\Unipi
Version
V1.1
Description
Important
This function block is no longer needed since IDE 2.1.x and OS v1.6, its functionality has been moved into newly created datapoints AO_1.01 and AO_1.01_measureR. The mode of output/measurement is set as proprty on datapoint AO_1.01.
This block simplifies work with Analog output 1.1 (AO1.1) as Voltage and Current output and also as Analog input for Resitance measurement at all Neuron models and at the follwing moedls of Axon - S105, S115, S155, M205, M505, L205, L505. This block also calculates temperature in Celsius from the Pt1000 sensor connected to the AO.
Options:
- Analog output - Voltage
- Analog output - Current
- Analog input - Resistance measurement 0-2kÔäŽ
- Analog output - Pt 1000 (temperature) - AO is switched to resistance measurement + measured resitance is converted to temperature in Celsius degrees according to the Pt1000 resistance curve
To save the configuration it is necessary to write log. 1 to the _NVsave_1 in the variable browse while in Debug mode. Please note: This operation saves the actual state of all output including AO, relays. DO, to startup config!
Since firmware v5.0 (variables Vref_1 and so on has value 0) this block is not necessary and its only needed to write to AO_mode and AO_1. However it can be used, backwards compatibility is preserved.
Inputs
Input | Type | Description |
mode | Voltage/Current/Resistance/Pt1000 | Mode configuration (AO - Volts/Amperes, AI - Resistance, Temperature. |
target_value | REAL (0-10V, 0-20mA) | Value to be set to the output when used as analog output in [V] or [mA]. Otherwise unused. |
Vref_1 | INT | Must be connected to the generated HW global variable VRef_1 of the device. |
VrefInt_1 | INT | Must be connected to the generated HW global variable VrefInt_1 of the device. |
A0_A_DEV_1 | INT | Must be connected to the generated HW global variable A0_A_DEV_1 of the device. |
AO_A_Offset_1 | INT | Must be connected to the generated HW global variable AO_A_Offset_1 of the device. |
A0_V_DEV_1 | INT | Must be connected to the generated HW global variable A0_V_DEV_1 of the device. |
AO_V_Offset_1 | INT | Must be connected to the generated HW global variable AO_V_Offset_1 of the device. |
AIO_1 | INT | Must be connected to the generated HW global variable AIO_1 of the device. |
AIO_V_Offset_1 | INT | Must be connected to the generated HW global variable AIO_V_Offset_1 of the device. |
measuring current | INT | Setpoint of the measurement current for resitance/Pt1000. Default value 1mA. |
Outputs
Output | Type | Description |
AO_mode | INT | Mode of the AO. Must be connected to the generated HW global variable AO_mode. |
AO_1 | INT | Analog output of group 1. Must be connected to the generated HW global variable AO_1.01. |
Resistance | Real | Measured value in Ohms. |
Temperature | Real | Calculated value of the measured current to temperature in Celsius degrees. |