Skip to content

Lightweight in-browser CMS for organizing and viewing PLC program documentation (PDFs) exported from TIA Portal. Includes editable structure, dynamic blocks/groups, and persistent storage.

License

Notifications You must be signed in to change notification settings

tentypcic/plc_program_viewer_cms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PLC Programme Viewer CMS

Project code in pure HTML + CSS + JS
View demo · Report Bug


🧠 About The Project

A lightweight, in-browser CMS for organizing and displaying PLC program documentation (PDFs) exported from Siemens TIA Portal.

This template allows engineers to structure, edit, and visualize automation projects — directly in the browser, without a backend.


🛠 Features

  • 📁 Add and organize groups and program blocks
  • ✏️ Inline editing of names, titles, and links
  • 📄 View PDF files within embedded viewer (e.g. OB/FB/FC/DB documentation)
  • 💾 Save and import project structure as JSON
  • 🔁 Restore default template
  • 🧠 No backend required – works offline using localStorage

🧩 Structure

The CMS consists of:

  • A sidebar menu for navigation
  • PDF viewer pane (embedded <iframe>)
  • JSON-based structure storage
  • Title editor with persistent state
  • Dialogs for adding blocks and groups dynamically

🚀 Getting Started

  1. Clone or download this repository
  2. Open index.html in any modern browser
  3. Use the Edit Mode button to unlock full functionality

All data is saved locally in your browser (localStorage) – no server needed.


📁 File types

Icon Meaning
[OB] Organization block
[FB] Function block
[FC] Function
[DB] Data block
Tags PLC tag table
UDT PLC data types

🧑‍💻 Author

Created by tentypcic
© 2025 – Free for personal and commercial use under MIT license


📄 License

MIT License

About

Lightweight in-browser CMS for organizing and viewing PLC program documentation (PDFs) exported from TIA Portal. Includes editable structure, dynamic blocks/groups, and persistent storage.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published