The FC 105 Scaling Function in Siemens

The FC 105 Scaling Function in Siemens

The Siemens ladder logic includes a very important function FC 105 that is widely utilized in the automation world to convert integer values (like the voltage, current, temperature, and resistance) into real useful value.

Before going into details of this scaling function, let us look into the different blocks present in Siemens for designing PLC logic.

What are Blocks

Blocks, in the Siemens ladder logic, consists of instructions that are executed, either every time the program runs or they are called to execute from the main program itself. The different blocks that are being used are:

  • Organizational Block (OB)

The organization block (OB) is the main programming block that determines the sequence of executing the programming logic.

  • Function Block (FB)

It is a general practice to not write the complete PLC logic in OB, otherwise troubleshooting and debugging will become difficult. This is where the function block comes into play. Function blocks contain a piece of code/PLC logic that can be called to execute from the main program (OB), these blocks store their values in the memory so that they remain available even after execution.

  • Function (FC)

The FC plays the same role as FB, except that FC does not have its own dedicated memory which means that it can not retain its values.

As mentioned earlier, the FC 105 Scale function converts integer values into real useful values. There are two important terms that need to be mentioned here:

  • NORMALIZING

The normalizing function is generally used when the input data varies a lot. The purpose of normalizing a given data set is to describe it as a normal distribution (usually from 0 to 1).

No alt text provided for this image
  • SCALING

The scaling function basically maps the input values to a desired range. It is a general practise, to first normalize the input values and then scale them.

No alt text provided for this image

FC 105 Function

No alt text provided for this image
  • EN (Release input): Whenever EN is set high (1 at EN), it activates the Scale block.
  • IN (Input): This is the incoming integer value (voltage, current, temperature, and resistance) that is to be scaled.
  • HI_LIM (High limit): The desired maximum value for the output.
  • LO_LIM (Low limit): The desired minimum value for the output.
  • BIPOLAR: If 1 is present, it means a bipolar input value (-27648 and 27648). If 0 is present, it means a unipolar value (0 and 27648).
  • ENO (Release output): Whenever ENO is set high (1 at ENO), it means the scale function is executed withour error.
  • RET_VAL (Return Value): Outputs the value W#16#0000 when the operation is executed without error.
  • OUT (Output): Gives the scaled output.




要查看或添加评论,请登录

Muhammad Wajeeh Ul Haque的更多文章

  • Current Transformer

    Current Transformer

    In power systems, measuring high values of current requires high rating ammeters, resulting in a higher cost. Moreover…

  • Load Cell and its Common Types

    Load Cell and its Common Types

    Introduction A load cell is basically a transducer that converts a load or force acting on it into electrical signals…

    2 条评论
  • The Two, Three, and Four-wire Transmitters

    The Two, Three, and Four-wire Transmitters

    In the field of Process control, transmitters are devices that convert the real world values produced by a sensor into…

    2 条评论
  • The Siemens analog module

    The Siemens analog module

    The analog modules used in the automation world have an Analog to Digital converter(ADC) which converts real-world…

  • The difference between 3x & 4x registers in MODBUS

    The difference between 3x & 4x registers in MODBUS

    Modbus is one of the oldest communication protocol that is still widely used in the automation industry. It is a…

    7 条评论
  • Why are Analog modules used in PLC more expensive ?

    Why are Analog modules used in PLC more expensive ?

    As with every technological advancement, each device now evolves to cater to a specific application range like small…

    3 条评论
  • The difference between Modbus and Profibus

    The difference between Modbus and Profibus

    Communication is an essential part of human life. We communicate every day to inquire about the well being of others…

    8 条评论
  • Differentiating RS - 232 & RS - 485

    Differentiating RS - 232 & RS - 485

    The RS 232 and RS 485 are two of the oldest communication protocols used in the automation world. These two protocols…

  • The curious case of 230/400 V

    The curious case of 230/400 V

    Each one of us has an induction motor installed in our homes for doing day to day tasks. These motors are used in a…

  • The curious case of 4 -20 mA

    The curious case of 4 -20 mA

    The process instrumentation utilizes various sensors that are used to measure physical quantities like flow…

    6 条评论

社区洞察

其他会员也浏览了