@aryacode/dsh-engineering 0.4.7 → 0.4.21

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.
Files changed (162) hide show
  1. package/CHANGELOG.md +202 -0
  2. package/README.md +40 -26
  3. package/cordis.patch.yml +7 -6
  4. package/entries/config.js +62 -0
  5. package/entries/ftview.js +5 -4
  6. package/entries/l5x.js +47 -15
  7. package/entries/mwi.js +26 -6
  8. package/entries/optix.js +105 -0
  9. package/lib/client.js +335 -6
  10. package/package.json +11 -10
  11. package/vendor/ftview/SKILL.md +17 -0
  12. package/vendor/l5x/SKILL.md +17 -0
  13. package/vendor/l5x/studio-bridge/NuGet.Config +1 -1
  14. package/vendor/mwi/README.md +41 -18
  15. package/vendor/mwi/SKILL.md +39 -20
  16. package/vendor/mwi/bridge/mw_bridge.ps1 +2768 -2763
  17. package/vendor/mwi/bridge/sdk-interop-importer.cs +30 -30
  18. package/vendor/mwi/bridge/sdk-variable-reader.cs +22 -22
  19. package/vendor/mwi/code/engine/motionworks_iec_mcp/__pycache__/__init__.cpython-312.pyc +0 -0
  20. package/vendor/mwi/code/engine/motionworks_iec_mcp/__pycache__/errors.cpython-312.pyc +0 -0
  21. package/vendor/mwi/code/engine/motionworks_iec_mcp/__pycache__/staging.cpython-312.pyc +0 -0
  22. package/vendor/mwi/code/engine/motionworks_iec_mcp/build.py +339 -339
  23. package/vendor/mwi/code/engine/motionworks_iec_mcp/cfb.py +765 -765
  24. package/vendor/mwi/code/engine/motionworks_iec_mcp/declarations.py +399 -399
  25. package/vendor/mwi/code/engine/motionworks_iec_mcp/ide.py +313 -313
  26. package/vendor/mwi/code/engine/motionworks_iec_mcp/manuals.py +520 -520
  27. package/vendor/mwi/code/engine/motionworks_iec_mcp/mwt_bind.py +133 -133
  28. package/vendor/mwi/code/engine/motionworks_iec_mcp/reference_data/catalog.json +672 -672
  29. package/vendor/mwi/code/engine/motionworks_iec_mcp/reference_data/patterns.json +86 -86
  30. package/vendor/mwi/code/engine/motionworks_iec_mcp/restore.py +208 -208
  31. package/vendor/mwi/code/engine/motionworks_iec_mcp/staging.py +134 -130
  32. package/vendor/mwi/code/engine/motionworks_iec_mcp/stlint.py +673 -673
  33. package/vendor/mwi/code/engine/motionworks_iec_mcp/tree_writer.py +790 -790
  34. package/vendor/mwi/code/engine/motionworks_iec_mcp/writer.py +642 -642
  35. package/vendor/mwi/lib/core/code-engine.d.ts +13 -0
  36. package/vendor/mwi/lib/core/code-engine.js +18 -1
  37. package/vendor/mwi/lib/edit.d.ts +1 -1
  38. package/vendor/mwi/lib/edit.js +1 -1
  39. package/vendor/mwi/lib/read/service.js +8 -1
  40. package/vendor/mwi/lib/session/backup.d.ts +72 -0
  41. package/vendor/mwi/lib/session/backup.js +257 -0
  42. package/vendor/mwi/lib/session/project.d.ts +4 -1
  43. package/vendor/mwi/lib/session/project.js +13 -2
  44. package/vendor/mwi/lib/session/service.d.ts +13 -6
  45. package/vendor/mwi/lib/session/service.js +127 -36
  46. package/vendor/mwi/lib/session/workspace.d.ts +10 -0
  47. package/vendor/mwi/lib/session/workspace.js +53 -3
  48. package/vendor/mwi/lib/skill.d.ts +2 -2
  49. package/vendor/mwi/lib/skill.js +2 -2
  50. package/vendor/mwi/lib/tools/edit.d.ts +3 -3
  51. package/vendor/mwi/lib/tools/edit.js +14 -15
  52. package/vendor/mwi/lib/tools/read.js +1 -1
  53. package/vendor/mwi/lib/tools/session.js +13 -9
  54. package/vendor/optix/templates/arya-optix-ipc/project/AryaNewHMIProject_IPC.optix +81 -81
  55. package/vendor/optix/templates/arya-optix-ipc/project/AryaNewHMIProject_IPC.optix.design +38 -38
  56. package/vendor/optix/templates/arya-optix-ipc/project/Nodes/Alarms/Alarms.yaml +3 -3
  57. package/vendor/optix/templates/arya-optix-ipc/project/Nodes/AryaNewHMIProject_IPC.yaml +67 -67
  58. package/vendor/optix/templates/arya-optix-ipc/project/Nodes/CommDrivers/CommDrivers.yaml +2 -2
  59. package/vendor/optix/templates/arya-optix-ipc/project/Nodes/Converters/Converters.yaml +2 -2
  60. package/vendor/optix/templates/arya-optix-ipc/project/Nodes/DataStores/DataStores.yaml +2 -2
  61. package/vendor/optix/templates/arya-optix-ipc/project/Nodes/Loggers/Loggers.yaml +2 -2
  62. package/vendor/optix/templates/arya-optix-ipc/project/Nodes/MQTT/MQTT.yaml +2 -2
  63. package/vendor/optix/templates/arya-optix-ipc/project/Nodes/Model/Model.yaml +2 -2
  64. package/vendor/optix/templates/arya-optix-ipc/project/Nodes/NetLogic/NetLogic.yaml +26 -26
  65. package/vendor/optix/templates/arya-optix-ipc/project/Nodes/OPC-UA/OPC-UA.yaml +2 -2
  66. package/vendor/optix/templates/arya-optix-ipc/project/Nodes/Recipes/Recipes.yaml +2 -2
  67. package/vendor/optix/templates/arya-optix-ipc/project/Nodes/Reports/Reports.yaml +2 -2
  68. package/vendor/optix/templates/arya-optix-ipc/project/Nodes/Retentivity/Retentivity.yaml +57 -57
  69. package/vendor/optix/templates/arya-optix-ipc/project/Nodes/Security/Groups/Groups.yaml +3 -3
  70. package/vendor/optix/templates/arya-optix-ipc/project/Nodes/Security/Roles/Roles.yaml +3 -3
  71. package/vendor/optix/templates/arya-optix-ipc/project/Nodes/Security/Security.yaml +7 -7
  72. package/vendor/optix/templates/arya-optix-ipc/project/Nodes/Security/Users/Users.yaml +3 -3
  73. package/vendor/optix/templates/arya-optix-ipc/project/Nodes/System/System.yaml +2 -2
  74. package/vendor/optix/templates/arya-optix-ipc/project/Nodes/Translations/Translations.yaml +16 -16
  75. package/vendor/optix/templates/arya-optix-ipc/project/Nodes/UI/Keyboards/Keyboards.yaml +2 -2
  76. package/vendor/optix/templates/arya-optix-ipc/project/Nodes/UI/Screens/Screens.yaml +2 -2
  77. package/vendor/optix/templates/arya-optix-ipc/project/Nodes/UI/UI.yaml +250 -250
  78. package/vendor/optix/templates/arya-optix-ipc/project/ProjectFiles/NetSolution/.vscode/launch.json +18 -18
  79. package/vendor/optix/templates/arya-optix-ipc/project/ProjectFiles/NetSolution/AryaNewHMIProject_IPC.code-workspace +9 -9
  80. package/vendor/optix/templates/arya-optix-ipc/project/ProjectFiles/NetSolution/AryaNewHMIProject_IPC.csproj +19 -19
  81. package/vendor/optix/templates/arya-optix-ipc/project/ProjectFiles/NetSolution/AryaNewHMIProject_IPC.references +172 -172
  82. package/vendor/optix/templates/arya-optix-ipc/project/ProjectFiles/NetSolution/AryaNewHMIProject_IPC.sln +21 -21
  83. package/vendor/optix/templates/arya-optix-ipc/project/ProjectFiles/NetSolution/Private/TypeConstants.cs +20 -20
  84. package/vendor/optix/templates/arya-optix-ipc/project/ProjectFiles/NetSolution/Private/UITypeDefinitions.cs +11 -11
  85. package/vendor/optix/templates/arya-optix-ipc/project/ProjectFiles/NetSolution/StudioMCPBridge.cs +4340 -4340
  86. package/vendor/optix/templates/arya-optix-ipc/project/ProjectFiles/UserDefinedModule.xml +26 -26
  87. package/vendor/optix/templates/arya-optix-panel/project/AryaNewHMIProject_OptixPanel.optix +97 -97
  88. package/vendor/optix/templates/arya-optix-panel/project/AryaNewHMIProject_OptixPanel.optix.design +38 -38
  89. package/vendor/optix/templates/arya-optix-panel/project/Nodes/Alarms/Alarms.yaml +3 -3
  90. package/vendor/optix/templates/arya-optix-panel/project/Nodes/AryaNewHMIProject_OptixPanel.yaml +67 -67
  91. package/vendor/optix/templates/arya-optix-panel/project/Nodes/CommDrivers/CommDrivers.yaml +2 -2
  92. package/vendor/optix/templates/arya-optix-panel/project/Nodes/Converters/Converters.yaml +2 -2
  93. package/vendor/optix/templates/arya-optix-panel/project/Nodes/DataStores/DataStores.yaml +2 -2
  94. package/vendor/optix/templates/arya-optix-panel/project/Nodes/Loggers/Loggers.yaml +2 -2
  95. package/vendor/optix/templates/arya-optix-panel/project/Nodes/MQTT/MQTT.yaml +2 -2
  96. package/vendor/optix/templates/arya-optix-panel/project/Nodes/Model/Model.yaml +2 -2
  97. package/vendor/optix/templates/arya-optix-panel/project/Nodes/NetLogic/NetLogic.yaml +26 -26
  98. package/vendor/optix/templates/arya-optix-panel/project/Nodes/OPC-UA/OPC-UA.yaml +2 -2
  99. package/vendor/optix/templates/arya-optix-panel/project/Nodes/Recipes/Recipes.yaml +2 -2
  100. package/vendor/optix/templates/arya-optix-panel/project/Nodes/Reports/Reports.yaml +2 -2
  101. package/vendor/optix/templates/arya-optix-panel/project/Nodes/Retentivity/Retentivity.yaml +57 -57
  102. package/vendor/optix/templates/arya-optix-panel/project/Nodes/Security/Groups/Groups.yaml +3 -3
  103. package/vendor/optix/templates/arya-optix-panel/project/Nodes/Security/Roles/Roles.yaml +3 -3
  104. package/vendor/optix/templates/arya-optix-panel/project/Nodes/Security/Security.yaml +7 -7
  105. package/vendor/optix/templates/arya-optix-panel/project/Nodes/Security/Users/Users.yaml +3 -3
  106. package/vendor/optix/templates/arya-optix-panel/project/Nodes/System/System.yaml +444 -444
  107. package/vendor/optix/templates/arya-optix-panel/project/Nodes/Translations/Translations.yaml +81 -81
  108. package/vendor/optix/templates/arya-optix-panel/project/Nodes/UI/Keyboards/Keyboards.yaml +2 -2
  109. package/vendor/optix/templates/arya-optix-panel/project/Nodes/UI/Screens/Screens.yaml +2 -2
  110. package/vendor/optix/templates/arya-optix-panel/project/Nodes/UI/SettingsWidgets/DeviceSettingsWidget/DeviceSettingsWidget.yaml +163 -163
  111. package/vendor/optix/templates/arya-optix-panel/project/Nodes/UI/SettingsWidgets/DeviceSettingsWidget/DeviceSettingsWidgetComponents/DeviceSettingsWidgetComponents.yaml +1663 -1663
  112. package/vendor/optix/templates/arya-optix-panel/project/Nodes/UI/SettingsWidgets/FactoryTalkRemoteAccessWidget/FTRemoteAccessWidgetComponents/FTRemoteAccessWidgetComponents.yaml +2471 -2471
  113. package/vendor/optix/templates/arya-optix-panel/project/Nodes/UI/SettingsWidgets/FactoryTalkRemoteAccessWidget/FactoryTalkRemoteAccessWidget.yaml +218 -218
  114. package/vendor/optix/templates/arya-optix-panel/project/Nodes/UI/SettingsWidgets/NetworkSettingsWidget/NetworkSettingsWidget.yaml +524 -524
  115. package/vendor/optix/templates/arya-optix-panel/project/Nodes/UI/SettingsWidgets/NetworkSettingsWidget/NetworkSettingsWidgetComponents/NetworkSettingsWidgetComponents.yaml +690 -690
  116. package/vendor/optix/templates/arya-optix-panel/project/Nodes/UI/SettingsWidgets/SettingsWidgets.yaml +1265 -1265
  117. package/vendor/optix/templates/arya-optix-panel/project/Nodes/UI/UI.yaml +252 -252
  118. package/vendor/optix/templates/arya-optix-panel/project/ProjectFiles/NetSolution/.vscode/launch.json +18 -18
  119. package/vendor/optix/templates/arya-optix-panel/project/ProjectFiles/NetSolution/ApplicationNameLogic.cs +19 -19
  120. package/vendor/optix/templates/arya-optix-panel/project/ProjectFiles/NetSolution/AryaNewHMIProject_OptixPanel.code-workspace +9 -9
  121. package/vendor/optix/templates/arya-optix-panel/project/ProjectFiles/NetSolution/AryaNewHMIProject_OptixPanel.csproj +19 -19
  122. package/vendor/optix/templates/arya-optix-panel/project/ProjectFiles/NetSolution/AryaNewHMIProject_OptixPanel.references +172 -172
  123. package/vendor/optix/templates/arya-optix-panel/project/ProjectFiles/NetSolution/AryaNewHMIProject_OptixPanel.sln +21 -21
  124. package/vendor/optix/templates/arya-optix-panel/project/ProjectFiles/NetSolution/ConnectionSwitchLogic.cs +74 -74
  125. package/vendor/optix/templates/arya-optix-panel/project/ProjectFiles/NetSolution/DateAndTimeWidgetLogic.cs +420 -420
  126. package/vendor/optix/templates/arya-optix-panel/project/ProjectFiles/NetSolution/DeviceSettingsWidgetLogic.cs +34 -34
  127. package/vendor/optix/templates/arya-optix-panel/project/ProjectFiles/NetSolution/FTOptixStudioVersionLogic.cs +47 -47
  128. package/vendor/optix/templates/arya-optix-panel/project/ProjectFiles/NetSolution/FTRemoteAccessWidgetSetupLogic.cs +153 -153
  129. package/vendor/optix/templates/arya-optix-panel/project/ProjectFiles/NetSolution/IncomingConnectionApprovalLogic.cs +118 -118
  130. package/vendor/optix/templates/arya-optix-panel/project/ProjectFiles/NetSolution/IncomingConnectionReceiverLogic.cs +166 -166
  131. package/vendor/optix/templates/arya-optix-panel/project/ProjectFiles/NetSolution/NetworkConfiguratorEditModelsLogic.cs +56 -56
  132. package/vendor/optix/templates/arya-optix-panel/project/ProjectFiles/NetSolution/NetworkInterfaceLogic.cs +138 -138
  133. package/vendor/optix/templates/arya-optix-panel/project/ProjectFiles/NetSolution/NetworkInterfacesEditModelReaderLogic.cs +87 -87
  134. package/vendor/optix/templates/arya-optix-panel/project/ProjectFiles/NetSolution/NetworkInterfacesEditModelToSystemWriterLogic.cs +139 -139
  135. package/vendor/optix/templates/arya-optix-panel/project/ProjectFiles/NetSolution/NetworkSettingsLogic.cs +168 -168
  136. package/vendor/optix/templates/arya-optix-panel/project/ProjectFiles/NetSolution/Private/FTRemoteAccessWidgetDataObject.cs +106 -106
  137. package/vendor/optix/templates/arya-optix-panel/project/ProjectFiles/NetSolution/Private/TypeConstants.cs +37 -37
  138. package/vendor/optix/templates/arya-optix-panel/project/ProjectFiles/NetSolution/Private/UITypeDefinitions.cs +91 -91
  139. package/vendor/optix/templates/arya-optix-panel/project/ProjectFiles/NetSolution/RequestAssistanceSwitchLogic.cs +93 -93
  140. package/vendor/optix/templates/arya-optix-panel/project/ProjectFiles/NetSolution/StudioMCPBridge.cs +4340 -4340
  141. package/vendor/optix/templates/arya-optix-panel/project/ProjectFiles/NetSolution/SystemToNetworkInterfacesEditModelWriterLogic.cs +77 -77
  142. package/vendor/optix/templates/arya-optix-panel/project/ProjectFiles/UserDefinedModule.xml +111 -111
  143. package/vendor/optix/templates/arya-optix-panel/project/ProjectFiles/WarningIcon.svg +4 -4
  144. package/vendor/mwi/code/engine/motionworks_iec_mcp/__pycache__/block_interfaces.cpython-312.pyc +0 -0
  145. package/vendor/mwi/code/engine/motionworks_iec_mcp/__pycache__/cfb.cpython-312.pyc +0 -0
  146. package/vendor/mwi/code/engine/motionworks_iec_mcp/__pycache__/datatypes.cpython-312.pyc +0 -0
  147. package/vendor/mwi/code/engine/motionworks_iec_mcp/__pycache__/declarations.cpython-312.pyc +0 -0
  148. package/vendor/mwi/code/engine/motionworks_iec_mcp/__pycache__/graphical_listing.cpython-312.pyc +0 -0
  149. package/vendor/mwi/code/engine/motionworks_iec_mcp/__pycache__/grid.cpython-312.pyc +0 -0
  150. package/vendor/mwi/code/engine/motionworks_iec_mcp/__pycache__/knowledge.cpython-312.pyc +0 -0
  151. package/vendor/mwi/code/engine/motionworks_iec_mcp/__pycache__/mwt_bind.cpython-312.pyc +0 -0
  152. package/vendor/mwi/code/engine/motionworks_iec_mcp/__pycache__/navigation.cpython-312.pyc +0 -0
  153. package/vendor/mwi/code/engine/motionworks_iec_mcp/__pycache__/program_checks.cpython-312.pyc +0 -0
  154. package/vendor/mwi/code/engine/motionworks_iec_mcp/__pycache__/project.cpython-312.pyc +0 -0
  155. package/vendor/mwi/code/engine/motionworks_iec_mcp/__pycache__/structure.cpython-312.pyc +0 -0
  156. package/vendor/mwi/code/engine/motionworks_iec_mcp/__pycache__/task_bindings.cpython-312.pyc +0 -0
  157. package/vendor/mwi/code/engine/motionworks_iec_mcp/__pycache__/tasks.cpython-312.pyc +0 -0
  158. package/vendor/mwi/code/engine/motionworks_iec_mcp/__pycache__/tree.cpython-312.pyc +0 -0
  159. package/vendor/mwi/code/engine/motionworks_iec_mcp/__pycache__/validation.cpython-312.pyc +0 -0
  160. package/vendor/mwi/code/engine/motionworks_iec_mcp/__pycache__/variable_edit.cpython-312.pyc +0 -0
  161. package/vendor/mwi/code/engine/motionworks_iec_mcp/__pycache__/variables.cpython-312.pyc +0 -0
  162. package/vendor/mwi/code/engine/motionworks_iec_mcp/__pycache__/workflow.cpython-312.pyc +0 -0
