Project in pure HTML + CSS + JS (no backend)
View demo
·
Report Bug
PLC Programme Viewer CMS is a lightweight, browser-based tool for managing and viewing Siemens TIA Portal program documentation.
It helps engineers export blocks as PDFs, organize them into trees, and review them directly in the browser – all without installing additional software or servers.
All data is saved locally in the browser via localStorage or exported/imported as .json files.
-
📁 Project list manager
- Add, rename, duplicate, delete, or export/import projects (
projects.json) - Quick search by name, description, or date
- Pinned projects support (priority at the top)
- Add, rename, duplicate, delete, or export/import projects (
-
🧱 Viewer
- Organize blocks into groups and subgroups
- Add/edit OB / FB / FC / DB / UDT / Tags
- Optional F-Blocks with yellow icons
- Inline editing of names and links
- Embedded PDF viewer (
iframe) - Reset to default template
-
💾 Persistence
- Automatic saving to
localStorage - Export/import single project or full list as JSON
- Automatic saving to
-
🌍 Instructions panel
- Built-in multilingual guide (PL / EN)
- Step-by-step screenshots on exporting blocks and adding them to the project tree
-
🧠 No backend required – works fully offline
index.html– Project list (add, search, manage, import/export)viewer.html– Project viewer (tree + PDF preview + edit mode)default.html– Instruction page (multilingual)404.html– Redirect / slug handler for GitHub Pagessrc/*.js– Application logic (index-app.js,viewer-app.js)src/*.css– Styling (index-style.css,viewer-style.css)images/– Icons and screenshots for help
- Clone or download this repository
- Open
index.htmlin a modern browser - Use the toolbar to:
- ➕ Add a new project
- 📂 Import/export
projects.json - 🧱 Open empty template
⚡ Changes are saved locally in your browser.
To share or back up work, export as.jsonand re-import later.
In order for the block to have the correct style, you need to give it the appropriate tag in the name, e.g., Block [FC...] based on the example, the block we are adding has the Function block style.
| Tag | Meaning | Style |
|---|---|---|
[OB] |
Organization block | ![]() |
[FB] |
Function block | ![]() |
[FC] |
Function | ![]() |
[DB] |
Data block | ![]() |
Tags |
PLC tag table | ![]() |
UDT |
User-defined data | ![]() |
F-Block |
Safety block (yellow) | ![]() |
Right-click a block → Print… → choose Microsoft Print to PDF → save with block name.
- Click ✏️ Edit Mode
- Press ➕ Add Block
- Fill in block name with
Tag(e.g Main [OB1]) + PDF path (e.g.pdf/Main_OB1.pdf) - Optionally mark F-Block
Created by tentypcic © 2025
Distributed under the MIT License.













