PLC Tutorials

PLC Program for Automatic Parameter Initialization When Power UP

This is a PLC Program for Automatic Parameter initialization when power up.

Parameter Initialization When Power UP

Problem Description

In many applications, it is necessary to initialize some data when the machine is powered up.

Sometimes due to power failure, the value in some parameters becomes zero.

Due to this problem, the operator has to feed all data again or every time during power failure.

When the machine gets powered up, at that time necessary parameters should be initialized automatically.

Here we discuss this issue with some basic ladder logic.

Problem Diagram

PLC Program for Automatic Parameter initialization

Problem Solution

In this case, we need to write the logic in the PLC program so all parameters will be initialized automatically.

We can also set a manual initialization button so the operator can initialize data while the machine operation is running.

Here we will consider the machine set speed as data and it will be initialized automatically when the machine turns on.

If the operator wants to reinitialize the set speed during the running cycle then he needs to do it through the initialization button.

PLC Ladder diagram

Here is the PLC program Automatic Parameter initialization when powered up.

List of PLC inputs/outputs

Inputs List

  • Parameter Initialization Button : I0.0
  • MW10 : Set Speed form Display

Outputs List

  • Mw12 : Speed for drive

Program Description

  • For this application we use S7-1200 PLC and TIA portal software for programming.
  • This logic is used for parameter initialization.
  • For first scan, we used here S7-1200 facilities of system Memory. Every PLC have its own system memory.
  • Always ON bit, always OFF bit, first scan bit, and diagnostic status changed are the system memory for S7-1200 PLC.
  • We can configure any memory address “M” for system memory. Here we configured M1.0 for first scan bit which is used for parameter initialization.
  • We write for parameter initialization in Network 1. Here we use NO contact of First scan bit (M1.0) for moving initial 5 RPM in MW12(Speed for drive).By using MOVE instruction 5 RPM will be moved in MW12 . Add NO contact of Parameter Initialization Button (I0.0) for moving Initial 5RPM in MW12 (Speed for drive) manually.
  • For editing data manually in running cycle we write logic in Network 2. Here operator can enter data in MW10 (SET SPEED) from the display and it will go in MW12(Speed for drive).
  • For Example, Say we need to enter 100 RPM speed from display it will be written in word MW10 (Set Speed from display) and as per logic it will be moved in MW12 (Speed for drive), so motor will run on 100 RPM.

Runtime Test Cases

Note: The above PLC Logic provided for basic idea about application of PLC Program for Automatic Parameter Initialization when Power UP. The Logic is limited and not complete application.

Author: Bhavesh

If you liked this article, then please subscribe to our YouTube Channel for PLC and SCADA video tutorials.

You can also follow us on Facebook and Twitter to receive daily updates.

Read Next:

You've successfully subscribed !

View Comments

Share

Recent Articles

  • PLC Tutorials

Conveyor Sorting Machine PLC Program with Calculation Function

The conveyor sorting machine is widely used in the packing industries using the PLC program…

4 days ago
  • PLC Tutorials

Example of Flip-Flop PLC Program for Lamps Application

Learn the example of flip-flop PLC program for lamps application using the ladder logic to…

4 days ago
  • PLC Tutorials

STAR DELTA Programming using PLC Controller

In this article, you will learn the STAR DELTA programming using PLC controller to start…

5 days ago
  • Instrumentation Design

Single and Three Phase Immersion Electrical Heaters Wiring Circuits

Lube oil consoles of rotary equipment packages in industrial process plants are usually equipped with…

2 days ago
  • Instrumentation Design

Immersion Heaters in Lube Oil Consoles

Rotating equipment packages such as pumps, compressors, turbines need the lube oil consoles for their…

4 days ago
  • PLC Tutorials

How to Blink Lights in Ladder Logic?

This article explains how to blink lights in ladder logic with a detailed explanation video…

4 weeks ago