@@ -1,672 +1,672 @@
1
- {
2
- "schema_version": 1,
3
- "reviewed_on": "2026-09-27",
4
- "sources": [
5
- {
6
- "id": "basics",
7
- "document_id": "TRM011-MotionWorksIEC-Basic",
8
- "title": "IEC 61131-3 Basics with MotionWorks IEC",
9
- "revision": "Rev 1.10, 2014-03-06",
10
- "applicability": "Historical training; verify controller and installed IDE/library versions",
11
- "url": "https://www.yaskawa.com/delegate/getAttachment?cmd=documents&documentId=TRM011-MotionWorksIEC-Basic&documentName=TRM011-MotionWorksIEC-Basic.pdf",
12
- "sha256": "dd8f29b53c042b36457fe987cac09a911a50b1230b745d89389b0c64caf1bf27",
13
- "pages": 197,
14
- "reviewed_on": "2026-09-27",
15
- "kind": "pdf"
16
- },
17
- {
18
- "id": "plcopen",
19
- "document_id": "YEA-SIA-IEC-3",
20
- "title": "PLCopenPlus Function Blocks for Motion Control",
21
- "revision": "2013-04-13 (cover 2013-04-12)",
22
- "applicability": "MotionWorks IEC 2.5-era manual; not a claim of installed firmware compatibility",
23
- "url": "https://www.yaskawa.com/delegate/getAttachment?cmd=documents&documentId=YEA-SIA-IEC-3&documentName=YEA-SIA-IEC-3_PLCopenPlus_2013-04-13.pdf",
24
- "sha256": "6180a58b75f149f0460acfb392a8cb5879ea22cd44f9341fd42a8426b5d9b2dd",
25
- "pages": 396,
26
- "reviewed_on": "2026-09-27",
27
- "kind": "pdf"
28
- },
29
- {
30
- "id": "toolbox",
31
- "document_id": "TM.MWIEC.01",
32
- "title": "MotionWorks IEC Toolbox Manual",
33
- "revision": "Help created 2023-11-14",
34
- "applicability": "Toolbox-specific; compare installed toolbox version before applying signatures",
35
- "url": "https://www.yaskawa.com/delegate/getAttachment?cmd=documents&documentId=TM.MWIEC.01&documentName=TM.MWIEC.01.pdf",
36
- "sha256": "944ebc454d926828ba2aab4e979b6d9db9ce29bdf559d1724b444113234dbc85",
37
- "pages": 913,
38
- "reviewed_on": "2026-09-27",
39
- "kind": "pdf"
40
- },
41
- {
42
- "id": "quick",
43
- "document_id": "QRG.MP2000iecSeries.01",
44
- "title": "MPiec Series Quick Reference Guide",
45
- "revision": "Rev 3.4, catalog date 2016-12-05",
46
- "applicability": "MPiec series; procedures and screenshots are historical",
47
- "url": "https://www.yaskawa.com/delegate/getAttachment?cmd=documents&documentId=QRG.MP2000iecSeries.01&documentName=QRG.MP2000iecSeries.01.pdf",
48
- "sha256": "8455cc86092094d377bbcbfee59dfd222523be4b91748f784468e59c2ef1a481",
49
- "pages": 24,
50
- "reviewed_on": "2026-09-27",
51
- "kind": "pdf"
52
- },
53
- {
54
- "id": "native-code",
55
- "document_id": "CNT-IWLS4T",
56
- "title": "Error in Native Code Generation",
57
- "revision": "FAQ retrieved 2026-09-27",
58
- "applicability": "Diagnostic candidates, not a unique root cause",
59
- "url": "https://www.yaskawa.com/about-us/contact-us?_com_yaskawa_contact_us_contactUsActionPortlet_safetyText=true&_com_yaskawa_contact_us_contactUsActionPortlet_selectedDocumentId=CNT-IWLS4T",
60
- "kind": "web",
61
- "reviewed_on": "2026-09-27"
62
- },
63
- {
64
- "id": "io-range",
65
- "document_id": "MTN-9GAU5W",
66
- "title": "Operand not implemented or area exceeded",
67
- "revision": "FAQ retrieved 2026-09-27",
68
- "applicability": "Diagnostic candidates, not a unique root cause",
69
- "url": "https://www.yaskawa.com/about-us/contact-us?_com_yaskawa_contact_us_contactUsActionPortlet_safetyText=true&_com_yaskawa_contact_us_contactUsActionPortlet_selectedDocumentId=MTN-9GAU5W",
70
- "kind": "web",
71
- "reviewed_on": "2026-09-27"
72
- }
73
- ],
74
- "topics": [
75
- {
76
- "id": "scope",
77
- "title": "Local and global scope",
78
- "source_id": "basics",
79
- "pdf_pages": [
80
- 134,
81
- 137,
82
- 144
83
- ],
84
- "section": "Variable usage / conventions",
85
- "summary": "Share through resource globals and matching externals; locals remain POU-owned. Check accidental shadowing.",
86
- "tags": [
87
- "VAR_EXTERNAL",
88
- "VAR_GLOBAL",
89
- "scope",
90
- "shadowing",
91
- "missing",
92
- "global"
93
- ]
94
- },
95
- {
96
- "id": "strict-types",
97
- "title": "Explicit type conversions",
98
- "source_id": "basics",
99
- "pdf_pages": [
100
- 34,
101
- 35
102
- ],
103
- "section": "Data Type Invalid / Conversion",
104
- "summary": "Check declared types and explicit conversions; avoid inferring compatibility from similar numeric values.",
105
- "tags": [
106
- "INT",
107
- "LREAL",
108
- "BOOL",
109
- "conversion",
110
- "type",
111
- "mismatch"
112
- ]
113
- },
114
- {
115
- "id": "task-order",
116
- "title": "Task assignment and program order",
117
- "source_id": "basics",
118
- "pdf_pages": [
119
- 53,
120
- 55,
121
- 87
122
- ],
123
- "section": "IO In Task List / Multi-Task Overview",
124
- "summary": "Program instances need task bindings. Input mapping precedes logic; output mapping follows it.",
125
- "tags": [
126
- "task",
127
- "program",
128
- "instance",
129
- "assignment",
130
- "order",
131
- "scan",
132
- "IO"
133
- ]
134
- },
135
- {
136
- "id": "task-priority",
137
- "title": "Cyclic task priority and watchdog",
138
- "source_id": "basics",
139
- "pdf_pages": [
140
- 87,
141
- 95,
142
- 96
143
- ],
144
- "section": "Multi-Task Priority / Watchdog",
145
- "summary": "This training uses priorities 0–15, with zero highest. Check controller timing and watchdog limits.",
146
- "tags": [
147
- "cyclic",
148
- "watchdog",
149
- "priority",
150
- "interval",
151
- "scheduling"
152
- ]
153
- },
154
- {
155
- "id": "initialization",
156
- "title": "Warm and cold initialization",
157
- "source_id": "basics",
158
- "pdf_pages": [
159
- 89,
160
- 90,
161
- 91,
162
- 122,
163
- 125
164
- ],
165
- "section": "System Tasks / Cold-Warm-Hot Start",
166
- "summary": "Select startup tasks and retention deliberately; warm, cold and hot starts initialize different state.",
167
- "tags": [
168
- "initialization",
169
- "startup",
170
- "retain",
171
- "cold",
172
- "warm",
173
- "hot"
174
- ]
175
- },
176
- {
177
- "id": "diagnostics",
178
- "title": "Locate compiler diagnostics",
179
- "source_id": "basics",
180
- "pdf_pages": [
181
- 117
182
- ],
183
- "section": "Compile Errors",
184
- "summary": "Navigate from the Errors pane to the reported source; correct the cause and rerun Make.",
185
- "tags": [
186
- "compile",
187
- "errors",
188
- "diagnostic",
189
- "make",
190
- "location"
191
- ]
192
- },
193
- {
194
- "id": "rename",
195
- "title": "Consistent symbol renaming",
196
- "source_id": "basics",
197
- "pdf_pages": [
198
- 143
199
- ],
200
- "section": "Renaming Variables",
201
- "summary": "Update declarations and uses together; whole-word matching helps avoid changing unrelated identifiers.",
202
- "tags": [
203
- "rename",
204
- "declaration",
205
- "usage",
206
- "references"
207
- ]
208
- },
209
- {
210
- "id": "execute",
211
- "title": "Execute-triggered function blocks",
212
- "source_id": "plcopen",
213
- "pdf_pages": [
214
- 16,
215
- 17,
216
- 18,
217
- 19
218
- ],
219
- "section": "Function block interface / General rules",
220
- "summary": "Execute captures parameters on a rising edge; omitted inputs retain prior/default values. Keep calling busy instances.",
221
- "tags": [
222
- "execute",
223
- "rising",
224
- "edge",
225
- "busy",
226
- "cyclic",
227
- "omitted",
228
- "inputs",
229
- "rearm"
230
- ]
231
- },
232
- {
233
- "id": "enable",
234
- "title": "Enable/Valid function blocks",
235
- "source_id": "plcopen",
236
- "pdf_pages": [
237
- 19
238
- ],
239
- "section": "Enable and Valid Status",
240
- "summary": "Enable is level-sensitive; consume results when Valid indicates usable output.",
241
- "tags": [
242
- "enable",
243
- "valid",
244
- "read",
245
- "position",
246
- "feedback"
247
- ]
248
- },
249
- {
250
- "id": "fb-results",
251
- "title": "Completion and error handling",
252
- "source_id": "plcopen",
253
- "pdf_pages": [
254
- 16,
255
- 17,
256
- 18
257
- ],
258
- "section": "Output status / Error Handling",
259
- "summary": "Handle completion, errors and interruption. Execute falling does not itself stop motion; latch diagnostics before reset.",
260
- "tags": [
261
- "Done",
262
- "Error",
263
- "ErrorID",
264
- "CommandAborted",
265
- "reset"
266
- ]
267
- },
268
- {
269
- "id": "power",
270
- "title": "MC_Power ownership",
271
- "source_id": "plcopen",
272
- "pdf_pages": [
273
- 122,
274
- 123
275
- ],
276
- "section": "MC_Power / Notes",
277
- "summary": "Use one MC_Power instance per axis; verify the installed interface and supported options.",
278
- "tags": [
279
- "MC_Power",
280
- "Status",
281
- "Enable",
282
- "axis",
283
- "ownership"
284
- ]
285
- },
286
- {
287
- "id": "stop",
288
- "title": "MC_Stop state behavior",
289
- "source_id": "plcopen",
290
- "pdf_pages": [
291
- 168,
292
- 169
293
- ],
294
- "section": "MC_Stop",
295
- "summary": "Stopping persists while Execute remains asserted; other motion commands can report 4370.",
296
- "tags": [
297
- "MC_Stop",
298
- "4370",
299
- "MotionProhibited",
300
- "Stopping",
301
- "Standstill"
302
- ]
303
- },
304
- {
305
- "id": "reset",
306
- "title": "MC_Reset completion",
307
- "source_id": "plcopen",
308
- "pdf_pages": [
309
- 150,
310
- 151
311
- ],
312
- "section": "MC_Reset / Notes",
313
- "summary": "Done confirms the reset attempt completed; read axis errors to establish whether alarms remain.",
314
- "tags": [
315
- "MC_Reset",
316
- "Done",
317
- "alarm",
318
- "ErrorStop"
319
- ]
320
- },
321
- {
322
- "id": "axis-id",
323
- "title": "Axis-reference diagnostic",
324
- "source_id": "plcopen",
325
- "pdf_pages": [
326
- 130
327
- ],
328
- "section": "MC_ReadActualPosition / Error Description",
329
- "summary": "For 4625, compare AxisNum with configured logical axes and inspect AXIS_REF ownership.",
330
- "tags": [
331
- "4625",
332
- "AXIS_REF",
333
- "AxisNum",
334
- "logical",
335
- "axis"
336
- ]
337
- },
338
- {
339
- "id": "library",
340
- "title": "Toolbox and library dependencies",
341
- "source_id": "toolbox",
342
- "pdf_pages": [
343
- 1
344
- ],
345
- "section": "Toolbox Introduction",
346
- "summary": "Toolboxes are user-library projects. Record library identity and version; symbol presence alone does not establish pin direction.",
347
- "tags": [
348
- "library",
349
- "toolbox",
350
- "version",
351
- "dependency",
352
- "import"
353
- ]
354
- },
355
- {
356
- "id": "cam",
357
- "title": "Cam profile reference",
358
- "source_id": "toolbox",
359
- "pdf_pages": [
360
- 25,
361
- 26,
362
- 27,
363
- 28,
364
- 29,
365
- 30
366
- ],
367
- "section": "Cam toolbox / CamGenerator",
368
- "summary": "Inspect the matching CamGenerator interface, profile structures and installed toolbox before editing cam calculations.",
369
- "tags": [
370
- "CamGenerator",
371
- "CamSegmentStruct",
372
- "CamData",
373
- "cam",
374
- "profile"
375
- ]
376
- },
377
- {
378
- "id": "registration",
379
- "title": "Registration and product buffer reference",
380
- "source_id": "toolbox",
381
- "pdf_pages": [
382
- 570,
383
- 572,
384
- 573,
385
- 574,
386
- 575,
387
- 576
388
- ],
389
- "section": "PLCopen toolbox / ProductBuffer references",
390
- "summary": "Trace registration data and ProductBuffer behavior in the matching toolbox; do not infer structure layout from a variable name.",
391
- "tags": [
392
- "ProductBuffer",
393
- "registration",
394
- "RegistrationData",
395
- "latch",
396
- "fifo"
397
- ]
398
- },
399
- {
400
- "id": "axis-array",
401
- "title": "Axis array indexing",
402
- "source_id": "toolbox",
403
- "pdf_pages": [
404
- 2,
405
- 3
406
- ],
407
- "section": "AXIS_ARRAY / AXES_GROUP_REF",
408
- "summary": "AXIS_ARRAY uses indices 1 through 32 in this revision. Confirm group structures and hardware-generated mappings.",
409
- "tags": [
410
- "AXIS_ARRAY",
411
- "AXES_GROUP_REF",
412
- "array",
413
- "bounds",
414
- "group"
415
- ]
416
- },
417
- {
418
- "id": "project-files",
419
- "title": "Project and archive handling",
420
- "source_id": "quick",
421
- "pdf_pages": [
422
- 16
423
- ],
424
- "section": "2.1 Open a saved project / 2.2 Open a zipped project",
425
- "summary": "A working project includes its wrapper and companion directory. Native ZWT/ZWE archives are opened through MotionWorks; keep extraction in the workspace.",
426
- "tags": [
427
- "mwt",
428
- "mwe",
429
- "zwt",
430
- "zwe",
431
- "archive",
432
- "open",
433
- "workspace"
434
- ]
435
- },
436
- {
437
- "id": "backup",
438
- "title": "Save and backup workflow",
439
- "source_id": "quick",
440
- "pdf_pages": [
441
- 16,
442
- 17,
443
- 22
444
- ],
445
- "section": "MotionWorks IEC Procedures / User Libraries",
446
- "summary": "Preserve the complete project and its dependencies when backing up or moving it. Check library paths after relocation.",
447
- "tags": [
448
- "backup",
449
- "save",
450
- "library",
451
- "path",
452
- "relocation"
453
- ]
454
- },
455
- {
456
- "id": "native-code-error",
457
- "title": "Native-code generation failure",
458
- "source_id": "native-code",
459
- "pdf_pages": [],
460
- "section": "FAQ answer",
461
- "summary": "Inspect variable allocation and software/library compatibility. Yaskawa identifies Cam Toolbox 2.4+ versus IEC 2.x as one mismatch example.",
462
- "tags": [
463
- "Error",
464
- "in",
465
- "Native",
466
- "Code",
467
- "Generation",
468
- "native",
469
- "compiler",
470
- "compatibility"
471
- ]
472
- },
473
- {
474
- "id": "address-range",
475
- "title": "Located variable outside configured I/O",
476
- "source_id": "io-range",
477
- "pdf_pages": [],
478
- "section": "FAQ answer",
479
- "summary": "Compare located variables with configured I/O-driver ranges; this can appear in debug even for an unused variable.",
480
- "tags": [
481
- "Operand",
482
- "not",
483
- "implemented",
484
- "area",
485
- "exceeded",
486
- "I/O",
487
- "address",
488
- "range",
489
- "%I",
490
- "%Q",
491
- "%M"
492
- ]
493
- }
494
- ],
495
- "signatures": {
496
- "MC_MoveAbsolute": {
497
- "source_id": "plcopen",
498
- "pdf_pages": [
499
- 94,
500
- 95,
501
- 96
502
- ],
503
- "section": "MC_MoveAbsolute / Parameters",
504
- "inputs": {
505
- "Execute": "BOOL",
506
- "Position": "LREAL",
507
- "Velocity": "LREAL",
508
- "Acceleration": "LREAL",
509
- "Deceleration": "LREAL",
510
- "Jerk": "LREAL",
511
- "Direction": "MC_Direction",
512
- "BufferMode": "MC_BufferMode"
513
- },
514
- "outputs": {
515
- "Done": "BOOL",
516
- "Busy": "BOOL",
517
- "Active": "BOOL",
518
- "CommandAborted": "BOOL",
519
- "Error": "BOOL",
520
- "ErrorID": "UINT"
521
- },
522
- "inouts": {
523
- "Axis": "AXIS_REF"
524
- },
525
- "complete": true,
526
- "authority": "historical_vendor_reference",
527
- "unsupported_pins": {
528
- "Jerk": "Reserved and unsupported in the reviewed 2013 edition."
529
- }
530
- },
531
- "MC_MoveRelative": {
532
- "source_id": "plcopen",
533
- "pdf_pages": [
534
- 100,
535
- 101
536
- ],
537
- "section": "MC_MoveRelative / Parameters",
538
- "inputs": {
539
- "Execute": "BOOL",
540
- "Distance": "LREAL",
541
- "Velocity": "LREAL",
542
- "Acceleration": "LREAL",
543
- "Deceleration": "LREAL",
544
- "Jerk": "LREAL",
545
- "BufferMode": "MC_BufferMode"
546
- },
547
- "outputs": {
548
- "Done": "BOOL",
549
- "Busy": "BOOL",
550
- "Active": "BOOL",
551
- "CommandAborted": "BOOL",
552
- "Error": "BOOL",
553
- "ErrorID": "UINT"
554
- },
555
- "inouts": {
556
- "Axis": "AXIS_REF"
557
- },
558
- "complete": true,
559
- "authority": "historical_vendor_reference",
560
- "unsupported_pins": {
561
- "Jerk": "Reserved and unsupported in the reviewed 2013 edition."
562
- }
563
- },
564
- "MC_Power": {
565
- "source_id": "plcopen",
566
- "pdf_pages": [
567
- 122,
568
- 123
569
- ],
570
- "section": "MC_Power / Parameters",
571
- "inputs": {
572
- "Enable": "BOOL",
573
- "Enable_Positive": "BOOL",
574
- "Enable_Negative": "BOOL",
575
- "BufferMode": "MC_BufferMode"
576
- },
577
- "outputs": {
578
- "Status": "BOOL",
579
- "Busy": "BOOL",
580
- "Active": "BOOL",
581
- "Error": "BOOL",
582
- "ErrorID": "UINT"
583
- },
584
- "inouts": {
585
- "Axis": "AXIS_REF"
586
- },
587
- "complete": true,
588
- "authority": "historical_vendor_reference",
589
- "unsupported_pins": {
590
- "Enable_Positive": "Unsupported in the reviewed 2013 edition.",
591
- "Enable_Negative": "Unsupported in the reviewed 2013 edition.",
592
- "BufferMode": "Unsupported in the reviewed 2013 edition."
593
- }
594
- },
595
- "MC_ReadActualPosition": {
596
- "source_id": "plcopen",
597
- "pdf_pages": [
598
- 129,
599
- 130
600
- ],
601
- "section": "MC_ReadActualPosition / Parameters",
602
- "inputs": {
603
- "Enable": "BOOL"
604
- },
605
- "outputs": {
606
- "Valid": "BOOL",
607
- "Busy": "BOOL",
608
- "Error": "BOOL",
609
- "ErrorID": "UINT",
610
- "Position": "LREAL"
611
- },
612
- "inouts": {
613
- "Axis": "AXIS_REF"
614
- },
615
- "complete": true,
616
- "authority": "historical_vendor_reference"
617
- },
618
- "MC_Reset": {
619
- "source_id": "plcopen",
620
- "pdf_pages": [
621
- 150,
622
- 151
623
- ],
624
- "section": "MC_Reset / Parameters",
625
- "inputs": {
626
- "Execute": "BOOL"
627
- },
628
- "outputs": {
629
- "Done": "BOOL",
630
- "Busy": "BOOL",
631
- "Error": "BOOL",
632
- "ErrorID": "UINT"
633
- },
634
- "inouts": {
635
- "Axis": "AXIS_REF"
636
- },
637
- "complete": true,
638
- "authority": "historical_vendor_reference"
639
- },
640
- "MC_Stop": {
641
- "source_id": "plcopen",
642
- "pdf_pages": [
643
- 168,
644
- 169
645
- ],
646
- "section": "MC_Stop / Parameters",
647
- "inputs": {
648
- "Execute": "BOOL",
649
- "Deceleration": "LREAL",
650
- "Jerk": "LREAL",
651
- "BufferMode": "MC_BufferMode"
652
- },
653
- "outputs": {
654
- "Done": "BOOL",
655
- "Busy": "BOOL",
656
- "Active": "BOOL",
657
- "CommandAborted": "BOOL",
658
- "Error": "BOOL",
659
- "ErrorID": "UINT"
660
- },
661
- "inouts": {
662
- "Axis": "AXIS_REF"
663
- },
664
- "complete": true,
665
- "authority": "historical_vendor_reference",
666
- "unsupported_pins": {
667
- "Jerk": "Reserved and unsupported in the reviewed 2013 edition.",
668
- "BufferMode": "Unsupported in the reviewed 2013 edition; documented behavior is Aborting."
669
- }
670
- }
671
- }
672
- }
1
+ {
2
+ "schema_version": 1,
3
+ "reviewed_on": "2026-09-27",
4
+ "sources": [
5
+ {
6
+ "id": "basics",
7
+ "document_id": "TRM011-MotionWorksIEC-Basic",
8
+ "title": "IEC 61131-3 Basics with MotionWorks IEC",
9
+ "revision": "Rev 1.10, 2014-03-06",
10
+ "applicability": "Historical training; verify controller and installed IDE/library versions",
11
+ "url": "https://www.yaskawa.com/delegate/getAttachment?cmd=documents&documentId=TRM011-MotionWorksIEC-Basic&documentName=TRM011-MotionWorksIEC-Basic.pdf",
12
+ "sha256": "dd8f29b53c042b36457fe987cac09a911a50b1230b745d89389b0c64caf1bf27",
13
+ "pages": 197,
14
+ "reviewed_on": "2026-09-27",
15
+ "kind": "pdf"
16
+ },
17
+ {
18
+ "id": "plcopen",
19
+ "document_id": "YEA-SIA-IEC-3",
20
+ "title": "PLCopenPlus Function Blocks for Motion Control",
21
+ "revision": "2013-04-13 (cover 2013-04-12)",
22
+ "applicability": "MotionWorks IEC 2.5-era manual; not a claim of installed firmware compatibility",
23
+ "url": "https://www.yaskawa.com/delegate/getAttachment?cmd=documents&documentId=YEA-SIA-IEC-3&documentName=YEA-SIA-IEC-3_PLCopenPlus_2013-04-13.pdf",
24
+ "sha256": "6180a58b75f149f0460acfb392a8cb5879ea22cd44f9341fd42a8426b5d9b2dd",
25
+ "pages": 396,
26
+ "reviewed_on": "2026-09-27",
27
+ "kind": "pdf"
28
+ },
29
+ {
30
+ "id": "toolbox",
31
+ "document_id": "TM.MWIEC.01",
32
+ "title": "MotionWorks IEC Toolbox Manual",
33
+ "revision": "Help created 2023-11-14",
34
+ "applicability": "Toolbox-specific; compare installed toolbox version before applying signatures",
35
+ "url": "https://www.yaskawa.com/delegate/getAttachment?cmd=documents&documentId=TM.MWIEC.01&documentName=TM.MWIEC.01.pdf",
36
+ "sha256": "944ebc454d926828ba2aab4e979b6d9db9ce29bdf559d1724b444113234dbc85",
37
+ "pages": 913,
38
+ "reviewed_on": "2026-09-27",
39
+ "kind": "pdf"
40
+ },
41
+ {
42
+ "id": "quick",
43
+ "document_id": "QRG.MP2000iecSeries.01",
44
+ "title": "MPiec Series Quick Reference Guide",
45
+ "revision": "Rev 3.4, catalog date 2016-12-05",
46
+ "applicability": "MPiec series; procedures and screenshots are historical",
47
+ "url": "https://www.yaskawa.com/delegate/getAttachment?cmd=documents&documentId=QRG.MP2000iecSeries.01&documentName=QRG.MP2000iecSeries.01.pdf",
48
+ "sha256": "8455cc86092094d377bbcbfee59dfd222523be4b91748f784468e59c2ef1a481",
49
+ "pages": 24,
50
+ "reviewed_on": "2026-09-27",
51
+ "kind": "pdf"
52
+ },
53
+ {
54
+ "id": "native-code",
55
+ "document_id": "CNT-IWLS4T",
56
+ "title": "Error in Native Code Generation",
57
+ "revision": "FAQ retrieved 2026-09-27",
58
+ "applicability": "Diagnostic candidates, not a unique root cause",
59
+ "url": "https://www.yaskawa.com/about-us/contact-us?_com_yaskawa_contact_us_contactUsActionPortlet_safetyText=true&_com_yaskawa_contact_us_contactUsActionPortlet_selectedDocumentId=CNT-IWLS4T",
60
+ "kind": "web",
61
+ "reviewed_on": "2026-09-27"
62
+ },
63
+ {
64
+ "id": "io-range",
65
+ "document_id": "MTN-9GAU5W",
66
+ "title": "Operand not implemented or area exceeded",
67
+ "revision": "FAQ retrieved 2026-09-27",
68
+ "applicability": "Diagnostic candidates, not a unique root cause",
69
+ "url": "https://www.yaskawa.com/about-us/contact-us?_com_yaskawa_contact_us_contactUsActionPortlet_safetyText=true&_com_yaskawa_contact_us_contactUsActionPortlet_selectedDocumentId=MTN-9GAU5W",
70
+ "kind": "web",
71
+ "reviewed_on": "2026-09-27"
72
+ }
73
+ ],
74
+ "topics": [
75
+ {
76
+ "id": "scope",
77
+ "title": "Local and global scope",
78
+ "source_id": "basics",
79
+ "pdf_pages": [
80
+ 134,
81
+ 137,
82
+ 144
83
+ ],
84
+ "section": "Variable usage / conventions",
85
+ "summary": "Share through resource globals and matching externals; locals remain POU-owned. Check accidental shadowing.",
86
+ "tags": [
87
+ "VAR_EXTERNAL",
88
+ "VAR_GLOBAL",
89
+ "scope",
90
+ "shadowing",
91
+ "missing",
92
+ "global"
93
+ ]
94
+ },
95
+ {
96
+ "id": "strict-types",
97
+ "title": "Explicit type conversions",
98
+ "source_id": "basics",
99
+ "pdf_pages": [
100
+ 34,
101
+ 35
102
+ ],
103
+ "section": "Data Type Invalid / Conversion",
104
+ "summary": "Check declared types and explicit conversions; avoid inferring compatibility from similar numeric values.",
105
+ "tags": [
106
+ "INT",
107
+ "LREAL",
108
+ "BOOL",
109
+ "conversion",
110
+ "type",
111
+ "mismatch"
112
+ ]
113
+ },
114
+ {
115
+ "id": "task-order",
116
+ "title": "Task assignment and program order",
117
+ "source_id": "basics",
118
+ "pdf_pages": [
119
+ 53,
120
+ 55,
121
+ 87
122
+ ],
123
+ "section": "IO In Task List / Multi-Task Overview",
124
+ "summary": "Program instances need task bindings. Input mapping precedes logic; output mapping follows it.",
125
+ "tags": [
126
+ "task",
127
+ "program",
128
+ "instance",
129
+ "assignment",
130
+ "order",
131
+ "scan",
132
+ "IO"
133
+ ]
134
+ },
135
+ {
136
+ "id": "task-priority",
137
+ "title": "Cyclic task priority and watchdog",
138
+ "source_id": "basics",
139
+ "pdf_pages": [
140
+ 87,
141
+ 95,
142
+ 96
143
+ ],
144
+ "section": "Multi-Task Priority / Watchdog",
145
+ "summary": "This training uses priorities 0–15, with zero highest. Check controller timing and watchdog limits.",
146
+ "tags": [
147
+ "cyclic",
148
+ "watchdog",
149
+ "priority",
150
+ "interval",
151
+ "scheduling"
152
+ ]
153
+ },
154
+ {
155
+ "id": "initialization",
156
+ "title": "Warm and cold initialization",
157
+ "source_id": "basics",
158
+ "pdf_pages": [
159
+ 89,
160
+ 90,
161
+ 91,
162
+ 122,
163
+ 125
164
+ ],
165
+ "section": "System Tasks / Cold-Warm-Hot Start",
166
+ "summary": "Select startup tasks and retention deliberately; warm, cold and hot starts initialize different state.",
167
+ "tags": [
168
+ "initialization",
169
+ "startup",
170
+ "retain",
171
+ "cold",
172
+ "warm",
173
+ "hot"
174
+ ]
175
+ },
176
+ {
177
+ "id": "diagnostics",
178
+ "title": "Locate compiler diagnostics",
179
+ "source_id": "basics",
180
+ "pdf_pages": [
181
+ 117
182
+ ],
183
+ "section": "Compile Errors",
184
+ "summary": "Navigate from the Errors pane to the reported source; correct the cause and rerun Make.",
185
+ "tags": [
186
+ "compile",
187
+ "errors",
188
+ "diagnostic",
189
+ "make",
190
+ "location"
191
+ ]
192
+ },
193
+ {
194
+ "id": "rename",
195
+ "title": "Consistent symbol renaming",
196
+ "source_id": "basics",
197
+ "pdf_pages": [
198
+ 143
199
+ ],
200
+ "section": "Renaming Variables",
201
+ "summary": "Update declarations and uses together; whole-word matching helps avoid changing unrelated identifiers.",
202
+ "tags": [
203
+ "rename",
204
+ "declaration",
205
+ "usage",
206
+ "references"
207
+ ]
208
+ },
209
+ {
210
+ "id": "execute",
211
+ "title": "Execute-triggered function blocks",
212
+ "source_id": "plcopen",
213
+ "pdf_pages": [
214
+ 16,
215
+ 17,
216
+ 18,
217
+ 19
218
+ ],
219
+ "section": "Function block interface / General rules",
220
+ "summary": "Execute captures parameters on a rising edge; omitted inputs retain prior/default values. Keep calling busy instances.",
221
+ "tags": [
222
+ "execute",
223
+ "rising",
224
+ "edge",
225
+ "busy",
226
+ "cyclic",
227
+ "omitted",
228
+ "inputs",
229
+ "rearm"
230
+ ]
231
+ },
232
+ {
233
+ "id": "enable",
234
+ "title": "Enable/Valid function blocks",
235
+ "source_id": "plcopen",
236
+ "pdf_pages": [
237
+ 19
238
+ ],
239
+ "section": "Enable and Valid Status",
240
+ "summary": "Enable is level-sensitive; consume results when Valid indicates usable output.",
241
+ "tags": [
242
+ "enable",
243
+ "valid",
244
+ "read",
245
+ "position",
246
+ "feedback"
247
+ ]
248
+ },
249
+ {
250
+ "id": "fb-results",
251
+ "title": "Completion and error handling",
252
+ "source_id": "plcopen",
253
+ "pdf_pages": [
254
+ 16,
255
+ 17,
256
+ 18
257
+ ],
258
+ "section": "Output status / Error Handling",
259
+ "summary": "Handle completion, errors and interruption. Execute falling does not itself stop motion; latch diagnostics before reset.",
260
+ "tags": [
261
+ "Done",
262
+ "Error",
263
+ "ErrorID",
264
+ "CommandAborted",
265
+ "reset"
266
+ ]
267
+ },
268
+ {
269
+ "id": "power",
270
+ "title": "MC_Power ownership",
271
+ "source_id": "plcopen",
272
+ "pdf_pages": [
273
+ 122,
274
+ 123
275
+ ],
276
+ "section": "MC_Power / Notes",
277
+ "summary": "Use one MC_Power instance per axis; verify the installed interface and supported options.",
278
+ "tags": [
279
+ "MC_Power",
280
+ "Status",
281
+ "Enable",
282
+ "axis",
283
+ "ownership"
284
+ ]
285
+ },
286
+ {
287
+ "id": "stop",
288
+ "title": "MC_Stop state behavior",
289
+ "source_id": "plcopen",
290
+ "pdf_pages": [
291
+ 168,
292
+ 169
293
+ ],
294
+ "section": "MC_Stop",
295
+ "summary": "Stopping persists while Execute remains asserted; other motion commands can report 4370.",
296
+ "tags": [
297
+ "MC_Stop",
298
+ "4370",
299
+ "MotionProhibited",
300
+ "Stopping",
301
+ "Standstill"
302
+ ]
303
+ },
304
+ {
305
+ "id": "reset",
306
+ "title": "MC_Reset completion",
307
+ "source_id": "plcopen",
308
+ "pdf_pages": [
309
+ 150,
310
+ 151
311
+ ],
312
+ "section": "MC_Reset / Notes",
313
+ "summary": "Done confirms the reset attempt completed; read axis errors to establish whether alarms remain.",
314
+ "tags": [
315
+ "MC_Reset",
316
+ "Done",
317
+ "alarm",
318
+ "ErrorStop"
319
+ ]
320
+ },
321
+ {
322
+ "id": "axis-id",
323
+ "title": "Axis-reference diagnostic",
324
+ "source_id": "plcopen",
325
+ "pdf_pages": [
326
+ 130
327
+ ],
328
+ "section": "MC_ReadActualPosition / Error Description",
329
+ "summary": "For 4625, compare AxisNum with configured logical axes and inspect AXIS_REF ownership.",
330
+ "tags": [
331
+ "4625",
332
+ "AXIS_REF",
333
+ "AxisNum",
334
+ "logical",
335
+ "axis"
336
+ ]
337
+ },
338
+ {
339
+ "id": "library",
340
+ "title": "Toolbox and library dependencies",
341
+ "source_id": "toolbox",
342
+ "pdf_pages": [
343
+ 1
344
+ ],
345
+ "section": "Toolbox Introduction",
346
+ "summary": "Toolboxes are user-library projects. Record library identity and version; symbol presence alone does not establish pin direction.",
347
+ "tags": [
348
+ "library",
349
+ "toolbox",
350
+ "version",
351
+ "dependency",
352
+ "import"
353
+ ]
354
+ },
355
+ {
356
+ "id": "cam",
357
+ "title": "Cam profile reference",
358
+ "source_id": "toolbox",
359
+ "pdf_pages": [
360
+ 25,
361
+ 26,
362
+ 27,
363
+ 28,
364
+ 29,
365
+ 30
366
+ ],
367
+ "section": "Cam toolbox / CamGenerator",
368
+ "summary": "Inspect the matching CamGenerator interface, profile structures and installed toolbox before editing cam calculations.",
369
+ "tags": [
370
+ "CamGenerator",
371
+ "CamSegmentStruct",
372
+ "CamData",
373
+ "cam",
374
+ "profile"
375
+ ]
376
+ },
377
+ {
378
+ "id": "registration",
379
+ "title": "Registration and product buffer reference",
380
+ "source_id": "toolbox",
381
+ "pdf_pages": [
382
+ 570,
383
+ 572,
384
+ 573,
385
+ 574,
386
+ 575,
387
+ 576
388
+ ],
389
+ "section": "PLCopen toolbox / ProductBuffer references",
390
+ "summary": "Trace registration data and ProductBuffer behavior in the matching toolbox; do not infer structure layout from a variable name.",
391
+ "tags": [
392
+ "ProductBuffer",
393
+ "registration",
394
+ "RegistrationData",
395
+ "latch",
396
+ "fifo"
397
+ ]
398
+ },
399
+ {
400
+ "id": "axis-array",
401
+ "title": "Axis array indexing",
402
+ "source_id": "toolbox",
403
+ "pdf_pages": [
404
+ 2,
405
+ 3
406
+ ],
407
+ "section": "AXIS_ARRAY / AXES_GROUP_REF",
408
+ "summary": "AXIS_ARRAY uses indices 1 through 32 in this revision. Confirm group structures and hardware-generated mappings.",
409
+ "tags": [
410
+ "AXIS_ARRAY",
411
+ "AXES_GROUP_REF",
412
+ "array",
413
+ "bounds",
414
+ "group"
415
+ ]
416
+ },
417
+ {
418
+ "id": "project-files",
419
+ "title": "Project and archive handling",
420
+ "source_id": "quick",
421
+ "pdf_pages": [
422
+ 16
423
+ ],
424
+ "section": "2.1 Open a saved project / 2.2 Open a zipped project",
425
+ "summary": "A working project includes its wrapper and companion directory. Native ZWT/ZWE archives are opened through MotionWorks; keep extraction in the workspace.",
426
+ "tags": [
427
+ "mwt",
428
+ "mwe",
429
+ "zwt",
430
+ "zwe",
431
+ "archive",
432
+ "open",
433
+ "workspace"
434
+ ]
435
+ },
436
+ {
437
+ "id": "backup",
438
+ "title": "Save and backup workflow",
439
+ "source_id": "quick",
440
+ "pdf_pages": [
441
+ 16,
442
+ 17,
443
+ 22
444
+ ],
445
+ "section": "MotionWorks IEC Procedures / User Libraries",
446
+ "summary": "Preserve the complete project and its dependencies when backing up or moving it. Check library paths after relocation.",
447
+ "tags": [
448
+ "backup",
449
+ "save",
450
+ "library",
451
+ "path",
452
+ "relocation"
453
+ ]
454
+ },
455
+ {
456
+ "id": "native-code-error",
457
+ "title": "Native-code generation failure",
458
+ "source_id": "native-code",
459
+ "pdf_pages": [],
460
+ "section": "FAQ answer",
461
+ "summary": "Inspect variable allocation and software/library compatibility. Yaskawa identifies Cam Toolbox 2.4+ versus IEC 2.x as one mismatch example.",
462
+ "tags": [
463
+ "Error",
464
+ "in",
465
+ "Native",
466
+ "Code",
467
+ "Generation",
468
+ "native",
469
+ "compiler",
470
+ "compatibility"
471
+ ]
472
+ },
473
+ {
474
+ "id": "address-range",
475
+ "title": "Located variable outside configured I/O",
476
+ "source_id": "io-range",
477
+ "pdf_pages": [],
478
+ "section": "FAQ answer",
479
+ "summary": "Compare located variables with configured I/O-driver ranges; this can appear in debug even for an unused variable.",
480
+ "tags": [
481
+ "Operand",
482
+ "not",
483
+ "implemented",
484
+ "area",
485
+ "exceeded",
486
+ "I/O",
487
+ "address",
488
+ "range",
489
+ "%I",
490
+ "%Q",
491
+ "%M"
492
+ ]
493
+ }
494
+ ],
495
+ "signatures": {
496
+ "MC_MoveAbsolute": {
497
+ "source_id": "plcopen",
498
+ "pdf_pages": [
499
+ 94,
500
+ 95,
501
+ 96
502
+ ],
503
+ "section": "MC_MoveAbsolute / Parameters",
504
+ "inputs": {
505
+ "Execute": "BOOL",
506
+ "Position": "LREAL",
507
+ "Velocity": "LREAL",
508
+ "Acceleration": "LREAL",
509
+ "Deceleration": "LREAL",
510
+ "Jerk": "LREAL",
511
+ "Direction": "MC_Direction",
512
+ "BufferMode": "MC_BufferMode"
513
+ },
514
+ "outputs": {
515
+ "Done": "BOOL",
516
+ "Busy": "BOOL",
517
+ "Active": "BOOL",
518
+ "CommandAborted": "BOOL",
519
+ "Error": "BOOL",
520
+ "ErrorID": "UINT"
521
+ },
522
+ "inouts": {
523
+ "Axis": "AXIS_REF"
524
+ },
525
+ "complete": true,
526
+ "authority": "historical_vendor_reference",
527
+ "unsupported_pins": {
528
+ "Jerk": "Reserved and unsupported in the reviewed 2013 edition."
529
+ }
530
+ },
531
+ "MC_MoveRelative": {
532
+ "source_id": "plcopen",
533
+ "pdf_pages": [
534
+ 100,
535
+ 101
536
+ ],
537
+ "section": "MC_MoveRelative / Parameters",
538
+ "inputs": {
539
+ "Execute": "BOOL",
540
+ "Distance": "LREAL",
541
+ "Velocity": "LREAL",
542
+ "Acceleration": "LREAL",
543
+ "Deceleration": "LREAL",
544
+ "Jerk": "LREAL",
545
+ "BufferMode": "MC_BufferMode"
546
+ },
547
+ "outputs": {
548
+ "Done": "BOOL",
549
+ "Busy": "BOOL",
550
+ "Active": "BOOL",
551
+ "CommandAborted": "BOOL",
552
+ "Error": "BOOL",
553
+ "ErrorID": "UINT"
554
+ },
555
+ "inouts": {
556
+ "Axis": "AXIS_REF"
557
+ },
558
+ "complete": true,
559
+ "authority": "historical_vendor_reference",
560
+ "unsupported_pins": {
561
+ "Jerk": "Reserved and unsupported in the reviewed 2013 edition."
562
+ }
563
+ },
564
+ "MC_Power": {
565
+ "source_id": "plcopen",
566
+ "pdf_pages": [
567
+ 122,
568
+ 123
569
+ ],
570
+ "section": "MC_Power / Parameters",
571
+ "inputs": {
572
+ "Enable": "BOOL",
573
+ "Enable_Positive": "BOOL",
574
+ "Enable_Negative": "BOOL",
575
+ "BufferMode": "MC_BufferMode"
576
+ },
577
+ "outputs": {
578
+ "Status": "BOOL",
579
+ "Busy": "BOOL",
580
+ "Active": "BOOL",
581
+ "Error": "BOOL",
582
+ "ErrorID": "UINT"
583
+ },
584
+ "inouts": {
585
+ "Axis": "AXIS_REF"
586
+ },
587
+ "complete": true,
588
+ "authority": "historical_vendor_reference",
589
+ "unsupported_pins": {
590
+ "Enable_Positive": "Unsupported in the reviewed 2013 edition.",
591
+ "Enable_Negative": "Unsupported in the reviewed 2013 edition.",
592
+ "BufferMode": "Unsupported in the reviewed 2013 edition."
593
+ }
594
+ },
595
+ "MC_ReadActualPosition": {
596
+ "source_id": "plcopen",
597
+ "pdf_pages": [
598
+ 129,
599
+ 130
600
+ ],
601
+ "section": "MC_ReadActualPosition / Parameters",
602
+ "inputs": {
603
+ "Enable": "BOOL"
604
+ },
605
+ "outputs": {
606
+ "Valid": "BOOL",
607
+ "Busy": "BOOL",
608
+ "Error": "BOOL",
609
+ "ErrorID": "UINT",
610
+ "Position": "LREAL"
611
+ },
612
+ "inouts": {
613
+ "Axis": "AXIS_REF"
614
+ },
615
+ "complete": true,
616
+ "authority": "historical_vendor_reference"
617
+ },
618
+ "MC_Reset": {
619
+ "source_id": "plcopen",
620
+ "pdf_pages": [
621
+ 150,
622
+ 151
623
+ ],
624
+ "section": "MC_Reset / Parameters",
625
+ "inputs": {
626
+ "Execute": "BOOL"
627
+ },
628
+ "outputs": {
629
+ "Done": "BOOL",
630
+ "Busy": "BOOL",
631
+ "Error": "BOOL",
632
+ "ErrorID": "UINT"
633
+ },
634
+ "inouts": {
635
+ "Axis": "AXIS_REF"
636
+ },
637
+ "complete": true,
638
+ "authority": "historical_vendor_reference"
639
+ },
640
+ "MC_Stop": {
641
+ "source_id": "plcopen",
642
+ "pdf_pages": [
643
+ 168,
644
+ 169
645
+ ],
646
+ "section": "MC_Stop / Parameters",
647
+ "inputs": {
648
+ "Execute": "BOOL",
649
+ "Deceleration": "LREAL",
650
+ "Jerk": "LREAL",
651
+ "BufferMode": "MC_BufferMode"
652
+ },
653
+ "outputs": {
654
+ "Done": "BOOL",
655
+ "Busy": "BOOL",
656
+ "Active": "BOOL",
657
+ "CommandAborted": "BOOL",
658
+ "Error": "BOOL",
659
+ "ErrorID": "UINT"
660
+ },
661
+ "inouts": {
662
+ "Axis": "AXIS_REF"
663
+ },
664
+ "complete": true,
665
+ "authority": "historical_vendor_reference",
666
+ "unsupported_pins": {
667
+ "Jerk": "Reserved and unsupported in the reviewed 2013 edition.",
668
+ "BufferMode": "Unsupported in the reviewed 2013 edition; documented behavior is Aborting."
669
+ }
670
+ }
671
+ }
672
+ }