Skip to content

v0.6.0

Choose a tag to compare

@yasukei yasukei released this 25 Oct 09:23
· 73 commits to main since this release
6698624

Configurations, tasks and global variables: configuration sources with several program instances, cyclic and event tasks, global variables, PROGRAM parameters, byte, word and memory addresses, numeric panel parts, and retentive variables with warm restart. Contains a breaking change to monitor paths; see Changed.

Added

  • Tank station reference project combining two parameterized tank controllers,
    fast control and slower statistics tasks, an alarm acknowledge event task,
    shared globals and a high-level constant, %M pump flags, numeric panel
    controls and retentive run-time counters with virtual-clock and browser tests.

  • RETAIN and NON_RETAIN declarations, warm restart and fault acknowledgement into
    STOP. Retained scalars and counter/edge/bistable state survive browser reloads;
    timers and references reset. Browser storage saves complete retained sets at most
    once per second during execution and after state-changing commands, reports
    restore mismatches by path until the next load or reset, and warns on storage
    failures. PLCopen XML preserves retention qualifiers on POU and global variable lists.

  • Numeric operator panel inputs and displays for byte, word, double-word and
    long-word I/O, with type validation, exact 64-bit integer entry, optional input
    bounds and sliders, and monitor formatting for outputs and invalid real values.
    The panel editor configures their labels, types and addresses; numeric layouts
    save as panel extension version 2 while legacy layouts keep their version rules.
    New parts default to free addresses that avoid existing bit and numeric bindings.

  • Typed direct addresses in 64-byte input/output areas and a 1,024-byte memory
    area, with shared overlapping views, little-endian byte/word/double-word/long-word
    access, and warnings for overlapping output writers. Invalid REAL/LREAL patterns
    fault on program reads and display safely with raw bits in the monitor. The I/O
    image shows used addresses in their declared types. Panel bit controls support
    every I/O byte; projects save the address-based panel extension version 2 only
    when needed and retain version 1 compatibility for byte-zero layouts. Imported
    panel addresses are normalized so address selection and automatic bindings stay
    consistent.

  • Up to 16 cyclic and rising-edge event tasks with non-preemptive priority
    scheduling, independent intervals, missed-activation overrun counts and task-level
    I/O boundaries. Single scans cover every cyclic task and rising event input;
    faults stop the whole resource and identify the task. The status area displays
    per-task run counts, last/maximum execution times and overruns in English/Japanese.
    Inline values stay visible between runs of slower and event tasks and refresh
    when their program's first instance runs again.

  • PROGRAM inputs and outputs with per-instance configuration connections to
    constants, globals and direct addresses. Values copy around each
    instance with forces restored at every boundary. Connected inputs reject monitor
    writes and accept forces; unconnected inputs keep their values. PLCopen XML
    preserves program interfaces and exact connection source text. Direct addresses
    connect in the configuration; AT on PROGRAM input/output declarations is rejected.
    Connection lists reject empty parentheses and trailing commas.

  • Configuration and resource global variables and constants, imported by PROGRAMs
    and function blocks through VAR_EXTERNAL. Globals share storage across instances,
    support derived types, references, FBs and direct addresses, and appear in
    a Globals monitor group with write and force controls. PLCopen XML preserves global
    and external declarations and CONSTANT attributes; imported constants work in
    array bounds and CASE labels. Invalid global declarations report configuration
    errors without cascading missing-global messages in importing POUs.

  • Configuration source editing in the web source list, with one cyclic-task
    template containing every PROGRAM, header-based renaming, diagnostic navigation
    and confirmed deletion back to implicit mode. Browser autosave preserves
    configuration drafts and selection and migrates 0.5.0 records unchanged.

  • PLCopen XML save/open for exact configuration sources, multiple tasks and program
    instances, and event task inputs. Imports without preserved text reconstruct
    configuration source when the implicit model cannot represent the structure.
    The web app compiles imported configurations, keeps them through autosave and
    hides the implicit cycle selector while a configuration source is present.

  • Configuration source compilation with one resource and up to 64 independent
    program instances sharing their PROGRAM bodies. Configured task intervals drive
    runtime execution; explicit configurations reject cycle commands.
    Existing projects use an implicit configuration and keep their cycle control.

  • ADR 0016 documents the accepted design for configurations, tasks and scheduling,
    global variables, program parameters, byte, word and memory addresses, retentive
    variables and warm restart for Milestone 6.

Changed

  • Monitor and reference paths are now qualified by program instance, including
    mainInstance.LAMP in existing projects. The monitor groups instances and shows
    relative paths within each group. Inline values identify their instance and
    annotations are keyed by POU and line, using the first instance of each PROGRAM.