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: #17 PLC Best Practices – Log PLC Uptime and Trend it on HMI
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 > #17 PLC Best Practices – Log PLC Uptime and Trend it on HMI

#17 PLC Best Practices – Log PLC Uptime and Trend it on HMI

Log PLC uptime to know when it’s been restarted. Trend and log uptime on the HMI for diagnostics.

Last updated: September 23, 2021 11:11 am
Editorial Staff
PLC Tutorials
No Comments
Share
2 Min Read
SHARE

Log PLC uptime to know when it’s been restarted. Trend and log uptime on the HMI for diagnostics.

Security ObjectiveTarget Group
MonitoringIntegration / Maintenance Service Provider

Log PLC Uptime

Keep track of programmable logic controller uptime

  • in the PLC itself (if uptime is a system variable in the PLC)
  • in the PLC itself if it has MIB-2 / any SNMP implementation
  • externally by means of e.g., SNMP

If the PLC has SNMP with MIB-2, which is very common, the OID for uptime “sysUpTimeInstance(0)” is 1.3.6.1.2.1.1.3.

Uptime resets are important indicators for PLC restarts. Make sure the HMI alerts to any sort of PLC restart.

Uptime correlated with error codes are good diagnostics.

Example

/

Why?

Beneficial for…?Why?
      SecurityThe most basic attack vector for a PLC is to force it to crash and/or restart.

For many PLCs, it is not that hard to do, because many PLCs cannot cope well with unexpected inputs or too much traffic.

Thus, unexpected restarts can be an indicator that the PLC encounters unusual actions.
  ReliabilityPLC restarts are also good for diagnostics in case of failures and for monitoring which PLCs are being worked on at what time.
Maintenance/

References

Standard/frameworkMapping
MITRE ATT&CK ICSTactic:  TA009 – Inhibit Response Function
Technique:  T0816 – Device Restart/Shutdown
ISA 62443-3-3SR 7.6: Network and security configuration settings
ISA 62443-4-2CR 7.6: Network and security configuration settings
MITRE CWECWE-778: Insufficient Logging

Source: PLC Security

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

Monitor and Modify Variables in Simatic Manager
Explaining Various Types of Analog Instruments
If Else Statement in SCL Language
Pause the Timer PLC Ladder Logic
Difference between Signal Cables and Control Cables
While Do Statement in Structured Text PLC Program
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

Siemens PLC Mathematics Instructions
How CPU Execute Program in Siemens PLC?
Allen Bradley Studio 5000: Motor Running Hours PLC Program
Top 100 PLC Projects List
XG5000 PLC Programming for Automatic Exhaust Fan
#16 PLC Best Practices – Create Trend for Cycle Time on HMI
Automatic Highway Lights Program using RTC in Omron PLC
How to use Master Control Reset (MCR) Instruction in PLC

Keep Learning

Ladder Logic for Flow Meter Totalizer

Ladder Logic for Flow Meter Totalizer

Industrial Automation Cold and Hot Standby

Difference between Cold Standby and Hot Standby

Advanced PLC Programming Training Course

Advanced PLC Course with Programming and Simulation

Difference between Motion Controller and PLC

Difference between Motion Controller and PLC

Fail Safe Switch Circuit

Basics of Fail-safe Circuits

Scan cycle of a Siemens PLC

OB1 – Main Cyclic Organization Block in TIA Portal

Control 3 Motors with Toggle Switch

PLC Ladder Logic Design: Control 3 Motors with Toggle Switch

PLC Timer Program

PLC Timer Instructions

Learn More

Difference between Smart Transmitter and Ordinary Transmitter

Difference between Smart Transmitter and Ordinary Transmitter

Power Electronics Objective Questions

Single Phase VSI Objective Questions

Servo Operated Manometer Objective Questions

Servo Operated Manometer Objective Questions

Industrial Internet of Things

Introduction to the Industrial Internet of Things (IIoT)

PLC Signal Flow

Basic DCS/PLC Signal Flow – Video

Generator Action in a Motor

What is Synchroscope ?

Single-acting Cylinder OR operation (PLC and Sensors)

Single-acting Cylinder OR Logic Operation (PLC and Sensors)

Power Electronics Objective Questions

Single Phase Voltage Source Inverter (VSI) Objective Questions

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?