HotLoop core 4.23.4 release notes
The screen import goes from CODESYS to TwinCAT. A .TcVIS file, and the exports of cds-text-sync and codescribe, come over as a HotLoop screen with their buttons, frames and lamps, and what could not come over is listed with its text before anything is saved.
What changed
Section titled “What changed”- TwinCAT screens import. A TwinCAT
.TcVISfile is the same visualization in the IDE’s archive XML, so it goes through the CODESYS converter. Checked against the real TwinCAT PackML example (three screens, MIT, license kept beside them): 60 elements mapped, none unmapped. See CODESYS screen import. - Buttons. Every plain assignment in a button’s input action (
X := 5,X := TRUE, an enumeration member) becomes a button card that writes that value, with the caption as a label. A configured Toggle input becomes an on and an off button. Code that is more than an assignment (a condition, a call, arithmetic) is reported with its text. The OMAC PackML enumerations are known; any other goes in the import’senums, and a member with no known number is written by name and said so. - Lamps and hiding by an expression. A lamp’s variable or an invisible variable can be a comparison of one tag with a number, TRUE, FALSE or an enumeration member, joined with NOT, AND and OR and brackets. A comparison of two tags, arithmetic and calls cannot be carried and are reported.
- Frames. A frame shows another visualization. Send the project’s other files with the first (
codesysRelated; in the dialog, pick several files and the first is the screen) and the frame’s visualization is placed in the frame with each input bound to the variable the frame was given. - Symbol rules combine. A
showorcolorsrule can be{"all": [...]}or{"any": [...]}, a PLC’s AND and OR, three deep and eight parts, and a lost tag makes anallnot hold while ananyholds through the others. A lamp can carry alitrule in place of its tag. See Dashboards. - Tests. The energy meter test bounds what the meters counted by the time that really passed, not a fixed ten seconds.
Migrations
Section titled “Migrations”None.
API changes
Section titled “API changes”POST /api/dashboards/import takes codesysRelated and enums beside codesys. No route changed. See the HTTP API.
Upgrading from 4.23.3
Section titled “Upgrading from 4.23.3”A plain helm upgrade. No migration and no new secret.
What is not proven
Section titled “What is not proven”- The importers were proven against the TwinCAT PackML example and the cds-text-sync and codescribe sample exports, not against a customer’s own project. A project that uses more of the visualization language will list more it could not place.
- Expressions are comparisons of one tag with a constant joined by NOT, AND and OR. Anything else is reported, not guessed.