PLC2U.com

...The latest article and sample code for your automation and control

  • Increase font size
  • Default font size
  • Decrease font size
Home Article PLC S7-300/400 Tip-Analog Scaling

S7-300/400 Tip-Analog Scaling

Analog Inputs and Outputs in an S7 PLC are represented in the PLC as a 16-bit integer. Over the nominal span of the analog input or output, the value of this integer will range between - 27648 and +27648. However, it is easier to use the analog values if they are scaled to the same units and ranges as the process being controlled. This applications tip describes methods for scaling analog values to and from engineering units.
  The program for scaling analog values consists of 2 function (FC) blocks. These blocks are optimized for unipolar (0..27648) analog values, but will also work with bipolar analogs. Both blocks are shown in two different languages: LAD and STL.

FC100 converts an integer in a nominal 0..27648 range to a floating point number in the specified engineering units. FC101 converts a floating point number in the specified engineering units to an integer in 0..27648 range.
 
Filetype: pdf
Filesize  : 112 KB

 
 
 


Related articles:

Powered By relatedArticle

Blog Catalog

My BlogCatalog BlogRank

Blog Directory

Blog Directory & Search engine

Blog Directory

Technology

Visitors Counter

mod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_counter
mod_vvisit_counterToday88
mod_vvisit_counterYesterday165
mod_vvisit_counterThis week619
mod_vvisit_counterLast week811
mod_vvisit_counterThis month1109
mod_vvisit_counterLast month3010
mod_vvisit_counterAll days22840