Siemens 6AV6651-7KA01-3AA4 - S7-1200 + KTP400 Basic Starter Kit 6AV6651-7KA01-3AA4 Manual De Usuario

Los códigos de productos
6AV6651-7KA01-3AA4
Descargar
Página de 364
Getting started 
 
3.6 Use the CALCULATE instruction for a complex mathematical equation 
 
Easy Book 
46
 
Manual, 03/2014, A5E02486774-AF 
Where: 
Out 
value
 
(Out) 
Scaled output value 
 
In 
value
 
(in1) 
Analog input value 
 
In 
high
 
(in2) 
Upper limit for the scaled input value 
 
In 
low
 
(in3) 
Lower limit for the scaled input value 
 
Out 
high
 
(in4) 
Upper limit for the scaled output value 
 
Out 
low
 
(in5) 
Lower limit for the scaled output value 
In the "Edit Calculate" box, enter the equation with the parameter names:  
OUT = ((in4 - in5) / (in2 - in3)) * (in1 - in3) + in5 
 
 
When you click "OK", the Calculate 
instruction creates the inputs 
required for the instruction. 
 
Enter the tag names for the values 
that correspond to the parameters.