Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:sw:01-mervis:analog-outputs-hidden [2021/05/03 07:23]
avsetula [Prerequisites]
en:sw:01-mervis:analog-outputs-hidden [2024/04/15 13:55] (current)
avsetula [Measuring resistance (temperature)]
Line 14: Line 14:
 ;;# ;;#
 </​WRAP>​ </​WRAP>​
 +
 </​WRAP>​ </​WRAP>​
 <WRAP center round box> <WRAP center round box>
Line 19: Line 20:
   * UniPi controller running Mervis OS   * UniPi controller running Mervis OS
   * Basic project with attached controller a program in FBD mode   * Basic project with attached controller a program in FBD mode
-  * [[https://​www.unipi.technology/​power-supplies-c15|24V power supply]]+  * [[https://​www.unipi.technology/​power-supplies-c15|24 V⎓ power supply]]
   * Knowledge of how the [[en:​automation:​02-glossary:​analog-outputs-hidden|analog outputs]] work on UniPi units   * Knowledge of how the [[en:​automation:​02-glossary:​analog-outputs-hidden|analog outputs]] work on UniPi units
  
Line 29: Line 30:
  
 <WRAP center round info 60%> <WRAP center round info 60%>
- The default mode of each output is "​Voltage"​ and the output value is set to 0V.+ The default mode of each output is "​Voltage"​ and the output value is set to 0 V⎓.
 </​WRAP>​ </​WRAP>​
  
Line 47: Line 48:
  
 <WRAP center round info 60%> <WRAP center round info 60%>
-When setting the value of AO_X.Y_w in Voltage mode, the value you enter is in volts (value 1.234 = 1.234V). When setting the value in Current mode, the value you enter is in miliampers (value 3.145 = 3.145mA)+When setting the value of AO_X.Y_w in Voltage mode, the value you enter is in volts (value 1.234 = 1.234 V⎓). When setting the value in Current mode, the value you enter is in miliampers (value 3.145 = 3.145 mA)
 </​WRAP>​ </​WRAP>​
  
Line 62: Line 63:
 The analog output on Group 1 of Neuron and Axon (AO_1.1) is able to measure resistance as well /* FIXME (check the documentation na mereni odporu do Automation 101 -> How to's) */. To set the AO_1.1 to the Resistance measurement mode, follow the configuration steps above. The analog output on Group 1 of Neuron and Axon (AO_1.1) is able to measure resistance as well /* FIXME (check the documentation na mereni odporu do Automation 101 -> How to's) */. To set the AO_1.1 to the Resistance measurement mode, follow the configuration steps above.
  
-The resistance measurement is mostly used for measuring resistive thermometers such are Pt100, Pt1000, Ni1000,... Those sensors have known temperature vs. resistance curve and Mervis can directly transform the measured values into degrees of Celsius. This transformation is done on the property of the "write" variable, as with all the previous changes. Look for the property "​Transform"​ in the **Properties panel**. The default value is "​identity",​ which means the variable will always contain the measured resistance in Ohms. You can change the transformation to "​ResistanceToTemperature"​ and box with other options will appear underneath. All you need to do is to change the "​Kind"​ to the type of the resistive thermometer you are trying to read from. You can leave all the other parameters as is. And as with all the changes to the configuration of the PLC, [[en:​sw:​01-mervis:​unipi-configure-module-hidden|apply it]] as we did above.+The resistance measurement is mostly used for measuring resistive thermometers such are Pt100, Pt1000, Ni1000,... Those sensors have known temperature vs. resistance curve and Mervis can directly transform the measured values into degrees of Celsius. This transformation is done on the property of the "read" variable, as with all the previous changes. Look for the property "​Transform"​ in the **Properties panel**. The default value is "​identity",​ which means the variable will always contain the measured resistance in Ohms. You can change the transformation to "**ResistanceToTemperature**" and box with other options will appear underneath. All you need to do is to change the "​Kind"​ to the type of the resistive thermometer you are trying to read from. You can leave all the other parameters as is. And as with all the changes to the configuration of the PLC, [[en:​sw:​01-mervis:​unipi-configure-module-hidden|apply it]] as we did above.
  
-<WRAP center round tip 60%>+<WRAP center round important 90%>
 **Note:** apply the transformation only to the __analog output read__ data point (AO_x.xx_r),​ not to write (AO_x.xx_w). **Note:** apply the transformation only to the __analog output read__ data point (AO_x.xx_r),​ not to write (AO_x.xx_w).
 </​WRAP>​ </​WRAP>​
  
-{{ :​en:​sw:​01-mervis:​analog-outputs-05-tranform-kind.png?direct |}} +{{ :​en:​sw:​01-mervis:​analog-outputs-read-resistivity_transform.png?direct |}}
- +