Inst ToolsInst ToolsInst Tools
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Search
  • Books
  • Software
  • Projects
  • Process
  • Tools
  • Basics
  • Formula
  • Power Plant
  • Root Cause Analysis
  • Electrical Basics
  • Animation
  • Standards
  • 4-20 mA Course
  • Siemens PLC Course
Reading: Compare Online and Offline PLC Programs
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • Design
  • PLC
  • Interview
  • Control System
Search
  • Courses
  • Automation
    • PLC
    • Control System
    • Safety System
    • Communication
    • Fire & Gas System
  • Instrumentation
    • Design
    • Pressure
    • Temperature
    • Flow
    • Level
    • Vibration
    • Analyzer
    • Control Valve
    • Switch
    • Calibration
    • Erection & Commissioning
  • Interview
    • Instrumentation
    • Electrical
    • Electronics
    • Practical
  • Q&A
    • Instrumentation
    • Control System
    • Electrical
    • Electronics
    • Analog Electronics
    • Digital Electronics
    • Power Electronics
    • Microprocessor
  • Request
Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Inst Tools > Blog > PLC Tutorials > Compare Online and Offline PLC Programs

Compare Online and Offline PLC Programs

Last updated: March 4, 2021 11:59 am
Editorial Staff
PLC Tutorials
No Comments
Share
4 Min Read
SHARE

This article is about to compare online and offline PLC programs using the Siemens TIA Portal.

Online and Offline PLC Programs

Offline program means the program which resides in the PC or laptop and online program means the program which resides in the PLC.

To understand the comparison between online and offline programs, I have created one FC block and one OB block example logic.

Follow the below steps to do the comparison of these programs.

Step 1:

Open TIA Portal. Open an existing program.

Here, I have chosen an example of a PLC program that is used to turn ON eight outputs by pressing the START button.

Siemens Project

In the second Network, I have used the FC block.

Some times we make some changes in the PLC programs but may forget to download the modified logic to the PLC. After some time, if we didn’t recall the modified logic in our PC or laptop then there will be different programs in PLC and PC. So to identify the modified logic we can compare offline (PC) and online (PLC) programs to identify the modified logic.

Step 2:

As you can see in the below program, I have downloaded both networks into the PLC.

Assume the second line in the first network is not downloaded to the PLC.

Siemens Compare Programs

Step 3:

To compare online and offline plc programs, do follow the steps as shown in the below window.

Right-click on the CPU, go to Compare and select offline/online option in the drop-down

compare online and offline plc programs

Step 4:

The following split window will open up.

Here, on the left side you can see an offline program and on the right side is an online program.

offline program

As you can see, if logic is different between offline and online programs then it will indicate in different colors.

Green color shows that both offline and online programs are identical.

A combination of blue and orange shows that blocks are not identical and further investigation is required.

Step 5:

To know the reason, do right click on OB and click on “start detailed comparison” as shown in the below window.

start detailed comparison

Step 6:

Here, a comparison window will open up.

Clicking on a detailed comparison will take you to the program where the logic is modified.

Code Block Comparison

Some issues with the first network, as it displays a blue and orange icon.

As you can see in the first network, offline program on the left-hand side contain one extra line of the logic.

The second network is fine as you can see the green button in front of that network.

Step 7:

Do follow the same step as above to check all the conflicts.

You can download the blocks whose logic is to be modified in the PLC

After downloading the program to the PLC, once again do the comparison.

In the below window you can see that there are no differences between offline and offline programs, so it displays green color buttons.

Compare PLC editor Online

This is how you can check the conflicts between offline and online programs.

Note: Some times there will be faults also appear due to these differences.

Author: Suhel Patel

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:

  • RSLogix 500 PID Instruction
  • Programmable Logic Controller
  • How to tune a PID Controller
  • Download Free PLC software
  • Will PLC become obsolete?
Don't Miss Our Updates
Be the first to get exclusive content straight to your email.
We promise not to spam you. You can unsubscribe at any time.
Invalid email address
You've successfully subscribed !

Continue Reading

Motor Trip Logic using PLC Programming
Structured Text PLC Example for Motor Interlocking and Control
Overview of SIEMENS PLC – S7-1500, S7-1200, S7-400, S7-300
Door Lock with Delay PLC Exercise Problems
Factory Acceptance Test (FAT) of a PLC Panel
Difference between PLC and HMI
Share This Article
Facebook Whatsapp Whatsapp LinkedIn Copy Link
Share
Leave a Comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

128.3kFollowersLike
69.1kFollowersFollow
210kSubscribersSubscribe
38kFollowersFollow

Categories

Explore More

HMI Handbook
Allen Bradley PLC Subroutines
What is Human Machine Interface (HMI) ?
Allen Bradley SLC 500 PLC Programming
Difference between DCS & PLC Systems
Principle of Operation of PLC
Use of Regions in SCL Language
PLC Logic for Automatic Bending Machine for Exhaust Pipe

Keep Learning

What is Fail-safe in Siemens PLC?

What is Fail-safe in Siemens PLC?

One-Shot Rising and Falling Edge Instructions in Rockwell PLC

One-Shot Rising and Falling Edge Instructions in Rockwell PLC

Masked Move Instructions

How to use Masked Move Instruction in PLC

Create Ladder Diagram from Boolean Logic

Create Ladder Diagram from Boolean Logic

DDE Protocol

What is the DDE Protocol?

PLC Programming Example on Timers Function Block

PLC Programming Example on Timers Function Block

PLC Program using One Shot Rising Instructions

One Shot Rising and One Shot Falling Instructions in PLC

PLC Power Supply and Operating Voltages

PLC Power Supply and Operating Voltages

Learn More

Power Systems Questions & Answers

Power Systems MCQ Series 1

thermal imaging instrument

Thermal Imaging Temperature Measurement

Electrical Machines Questions and Answers

Synchronous Machines Objective Questions

Two Differential Pressure Transmitters

Pressure Level Transmitter Problems

Differential Pressure Flow Meters

Short Notes on Differential Pressure Flow Meters

Test Automation in Production Environment

Test Automation in Production Environment – Everything You Should Know

What is Capillary Tubing

What is Capillary Tubing? – Advantages and Disadvantages

electrical-drives-questions-answers

Electrical Drives Questions & Answers

Menu

  • About
  • Privacy Policy
  • Copyright

Quick Links

  • Learn PLC
  • Helping Hand
  • Part Time Job

YouTube Subscribe

Follow US
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?