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

Basics of Loop Checks
How to Export Data from WinCC Runtime Advanced into Excel using VB Script
PLC Programming for Multi-Color Sorting Conveyor System
Motor Trip Logic using PLC Programming
Typical HMI Screen Design for Water Treatment Plant
#10 PLC Best Practices – Assign Register Blocks by Function
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

Use of Regions in SCL Language
PLC SCL Program for Marking Machine
PLC Pneumatic Circuit Control
Timers using Statement List (STL) PLC Programming
Hardware Troubleshooting Steps for PLC Automation Systems
Ladder Logic for Control of Double-acting Pneumatic Cylinder
Motor Control Signal Interface
How to Code a FIFO Queue in STL Language in Siemens PLC?

Keep Learning

SCADA backup too has been configured

FactoryTalk Studio and SQL Server for Data Logging

Code Simulation of Safety Circuit

Feedback Monitoring in Safety PLC

How to Get a PLC Programming Job With No Experience

How to Get a PLC Programming Job With NO Experience?

Data Handling Instructions in PLC Programming

Data Handling Instructions in PLC Programming

SCL Language in Siemens Tia Portal

FOR DO Statement in SCL Language

Advanced Ladder Logic PLC Example

Automatic Sanitizer – Complex Ladder Logic PLC Examples

Problem on PLC, HMI, VFD, and Motor Circuit

Problem on PLC, HMI, VFD, and Motor Circuit

Ladder Logic for Stair-Case wiring using Toggle Switches

Ladder Logic for Stair-Case wiring using Toggle Switches

Learn More

Pump and Mixer Operations Example PLC Timer-Based Control

Pump and Mixer Operations Example: PLC Timer-Based Control

Ultrasonic Level Switch Principle

Ultrasonic Level Switch Principle

Pressure Gauge Datasheet

How to Fill up Instrument Datasheet? – Pressure Gauge Specifications & Standards

Top PLC Manufacturers

Top PLC Manufacturers

Dahlander Motor Control Circuit

Dahlander Motor Control Circuit and Power Circuit

Industrial Automation and Control Interview Questions

Industrial Automation and Control Interview Questions

rangeability-of-flow-meter-vs-percentage-of-maximum-flow

Flow Transmitter Rangeability

2 wire transmitter current loops

2-wire Transmitters Current Loops

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?