A Siemens TIA Portal V21 library collection for reusable PLC control blocks.
This repository keeps ready-to-import TIA library archives, expanded global libraries, XML block exports, and UDT source files for review and version tracking.
archives/
FlowControl/
FlowControl.zal21
FlowControl-v0.1.1.zal21
FlowControl-v0.1.2.zal21
FlowControl-v0.1.3.zal21
MotionControl/
MotionControl.zal21
MotionControl-v0.1.1.zal21
SingleSolCyl/
SingleSolCyl.zal21
blocks/
xml/
FlowControl/
MotionControl/
SingleSolCyl/
udt/
UDT_FlowControl/
UDT_MotionControl/
libraries/
FlowControl/
FlowControl/
FlowControl-v0.1.1/
FlowControl-v0.1.2/
FlowControl-v0.1.3/
MotionControl/
MotionControl/
MotionControl-v0.1.1/
SingleSolCyl/
SingleSolCyl/
Compressed TIA Portal global library archives, grouped by library name.
Use these when you want the simplest import path in TIA Portal.
Expanded TIA Portal global library folders, grouped by library name and version.
These folders intentionally include TIA internal folders such as System, TMP, Vci, XRef, IM, and AdditionalFiles. Do not delete or ignore these folders when you want the .al21 library to remain openable in TIA Portal.
TIA Openness XML exports of PLC blocks. These files are the best place to review behavior changes in GitHub.
PLC data type source files used by the libraries.
- Download the required
.zal21file fromarchives/or the GitHub Release page. - Open TIA Portal V21.
- Open the global library or retrieve the archive.
- Drag the required blocks or types into your PLC project.
- The libraries are intended for TIA Portal V21.
FlowControlnow includes base,v0.1.1,v0.1.2, andv0.1.3exports.MotionControlnow includes base andv0.1.1exports.SingleSolCylhas archive, expanded library, and LAD/SCL XML block exports.- Keep XML exports in Git for easier diff and review.
- Keep
.zal21archives for convenient reuse. - Keep expanded
.al21library folders complete. Their internal folders are part of the TIA library structure.
这个仓库用于保存西门子 TIA Portal V21 可复用 PLC 库,包括:
.zal21全局库归档,方便下载和导入。- 展开后的
.al21全局库目录,方便直接打开和版本跟踪。 - FB/FC 等块的 XML 导出文件,方便在 GitHub 查看差异。
- UDT 数据类型源文件。
注意:libraries/ 下面的 System、TMP、Vci、XRef、IM 等目录不要删除,它们是 TIA 展开库结构的一部分。