How does a FC function work in Siemens PLC?

In this article, we will discuss FC Function in Siemens TIA Portal. FC Function is mainly used to create a certain logic which is repeated frequently in the PLC program.

Today, we will learn how we can create an FC function in the Siemens TIA portal and about the advantages of the FC function. For that, we will take an example of a simple motor starter.

FC Function is Siemens TIA Portal

Let’s create a Function in the TIA portal,

1. Open TIA Portal

2. Create a New Project

3. Click on Write PLC Program

fc function


4. Click on add new device and select a PLC controller.

fc function


5. Click on add new block.

fc function


6. Select a Function and name it. Here we are creating a function for motor starter, so we name it as Motor Starter. And then click on Add.

fc function


7. Add variables in the Function. Now for a simple motor starter, we have input-outputs such as Start, Stop as push-buttons, Safety as selector switch, Overload as thermal overload switch, and finally a contactor coil as motor output. So we need to add all the inputs and outputs as well as temporary logic bits used in the program.

fc function


8. The below images are showing the ladder logic of the motor starter.

Network 1: When the safety switch is in a normal position, it will give an indication that the motor is ready to start.

Network 2: Start logic for the motor.

fc function

Network 3: Stop logic for the motor.

Network 4: Motor overload logic.

fc function


9. The below image is showing the running stat of the motor.

fc function


10. The below image is showing the trip stat of the motor.

fc function


Advantages of FC Function in Siemens PLC

⇒ FC function has the main advantage that we can call it as many times as required, so a programmer has no need to write the same logic again and again in the main program.

⇒ Another advantage is that troubleshooting for the particular equipment is easy.


Next Must-Read Articles


You can read more articles about Electrical and you can also find books that boost your knowledge in the field of Instrumentation


Thanks for Reading!

Share this blog,

Leave a Comment