Skip to content

v0.18.0

Choose a tag to compare

@github-actions github-actions released this 15 Oct 03:59
· 1143 commits to main since this release
950f797

Deploy to Logix from the editor, values kept across a download, and a clean import round trip

You can now push an online edit or download a project to a Logix controller from VS Code without leaving the editor. A download now keeps the controller's tag values. An imported Logix project writes back with the same logic. The Sparkplug edge gains an opt-in Sparkplug 3.0 session end and a store-and-forward buffer that survives a restart. All of the Logix work was checked on an Echo controller (Logix Designer v38).

Upgrading from 0.17

  • A function block can no longer be a tag's type. This covers a scalar block, an ARRAY OF TON, a struct with a block member, and a manifest tag that a program declares as one. Each of these is now an error with a message naming the block. An instance is program state, not a tag. A GVL's own block globals still load. (#366)
  • A ladder rung with no coil must end at its last function block. In Start t1:TON(PT := T#5S) Stop, Stop drove nothing and was silently dropped. It is now an error. (#357)
  • Retained online edits: a new deploy now replaces a retained online edit, and a restart of the same build keeps it. The discarded source is kept in the retain store under discardedPrograms. Edits retained by an older version carry no build stamp, so any online edit not pulled into git is dropped on the first restart after upgrading. (#362)
  • Sparkplug edge, broker drop: every reconnect is now a new session with bdSeq+1. The will and the NBIRTH always carry the same bdSeq. Reconnects are immediate, then every 5 s. The driver's connected status now reads false during an outage. (#376)
  • SIGTERM (from systemd or Kubernetes) now shuts down naut run, naut logix serve and scaffolded SDK projects the way Ctrl+C does. Before, they were killed with no final retain save, no lease hand-over and no STATE death. (#390)
  • SNMP: a writable BOOL member needs a set: mapping. Many MIBs use 1/2 for true/false, so 0 is no longer assumed. (#384)
  • Logix writer: some forms Logix computes differently now squiggle instead of being written: a conversion that isn't exact, an integer / whose result meets a REAL (ST and ladder), and an expression bound to a user block's input in ST, which Logix won't build. (#297, #367, #377)

Added

  • Logix deploy from VS Code. Use Push Online Edit to Logix Controller (title-bar button) and Download Project to Logix Controller (the … menu). Progress streams as it happens. A download in Run offers Switch to Program Mode and Download. On Echo, a warm rung edit with the controller in Run takes about 1.5 s, and live values keep streaming. (#375, #388, #393)
  • A download keeps the controller's tag values. nautilus reads the running controller first and carries every unchanged tag across. Timers and counters keep their accumulator, and their preset comes from the project. Tags it had to reset are reported with the reason. Opt out with --reset-values or the nautilus.logix.resetValuesOnDownload setting. (#387)
  • Import round trip with no differences. On the public batch-skid yardstick, naut logix import --project → naut logix write → naut logix normalize --logic --check reports the same logic. New target.logix options make this possible: continuous, all-tags and controller-scoped. UDT and member descriptions and the target's SoftwareRevision now round-trip too. (#374, #380, #382)
  • CompactLogix: the writer emits Logix Designer's own Local module and project header for 25 processors across ControlLogix 5580, CompactLogix 5370 L3 and 5380. The data comes from v38 SDK exports, and each write-back was build-checked. Before, a CompactLogix write-back was refused by Logix Designer. Other processors get a warning. (#389)
  • Sparkplug: primary-host-offline: disconnect opts into the Sparkplug 3.0 session end; the default buffer is unchanged (#363). store-forward-file: journals the store-and-forward buffer so a restart during an outage replays it (#394).
  • Logix conformance set for conversions and division, passing on Echo and in nautilus. (#377)

Fixed

  • After a download, the next online edit uses the edited program's routine. Before, a project with two MainRoutines could pick the wrong one. naut logix serve now closes its logixd session when it stops. (#375)
  • Replay: a member with no recorded data reads Bad, a collapsed window is reported, a failed load is retried, and seek works as a pulse. A 32-bit counter reset is no longer read as a wrap, and SNMP checks sysUpTime. A timed-out Prometheus scrape fails the import. (#384)
  • 3D HMI and plant simulation fixes from the #68 review. (#383)
  • Docs now match the code across ST, ladder, SFC, Sparkplug, online edits and Logix pages. (#357, #358, #360)
  • EtherNet/IP emulator port race. (#381)

With the VS Code extension

Use stable 0.18.0 or the 0.19.0 pre-release. Both require naut 0.18.0 or later.