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
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

How to Communicate with Excel from Intouch SCADA?
PLC Programming in Hindi – Siemens Tia Portal Full Course Free
Use of Comments in SCL Language
Various Causes for PLC Going in Stop Mode
Do’s and Don’ts in PLC
How to do Scaling for Analog Input in RSLogix 500?
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

OpenPLC – PLC Training for Students – Free Tutorials & Courses
CX-Programmer Products Sorting & Counting – Omron PLC
Learn about SCADA and HMI Systems
Complete PLC Project: Traffic Light Auto and Manual Automation
How to Insert Block Calls in SCL Language?
Types of Interrupt OB in Siemens Tia Portal
How to Automatically Close Pop-up in FactoryTalk View Studio?
PLC Logic: Control Spray Nozzle, Fans, and Puncher

Keep Learning

PLC Documents

PLC System Documentation

Creating Logic in Intouch Using Scripting

Create Logic with InTouch Scada using Scripting

Best PLC for Your Project

Finding the Best PLC for Your Project – Tips and Tricks

Sequential Operation of Output Bits using Two Push buttons

Sequential Operation of Output Bits using Two Push buttons

PLC Control Panel

Inside the PLC Control Panel: How Much Do You Know?

TIA Portal Options

How to Troubleshoot Siemens PLC Programs?

Compare DCS, PLC, RTU

Difference between DCS, PLC, and RTU ?

memory types in siemens plc

#13 PLC Best Practices – Disable Unused Communication Ports

Learn More

What Do You Learn in Software Engineering

What Do You Learn in Software Engineering?

Nuisance Alarms

What is Alarm Shelving? – Nuisance Alarms, Types, Suppression

Electrical Machines Questions and Answers

Salient Pole Machines Quiz

Single Phase Motor Manual Controller

Motor Controllers

Water Vapor in Instrument Air Lines

How to Minimize Water Vapor in Instrument Air Lines?

Digital Electronics Multiple Choice Questions

Random Access Memory Objective Questions – Part 1

What is a Fotonic Sensor

What is a Fotonic Sensor? – Working Principle, Advantages, Disadvantages

Analog Electronics Objective Questions

Analog Electronics Objective Questions – Set 8

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?