# Siemens TIA Portal block: Analog Input Scale

**URL:** <https://forumautomation.com/t/siemens-tia-portal-block-analog-input-scale/314>\
**Category:** Siemens\
**Created:** [March 15, 2015, 7:37pm UTC](https://forumautomation.com/t/siemens-tia-portal-block-analog-input-scale/314 "2015-03-15T19:37:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![EstrinAutomation](https://forumautomation.com/user_avatar/forumautomation.com/estrinautomation/32/115_2.png) [@EstrinAutomation](https://forumautomation.com/u/EstrinAutomation)\
**Post date:** [March 15, 2015, 7:37pm UTC](https://forumautomation.com/t/siemens-tia-portal-block-analog-input-scale/314/1 "2015-03-15T19:37:28Z")

</div>

Description:“Analog Input Scale” Function Block made to make a scaling from Raw data in PLC’s Analog Input to an Engineering Units value to ease the understanding of the value presented in the program.(4-20mA, 0-20mA, 0-10V, 1-5V) For data types parameters and more detailed description with relevant files for TIA download, [here.](http://www.estrin.co.il/#!Siemens-TIA-Portal-block-Analog-Input-Scale/cx9p/6BEE6DEF-CC8B-4789-B5DC-AF1DCB323D8F)  
SCL:

“Analog Input Scale\_DB”(Card\_In:=_int\_In_, Low\_RD:=_int\_In_, High\_RD:=_int\_In_,Min\_EU:=_Real_ Max\_EU:= _Real_,Deadband:=_Real_, H\_LL\_T:=_Int\_in_,H\_L\_T:=_Int\_in_,HH\_SP:= :=_Real\_in_,H\_SP:= :=_Real\_in_, L\_SP:= :=_Real\_in_, LL\_SP:= :=_Real\_in_, SIM:=\_BOOL\_In, SIM\_PV:=_Real\_in_,  
HH\_ALM=\>_bool\_out_, H\_ALM=\>_bool\_out_, L\_ALM=\>_bool\_out_, LL\_ALM=\>_bool\_out_, ERR=\>_bool\_out_, PV\_EU:=_real\_inout_,  
time\_count\_HH\_LL:=\_int\_inou,  
time\_count\_H\_L:=_int\_inout_);
