Skip to content

v1.2.0

Choose a tag to compare

@jamesccupps jamesccupps released this 19 Oct 19:01
· 93 commits to main since this release

New

  • Open a PPCL file from anywhere on this computer: the Open button or
    Ctrl+O in the editor, or drop the file on the window. Desigo and Insight
    .pcl exports open as they are. Save writes a copy into the workspace.
  • Points have their real type. The Point block and the Builder's points
    now take the panel's point type -- LAI, LDO, LOOAP, LFSSL, LPACI and the
    rest on APOGEE; AI/AO/AV, BI/BO/BV and MI/MO/MV on BACnet -- from a
    grouped, labeled list, or straight from the point database loaded in
    Settings. Each point says in a sentence how it reads and whether it is
    an input, an output or a value object. This replaces an analog/digital
    switch that changed nothing in the compiled program.
  • A Point block wired straight into a condition gets a warning when its
    type cannot support one: an analog value, a count, or a multistate value,
    whose states start at 1 and so is true in every state.

Fixes

  • The loaded point database never reached the linter, so no type check
    ran anywhere in the UI: ON to an analog input linted clean. The Editor,
    Blocks and the Builder now all check against it, and the Builder also
    checks against the types the sequence declares.
  • Opening and saving a file that contained a Windows-1252 character, such
    as a degree sign in a comment, replaced it with junk in both the saved
    file and its .bak. Files are now saved in the encoding they were read
    in, and the .bak is an exact copy.
  • The bench reported "all checks passed" for a program that controls none
    of its equipment -- a cooling tower program on the air-handler bench. It
    now says it cannot test that program and points to Debug, which runs any
    program.
  • The point database summarized a pulse counter and an On/Off/Auto motor
    as "digital" and BACnet multistate points as "unknown".

Changes to know about

  • A Builder point is now one word after its name in the .seq text:
    "SFAN LDO supply fan", "DMD local", or "MAT -" to take the type from the
    database. Files written the old way ("SFAN digital output") still open
    and are read as the APOGEE type the words describe. A .seq file saved by
    1.2.0 cannot be opened by 1.1.0.
  • In the JSON a sequence point has "ptype" in place of "kind" and "role",
    and a point record's "kind" is now analog, two-state, multistate,
    status, counter or controller.

A point's type changes no compiled program. The shipped diagram, the
shipped sequence and both starters compile to the same PPCL as in 1.1.0,
byte for byte.

Tested on Python 3.10 through 3.14 on Linux and on Windows. 621 tests.