@aryacode/dsh-engineering 0.5.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +52 -0
- package/README.md +9 -8
- package/cordis.patch.yml +1 -1
- package/entries/netlogic.js +266 -0
- package/entries/optix.js +13 -0
- package/package.json +10 -10
- package/vendor/l5x/SKILL.md +27 -7
- package/vendor/l5x/lib/engine/change-set.d.ts +9 -1
- package/vendor/l5x/lib/engine/change-set.js +32 -7
- package/vendor/l5x/lib/engine/documentation.d.ts +58 -0
- package/vendor/l5x/lib/engine/documentation.js +237 -0
- package/vendor/l5x/lib/engine/instructions.d.ts +50 -0
- package/vendor/l5x/lib/engine/instructions.js +107 -0
- package/vendor/l5x/lib/engine/ladder.d.ts +74 -0
- package/vendor/l5x/lib/engine/ladder.js +209 -0
- package/vendor/l5x/lib/index.d.ts +1 -0
- package/vendor/l5x/lib/index.js +3 -1
- package/vendor/l5x/lib/model/routines.js +6 -1
- package/vendor/l5x/lib/session.d.ts +20 -0
- package/vendor/l5x/lib/session.js +36 -0
- package/vendor/l5x/lib/tools/document.d.ts +18 -0
- package/vendor/l5x/lib/tools/document.js +119 -0
- package/vendor/l5x/lib/tools/drafts.js +109 -3
- package/vendor/optix/SKILL.md +68 -0
- package/vendor/optix/netlogic/SOURCE.json +12 -0
- package/vendor/optix/netlogic/index.json +1987 -0
- package/vendor/optix/netlogic/pages/accessing-project-nodes.md +113 -0
- package/vendor/optix/netlogic/pages/advanced-svg.md +124 -0
- package/vendor/optix/netlogic/pages/alarming.md +489 -0
- package/vendor/optix/netlogic/pages/async-tasks.md +236 -0
- package/vendor/optix/netlogic/pages/audit-signature.md +91 -0
- package/vendor/optix/netlogic/pages/colors.md +122 -0
- package/vendor/optix/netlogic/pages/companion-specs.md +77 -0
- package/vendor/optix/netlogic/pages/creating-objects.md +370 -0
- package/vendor/optix/netlogic/pages/database-interaction.md +437 -0
- package/vendor/optix/netlogic/pages/datagrids.md +123 -0
- package/vendor/optix/netlogic/pages/debugging-tips.md +605 -0
- package/vendor/optix/netlogic/pages/designtime-tags-import.md +531 -0
- package/vendor/optix/netlogic/pages/dialog-boxes.md +150 -0
- package/vendor/optix/netlogic/pages/dispatch-events.md +200 -0
- package/vendor/optix/netlogic/pages/dynamic-links.md +825 -0
- package/vendor/optix/netlogic/pages/element-access.md +1208 -0
- package/vendor/optix/netlogic/pages/engineering-units.md +298 -0
- package/vendor/optix/netlogic/pages/events.md +340 -0
- package/vendor/optix/netlogic/pages/execute-command.md +202 -0
- package/vendor/optix/netlogic/pages/fto-studio-cli.md +99 -0
- package/vendor/optix/netlogic/pages/good-practices.md +50 -0
- package/vendor/optix/netlogic/pages/information-model.md +89 -0
- package/vendor/optix/netlogic/pages/log-output.md +22 -0
- package/vendor/optix/netlogic/pages/managing-aliases.md +22 -0
- package/vendor/optix/netlogic/pages/manipulate-nodes.md +72 -0
- package/vendor/optix/netlogic/pages/mqtt.md +240 -0
- package/vendor/optix/netlogic/pages/netlogic-lifecycle.md +270 -0
- package/vendor/optix/netlogic/pages/netlogic-overview.md +155 -0
- package/vendor/optix/netlogic/pages/opcua.md +325 -0
- package/vendor/optix/netlogic/pages/plc-tags.md +219 -0
- package/vendor/optix/netlogic/pages/queries.md +1297 -0
- package/vendor/optix/netlogic/pages/random-generation.md +90 -0
- package/vendor/optix/netlogic/pages/recipes.md +375 -0
- package/vendor/optix/netlogic/pages/recipex.md +2383 -0
- package/vendor/optix/netlogic/pages/regex.md +15 -0
- package/vendor/optix/netlogic/pages/register-observers.md +346 -0
- package/vendor/optix/netlogic/pages/reports.md +141 -0
- package/vendor/optix/netlogic/pages/resource-uri.md +308 -0
- package/vendor/optix/netlogic/pages/runtime-tags-import.md +280 -0
- package/vendor/optix/netlogic/pages/serial-port.md +357 -0
- package/vendor/optix/netlogic/pages/sessions.md +58 -0
- package/vendor/optix/netlogic/pages/system-node.md +153 -0
- package/vendor/optix/netlogic/pages/template-library.md +127 -0
- package/vendor/optix/netlogic/pages/threading.md +236 -0
- package/vendor/optix/netlogic/pages/translations.md +417 -0
- package/vendor/optix/netlogic/pages/trends.md +128 -0
- package/vendor/optix/netlogic/pages/ui-animations.md +115 -0
- package/vendor/optix/netlogic/pages/users-groups.md +416 -0
- package/vendor/optix/netlogic/pages/variables-formatting.md +16 -0
- package/vendor/optix/netlogic/pages/variables-interaction.md +557 -0
- package/vendor/optix/netlogic/pages/variables-structure.md +155 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: factorytalk-optix
|
|
3
|
+
description: FactoryTalk Optix Studio engineering — inspect and author the loaded project through the Studio bridge, validate expressions, take preview screenshots, read NetLogic C# snippets from the pinned cheat-sheet snapshot, and start from a template.
|
|
4
|
+
whenToUse: The user asks about FactoryTalk Optix — project structure, nodes, variables, aliases, expressions, NetLogic C#, alarms, trends, recipes, OPC UA, or the emulator preview. Route FactoryTalk View ME elsewhere.
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# FactoryTalk Optix engineering
|
|
8
|
+
|
|
9
|
+
## Boundary
|
|
10
|
+
|
|
11
|
+
The project lives in FactoryTalk Optix Studio. `optix_status` finds the Studio bridge; the bridge runs
|
|
12
|
+
inside Studio and must be started there (StartBridge). Nothing here deploys to a panel or changes
|
|
13
|
+
runtime values unless a tool says it does, and every authoring call is validated against the live
|
|
14
|
+
model first.
|
|
15
|
+
|
|
16
|
+
The rows are switches. `allowWrites`, `allowDestructive` and `allowInvoke` gate what
|
|
17
|
+
`optix_edit` and `optix_action` may do; the preview tools need the emulator browser and its CDP
|
|
18
|
+
endpoint. If a tool is missing, that switch is off in this profile.
|
|
19
|
+
|
|
20
|
+
## Read before you write
|
|
21
|
+
|
|
22
|
+
1. `optix_status` — is Studio reachable, which project is loaded, which capabilities are on.
|
|
23
|
+
2. `optix_read` — screens, widgets, types, variable members, schemas, CLR diagnostics. Start with
|
|
24
|
+
`map` at `overview` depth, then `detail` for the one subtree that matters.
|
|
25
|
+
3. `optix_validate_expression` — check an expression against real node paths before attaching it.
|
|
26
|
+
|
|
27
|
+
Saved state and the live model are different sources. Say which one you read, and which you changed.
|
|
28
|
+
|
|
29
|
+
## NetLogic C#
|
|
30
|
+
|
|
31
|
+
The bundle ships a pinned snapshot of Rockwell's
|
|
32
|
+
[NetLogic cheat sheet](https://github.com/FactoryTalk-Optix/NetLogic_CheatSheet). Read it instead of
|
|
33
|
+
writing C# from memory:
|
|
34
|
+
|
|
35
|
+
- `optix_netlogic` with no arguments returns the contents.
|
|
36
|
+
- `optix_netlogic { query: "sessions" }` ranks pages by title, topic and symbol, then by body text.
|
|
37
|
+
- `optix_netlogic { slug: "netlogic-lifecycle" }` returns that page verbatim, with its risk flag, the
|
|
38
|
+
upstream commit and the upstream disclaimer.
|
|
39
|
+
|
|
40
|
+
Every page carries a `risk`:
|
|
41
|
+
|
|
42
|
+
- `normal` — the repository presents it as guidance;
|
|
43
|
+
- `advanced` — the page itself warns about low-level or non-public behaviour;
|
|
44
|
+
- `unsupported` — it is listed in the repository's Advanced section, which says those features are not
|
|
45
|
+
officially supported and may change.
|
|
46
|
+
|
|
47
|
+
The repository states the snippets may use non-public APIs, may break a project and must not be used in
|
|
48
|
+
production as-is. Quote the risk with the snippet, adapt it to the loaded project, and treat
|
|
49
|
+
compilation and runtime behaviour as unverified until Studio compiles it.
|
|
50
|
+
|
|
51
|
+
## Author and verify
|
|
52
|
+
|
|
53
|
+
- `optix_edit` applies one typed batch; run it with `dry_run` first and read the validation result.
|
|
54
|
+
- `optix_action` creates NetLogic, ensures a web engine, adds a translation, converts an instance to a
|
|
55
|
+
type, or invokes an exported method. Invocation needs a session-safe bridge and `allowInvoke`.
|
|
56
|
+
- `optix_preview` and `optix_screenshot` inspect the emulator through CDP. Input can change runtime
|
|
57
|
+
values; state that before using it.
|
|
58
|
+
- `optix_template` discovers the packaged Optix IPC and OptixPanel starter projects. Copy the chosen
|
|
59
|
+
project with filesystem tools, never overwrite an existing project, and keep the template's name.
|
|
60
|
+
|
|
61
|
+
A successful model change does not save Studio and does not prove rendering. Say what was applied, what
|
|
62
|
+
was only validated, and what a human must check in Studio.
|
|
63
|
+
|
|
64
|
+
## Reporting
|
|
65
|
+
|
|
66
|
+
Every result carries `summary`, `data`, `next` and `coverage`. Read `coverage` before claiming
|
|
67
|
+
completeness: it names what the call cannot establish — rendering, runtime behaviour, the installed
|
|
68
|
+
Optix version, and anything outside the loaded project.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
{
|
|
2
|
+
"repository": "FactoryTalk-Optix/NetLogic_CheatSheet",
|
|
3
|
+
"commit": "5e65254104bbbc49c1f4f7adde4c6f1e3e2b470f",
|
|
4
|
+
"fetched_at": "2026-10-27T13:28:12.646Z",
|
|
5
|
+
"pages": 51,
|
|
6
|
+
"readme_sha256": "1d204199c6c4e69f0a737d8550260c311458cccb744292f6dd8e542500e9e3fa",
|
|
7
|
+
"risks": {
|
|
8
|
+
"normal": 48,
|
|
9
|
+
"advanced": 0,
|
|
10
|
+
"unsupported": 3
|
|
11
|
+
}
|
|
12
|
+
}
|