Repository navigation
v0.19.0
nautilus on open controllers, and an OPC UA server
naut now runs on two vendor controllers: an Opto 22 groov EPIC and a Phoenix Contact PLCnext AXC F 2152. It drives their I/O directly, with no vendor IDE and no SDK. This release adds a Linux ARMv7 build for both, plus a download of the PLCnext in-process I/O shim. A project can also serve its tags as a read-only OPC UA server, released as a preview. Both controller targets are experimental: everything below was measured on one bench unit of each.
Upgrading from 0.18
- A REAL that is not a number now renders as JSON
nullin/api/stateand the stream. Before, a single NaN or ±Inf blanked the whole dashboard:/api/stateanswered 200 with an empty body, and the stream skipped every frame. The program still sees the NaN. A Modbus read that delivers NaN/±Inf now has qualitybad. (#429) - Logix: a rack alias needs its module. An alias such as
Local:1:I.Data.3orRemote1:1:I.Data.0is now refused at write time (logix/io-module) unless the project's hardware configuration has that module. Add one with the newtarget.logix.hardwarekey.naut logix import --projectwrites it for you. (#397)
Added
- groov EPIC: the
optommpdriver. It reads and writes the EPIC's I/O over OptoMMP (TCP 2001), the same protocol Opto's own CODESYS driver uses on the processor. It reads packed areas (three requests a scan on the bench chassis) and writes outputs with read-back. It reconnects with backoff, re-checks the chassis every 5 s, and reports quality per channel (empty, wrong or faulted module, NaN, dead socket).custom-area, UDPstreamand the processor's commwatchdogare opt-in, andpriority:runs the driver loop on a SCHED_FIFO thread. With the watchdog on, the driver rewrites every output once the unit may have tripped, so an output doesn't stay latched at its watchdog value. A digital output whose read-back disagrees with its command readsbad. Checked on the bench: naut frozen for 15 s, the unit tripped, and the output was back under naut's command within a second of the resume.naut optommp browse|importwrites the manifest and tag file from a live chassis;--modbuskeeps the Modbus route. On the processor itself,examples/epic-benchscans in about 1.7 ms at about 4 % of one core. (#437, #438, #448) - PLCnext: the
plcnextdriver. It exchanges the Axioline process image over the firmware's own data-access service. Phoenix Contact's open BusConductor component brings the bus up, so no Engineer project is needed.naut plcnext browse|read|write|tags. (#438) - PLCnext:
transport: shm, the in-process tier.nautilus_iois a small C process that the firmware's application framework starts. It reads and writes the Axioline frames every 1 ms and shares them with naut through a shared-memory page. The image takes 0.03–0.05 ms per scan instead of about 11 ms over gRPC, and naut's CPU drops from 9 % to 4 %. If naut's outputs are older thanoutput-watchdog(1 s by default), the shim drives the output frame to zero. On the bench, the fail-safe took the heartbeat LED dark within a second of naut being killed.naut plcnext shm [--watch]shows the page andnaut plcnext benchmeasures it. At SCHED_FIFO 80 on its own core, the shim missed no 1 ms deadline by more than 200 µs on a quiet controller. The binary, its ACF files and README are attached to this release asnautilus-plcnext-io_0.19.0_linux_armv7.tar.gz.examples/plcnext-benchhas the layout as checked with eyes on the LEDs and a switch on the inputs. Axioline digital modules number their channels byte by byte, so in a manifest channel n isbit:((n+7) mod 16); the guide says so. (#436, #439, #447) - Linux ARMv7 build,
nautilus_0.19.0_linux_armv7.tar.gz, for both controllers. (#438) - OPC UA server (preview). Add
opcua:to the manifest and naut serves its tags atopc.tcp://localhost:4840(setendpoint:to expose it). Tags carry their declared OPC UA types. UDT members and array elements are child nodes. Tag quality maps to status codes, and the source timestamp moves only when the value does. Clients can browse, read and subscribe. The server is read-only: writes answerBad_UserAccessDenied. Node ids are the tag paths in the project's namespace (ns=1;s=P101.Drive.Speed). Theopcua-serverrow is on/api/driversand the dashboard. An independent black-box tester ran it through five rounds against a third-party OPC UA client, and its checks now run in CI. See the limits below. (#416, #428) - Logix: hardware configuration.
target.logix.hardwarenames an L5X whose<Modules>section the writer carries verbatim. That lets an imported program with I/O aliases download again: on Echo (5580, v38) the rack round-trips byte-identical. (#397) alarm.Engine.Renamelends an alarm a display name for an activation. The journal,/api/alarms, the banner and notifications all use it; the definition never changes. (#408)- Plant simulation: servers with more than two PSUs share load across N supplies. (#401)
Fixed
Known limits of the OPC UA preview
- A driver input that has never been delivered has no node until its first value arrives, so
Bad_NotConnectedcan't be observed. (#420) - A quality change with no value change is visible to a Read but not pushed to subscribers. (#419)
- A client must open its session through one of the addresses the server advertises. One arriving through a NAT address or DNS alias is refused. (#430)
CloseSessionkeeps the session's subscriptions even when asked to delete them, and a subscription id can be reused after a delete. (#422, #432)- A monitored item set to
Disabledcan still deliver one notification that was already queued when it was disabled. This shows up intermittently. ModifySubscriptionchanges nothing.ModifyMonitoredItems,SetPublishingMode,TransferSubscriptions,TranslateBrowsePathsToNodeIdsandCallanswerBad_ServiceUnsupported. (#431, #433)
Known, on the bench
- Every naut start on the PLCnext logs one
undefined tag DI_00logic error per scan until the driver has published its tags, because the first scan runs before the driver. This comes from the runtime's start ordering, not from the driver. - SCHED_FIFO on the PLCnext needs
setcap cap_sys_nice+eponce per binary, as root. Copying a new build drops the capability;rt/plcnext-io/README.mdhas the recipe.
With the VS Code extension and the HMI packages
Use the 0.19.1 pre-release for this release's schema (opcua:, the plcnext and optommp drivers, target.logix.hardware) and a first version of the 3D scene editor (#413) to try out. Stable 0.18.0 still works with naut 0.19.0. @joyautomation/nautilus-hmi 0.8.0 (AlarmSign, #407) and @joyautomation/nautilus-hmi-3d 0.2.x (the paper look, #410) are already on npm.