Inst ToolsInst ToolsInst Tools
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
      • Instrumentation
      • Electronics
      • Electrical
      • Practical Questions
    • MCQ
      • Instrumentation MCQ
      • Electrical MCQ
      • Electronics MCQ
      • Control Systems MCQ
      • Analog Electronics MCQ
      • Digital Electronics MCQ
      • Power Electronics MCQ
      • Microprocessor MCQ
      • Multiple Choice Questions
  • EE
    • Electronics
      • Electronics Q & A
      • Electronic Basics
      • Electronic Devices & Circuits
      • Electronics Animation
      • Digital Electronics
    • Electrical
      • Electrical Basics
      • Electrical Q & A
      • Power Electronics
      • Electrical Machines
      • Electrical Animation
      • Power Systems
      • Switchgear & Protection
      • Transmission & Distribution
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
Search
All rights reserved. Reproduction in whole or in part without written permission is prohibited.
Reading: Compare Online and Offline PLC Programs
Share
Notification Show More
Font ResizerAa
Inst ToolsInst Tools
Font ResizerAa
  • Courses
  • PLC Tutorials
  • Control Systems
Search
  • Ask
  • Courses
  • Videos
  • Q & A
    • Interview
    • MCQ
  • EE
    • Electronics
    • Electrical
  • Measure
    • Control Valves
    • Calibration
    • Temperature
    • Pressure
    • Flow
    • Level
    • Analyzers
    • Switches
    • Vibration
    • Solenoid Valve
  • Control
    • PLC Tutorials
    • Control Systems
    • Safety Instrumented System (SIS)
    • Communication
    • Fire & Gas System
  • More
    • Design
    • Tools
    • Animation
    • Basics
    • Formulas
    • Standards
    • TextBooks
    • Common
    • Software
    • Excel Tools
    • Erection & Commissioning
    • Process Fundamentals
    • Videos
    • Books
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.

Contents
Online and Offline PLC ProgramsStep 1:Step 2:Step 3:Step 4:Step 5:Step 6:Step 7:

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 !
#19 PLC Best Practices – Monitor PLC Memory Usage
Difference between Motion Controller and PLC
Siemens PLC Mathematics Instructions
PLC Ladder Logic Simulator Mobile Apps For Android
PLC Timer Practice Exercise: Coffee Machine Programming
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
208kSubscribersSubscribe
38kFollowersFollow

Categories

Recent Comments

  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • Guifty Shimica on Top Non-PLC Certification Courses for Automation Professionals
  • MIHARITSOA Aina Sitraka on Top Non-PLC Certification Courses for Automation Professionals
  • Vaishnavi on Free Instrumentation Course for Trainee Engineers

Related Articles

Structured Text in PLC: Parking Information Systems

Structured Text in PLC: Parking Information Systems

PLC Hoist Crane Programming

PLC Hoist Crane Programming: Example using Schneider

Configuration of Siemens Scada and PLC

Configuration of Input and Output Tags in Siemens Scada and PLC

Communicate between the PLC program and HMI program

Design a Program Using Studio 5000 and FactoryTalk View Studio

Automatic Liquid Mixing Application

PLC Program for Automatic Liquid Mixing Application

Comparison Instructions in PLC Programming

Comparison Instructions in PLC Programming

PLC program for Sorting System by Size Example

PLC Based Product Sorting Machine System – Lift Control

Open User Communication in Siemens Tia Portal - PLC to PLC

Open User Communication in Siemens Tia Portal – PLC to PLC

More Articles

Instrument Process Datasheet

Instrument Process Datasheet (IPDS)

Single Line Diagram of UPS System

UPS Selection Factors for a Control System

Helix Bimetallic Thermometer Principle

Helix Bimetallic Thermometer Principle

SMART Control Valve Positioner

Electronic Valve positioners

NH3 Storage Tanks Ammonia Gas

NH3 Storage Tanks Ammonia Gas Venting Issue – Root Cause Analysis

Air Release Valve

What is an Air Valve? Purpose, Types, Advantages, Disadvantages

Flapper nozzle system

What is Flapper Nozzle System ?

Basic Requirements of Sizing the Control Valves

Basic Requirements of Control Valves Sizing

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?