Fraktal/TC3 — TwinCAT 3 Binding (Part II)
Unified PLC Programming Standard · Part II: the TwinCAT 3 binding of Fraktal Core
Status: Draft · Part II of III (Part I: Fraktal_Core_Part_I.md; Part III: Fraktal_AB_Part_III.md)
Platform: Beckhoff TwinCAT 3 · IEC 61131-3 (ST, TwinCAT OOP extensions)
Every clause in this Part binds a Core contract and cites it as Core §x.y; a binding clause carries the number of the Core clause it realizes (numbering is preserved across the split). Nothing here introduces new normative model content — tiers, contracts, state machines, diagnostics, and routing live in Part I; this Part maps them onto TwinCAT 3 language extensions and services. A port to another platform re-implements this document only (Core §1.1 O8).
The worked-example annex set A–I (Core §12) belongs to this binding and ships in
fraktal-tc3.
TC3 §1 — Binding identity & technology baseline
Section titled “TC3 §1 — Binding identity & technology baseline”Binds Core §1.1 (technology baseline), §1.2 (scope), §1.6 (definitions).
Fraktal/TC3 is the TwinCAT 3 binding of Fraktal Core. Conformance claims compose as “Fraktal Core + Fraktal/TC3 (+ profiles)” (Core §1.1 O8).
Technology baseline. TwinCAT 3 (IEC 61131-3 with the TwinCAT OOP extensions) for control; EtherCAT for fieldbus and device integration (TC3 §10); Beckhoff TwinSAFE / FSoE for functional safety (TC3 §9); the TF6100 OPC UA server for connectivity and self-description (TC3 §3.10, TC3 §11.1); a generic Flutter operator HMI auto-discovering the module tree (Core §3.13).
Binding definitions (extends the Core §1.6 table):
| Term | Meaning |
|---|---|
| TwinSAFE / FSoE | Beckhoff functional-safety system / Safety-over-EtherCAT protocol (TC3 §9). |
| TF6100 | The TwinCAT OPC UA server product (TC3 §11.1). |
| XAE / XAR | TwinCAT engineering environment / runtime (TC3 §2.1). |
| TMC / ADS | TwinCAT symbol file (server import, TC3 §3.10) / the TwinCAT communication protocol and its runtime ports (TC3 §4.1). |
TC3 §2 — Development & Runtime Environment (TwinCAT 3)
Section titled “TC3 §2 — Development & Runtime Environment (TwinCAT 3)”TC3 §2.1 Toolchain & versions
Section titled “TC3 §2.1 Toolchain & versions”Binds Core §2 (pinned-toolchain rule).
- Engineering is done in TwinCAT 3 (XAE). The exact XAE build and the runtime (XAR) build shall be pinned per project and recorded in the project documentation; every station on a line uses the same pinned versions.
- The framework requires the TwinCAT OOP extensions (interfaces, methods, inheritance, properties,
FB_init); these are used only in framework code (Core §5.5).
TC3 §2.2 Library distribution
Section titled “TC3 §2.2 Library distribution”Binds Core §2.2.
- Libraries are referenced as versioned TwinCAT library references with their dependencies; local or relative library references are not permitted (Core §5.4). The framework library ships as a versioned TwinCAT library; projects consume a pinned release, never a copy.
- Reference implementation: repository
fraktal-core—PLC/TwinCAT/Framework/Fraktal_Core(framework library),PLC/TwinCAT/Framework/Fraktal_Modules(reusable module library),PLC/TwinCAT/Examples/CoreDemo/Fraktal_Demo(executable root-Unit forest),PLC/TwinCAT/Examples/PressDemo/Fraktal_Press_Demo(internal feature-testing bench, not a real project),PLC/TwinCAT/Tests(aggregate Core + Modules TcUnit gate) andPLC/TwinCAT/Examples/PressDemo/PressTests(the bench’s integration gate) — both test applications are excluded from deployed runtimes, andPLC/TwinCAT/scaffold. - TwinCAT library metadata uses four components (
major.minor.patch.revision, e.g.0.1.0.0). Fraktal compatibility follows the first three semantic-version components;revisionidentifies a binding rebuild that does not change the observable contract. - Which component to step (soft rules, pre-1.0). Pick the lowest that is true; when in doubt, the higher.
minor— a consumer must act: a public type or member removed or renamed, a persistent or published layout changed (retained data reinitializes, a browse leaf moves), a mailbox, reason-code or manifest meaning changed.patch— backward compatible but observable: a type, method or appended member added; a behaviour fix a client can see.revision— nothing observable: an internal refactor, a comment, a rebuild.- Test-only and HMI-only changes step no library. Core and Modules are numbered independently, and a consumer re-pins only the library that stepped.
- The reproducible XAE build order, full-build/object-check distinction, local
library save/install procedure, isolated-runtime interaction, and retained
evidence are defined in
TWINCAT_XAE_WORKFLOW.md. ACheckAllObjects()result shall not be reported as target activation, download, or runtime evidence. Its Boolean is the all-object pass/fail authority; failure detail shall be retained from the matching DTE2 ErrorItems/Build Output capture (or the visible PLC Error List fallback) as defined by workflow §5.1–5.3. Zero captured rows shall not overrideCheckAllObjects()=FALSE.
TC3 §2.4 Project & solution settings
Section titled “TC3 §2.4 Project & solution settings”Binds Core §2 note; baseline defined in TC3 §4.1 (project name, autostart boot project, symbolic mapping, TMC symbol download, ADS ports, documentation format).
TC3 §2.5 Source-control form
Section titled “TC3 §2.5 Source-control form”Binds Core §2.5. Text-diffable storage is TwinCAT source / PLCopen-XML export or the IDE’s text storage.
When one .plcproj compiles linked sources from sibling project directories, its owning XAE project
shall establish their nearest common ancestor as the PLC source base and every Compile Include
shall be a downward relative path from that base. TwinCAT’s Add Existing Item importer validates
the raw source path before applying Link metadata and may reject escaping .. segments. The
Hoisting a manifest to a common ancestor is therefore always sound, but it is the
fallback: it drags the manifest away from the sources it owns and clutters the
binding root. Prefer instead to give each body of sources its own manifest, so
no cross-sibling linking is needed at all.
The reference implementation does this with two gates. PLC/TwinCAT/Tests/ holds
the aggregate Core + Modules gate, whose every compile input is downward from
Tests/; the press example’s suites live in
PLC/TwinCAT/Examples/PressDemo/PressTests.plcproj, downward from PressDemo/.
Both gates shall be run. A project’s suites may live beside the example they
exercise, but shall remain a separate .plcproj so no test object reaches the
deployed runtime (Core §5.7), and shall link — never copy — the objects under test.
A <Folder Include> list shall mirror the manifest’s Compile Include directories,
not its Link paths: XAE materializes those entries as real directories relative to
the manifest, so any other list leaves empty phantom folders in the source tree.
TC3 §2.7 Time-synchronization mechanics
Section titled “TC3 §2.7 Time-synchronization mechanics”Binds Core §2.7. PTP discipline is realized over EtherCAT distributed clocks for the fieldbus and network PTP (IEEE 1588) for the IPC; NTP fallback where PTP is unavailable.
The framework library exposes the station clock as F_Now() : DT (wrapping Tc2_Utilities.F_GetSystemTime, UTC). Every framework timestamp — ST_Diagnostic.Since (Core §8.8), the FB_PermIntlk first-out (Core §7.2), alarm edges, part results and cycle profiles — reads it, so “one clock feeds all timestamps” (Core §2.7) holds by construction rather than by convention.
GVL_FraktalTime.Current : ST_TimeQuality is the one PLC-wide quality authority
and is excluded from OPC UA; each configured root republishes its validated copy
inside SystemHealth. F_TimeSynchronized() supplies the quality Boolean stamped
alongside every framework wall-clock field. FB_TcSystemHealthProbe measures the
primary task from the monotonic TIME() source and accepts the remaining target
metrics, DC state, and documented time-source quality as explicit inputs. A target
adapter shall source those inputs from the licensed/runtime APIs available on that
controller. Missing metrics remain Available=FALSE; an application shall not
inject healthy zeros. F_Now() does not discipline the operating-system clock;
the target’s PTP/NTP/DC commissioning still owns that prerequisite.
For a station choosing its existing Windows Time service, the reference binding
provides FB_TcWindowsTime, configured once through
FB_TcSystemHealthProbe.M_UseWindowsTime. A target-local read-only observer
supplies structured Windows service quality; the reader validates and expires
it through the same authority. Build and target installation are described in
Guides/TC3_WINDOWS_CLOCK.md. This adapter observes
the chosen service; it does not commission or discipline the clock.
The observer’s record is stamped by the operating-system clock, while F_Now() reads
the TwinCAT system time that stamps every event, and the two can disagree: on the
usermode test runtime the TwinCAT time fell 475 s behind Windows UTC within about
2.4 h of run time. The reader therefore judges freshness by the record changing, and
reports a PLC clock more than the sample age behind the observed OS clock as
unsynchronized (ErrorID 1398) however well the OS clock itself is disciplined. A
target’s acceptance shall include this comparison.
TC3 §3 — Language & wiring mechanics (TwinCAT 3)
Section titled “TC3 §3 — Language & wiring mechanics (TwinCAT 3)”TC3 §3.2 Capability query
Section titled “TC3 §3.2 Capability query”Binds Core §3.2/§3.7/§3.9. The Core’s runtime capability query (interface upcast on a child held as I_Module) is realized with the TwinCAT operator __QUERYINTERFACE(iChild, iRicher), returning TRUE and filling the richer interface reference when the instance implements it. I_Module shall extend __System.IQueryInterface, so every richer tier interface inherits the capability-query prerequisite. Used in the parent walk (Core §3.2), the mode cascade (Core §3.7), and client-side feature checks (Core §3.9).
TC3 §3.3 Public contract variable classes
Section titled “TC3 §3.3 Public contract variable classes”Binds Core §3.10(a′)/(a″), §3.12 and §6.1. TwinCAT permits external ST access only to a function block’s inputs and outputs. Therefore contract/configuration request data (Command, Execute, Abort, ParCfg, ParCmd, and root-Unit HmiRequest) shall be declared VAR_INPUT; published result/status data (Busy, Done, Error, Aborted, ErrorID, Status, Timing, OutCmd, OutImm, and HmiResponse) shall be VAR_OUTPUT. Published child-module instances used for recursive traversal are VAR_OUTPUT. A caller may read such a child and call its public methods, but shall not assign a nested child input through the parent’s output; TwinCAT rejects that write. PLC composition code shall route the request through an explicit public method on the child or owning parent. OPC UA clients commit requests through the root Unit mailbox, where the base independently release-gates them and acknowledges the sampled sequence. Implementation state remains VAR and is never accessed from another FB. This mapping makes the PLC composition API, TMC symbols, and OPC UA contract agree instead of relying on non-standard access to FB locals.
For the pinned 3.1.4024 binding, every method input shall be supplied explicitly at each call. Optional method inputs with declaration initializers are a 3.1.4026+ feature and shall not be used by the 4024 reference implementation.
TC3 §3.5 Sequence binding — the FB_SequenceBase ST skeleton
Section titled “TC3 §3.5 Sequence binding — the FB_SequenceBase ST skeleton”Binds Core §5.5, §6.2 and §6.8. A multi-step application sequence is a separately compiled POU that
shall extend the Core FB_SequenceBase. The reference (shipped) form is the Core §6.8 ST
CASE _step OF skeleton: each step branch owns the corresponding step’s real application behavior —
M_Step/M_Await publication, the child Execute/Done handshake, timer or decision evaluation,
result work — and sets the shared transition result _retVal. A native graphical TwinCAT SFC is a
permitted alternative under Core §6.8, but only when authored in the XAE SFC editor (its proprietary
chart XmlArchive is not reliably machine-generatable — a hand-emitted chart missing the connection
graph fails with an Unknown type: 'SFCStepType' cascade and shall not be committed). The ST skeleton
is preferred here precisely because it is plain reviewable text with no editor-generated blob.
FB_SequenceBase owns the framework bridge and shared flow mechanics once: the _step token, M_Step,
M_Await, M_Gate, one-shot M_TryIssue, M_Delay, the part/decision/completion forwards, the shared
_retVal : E_StepResult, and M_Advance. A step branch is _retVal’s only writer; it ends with
M_Advance(OnAdvance := <next>) (plus optional OnJump<n> for §6.10 branches), which commits the
transition — advancing to the mapped step and clearing the step-scoped latches (drive-issue, delay) so
the next step re-arms, or holding on NONE. The owning FB_UnitBase already implements I_SequenceHost
and is attached during sequence Setup. Projects shall not introduce another host interface, a per-step
transition Boolean set, or a forwarding wrapper for each step.
Direct child input writes shall use owner-bound REFERENCE TO aliases established during Setup,
avoiding the prohibited write through a parent’s published VAR_OUTPUT (TC3 §3.3). Reference/interface
members are implementation state and shall be excluded from TF6100 publication ({attribute 'OPC.UA.DA' := '0'}). The step branch still names the child, command, wait predicate, decision, and transition; the
base is plumbing, not hidden behavior.
The reference press uses FB_PressDemoHome, FB_PressDemoChangeover, FB_PressDemoAuto, and the shared
FB_PressDemoLoadPosition under the application branch Fraktal_Press_Demo/01_PneumaticPress/Sequences,
called by FB_PressDemoUnit._M_SequenceHome, _M_SequenceChangeover, and _M_SequenceAuto. Those Unit
methods only perform the reset-then-run lifecycle call; they contain no active-step selector or
production state machine. All four extend FB_SequenceBase; issue and await remain in one reviewable
drive step. The shared FB_PressDemoLoadPosition is one private nested chain invoked as a composite
parent step; its own ram-up, door-open, and slide-outside branches contain the real child handshakes and
publish detailed private progress through the Unit’s normal step record via a caller-supplied
BaseStepNo window. No sequence helper is a Fraktal module or OPC UA node.
The same Unit branch owns Release/FB_PressDemoRelease: its ModeStart condition container and named
live condition outputs are published beneath the Unit, while M_AppendStart/M_AppendManual fill the
same authoritative reports consumed by the Unit gates. TwinCAT method-scoped REFERENCE TO inputs
connect the release evaluator to child modules without storing/publishing pointer-like alias state.
TC3 §3.8 Configuration value-type binding
Section titled “TC3 §3.8 Configuration value-type binding”Binds Core §3.8a and §3.10.2.
Core configuration value type TIME is represented by
E_ConfigValueType.DURATION in Structured Text because TIME is a reserved
TwinCAT identifier. Its wire ordinal remains 3 and the generic HMI continues
to name that transport value time; this is a binding spelling only, not a
contract or schema change.
TC3 §3.8b Persistence mechanics
Section titled “TC3 §3.8b Persistence mechanics”Binds Core §3.8b.
VAR PERSISTENT is written on controlled shutdown, not on assignment. An
accepted configuration write changes RAM immediately and reaches the persistent
image only when the runtime writes it — at a controlled stop, or when the
application asks. Core §3.8b’s bounded durability window therefore binds to an
explicit FB_WritePersistentData (Tc2_Utilities) issued by the root’s persistence
manager from a dirty flag and rate-limited, never to shutdown alone: an
uncontrolled power loss discards everything since the last flush, and a station
that needs a clean shutdown to keep its parametrization does not really keep it.
PersistPending stands from the accepted write until that call reports done;
PersistFailed latches its error.
Retained state shall be self-describing, never a pointer table. TwinCAT
identifies a persistent member by its full instance path and restores it by that
path. A persistent declaration shall therefore contain no pointer, reference or
interface member (the same audit rule as TC3 §3.10), and a persistence registry
shall key by the Core identity pair (Scope, WriteKey) held as values.
A retained count paired with a volatile table is the specific defect this forbids: the count survives the restart, the entries do not, and every restart re-registers on top of the retained count until the table overruns — silently, because each individual operation still succeeds.
Layout changes and relocation drop retained values. Changing a persistent
structure’s layout, renaming or moving an instance, or activating with persistent
data cleared discards the retained image. Each is a Core §3.8b restore failure and
shall be annunciated as one; the SchemaVersion first member is what separates a
rejected image from a silently reinterpreted one.
File-backed stores are asynchronous. FILE_JSON/FILE_XML bind to the
Tc2_System file blocks on the runtime’s file system, or to a host-side store
reached through a §3.15 connector. File I/O shall never block the cyclic task: a
set operation is an ordinary Core §6.1 command with BUSY/DONE/ERROR whose
result publishes through the same acknowledged mailbox as every other mutation.
What this binding ships. FB_PersistentDataWriter (I_ConfigPersistence)
wraps FB_WritePersistentData in SPDM_2PASS mode against the runtime’s own
_AppInfo.AdsPort, so a station on port 852 cannot silently persist port 851’s
image; it is the root’s default with no wiring, and a deployment substitutes
another through SetConfigPersistence. At most one write is in flight and at
most one queued, so a burst of accepted writes coalesces into one further write
rather than a storm; a completed failure latches PersistFailed and is not
retried automatically, because a store that cannot write is not repaired by
asking again every scan and a retry storm buries the annunciation. The declared
window is SetConfigPersistWindow (default PL_Fraktal.CONFIG_PERSIST_WINDOW_MS).
FB_LocalConfigStore is the LOCAL_RETAIN set store, holding
MAX_CONFIG_SETS × MAX_SET_RECORDS records of ST_ConfigRecord in the
persistent area — a real claim on the controller’s persistent budget, so a
deployment that raises either constant sizes that area to match.
Where retained data lives is a project decision behind one medium.
I_PersistMedium moves keyed byte documents - queued, ticketed and polled, so a
file or a network never blocks the task - and owns only the medium’s own failure
modes; content is validated by its consumer. The composition root declares one
medium and hands the same instance to every consumer, so switching medium is one
declaration. The binding ships two:
FB_FilePersistMedium(FILE_JSON): a folder given atSetup(PATH_GENERICabsolute, or relative toPATH_BOOTPATH), created on the first request. Each key is<key>.aand<key>.b, each an 80-byte text header (FRAKTAL-DOC 1, generation, length, CRC-32 of the key, of the document and of the header) followed by the document unchanged, so a set file stays readable. Both headers are read before every write, which replaces the slot not holding the newest valid copy; a read returns the newest copy that verifies, falling back to the other. A slot the file service cannot read (any error but not-found) makes the request answerOk = FALSEand a write is refused: storage that did not answer is never taken for empty. A persistent, non-secret table of confirmed generations, keyed by the CRC of folder and key, reportsLostwhen a confirmed copy is missing, damaged or older. It is confidential (documents pass through the caller’s buffer). On an IPC image with a write filter the folder shall be excluded.FB_RetainPersistMedium(LOCAL_RETAIN): a bounded persistent pool (MAX_RETAIN_DOCUMENTSofMAX_PERSIST_DOC_BYTES), each write followed byFB_WritePersistentData. A full pool refuses a write. It cannot tell a persistent image TwinCAT failed to restore from a first boot, and it is symbol-readable, so it is not confidential.
A database or MES medium is the same interface reached through a §3.15 connector;
none ships. On a medium, FB_MediumConfigStore holds the named sets (one
FB_ConfigSetDocument per set, <prefix>.set<n>): read back once at start, written
after every save or delete, and found by the root through __QUERYINTERFACE as an
I_ConfigPersistence, so PersistPending covers a saved set until its document is
written. FB_UnitBase.SetPersistMedium keeps the root’s live configuration on the
medium as well: <root>.station (STATION_CFG), <root>.line when the root hosts a
line it owns, and <root>.model<n> for every catalog model when the root registered
its model data with a storing provider and owns every PAR_CFG value. At start each
document is read back and replayed through _M_ApplySet - the same staged,
all-or-nothing path LoadConfigSet takes, without the session’s per-value level
because the restore is the machine’s act - before any configuration write is
accepted; Start names the restore (std.release.configRestoring) until it is done.
A read the medium cannot answer is retried every 2 s and announced
(CONFIG_PERSIST_FAILED, std.error.storageUnreadable), never replaced by defaults.
A missing document is a first start; one confirmed and lost, damaged, or not fitting
this build is a §3.8b restore loss under its key. After every accepted write each
document is written again from the capability walk; a failed pass is retried every
10 s and holds PersistPending. The native PERSISTENT data stays as it was: it
seeds the first documents and is what a lost one falls back to.
A set is the manifest walk, not a second walk. FB_ConfigPager gains a
record sink: M_SetupSetSave puts it in record mode and the ordinary
M_AppendConfig walk runs unchanged, so the set and the §3.10.2 manifest cannot
enumerate different things. A load stages every record through
M_StageConfigWrite, which is M_ApplyConfigWrite’s own validator with the
store step suppressed — a separate validation predicate would be free to accept
what the writer then refuses, and the load’s all-or-nothing guarantee would be
fiction.
A set moves as text. FB_ConfigSetJson renders and parses one JSON object
per record, plus one header. Per record rather than per document on purpose:
§3.8b’s objection to a byte image is that it carries no per-value identity and
cannot reject one bad value without rejecting all of them, and a whole-document
parser in the PLC would reintroduce both. A line is emitted or refused, never
truncated. EXPORT_CONFIG_SET serves one line per mailbox request and
IMPORT_CONFIG_SET takes one back into the store — import writes to the store,
never to the machine, so bringing a document in and applying it stay two
decisions and the applying one is still staged. A line may hold 480 characters but
a request’s TextValue carries 255, so a longer line travels in pieces:
IntValue = 1 holds a piece, and the next import request without it completes the
line, which is then imported exactly like a whole one. The join is measured before
it is made and refused past the line width (never truncated), and any other request
in between discards a held piece. The step is additive: the mailbox layout is
unchanged, and a root older than it refuses a piece as an unreadable line, so it
fails closed.
TC3 §3.10 OPC UA exposure mechanics
Section titled “TC3 §3.10 OPC UA exposure mechanics”Binds Core §3.10(a) and Core §11.1. Publication begins at every deployed root Unit instance, making the intended forest explicit and independently auditable when TF6100 imports a TMC in Filtered mode. Reusable FB type definitions do not carry OPC.UA.DA := 1:
FUNCTION_BLOCK FB_Unit IMPLEMENTS I_Unit...
PROGRAM MAINVAR {attribute 'OPC.UA.DA' := '1'} CellA : FB_CellUnit;END_VAR
{attribute 'qualified_only'}VAR_GLOBAL {attribute 'OPC.UA.DA' := '1'} Topology : ST_FieldbusTopology;END_VARWith the symbol file (TMC) download enabled in project settings (TC3 §4.1), the TF6100 server builds its namespace from the symbol file at server startup. Use Filtered mode in production so only pragma-enabled symbols are published. Although TwinCAT supports markers on type definitions, Fraktal/TC3 shall not use definition-level DA=1: it publishes undeployed instances and makes reference aliases eligible as browse roots. Place an instance marker immediately before every deployed root-Unit declaration in MAIN (or the application GVL that owns the forest); its children inherit it. Place the marker immediately before each separately published GVL variable, not before VAR_GLOBAL or the GVL declaration. A conforming server browse shall contain the direct root path (for example PLC1/MAIN/CellA/Status); aliases reached through a driver, coordinator, HAL, provider, or REFERENCE TO member are not additional roots.
An inherited publication marker shall not expose implementation-only pointer,
interface-reference, or REFERENCE TO storage. Such a field shall carry
{attribute 'OPC.UA.DA' := '0'} or live outside the published subtree; it is not
part of the Fraktal wire contract. This exclusion shall not be applied to the
published child-module instances that form the recursive module tree. A TF6100
TMC-import message naming an application-owned PVOID/UXINT path indicates a
missing exclusion, even though skipping that unsupported leaf does not by itself
invalidate the remaining namespace.
The framework base classes and reusable concrete types carry no DA=1 marker. A new module type still needs no exposure code because the deployed root marker recursively publishes its contract and legitimate child-module instances. The application adds the one standard marker per root when composing its forest (Core §1.1 O1). A static source/TMC audit shall reject definition-level enable markers and unexcluded persistent pointer/interface/reference members.
FB_UnitBase additionally publishes HmiRequest : ST_HmiRequest and
HmiResponse : ST_HmiResponse. TF6100 clients write all argument leaves before
the UDINT Sequence leaf. The base writes AckSequence after invoking the
existing gated IEC method. The sequence fields, request-kind enum ordinals, and
mailbox member names are wire-contract data and are append-only.
Open verification item — write-fragmentation atomicity (TC3 and AB). This commit-marker design assumes the argument leaves are all visible to the PLC before the
Sequencewrite becomes visible. The assumption is sound for ordered, individually-committed leaf writes, but it has never been tested against a fragmented or reordered transport write in either binding. If a largeST_HmiRequestis written as a batched or segmented transfer — an ADS sum-write, a TF6100 multi-node write, or in Fraktal/AB a CIP payload larger than the negotiated connection size — a scan could in principle observe a newSequencealongside partially-written arguments.Fraktal/AB removes the question by construction: AB §7.7 bounds the request payload to a single unfragmented connected write. TC3 has no equivalent bound and therefore still carries the risk. Both bindings shall test this explicitly — batched/segmented request writes, argument leaves committed out of order, and a scan deliberately interleaved between argument and sequence writes — before either claims a writable deployment. A defect here is a defect in the shared design, not in one transport, and the fix (a two-slot or seqlock mailbox) would likewise apply to both.
TC3 §3.11 Constructor injection: FB_init, REF=, and member ordering
Section titled “TC3 §3.11 Constructor injection: FB_init, REF=, and member ordering”Binds Core §3.11. Top-level identity/HAL injection uses FB_init:
FUNCTION_BLOCK FB_ControlModule IMPLEMENTS I_ControlModuleVAR_INPUT CONSTANT // FB_init parameters: set once at instantiationEND_VARMETHOD FB_init : BOOLVAR_INPUT bInitRetains : BOOL; bInCopyCode : BOOL; Name : STRING; // root identity; nested Setup receives qualified path (Core §4.8) HalRef : REFERENCE TO ST_Hal; // HAL channel mappingEND_VARTHIS^._name := Name;THIS^._hal REF= HalRef;// Two clamps, same type, different name + mapping — full logic reused:Clamp1 : FB_ControlModule(Name := 'Clamp1', HalRef := Hal.Clamp1);Clamp2 : FB_ControlModule(Name := 'Clamp2', HalRef := Hal.Clamp2);Member ordering (the reason for Core §3.11’s Setup rule): TwinCAT runs a member’s FB_init before the enclosing FB’s, so a parent cannot forward its own FB_init parameters into a child’s FB_init. Composite types therefore wire children through the Core-mandated one-shot Setup(...) called from the parent’s FB_init/Setup (worked example: Annex B).
TC3 §3.14 Lifecycle-extension binding
Section titled “TC3 §3.14 Lifecycle-extension binding”Binds Core §2.2 and Core §3.14.
TwinCAT realizes Core’s authoritative lifecycle through inheritance. Every module
extends the base function block for its tier, and FB_ModuleBase.Cyclic() owns the
non-optional scan path. Concrete module bodies call that inherited entry point;
their application behavior is confined to _M_Dispatch and declared lifecycle
extensions. The base owns command-edge/reset semantics, initialization,
accepted-command start, cyclic/child rollup, abort routing, BUSY-only dispatch,
HELD/timing/terminal resolution, diagnostics/status publication, and release of
framework one-shot requests in the Core §2.2 order.
Core lifecycle extensions bind to PROTECTED virtual methods on the relevant
base FB. Except for OnModeExit, every override shall call SUPER^.OnX(...)
first and propagate its return unless it deliberately changes it. OnModeExit
is the specified exception: the base call performs cancellation, so a graceful
override stages SUPER^.OnModeExit(...) until its application reaction consents.
An omitted override uses the base default. The source lint and base/type suites
prove these ordering rules; a project does not reproduce the lifecycle.
This is a binding mechanism, not a Core requirement for inheritance. The R0
authority audit in AB_R0_CORE_AUTHORITY_EVIDENCE.md confirms that the existing
TC3 implementation remains the reference behavior while Fraktal/AB realizes the
same Core order through generated composition.
TC3 §10.2.1 I/O integration placement
Section titled “TC3 §10.2.1 I/O integration placement”The Core responsibility table binds to TwinCAT as follows:
- a project
GVL_<Project>IOcontains only leading-underscoreAT %I*/AT %Q*symbols; - an
FB_<Project>IoDriveris the sole POU that reads or writes that GVL and maps it to typed HAL structures; - an
FB_<Project>IoCatalogcontains the approved tag/address/description/module-role join and configuresFB_IoTopologyPublisherplus module identity records; FB_IoTopologyPublisherinFraktal_Coreowns validation, health propagation and diagnostic joining againstST_FieldbusTopology;MAINcalls setup and the driver methods in scan order but contains no individual raw channel assignments.
The catalog and driver are application infrastructure, not FB_Unit/FB_EquipmentModule/FB_ControlModule objects and therefore do not create a fourth tier. GVL_<Project>Fieldbus.Topology : ST_FieldbusTopology is the published HMI data. FB_EcBusHealth supplies runtime slave count/order, state/link data, and configured-identity mismatch flags from the EtherCAT master; the catalog supplies reviewed node/channel identity and project semantics; FB_IoTopologyPublisher validates and joins them. Either authority failing validation keeps MappingValid=FALSE.
TC3 §4 — Project settings (TwinCAT 3)
Section titled “TC3 §4 — Project settings (TwinCAT 3)”TC3 §4.1 TwinCAT project settings
Section titled “TC3 §4.1 TwinCAT project settings”Binds Core §4.1 and Core §2 (environment baseline).
- Autostart Boot Project is enabled for the deployed machine application—not the aggregate Tests application (TC3 §5.7). Symbolic Mapping and TMC symbol download are enabled where required for TC3 §3.10 / Core §3.10.
- One default ADS port per runtime (e.g. 851 for project 1); deviations approved by Controls Engineering.
TC3 §4.8 Browse-name source
Section titled “TC3 §4.8 Browse-name source”Binds Core §4.8. The Name “passed at instantiation” is the FB_init Name parameter (TC3 §3.11).
TC3 §5 — Quality tooling (TwinCAT 3)
Section titled “TC3 §5 — Quality tooling (TwinCAT 3)”TC3 §5.7 Unit-test framework & CI runner
Section titled “TC3 §5.7 Unit-test framework & CI runner”Binds Core §5.7. Tests are written with the TwinCAT 3 xUnit framework TcUnit and executed in CI by TcUnit-Runner, which drives the suites headless on the build agent and emits JUnit-format results for the merge gate (Core §6.8). Worked example: Annex H.
The Fraktal_Tests and PressTests applications shall run only on an isolated
test runtime/ADS port or CI worker. Neither shall be selected as the machine boot
project, and both repository wrappers shall serialize Autostart Boot Project as
disabled. A test runtime is started deliberately, its result is harvested, and
it is then stopped or replaced by the machine application.
The exact XAE sequence and evidence identity are specified in
TWINCAT_XAE_WORKFLOW.md §6. Runner identity, expected suite/test inventory, and
zero failures shall all match; a green summary from the wrong runner is not the
selected gate’s result.
TwinCAT task stacks are bounded. Large bounded contract records such as
ST_ReleaseReport shall be filled in caller-owned storage through VAR_IN_OUT;
they shall not be returned and reassigned by value through nested calls. The
reference ReleaseReportStart, ReleaseReportManual, and
ReleaseReportAction methods return the Released Boolean and fill their
report argument in place.
TC3 §7 — Release & commissioning binding (TwinCAT 3)
Section titled “TC3 §7 — Release & commissioning binding (TwinCAT 3)”TC3 §7.5 Commissioning gates and the engineering-gate register
Section titled “TC3 §7.5 Commissioning gates and the engineering-gate register”Binds Core §7.5. A Fraktal/TC3 gate is a VAR_GLOBAL CONSTANT or a program’s
VAR CONSTANT, never a variable. That is what makes Core §7.5.1 real on this
platform: the compiler inlines a constant, so there is usually no symbol for an
ADS or OPC UA client to write at all, and defeating a gate costs a source change
plus a download. A published mirror of a gate (MAIN.UseSimulation) is
permitted for observability only and shall have no consumer in control logic;
adding one silently re-opens the online-write hole the constant closed.
- Framework gates live in
Fraktal_Core/Params/PL_FraktalEngineering.TcGVLand are selected by the compiler defineFRAKTAL_ENGINEERING, evaluated per compiled project, so the library and every application in the solution shall carry the same define. The only framework gate today isOUTPUT_FORCING(Core §10.5.1 rule 1). A production image is one built without the define; it is not a setting a commissioning engineer can change on the machine. - Project gates stay where they already are — the application’s own
VAR CONSTANTblock — and are declared into the register withFB_EngineeringMode.M_Declare(Name, DescriptionKey, Active := <the constant>). Passing a runtime variable asActiveis a conformance defect, not a shortcut. - The register is
FB_EngineeringMode, one instance in the composition root, injected into every root Unit withFB_UnitBase.SetEngineeringMode. It is write-once: an inactive gate is never registered, soST_EngineeringGateneeds noActivemember and a production station’sCountis0. Wiring the register is also what declares the framework’s ownOUTPUT_FORCINGgate, so a station cannot arm forcing without annunciating it; a station that wires nothing simply cannot force. Overflow pastPL_Fraktal.MAX_ENGINEERING_GATESsetsTruncatedrather than dropping a gate silently. - The annunciation is raised by
FB_UnitBase._M_EngineeringCyclicon the ordinaryOnCyclicpath — oneAlarmLog.Raiseper registered gate, LOW / SYSTEM /AUTO_RESET, carrying the gate’sDescriptionKey. It re-verifies its own slot each scan and re-raises if the slot was ever reused, because an annunciation that quietly disappears is the one failure mode Core §7.5.2 does not tolerate.COMMISSIONING_GATE_ACTIVE(2030) is rationalizedshelvable: falseinSpecification/reason_rationalization.json, so §8.10 cannot silence it andOperatorReset— which reaches onlyMANUAL_RESETevents — cannot close it.
The generic HMI renders the register as EngineeringModeBanner — a permanent,
non-dismissible strip above the global alarm banner, listing one line per active
gate (HMI_CONTRACT.md, “Commissioning gates”).
The Press bench is the worked example: MAIN declares USE_SIMULATION and
CONTROL_CIRCUIT_UNCONFIRMED from the two VAR CONSTANT commissioning gates it
already had, so those long-standing gates are now annunciated instead of only
documented.
TC3 §7.7 Local user-table retention
Section titled “TC3 §7.7 Local user-table retention”Binds Core §7.7(c) and §3.8b. The local table is excluded from the ADS symbol
table and OPC UA (hide, OPC.UA.DA := '0'). TwinCAT restores PERSISTENT data by
symbol, so a hidden variable cannot be persistent - the compiler warns that it will
not be. FB_LocalAccessProvider therefore keeps the table as one image document
(ST_AccessImageV1: packed, versioned, CRC-32 over every byte before the checksum) on
a confidential I_PersistMedium (TC3 §3.8b). Without a call it uses its own file
medium in the runtime’s TwinCAT Boot directory (PATH_BOOTPATH), beside the persistent
data and inside the same write-filter exclusion, under the key FraktalAccess_ plus
the CRC-32 of its instance path, so it needs no project call. M_UseMedium puts it on
the project’s medium - refused for a medium that is not confidential, so a credential
never becomes symbol-readable - and M_UseKey names another key; '' keeps a table
volatile by choice. The medium’s two copies, newest-valid restore and persistent
confirmed generations are what make a torn write fall back to the previous table and
a confirmed table that is now missing or corrupt a loss; the provider validates the
image whole and never mixes records. A read the medium cannot answer is retried every
10 s and raises CONFIG_PERSIST_FAILED (std.error.storageUnreadable) meanwhile;
retained users cannot log in until it answers.
The root’s access manager finds I_AccessStore with __QUERYINTERFACE and services
it every scan. A rejected, missing or older-than-confirmed table is a Core §3.8b
restore loss on path <root>.Access (CONFIG_RESTORE_LOST, ENGINEER acknowledgement,
the root’s restore policy); what survived is written back as the new baseline, so the
loss is announced once. A registration that cannot be written stays live and raises
CONFIG_PERSIST_FAILED until a retried write succeeds (every 10 s). Registrations
made before the restore completes are kept and win over retained records. The images
hold salts and iterated hashes only; a reader of the Boot directory could already read
the persistent data, which is the exposure the hash exists for. Recovery from a lost
table is re-registration through the station’s commissioning path.
TC3 §8 — Diagnostics & performance binding (TwinCAT 3)
Section titled “TC3 §8 — Diagnostics & performance binding (TwinCAT 3)”TC3 §8.11 Timing sources for the cycle-time profile
Section titled “TC3 §8.11 Timing sources for the cycle-time profile”Binds Core §8.11.4(e). Durations are measured with the monotonic millisecond clock (TIME()), differenced as DWORD so the ~49-day wrap subtracts correctly; wall-clock Started/Since stamps come from F_Now() (TC3 §2.7). The profiler and timing structures are plain framework DUTs exposed through the §3.10 pragmas on the base classes, so the HMI reads them with no per-type wiring. Core’s semantic time-class field is spelled TimeClass in the TwinCAT DUTs and method inputs because CLASS is a reserved TwinCAT identifier. The HMI binds TimeClass; its reader may accept legacy draft snapshots containing Class during migration.
TC3 §8.12 System-health binding
Section titled “TC3 §8.12 System-health binding”Binds Core §8.12. FB_TcSystemHealthProbe is the TC3 adapter seam;
FB_SystemHealthPublisher remains platform-neutral evaluation/alarm ownership.
The composition root calls the probe once per scan, injects its bounded
ST_SystemHealthInput plus schema-first thresholds through SetSystemHealth, and
the Unit base publishes SystemHealth. Task cycle/jitter use TIME(); controller,
IPC, EtherCAT/DC and clock-source inputs shall come from target-specific diagnostic
APIs or remain explicitly unavailable. The Press Demo’s synthetic values are an
internal simulation profile, not live target evidence.
The probe offers three one-time composition switches; each replaces the explicit
Cyclic inputs of its group. M_UseWindowsTime reads the target-local observer
record (see the Windows clock guide). M_UseIpcDiagnostics takes the controller and
IPC groups from FB_TcIpcDiagnostics, which reads the Beckhoff Device Manager (MDP)
through Tc3_IPCDiag on a Beckhoff IPC or CX: CPU_Usage, Memory_ProgramMemoryAvailable,
CPU_Temp (hottest instance), Fan_Speed (every fan must turn) and the flash wear
figures MassStg_DriveList_EraseCyclesLeft/SpareBlocksLeft (worst drive). Reads
are one at a time after a 20 s start delay, as Beckhoff advises against querying MDP
during boot; a metric is available only while read within 40 s, an out-of-range
reading is refused, and a host without the Device Manager or without a module
reports it unavailable. FanAvailable/StorageAvailable (default TRUE, so existing
producers keep the single IpcAvailable meaning) separate an unmeasured fan or wear
figure from a healthy one. M_UseEtherCatMaster takes the fieldbus and DC groups
from FB_EcBusHealth’s always-on master sample (TC3 §10.5).
TC3 §8.13 Signal-tower binding
Section titled “TC3 §8.13 Signal-tower binding”Binds Core §8.13. FB_SignalTower produces only semantic lamp/horn outputs.
FB_UnitBase calls it from the Unit’s machine state, active-alarm maximum severity,
and decision slot, publishes SignalTower, and handles append-only mailbox kind
LAMP_TEST := 26. The project Hardware Driver is the only code permitted to map
those outputs to %Q channels. The standard mapper never writes a project raw-I/O
GVL and the internal Press fixture may leave the semantic output unwired when no
reviewed physical stack-light mapping exists.
TC3 §8.9 Generated alarm-rationalization binding
Section titled “TC3 §8.9 Generated alarm-rationalization binding”Binds Core §8.8/§8.9. Specification/reason_rationalization.json is the
symbol-keyed rationalization authority; numeric authority remains E_Reason and
the registered PL_*Reasons lists. HMI/tool/generate_reason_catalog.dart
validates exact coverage and generates PL_ReasonCatalog,
F_ReasonMetaByIndex, F_ReasonMeta, and the Dart localization/metadata lookup.
FB_AlarmLog resolves generated priority/category/shelvability by ReasonCode,
rejects standard-record overrides, and exposes the complete static catalog
through the paged configuration manifest. Static metadata is not a cyclic array.
TC3 §9 — Safety binding (TwinCAT 3)
Section titled “TC3 §9 — Safety binding (TwinCAT 3)”Binds Core §9.1, §9.7. The certified safety system is Beckhoff TwinSAFE: TwinSAFE Logic plus safe I/O over FSoE (Safety-over-EtherCAT). The PLCopen Safety SF_* function-block set of Core §9.7 is available on TwinSAFE Logic and should be used for standard safety functions. The safety project’s version/identity is tracked separately from the standard application’s (Core §13, §14.2).
Binds Core §9.8. Guard monitoring/locking, ESPE/light-curtain evaluation and muting, enabling switches, safe requests, external-device monitoring, and safe valve/drive outputs are implemented in TwinSAFE with certified blocks and safe I/O. Standard TwinCAT PLC code maps TwinSAFE group/device status into ST_SafetyStatus and ST_ControlPowerStatus; standard-to-safety values are requests only. A cell-scope coordinator publishes ST_ControlDomainStatus, and each root FB_UnitBase.ControlDomain input is assigned either the relevant shared record or the absent default. Multiple peer Units may consume the same record; this does not change the Unit call tree. EtherCAT/FSoE loss, terminal watchdog behavior, and each valve-island/drive power zone shall have a validated safe-state configuration independent of the standard PLC reaction. A keyed bridge is a physical TwinSAFE mode/input and is read-only to the HMI.
TC3 §10 — Fieldbus binding (TwinCAT 3)
Section titled “TC3 §10 — Fieldbus binding (TwinCAT 3)”TC3 §10.1 EtherCAT
Section titled “TC3 §10.1 EtherCAT”Binds Core §10.1. EtherCAT is the primary fieldbus. The EtherCAT master(s), topology, and distributed-clock settings shall be documented; distributed clocks feed the station time base (TC3 §2.7). Drives, robots, scanners, and sub-buses are integrated as EtherCAT devices or through documented gateways.
TC3 §3.15 Byte-transport binding (TCP/IP)
Section titled “TC3 §3.15 Byte-transport binding (TCP/IP)”Binds Core §3.15.1a. I_ByteChannel is implemented over Tc2_TcpIp (TF6310): FB_SocketConnect/FB_SocketClose for Open/Close, FB_SocketSend/FB_SocketReceive for Send/Poll, all driven non-blocking from the channel’s cyclic state machine. A skeleton (FB_TcpChannelTc3) names these FBs with TODO bodies — verify FB signatures, the TF6310 license requirement, and the local server (TcpIpServer.exe) prerequisite against Beckhoff InfoSys for the pinned TwinCAT version before first use. Serial devices bind the same interface over Tc2_SerialCom analogously.
TC3 §10.5 EtherCAT & IPC diagnostics
Section titled “TC3 §10.5 EtherCAT & IPC diagnostics”Binds Core §10.5. EtherCAT master state, lost frames, slave errors, distributed-clock sync loss, and watchdog surface as System alarms per Core §10.5/§8.6.
FB_EcBusHealth samples the master once a second, independent of the demand-gated
per-slave picture of TC3 §10.6: FB_EcGetMasterDevState, FB_EcMasterFrameStatistic
(lost cyclic plus queued frames) and FB_EcGetAllSlaveCrcErrors (summed slave CRC
errors). The master’s counters are cumulative, so LostFrameCount/SlaveErrorCount
publish the larger of the current and the last complete 10 s window’s increase: losses
before the first sample never count, a burst is held for a whole window, and a cleared
counter restarts from zero. MasterHealthy requires that no device-state fault bit is
set - link error, I/O locked, out of send resources, watchdog, driver missing, I/O
reset, a device in INIT/PRE-OP/SAFE-OP or in error (mask 16#0FF3). The redundancy-only
bits are not faults of a working line, and DC is reported apart: DcSynchronized is
the absence of “DC not in sync” (16#1000), so a bus without DC slaves is not out of
sync and a station that needs DC states RequireDcSync. A sample counts only when all
three reads succeeded; without one for 3 s the master is unavailable. M_BusOk also
requires the live MasterHealthy, so a slave that drops out after the last on-demand
slave read is still seen.
TC3 §10.6 Fieldbus topology & I/O diagnostics (EtherCAT/ADS)
Section titled “TC3 §10.6 Fieldbus topology & I/O diagnostics (EtherCAT/ADS)”Binds Core §10.5.1. The conforming base profile is a three-authority composition: FB_EcBusHealth reads the EtherCAT master’s reported slave count/order plus each slave’s deviceState/linkState; FB_<Project>IoCatalog imports the reviewed XAE/ESI/TMC/electrical channel identity, scaling, address, and owning-module data; and FB_IoTopologyPublisher validates the bounded join and publishes ST_FieldbusTopology. The deviceState mismatch flags make configured vendor/product/revision/serial disagreement fail visible; E_NodeState.FAULT covers those flags and lost/no-response conditions. Channel values are copied by the sole project Hardware Driver from the same linked process-image/HAL variables used by control logic, not re-read through CoE. A runtime force, when a project explicitly enables one, resolves only a reviewed Forceable output and writes through that application’s output authority behind the Core §7.6/§7.7 gates; it is never a raw master/process-image or input force, and every accepted request is logged as a §8.3 event. I_FieldbusScanner/FB_EcFieldbusScanner remain an optional compatibility seam for deployments needing richer vendor-specific runtime discovery; the fail-closed skeleton is not the default profile and is not required for base conformance. Master/slave state changes continue to raise the System alarms of TC3 §10.5 — the topology view and alarm list are two views of one source. The implementation and acceptance guide is FIELDBUS_ADS_ADAPTER.md.
Output forcing (Core §10.5.1) — the TC3 realization. Forcing exists only in a
build carrying the TC3 §7.5 FRAKTAL_ENGINEERING define; otherwise
FB_<Project>IoCatalog publishes Forceable=FALSE on every channel and the
generic HMI renders no force affordance at all. The held set-point lives in
ST_IoChannel.ForceBool/ForceAnalog, kept apart from the live value that the
Hardware Driver republishes each scan, and the per-scan permit lives in
ST_FieldbusTopology.ForcesEnabled rather than in one FB_IoTopologyPublisher
instance — a project attaches several to the same table (the catalog defines
identity, the driver moves values) and they must not disagree about whether a
force is live. The driver calls
M_ApplyForces(Enabled := <Unit>.M_ForcePermitted()) once per scan, which
withdraws every force on the falling edge, then writes each output through
M_EffectiveBool/M_EffectiveAnalog, so the application value is what reaches
the terminal the moment the Unit leaves idle MANUAL. FB_UnitBase.ForceChannel
gates the operator request on the identical predicate, so a request can never be
accepted under conditions in which the force would not actually be applied.
TC3 §11 — Connectivity binding (TwinCAT 3)
Section titled “TC3 §11 — Connectivity binding (TwinCAT 3)”TC3 §11.1 TF6100 OPC UA server
Section titled “TC3 §11.1 TF6100 OPC UA server”MTP note. TwinCAT ships MTP engineering/runtime support (TE8400/TF8400) which can expose a module structure over OPC UA per VDI/VDE/NAMUR 2658. Mapping a Fraktal root Unit onto an MTP PEA (services, DataAssemblies, alarms) is specified in Annex J; verify the TwinCAT MTP product path against the pinned TwinCAT version. Binds Core §11.1 and Core §3.10. The TwinCAT OPC UA server (TF6100) publishes the module tree from a DA pragma on every deployed root instance plus explicit standalone data variables (TC3 §3.10), TMC symbol download (TC3 §4.1), filtered/marked symbols, implementation-reference exclusions, structured types, and type-aware browsing. Browse identity follows Core §4.8: a local TF6100 browse segment equals the local PLC/schematic member name, while published
Status.Nameis the complete dotted Fraktal identity.
TF6100 shall run on the host that owns the PLC runtime (the CX/IPC for a remote
runtime); the Flutter HMI is the OPC UA client and does not require a second
TF6100 server. First deployment shall be accepted in layers: TCP listener,
SecureChannel, activated session, Server/NamespaceArray containing the
configured PLC Data Access namespace, an authorized Objects browse exposing
PLC1/MAIN/<Root>/Status, writable root HmiRequest leaves, and a matching
HmiResponse.AckSequence. A PLC namespace present in NamespaceArray while
Objects returns only namespace-zero Server is an authorization failure, not
a missing TMC or network failure.
TF6100 namespace permissions shall keep the Data Access device and the ancestors
of each permitted root browsable. Node-specific rights may then narrow writes to
the root HmiRequest subtree. Configuration shall be written to the target and
TF6100 restarted/reloaded after security or TMC changes. Anonymous membership in
the built-in Users group with SecurityPolicy=None is permitted only for a
controlled commissioning activity; the production requirement remains Core
§11.2/§14 authenticated sign-and-encrypt with least privilege. The complete
first-deployment and fault-isolation procedure is
FIRST_PROJECT_AGENT_GUIDE.md.
TC3 §11.6 Host-event binding
Section titled “TC3 §11.6 Host-event binding”Binds Core §11.6. Each published root inherits
HostEvents : FB_HostEventPublisher; TF6100 exposes its bounded 32-record ring,
head, count, and wrapped flag through the root’s deployed-instance DA marker.
Implementation-only I_HostEventSink storage is explicitly excluded from OPC UA.
FB_UnitBase owns part, mode, changeover, and NOK projection; application
composition calls the named tool/material seams. Optional north-bound delivery
implements I_HostEventSink and is injected at the composition root. The HMI and
PLC E_HostEventKind ordinals are a checked append-only transport contract.
End of Fraktal/TC3 — Part II (draft). Core: Fraktal_Core_Part_I.md.
Built from Specification/Fraktal_TC3_Part_II.md at revision a1163c7 of the Fraktal repository.