Escalado Analógico - Voltaje
Datos PLC
Las fórmulas aplicadas son:
m = (y2 - y1) / (x2 - x1)
y = m . x + b
# | Detalle | Valor | Formula |
---|---|---|---|
1 | Bit de PLC | Bit PLC = Voltaje Max / Bit Voltaje Max | |
2 | Bit Volts Max [X2] | Bit Voltaje Max = 2 ^ Bit PLC | |
3 | Bit Volts Min [X1] | |
Bit Voltaje Min = Vols Min * Bit Voltaje Max / Voltaje Max |
4 | Pendiente [M] | |
Pendiente = Escalado Max / Bit Voltaje Max |
5 | Puntos Mínimos [B] | |
B = Escalado Mínimo - (Pendiente * Bit Voltaje Min) |
6 | Resultado Analógico [Y] | |
Y = ( Pendiente * Variable Bit a Hallar ) + B |
7 | Resultado Bits [X] | |
Y = ( Variable Escalado a Hallar - B) / Pendiente |