Repository navigation
v4.1.2
v4.1.2 — Automation Engineering Workbench 4.1.2
中文
这是自动化工程工作台(适用于 TIA Portal)4.1 的第二个修复版,发布日期 2026-12-04,在 GitHub 上设为最新版(Latest)。本版适用于全部八个 TIA Portal 版本:V14 SP1、V15.1 和 V16–V21。工具名称和参数与 4.1.1 相同,没有新增工具。DownloadPlc 的一种错误码和工作台的显示有变化,见下文。
已安装 4.0.x 或 4.1.x 的用户可以在工作台中检查更新,也可以从 GitHub 发布页手动下载。3.3 的自动更新器仍不提供 4.x,从 3.3 升级见 4.0.0 发布说明。
修复
- 工作台识别单个 IP 的防火墙规则。 Windows 把只允许一个 IPv4 地址的规则显示为起止相同的范围(如
192.168.0.10-192.168.0.10),以前工作台认为规则不匹配并提示缺少规则。感谢社区贡献者 BoykaHe(Issue #12、PR #13)。 DownloadPlc在下载前被拒绝时给出确定结果。 路由可以读取、TIA 在开始下载前拒绝了路由配置时,返回PRECONDITION_FAILED,不再报结果未知。证据中routeConfigurationAttempted表示尝试过工程侧的路由配置,routeConfigurationChanged表示确认改过;这些都只改工程,不改 PLC。路由无法读取时仍报结果未知。- 审批历史区分两种“未执行”。 人工批准后目标拒绝执行的调用显示为“已批准,目标拒绝执行”,以灰色显示,不再与人工拒绝混在一起。
- 凭据输入框显示凭据名称。 审批卡上的凭据输入框显示并朗读本地化标签和凭据名称,例如“工作台凭据 <名称>”。
- AI 调用页显示“成功(信息有限)”。 调用成功但只返回部分数据时显示为“成功(信息有限)”,不再显示为“部分完成”。“成功”的筛选和计数包括这类调用;“异常”的计数和快捷筛选包括失败、部分完成和结果未知的调用。感谢 BoykaHe(Issue #14、PR #15)。
- 按请求编号打开调用时显示该记录。 打开调用会同时清除调用方筛选,所选记录不会被筛选隐藏。
客户端可能注意到的变化
- 上文
DownloadPlc的情况从OUTCOME_UNKNOWN改为PRECONDITION_FAILED,mayHaveChanged为false。 - 工作台调用记录导出和筛选中新增结果值
succeeded-limited;原来的partial只用于真正部分完成的调用。
验证
本版的修复经过离线测试和本机完整门禁(merge-check -All)。GUI 测试和夹具测试改为不依赖屏幕大小和文件锁,以便在 GitHub 的 Windows 运行器上通过;没有放宽任何断言。DownloadPlc 的修复来自 4.1.1 在 V21 虚拟机上的复测,修复本身没有在虚拟机上重跑,也没有连接过真实 PLC。
已知限制
4.1.0 的说明中的限制仍然适用。同一调用在结果未知后被读取时会解除同调用保护,这一规则保持不变,显式确认的设计在 4.2 中考虑。
报告问题
请在 GitHub Issues 报告,写明 TIA Portal 版本、工具名称、请求编号和返回的错误码。
交付包:TIA_MCP_v4.1.2_20261204.zip(1523 个文件,183730072 字节)。
源提交:f1223d12fd43a9b3eb207a51461b1239153bed92。
ZIP SHA-256:
330867cbf204bca17b0a4910013dd9e82a6a56dc58b447546aed00314ab53d42
English
This is the second patch release of Automation Engineering Workbench for TIA Portal 4.1, published on 2026-12-04 and marked Latest on GitHub. It applies to all eight supported TIA Portal releases: V14 SP1, V15.1 and V16–V21. Tool names and parameters are the same as in 4.1.1, and no tool is added. One DownloadPlc error code and some Workbench displays change, as listed below.
If you have 4.0.x or 4.1.x installed, check for updates in the Workbench, or download the release manually from the GitHub releases page. The 3.3 updater still does not offer 4.x; to upgrade from 3.3, see the 4.0.0 release notes.
Fixes
- The Workbench recognises single-address firewall rules. Windows reports a rule that allows one IPv4 address as a range with identical endpoints (for example
192.168.0.10-192.168.0.10); the Workbench treated it as not matching and reported the rule as missing. Thanks to community contributor BoykaHe (issue #12, PR #13). DownloadPlcgives a definite result when refused before download. When the route is readable and TIA refuses the route configuration before the download starts, the call returnsPRECONDITION_FAILEDinstead of an unknown outcome. In the evidence,routeConfigurationAttemptedmeans a project-side route configuration was attempted androuteConfigurationChangedmeans it was confirmed; both change only the project, never the PLC. An unreadable route still reports an unknown outcome.- Approval history tells the two "not executed" cases apart. A call that the target refused after human approval shows as "Approved, refused by target" in a muted tone instead of looking like a human rejection.
- Credential fields show the credential name. The credential field on an approval card displays and announces the localized label and the credential name, for example "Workbench credential <name>".
- The AI call journal shows "OK (limited data)". A successful call that returned only part of its data shows as "OK (limited data)" instead of "partial". The Success filter and count include these calls; the Issues count and quick filter include failed, partially completed and unknown outcomes. Thanks to BoykaHe (issue #14, PR #15).
- Opening a call by request ID shows it. Opening a call also clears the actor filters, so the selected call is not hidden.
Changes clients may notice
- The
DownloadPlccase above changes fromOUTCOME_UNKNOWNtoPRECONDITION_FAILED, withmayHaveChangedfalse. - Workbench journal exports and filters gain the result value
succeeded-limited;partialnow means only a call that really completed partially.
Verification
The fixes in this release are covered by offline tests and the full host gate (merge-check -All). The GUI and fixture tests no longer depend on the screen size or on file locks, so they also pass on GitHub's Windows runners; no assertion was loosened. The DownloadPlc fix comes from the 4.1.1 recheck on the V21 virtual machine. The fixes themselves were not rerun on the virtual machines, and no real PLC was connected.
Known limitations
The limitations in the 4.1.0 notes still apply. Reading a call whose outcome is unknown still releases the same-call guard; an explicit acknowledgement design is being considered for 4.2.
Report problems
Report problems in GitHub Issues with the TIA Portal release, the tool name, the request ID and the returned error code.
Package: TIA_MCP_v4.1.2_20261204.zip (1523 files, 183730072 bytes).
Source commit: f1223d12fd43a9b3eb207a51461b1239153bed92.
ZIP SHA-256:
330867cbf204bca17b0a4910013dd9e82a6a56dc58b447546aed00314ab53d42