codesysultra 1.0.0 → 1.0.2
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/VersionInfo.txt +259 -0
- package/config.json +13 -0
- package/dist/bin.js +117 -8
- package/package.json +2 -2
package/VersionInfo.txt
ADDED
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
==============================
|
|
2
|
+
DETAILED VERSION INFORMATION
|
|
3
|
+
Created at 2026/2/20
|
|
4
|
+
==============================
|
|
5
|
+
|
|
6
|
+
Startup profile: ............................................................... CODESYS V3.5 SP21 Patch 4
|
|
7
|
+
OS version: .................................................................... Microsoft Windows NT 10.0.26200.0
|
|
8
|
+
.NET version: .................................................................. 4.0.30319.42000
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
Components:
|
|
12
|
+
-----------
|
|
13
|
+
|
|
14
|
+
Logging Component .............................................................. 3.5.21.40
|
|
15
|
+
Parser for the language version 3.5.21.0 ....................................... 3.5.21.40
|
|
16
|
+
Text Document .................................................................. 3.5.21.40
|
|
17
|
+
BrowserCommands ................................................................ 3.5.21.40
|
|
18
|
+
Online Manager ................................................................. 3.5.21.40
|
|
19
|
+
Device Categories .............................................................. 3.5.21.40
|
|
20
|
+
NVL Object ..................................................................... 3.5.21.40
|
|
21
|
+
Variable Declaration Object .................................................... 3.5.21.40
|
|
22
|
+
Tabular Declaration Editor ..................................................... 3.5.21.40
|
|
23
|
+
Undo Manager ................................................................... 3.5.21.40
|
|
24
|
+
PLCopenXML ..................................................................... 3.5.21.40
|
|
25
|
+
Project Language Model Provider ................................................ 3.5.21.40
|
|
26
|
+
Compiler for the compiler Version 3.5.21.0 ..................................... 3.5.21.40
|
|
27
|
+
Device Communication Editor .................................................... 3.5.21.40
|
|
28
|
+
Application Object ............................................................. 3.5.21.40
|
|
29
|
+
POU Editor ..................................................................... 3.5.21.40
|
|
30
|
+
Project Information Editor ..................................................... 3.5.21.40
|
|
31
|
+
Common Icons ................................................................... 3.5.21.40
|
|
32
|
+
Device Object .................................................................. 3.5.21.40
|
|
33
|
+
MessageService ................................................................. 3.5.21.40
|
|
34
|
+
Interface Editor ............................................................... 3.5.21.40
|
|
35
|
+
Online Expression Interpreter .................................................. 3.5.21.40
|
|
36
|
+
GVL Object ..................................................................... 3.5.21.40
|
|
37
|
+
External File Object ........................................................... 3.5.21.40
|
|
38
|
+
Property editor ................................................................ 3.5.21.40
|
|
39
|
+
Project Information Object ..................................................... 3.5.21.40
|
|
40
|
+
Target Settings ................................................................ 3.5.21.40
|
|
41
|
+
Input Assistant ................................................................ 3.5.21.40
|
|
42
|
+
Object Manager Utilities ....................................................... 3.5.21.40
|
|
43
|
+
TaskConfig Editor .............................................................. 3.5.21.40
|
|
44
|
+
Usage Analysis ................................................................. 3.5.21.40
|
|
45
|
+
Usage Analysis UI .............................................................. 3.5.21.40
|
|
46
|
+
Message View ................................................................... 3.5.21.40
|
|
47
|
+
x86 Codegenerator .............................................................. 3.5.21.40
|
|
48
|
+
Language Model Manager Legacy .................................................. 3.5.21.40
|
|
49
|
+
Project Localization ........................................................... 3.5.21.40
|
|
50
|
+
CODESYS Frame .................................................................. 3.5.21.40
|
|
51
|
+
Object Manager ................................................................. 3.5.21.40
|
|
52
|
+
Online Commands ................................................................ 3.5.21.40
|
|
53
|
+
Static Analysis Manager ........................................................ 3.5.21.40
|
|
54
|
+
Installer Integration .......................................................... 3.5.21.40
|
|
55
|
+
Package Management UI .......................................................... 3.5.21.40
|
|
56
|
+
SmartCoding Options ............................................................ 3.5.21.40
|
|
57
|
+
Binary Archive ................................................................. 3.5.21.40
|
|
58
|
+
Repository Elements Resolver ................................................... 3.5.21.40
|
|
59
|
+
Task Config Utilities .......................................................... 3.5.21.40
|
|
60
|
+
IecXchange ..................................................................... 3.5.21.40
|
|
61
|
+
XML Archive .................................................................... 3.5.21.40
|
|
62
|
+
Environment .................................................................... 3.5.21.40
|
|
63
|
+
Compiler for the compiler Version 3.5.20.0 ..................................... 3.5.21.40
|
|
64
|
+
Library Manager Object ......................................................... 3.5.21.40
|
|
65
|
+
Object Commands ................................................................ 3.5.21.40
|
|
66
|
+
Refactoring .................................................................... 3.5.21.40
|
|
67
|
+
POU Object ..................................................................... 3.5.21.40
|
|
68
|
+
Default Navigators ............................................................. 3.5.21.40
|
|
69
|
+
Transition Object .............................................................. 3.5.21.40
|
|
70
|
+
DUT Editor ..................................................................... 3.5.21.40
|
|
71
|
+
Language Model Manager Configurators ........................................... 3.5.21.40
|
|
72
|
+
Watchlist View ................................................................. 3.5.21.40
|
|
73
|
+
User Management ................................................................ 3.5.21.40
|
|
74
|
+
Logical Exchange GVL Editor .................................................... 3.5.21.40
|
|
75
|
+
Task Editor .................................................................... 3.5.21.40
|
|
76
|
+
Message Storage ................................................................ 3.5.21.40
|
|
77
|
+
User Management UI ............................................................. 3.5.21.40
|
|
78
|
+
Package Management ............................................................. 3.5.21.40
|
|
79
|
+
ST Snippet Provider ............................................................ 3.5.21.40
|
|
80
|
+
Plc Logic Object ............................................................... 3.5.21.40
|
|
81
|
+
Compiler for the compiler Version 3.5.17.0 ..................................... 3.5.21.40
|
|
82
|
+
White Parse Trees .............................................................. 3.5.21.40
|
|
83
|
+
Text Editor Basics ............................................................. 3.5.21.40
|
|
84
|
+
Storages ....................................................................... 3.5.21.40
|
|
85
|
+
Language Model Utilities ....................................................... 3.5.21.40
|
|
86
|
+
Security Manager ............................................................... 3.5.21.40
|
|
87
|
+
Breakpoints .................................................................... 3.5.21.40
|
|
88
|
+
Simulation ..................................................................... 3.5.21.40
|
|
89
|
+
AutoDeclare .................................................................... 3.5.21.40
|
|
90
|
+
Property object ................................................................ 3.5.21.40
|
|
91
|
+
ST Implementation Object ....................................................... 3.5.21.40
|
|
92
|
+
File Commands .................................................................. 3.5.21.40
|
|
93
|
+
Interface Object ............................................................... 3.5.21.40
|
|
94
|
+
Version Compatibility Manager .................................................. 3.5.21.40
|
|
95
|
+
Bookmarks ...................................................................... 3.5.21.40
|
|
96
|
+
Standard Project Wizard ........................................................ 3.5.21.40
|
|
97
|
+
Print Engine ................................................................... 3.5.21.40
|
|
98
|
+
Workspace Editor ............................................................... 3.5.21.40
|
|
99
|
+
Option Storage ................................................................. 3.5.21.40
|
|
100
|
+
Navigator Control .............................................................. 3.5.21.40
|
|
101
|
+
ST Editor ...................................................................... 3.5.21.40
|
|
102
|
+
TaskConfig Object .............................................................. 3.5.21.40
|
|
103
|
+
Action Object .................................................................. 3.5.21.40
|
|
104
|
+
Method Editor .................................................................. 3.5.21.40
|
|
105
|
+
Device Editor .................................................................. 3.5.21.40
|
|
106
|
+
Store .......................................................................... 3.5.21.40
|
|
107
|
+
Method Object .................................................................. 3.5.21.40
|
|
108
|
+
GVL Editor ..................................................................... 3.5.21.40
|
|
109
|
+
Device Scan .................................................................... 3.5.21.40
|
|
110
|
+
Codegenerator for x86-64 architecture .......................................... 3.5.21.40
|
|
111
|
+
NVL Editor ..................................................................... 3.5.21.40
|
|
112
|
+
Compiler for the compiler Version 3.5.19.0 ..................................... 3.5.21.40
|
|
113
|
+
License Manager ................................................................ 3.5.21.40
|
|
114
|
+
Find/Replace ................................................................... 3.5.21.40
|
|
115
|
+
IEC 61131-3 Text Editor ........................................................ 3.5.21.40
|
|
116
|
+
Project Archive ................................................................ 3.5.21.40
|
|
117
|
+
Web Browser Integration ........................................................ 3.5.21.40
|
|
118
|
+
DUT Object ..................................................................... 3.5.21.40
|
|
119
|
+
Transition Editor .............................................................. 3.5.21.40
|
|
120
|
+
Engine ......................................................................... 3.5.21.40
|
|
121
|
+
Online Help .................................................................... 3.5.21.40
|
|
122
|
+
ToolBox View ................................................................... 3.5.21.40
|
|
123
|
+
ComponentModelWin .............................................................. 3.5.21.40
|
|
124
|
+
Project Compare ................................................................ 3.5.21.40
|
|
125
|
+
POU Image ...................................................................... 3.5.21.40
|
|
126
|
+
Action Editor .................................................................. 3.5.21.40
|
|
127
|
+
Build Commands ................................................................. 3.5.21.40
|
|
128
|
+
ComponentModel ................................................................. 3.5.21.40
|
|
129
|
+
Task Object .................................................................... 3.5.21.40
|
|
130
|
+
Compiler for the compiler Version 3.5.18.0 ..................................... 3.5.21.40
|
|
131
|
+
Language Model Manager ......................................................... 3.5.21.40
|
|
132
|
+
Edit Commands .................................................................. 3.5.21.40
|
|
133
|
+
Device Repository .............................................................. 3.5.21.40
|
|
134
|
+
Library Manager Editor ......................................................... 3.5.21.40
|
|
135
|
+
Cross Reference View ........................................................... 3.5.21.40
|
|
136
|
+
Property View .................................................................. 3.5.21.40
|
|
137
|
+
Default Gateway client ......................................................... 3.5.21.40
|
|
138
|
+
RecipeManagement Object (ext) .................................................. 4.6.0.0 ........... CODESYS Recipes (4.6.0.0)
|
|
139
|
+
Redundancy Object (ext) ........................................................ 4.2.0.0 ........... CODESYS Redundancy (4.2.0.0)
|
|
140
|
+
Device Ethercat (ext) .......................................................... 4.10.0.0 .......... CODESYS EtherCAT (4.10.0.0)
|
|
141
|
+
Visualization editor (ext) ..................................................... 4.8.1.0 ........... CODESYS Visualization (4.8.1.0)
|
|
142
|
+
Data Sources Symbolic Provider (ext) ........................................... 4.7.0.0 ........... CODESYS Communication (4.7.0.0)
|
|
143
|
+
Ladder Object AP Adaptation (ext) .............................................. 1.2.0.0 ........... CODESYS Ladder (1.2.0.0)
|
|
144
|
+
RISC codegenerator frontend (ext) .............................................. 4.0.2.0 ........... CODESYS RISC Front End (4.0.2.0)
|
|
145
|
+
ARM Codegenerator (ext) ........................................................ 4.0.3.0 ........... CODESYS Code Generator ARM (4.0.3.0)
|
|
146
|
+
EmbeddedRuntimeExtension (ext) ................................................. 4.1.0.0 ........... CODESYS Embedded Runtime Extension (4.1.0.0)
|
|
147
|
+
Script Driver Recipe (ext) ..................................................... 4.6.0.0 ........... CODESYS Recipes (4.6.0.0)
|
|
148
|
+
Cam Editor (ext) ............................................................... 4.19.0.0 .......... CODESYS SoftMotion (4.19.0.0)
|
|
149
|
+
Communication Manager Object (ext) ............................................. 4.7.0.0 ........... CODESYS Communication (4.7.0.0)
|
|
150
|
+
Trace Object (ext) ............................................................. 4.3.0.0 ........... CODESYS Trace (4.3.0.0)
|
|
151
|
+
Compiler for the compiler Version 3.5.15.0 (ext) ............................... 4.0.0.0 ........... CODESYS Compiler Versions Archive (4.0.0.0)
|
|
152
|
+
OPC UA Data Model Editor (ext) ................................................. 4.7.0.0 ........... CODESYS Communication (4.7.0.0)
|
|
153
|
+
Script Driver SoftMotion (ext) ................................................. 4.19.0.0 .......... CODESYS SoftMotion (4.19.0.0)
|
|
154
|
+
OPC UA Information Model Repository (ext) ...................................... 4.7.0.0 ........... CODESYS Communication (4.7.0.0)
|
|
155
|
+
Device Editor J1939 (ext) ...................................................... 4.2.0.0 ........... CODESYS SAE J1939 (4.2.0.0)
|
|
156
|
+
Trend Recording Objects (ext) .................................................. 4.8.1.0 ........... CODESYS Visualization (4.8.1.0)
|
|
157
|
+
Data Sources OPC UA Provider (ext) ............................................. 4.7.0.0 ........... CODESYS Communication (4.7.0.0)
|
|
158
|
+
CODESYS String Libraries (ext) ................................................. 4.1.0.0 ........... CODESYS String Libraries (4.1.0.0)
|
|
159
|
+
Device Modbus TCP Slave (ext) .................................................. 4.5.0.0 ........... CODESYS Modbus (4.5.0.0)
|
|
160
|
+
Application Composer Device Diagnosis (ext) .................................... 4.4.0.0 ........... CODESYS Application Composer (4.4.0.0)
|
|
161
|
+
Image pool (ext) ............................................................... 4.6.0.0 ........... CODESYS Visualization Support (4.6.0.0)
|
|
162
|
+
Script Driver Online (ext) ..................................................... 4.2.0.0 ........... CODESYS Scripting (4.2.0.0)
|
|
163
|
+
Visualization Styles (ext) ..................................................... 4.8.1.0 ........... CODESYS Visualization (4.8.1.0)
|
|
164
|
+
OPC UA Node Set Export Client (ext) ............................................ 4.7.0.0 ........... CODESYS Communication (4.7.0.0)
|
|
165
|
+
Device NetX (ext) .............................................................. 4.0.0.0 ........... CODESYS NetX (4.0.0.0)
|
|
166
|
+
Alarm Configuration Objects (ext) .............................................. 4.8.1.0 ........... CODESYS Visualization (4.8.1.0)
|
|
167
|
+
OPC UA Node Set Export UI (ext) ................................................ 4.7.0.0 ........... CODESYS Communication (4.7.0.0)
|
|
168
|
+
Data Sources ApplicationV3 Provider (ext) ...................................... 4.7.0.0 ........... CODESYS Communication (4.7.0.0)
|
|
169
|
+
Device CANBus Local Device (ext) ............................................... 4.3.0.0 ........... CODESYS CANopen (4.3.0.0)
|
|
170
|
+
SFC Implementation Object (ext) ................................................ 4.4.0.0 ........... CODESYS SFC (4.4.0.0)
|
|
171
|
+
Unit Conversion Editor (ext) ................................................... 4.8.1.0 ........... CODESYS Visualization (4.8.1.0)
|
|
172
|
+
CSourceCodeObject (ext) ........................................................ 4.0.0.0 ........... CODESYS C Code Integration (4.0.0.0)
|
|
173
|
+
C28x Codegenerator (ext) ....................................................... 4.0.0.0 ........... CODESYS Code Generator TIC28x (4.0.0.0)
|
|
174
|
+
SoftMotion (ext) ............................................................... 4.19.0.0 .......... CODESYS SoftMotion (4.19.0.0)
|
|
175
|
+
Application Composer CFC Generator (ext) ....................................... 4.4.0.0 ........... CODESYS Application Composer (4.4.0.0)
|
|
176
|
+
Visu Generated Code (ext) ...................................................... 4.8.1.0 ........... CODESYS Visualization (4.8.1.0)
|
|
177
|
+
Script Driver TraceObject (ext) ................................................ 4.3.0.0 ........... CODESYS Trace (4.3.0.0)
|
|
178
|
+
CODESYS Math Libraries (ext) ................................................... 4.0.0.0 ........... CODESYS Math Libraries (4.0.0.0)
|
|
179
|
+
Symbol Configuration Object (ext) .............................................. 4.7.0.0 ........... CODESYS Communication (4.7.0.0)
|
|
180
|
+
Visual Element Implementation Extensions (ext) ................................. 4.8.1.0 ........... CODESYS Visualization (4.8.1.0)
|
|
181
|
+
SafetyGSDMLConverter (ext) ..................................................... 4.7.1.0 ........... CODESYS PROFINET (4.7.1.0)
|
|
182
|
+
RecipeManagement Editor (ext) .................................................. 4.6.0.0 ........... CODESYS Recipes (4.6.0.0)
|
|
183
|
+
Device PROFINET IO (ext) ....................................................... 4.7.1.0 ........... CODESYS PROFINET (4.7.1.0)
|
|
184
|
+
Cam Implementation Object (ext) ................................................ 4.19.0.0 .......... CODESYS SoftMotion (4.19.0.0)
|
|
185
|
+
Redundancy Editor (ext) ........................................................ 4.2.0.0 ........... CODESYS Redundancy (4.2.0.0)
|
|
186
|
+
Application Composer Sequence Editor (ext) ..................................... 4.4.0.0 ........... CODESYS Application Composer (4.4.0.0)
|
|
187
|
+
Unit Conversion Object (ext) ................................................... 4.8.1.0 ........... CODESYS Visualization (4.8.1.0)
|
|
188
|
+
HMI Project Wizard (ext) ....................................................... 4.8.1.0 ........... CODESYS Visualization (4.8.1.0)
|
|
189
|
+
CNC function blocks (ext) ...................................................... 4.19.0.0 .......... CODESYS SoftMotion (4.19.0.0)
|
|
190
|
+
Device CIP (ext) ............................................................... 4.8.0.0 ........... CODESYS EtherNet/IP (4.8.0.0)
|
|
191
|
+
Library Dependency Inspection (ext) ............................................ 1.1.0.0 ........... CODESYS Library Dependency Inspection (1.1.0.0)
|
|
192
|
+
ARM64 Codegenerator (ext) ...................................................... 4.0.1.0 ........... CODESYS Code Generator ARM64 (4.0.1.0)
|
|
193
|
+
CNC Editor (ext) ............................................................... 4.19.0.0 .......... CODESYS SoftMotion (4.19.0.0)
|
|
194
|
+
Script Driver DeviceObject (ext) ............................................... 4.2.0.0 ........... CODESYS Scripting (4.2.0.0)
|
|
195
|
+
Target Settings Documentation Export (ext) ..................................... 4.0.0.0 ........... CODESYS Target Settings Export (4.0.0.0)
|
|
196
|
+
Compiler for the compiler Version 3.5.14.0 (ext) ............................... 4.0.0.0 ........... CODESYS Compiler Versions Archive (4.0.0.0)
|
|
197
|
+
Compiler Version < 3.5.14.0 (ext) .............................................. 4.0.0.0 ........... CODESYS Compiler Versions Archive (4.0.0.0)
|
|
198
|
+
Device Modbus (ext) ............................................................ 4.5.0.0 ........... CODESYS Modbus (4.5.0.0)
|
|
199
|
+
Script Driver SymbolConfigObject (ext) ......................................... 4.7.0.0 ........... CODESYS Communication (4.7.0.0)
|
|
200
|
+
IEC Symbol Publishing Editor (ext) ............................................. 4.7.0.0 ........... CODESYS Communication (4.7.0.0)
|
|
201
|
+
Cortex-M3 Codegenerator (ext) .................................................. 4.0.2.0 ........... CODESYS Code Generator Cortex M3 (4.0.2.0)
|
|
202
|
+
Script Driver LibManObject (ext) ............................................... 4.2.0.0 ........... CODESYS Scripting (4.2.0.0)
|
|
203
|
+
Device Profibus Slave (ext) .................................................... 4.2.0.0 ........... CODESYS PROFIBUS (4.2.0.0)
|
|
204
|
+
CFC Editor (ext) ............................................................... 4.5.0.0 ........... CODESYS CFC (4.5.0.0)
|
|
205
|
+
Trace Editor (ext) ............................................................. 4.3.0.0 ........... CODESYS Trace (4.3.0.0)
|
|
206
|
+
Automation Server Connector (Plugin) (ext) ..................................... 1.36.0.0 .......... CODESYS Automation Server Connector (1.36.0.0)
|
|
207
|
+
Eds-File Converter (ext) ....................................................... 4.3.0.0 ........... CODESYS EDS Import (4.3.0.0)
|
|
208
|
+
PowerPC Codegenerator (ext) .................................................... 4.0.2.0 ........... CODESYS Code Generator PowerPC (4.0.2.0)
|
|
209
|
+
CODESYS Base Libraries (ext) ................................................... 4.0.1.0 ........... CODESYS Base Libraries (4.0.1.0)
|
|
210
|
+
Blackfin Codegenerator (ext) ................................................... 4.0.0.0 ........... CODESYS Code Generator Blackfin (4.0.0.0)
|
|
211
|
+
CODESYS User Survey (ext) ...................................................... 1.2.0.0 ........... CODESYS Usage Analysis (1.2.0.0)
|
|
212
|
+
Script Driver Projects (ext) ................................................... 4.2.0.0 ........... CODESYS Scripting (4.2.0.0)
|
|
213
|
+
Application Composer Trend Generator (ext) ..................................... 4.4.0.0 ........... CODESYS Application Composer (4.4.0.0)
|
|
214
|
+
Data Sources Objects (ext) ..................................................... 4.7.0.0 ........... CODESYS Communication (4.7.0.0)
|
|
215
|
+
Visualization Paint Commands (ext) ............................................. 4.8.1.0 ........... CODESYS Visualization (4.8.1.0)
|
|
216
|
+
Device CANbus (ext) ............................................................ 4.3.0.0 ........... CODESYS CANopen (4.3.0.0)
|
|
217
|
+
Script Driver Visualization (ext) .............................................. 4.6.0.0 ........... CODESYS Visualization Support (4.6.0.0)
|
|
218
|
+
CFC Implementation Object (ext) ................................................ 4.5.0.0 ........... CODESYS CFC (4.5.0.0)
|
|
219
|
+
Ladder Editor (ext) ............................................................ 1.2.0.0 ........... CODESYS Ladder (1.2.0.0)
|
|
220
|
+
Visualization object (ext) ..................................................... 4.8.1.0 ........... CODESYS Visualization (4.8.1.0)
|
|
221
|
+
Trend Recording Editors (ext) .................................................. 4.8.1.0 ........... CODESYS Visualization (4.8.1.0)
|
|
222
|
+
Extension SafetyOnline (ext) ................................................... 4.0.0.0 ........... CODESYS Safety Support (4.0.0.0)
|
|
223
|
+
Alarm Configuration Editors (ext) .............................................. 4.8.1.0 ........... CODESYS Visualization (4.8.1.0)
|
|
224
|
+
Network List Editor (ext) ...................................................... 4.6.0.0 ........... CODESYS LD/FBD (4.6.0.0)
|
|
225
|
+
MemoryTools (ext) .............................................................. 4.1.0.0 ........... CODESYS Memory Tools (4.1.0.0)
|
|
226
|
+
Script Driver Application Composer (ext) ....................................... 4.4.0.0 ........... CODESYS Application Composer (4.4.0.0)
|
|
227
|
+
Device Profibus DP (ext) ....................................................... 4.2.0.0 ........... CODESYS PROFIBUS (4.2.0.0)
|
|
228
|
+
Common Utilities (ext) ......................................................... 4.4.0.0 ........... CODESYS SFC (4.4.0.0)
|
|
229
|
+
Security Agent (ext) ........................................................... 1.4.0.0 ........... CODESYS Security Agent (1.4.0.0)
|
|
230
|
+
Ladder Object (ext) ............................................................ 1.2.0.0 ........... CODESYS Ladder (1.2.0.0)
|
|
231
|
+
TCISupport (ext) ............................................................... 4.7.1.0 ........... CODESYS PROFINET (4.7.1.0)
|
|
232
|
+
Visualelement Repository (ext) ................................................. 4.8.1.0 ........... CODESYS Visualization (4.8.1.0)
|
|
233
|
+
AxisGroup Editor (ext) ......................................................... 4.19.0.0 .......... CODESYS SoftMotion (4.19.0.0)
|
|
234
|
+
SafetyESIConverter (ext) ....................................................... 4.10.0.0 .......... CODESYS EtherCAT (4.10.0.0)
|
|
235
|
+
VisualizationManagement editor (ext) ........................................... 4.8.1.0 ........... CODESYS Visualization (4.8.1.0)
|
|
236
|
+
Script Driver VisualizationObject (ext) ........................................ 4.8.1.0 ........... CODESYS Visualization (4.8.1.0)
|
|
237
|
+
Symbol Configuration Editor (ext) .............................................. 4.7.0.0 ........... CODESYS Communication (4.7.0.0)
|
|
238
|
+
Visualization element (ext) .................................................... 4.8.1.0 ........... CODESYS Visualization (4.8.1.0)
|
|
239
|
+
Text lists for multi language support (ext) .................................... 4.6.0.0 ........... CODESYS Visualization Support (4.6.0.0)
|
|
240
|
+
Device SoftMotion (ext) ........................................................ 4.19.0.0 .......... CODESYS SoftMotion (4.19.0.0)
|
|
241
|
+
CSourceComponentBuilder (ext) .................................................. 4.0.0.0 ........... CODESYS C Code Integration (4.0.0.0)
|
|
242
|
+
Network List Object (ext) ...................................................... 4.6.0.0 ........... CODESYS LD/FBD (4.6.0.0)
|
|
243
|
+
Script Driver System (ext) ..................................................... 4.2.0.0 ........... CODESYS Scripting (4.2.0.0)
|
|
244
|
+
RX Codegenerator (ext) ......................................................... 4.0.0.0 ........... CODESYS Code Generator RX (4.0.0.0)
|
|
245
|
+
Script Engine Plugin (ext) ..................................................... 4.2.0.0 ........... CODESYS Scripting (4.2.0.0)
|
|
246
|
+
Application Composer Alarm Generator (ext) ..................................... 4.4.0.0 ........... CODESYS Application Composer (4.4.0.0)
|
|
247
|
+
Hitachi SH Codegenerator (ext) ................................................. 4.0.0.0 ........... CODESYS Code Generator SH (4.0.0.0)
|
|
248
|
+
TriCore Codegenerator (ext) .................................................... 4.0.1.0 ........... CODESYS Code Generator TriCore (4.0.1.0)
|
|
249
|
+
Device Ethernet Adapter (ext) .................................................. 4.2.0.0 ........... CODESYS Ethernet Adapter (4.2.0.0)
|
|
250
|
+
Application Composer (ext) ..................................................... 4.4.0.0 ........... CODESYS Application Composer (4.4.0.0)
|
|
251
|
+
CoreDump (ext) ................................................................. 4.2.0.0 ........... CODESYS Core Dump (4.2.0.0)
|
|
252
|
+
Compiler for the compiler Version 3.5.16.0 (ext) ............................... 4.0.0.0 ........... CODESYS Compiler Versions Archive (4.0.0.0)
|
|
253
|
+
OPC UA Symbol Publishing Editor (ext) .......................................... 4.7.0.0 ........... CODESYS Communication (4.7.0.0)
|
|
254
|
+
Device IOLink (ext) ............................................................ 4.3.0.0 ........... CODESYS IO-Link (4.3.0.0)
|
|
255
|
+
AxisGroup Object (ext) ......................................................... 4.19.0.0 .......... CODESYS SoftMotion (4.19.0.0)
|
|
256
|
+
Data Sources Editors (ext) ..................................................... 4.7.0.0 ........... CODESYS Communication (4.7.0.0)
|
|
257
|
+
Device Reader (ext) ............................................................ 4.0.0.0 ........... CODESYS Device Reader (4.0.0.0)
|
|
258
|
+
SFC Editor (ext) ............................................................... 4.4.0.0 ........... CODESYS SFC (4.4.0.0)
|
|
259
|
+
Device Modbus Serial Slave (ext) ............................................... 4.5.0.0 ........... CODESYS Modbus (4.5.0.0)
|
package/config.json
ADDED
package/dist/bin.js
CHANGED
|
@@ -2,16 +2,51 @@
|
|
|
2
2
|
"use strict";
|
|
3
3
|
/**
|
|
4
4
|
* CODESYS MCP Server CLI
|
|
5
|
-
* Command-line interface for starting
|
|
5
|
+
* Command-line interface for starting CODESYS MCP server
|
|
6
6
|
* with configurable CODESYS executable paths and profile names.
|
|
7
7
|
*
|
|
8
|
-
* This is
|
|
8
|
+
* This is entry point for the MCP toolkit when invoked as a command-line tool.
|
|
9
9
|
* It handles argument parsing and passes configuration to server.ts via function parameters.
|
|
10
10
|
*/
|
|
11
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
14
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
15
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
16
|
+
}
|
|
17
|
+
Object.defineProperty(o, k2, desc);
|
|
18
|
+
}) : (function(o, m, k, k2) {
|
|
19
|
+
if (k2 === undefined) k2 = k;
|
|
20
|
+
o[k2] = m[k];
|
|
21
|
+
}));
|
|
22
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
23
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
24
|
+
}) : function(o, v) {
|
|
25
|
+
o["default"] = v;
|
|
26
|
+
});
|
|
27
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
28
|
+
var ownKeys = function(o) {
|
|
29
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
30
|
+
var ar = [];
|
|
31
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
32
|
+
return ar;
|
|
33
|
+
};
|
|
34
|
+
return ownKeys(o);
|
|
35
|
+
};
|
|
36
|
+
return function (mod) {
|
|
37
|
+
if (mod && mod.__esModule) return mod;
|
|
38
|
+
var result = {};
|
|
39
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
40
|
+
__setModuleDefault(result, mod);
|
|
41
|
+
return result;
|
|
42
|
+
};
|
|
43
|
+
})();
|
|
11
44
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
45
|
// Use Commander for initial parsing
|
|
13
46
|
const commander_1 = require("commander");
|
|
14
|
-
|
|
47
|
+
const fs = __importStar(require("fs"));
|
|
48
|
+
const path = __importStar(require("path"));
|
|
49
|
+
// Import server setup function
|
|
15
50
|
const server_js_1 = require("./server.js"); // Adjust path if needed
|
|
16
51
|
console.error(">>> BIN.TS Starting <<<");
|
|
17
52
|
// Define version from package.json
|
|
@@ -26,11 +61,20 @@ catch (e) {
|
|
|
26
61
|
console.error("BIN.TS: Warning - Could not read package.json for version.", e);
|
|
27
62
|
}
|
|
28
63
|
commander_1.program
|
|
29
|
-
.name('
|
|
64
|
+
.name('codesysultra') // Set the command name users will see
|
|
30
65
|
.description('Model Context Protocol (MCP) server for CODESYS automation platform')
|
|
31
|
-
.version(version)
|
|
32
|
-
|
|
33
|
-
|
|
66
|
+
.version(version);
|
|
67
|
+
// 添加配置生成命令
|
|
68
|
+
commander_1.program.command('config')
|
|
69
|
+
.description('Generate configuration from CODESYS version info file')
|
|
70
|
+
.option('-c, --codesys-path <path>', 'Path to CODESYS executable')
|
|
71
|
+
.option('-v, --version-info <path>', 'Path to CODESYS version info file')
|
|
72
|
+
.option('-o, --output <path>', 'Output configuration file path (optional, prints to console if not specified)')
|
|
73
|
+
.action((options) => {
|
|
74
|
+
generateConfig(options);
|
|
75
|
+
});
|
|
76
|
+
// 主命令选项
|
|
77
|
+
commander_1.program.option('-p, --codesys-path <path>', 'Path to CODESYS executable (can contain spaces, use quotes if needed)', process.env.CODESYS_PATH || 'C:\\Program Files\\CODESYS 3.5.21.0\\CODESYS\\Common\\CODESYS.exe' // Default AFTER reading env var
|
|
34
78
|
)
|
|
35
79
|
.option('-f, --codesys-profile <profile>', // Changed alias to 'f' to avoid conflict if you add other '-p' options
|
|
36
80
|
'CODESYS profile name (overrides CODESYS_PROFILE env var)', process.env.CODESYS_PROFILE || 'CODESYS V3.5 SP21' // Default AFTER reading env var
|
|
@@ -40,7 +84,11 @@ commander_1.program
|
|
|
40
84
|
)
|
|
41
85
|
.parse(process.argv); // Parse the arguments
|
|
42
86
|
const options = commander_1.program.opts();
|
|
43
|
-
//
|
|
87
|
+
// 如果执行的是config命令,不继续执行服务器启动
|
|
88
|
+
if (process.argv[2] === 'config') {
|
|
89
|
+
process.exit(0);
|
|
90
|
+
}
|
|
91
|
+
// --- Log options Commander parsed ---
|
|
44
92
|
console.error(`========================================`);
|
|
45
93
|
console.error(`Starting CODESYS MCP Server v${version}`);
|
|
46
94
|
console.error(`BIN.TS Options: ${JSON.stringify(options)}`);
|
|
@@ -69,3 +117,64 @@ console.error("BIN.TS: Calling startMcpServer...");
|
|
|
69
117
|
process.exit(1);
|
|
70
118
|
});
|
|
71
119
|
console.error(">>> BIN.TS End of synchronous execution <<<");
|
|
120
|
+
/**
|
|
121
|
+
* 从版本信息文件生成配置
|
|
122
|
+
*/
|
|
123
|
+
function generateConfig(options) {
|
|
124
|
+
try {
|
|
125
|
+
if (!options.versionInfo) {
|
|
126
|
+
console.error('Error: Version info file path is required. Use -v or --version-info option.');
|
|
127
|
+
process.exit(1);
|
|
128
|
+
}
|
|
129
|
+
if (!options.codesysPath) {
|
|
130
|
+
console.error('Error: CODESYS path is required. Use -c or --codesys-path option.');
|
|
131
|
+
process.exit(1);
|
|
132
|
+
}
|
|
133
|
+
const versionInfoPath = path.resolve(options.versionInfo);
|
|
134
|
+
if (!fs.existsSync(versionInfoPath)) {
|
|
135
|
+
console.error(`Error: Version info file not found: ${versionInfoPath}`);
|
|
136
|
+
process.exit(1);
|
|
137
|
+
}
|
|
138
|
+
const content = fs.readFileSync(versionInfoPath, 'utf-8');
|
|
139
|
+
const lines = content.split('\n');
|
|
140
|
+
if (lines.length < 6) {
|
|
141
|
+
console.error('Error: Version info file must have at least 6 lines.');
|
|
142
|
+
process.exit(1);
|
|
143
|
+
}
|
|
144
|
+
const profileLine = lines[5].trim();
|
|
145
|
+
const profileMatch = profileLine.match(/Startup profile:\s*\.+\s*(.+)/);
|
|
146
|
+
if (!profileMatch) {
|
|
147
|
+
console.error('Error: Could not parse profile from line 6. Expected format: "Startup profile: ..."');
|
|
148
|
+
process.exit(1);
|
|
149
|
+
}
|
|
150
|
+
const profileName = profileMatch[1].trim();
|
|
151
|
+
const codesysPath = path.resolve(options.codesysPath);
|
|
152
|
+
const config = {
|
|
153
|
+
mcpServers: {
|
|
154
|
+
codesys_local: {
|
|
155
|
+
command: "codesysultra",
|
|
156
|
+
args: [
|
|
157
|
+
"--codesys-path", codesysPath,
|
|
158
|
+
"--codesys-profile", profileName
|
|
159
|
+
]
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
};
|
|
163
|
+
const configJson = JSON.stringify(config, null, 2);
|
|
164
|
+
if (options.output) {
|
|
165
|
+
const outputPath = path.resolve(options.output);
|
|
166
|
+
fs.writeFileSync(outputPath, configJson, 'utf-8');
|
|
167
|
+
console.log(`Configuration file generated: ${outputPath}`);
|
|
168
|
+
}
|
|
169
|
+
else {
|
|
170
|
+
console.log(configJson);
|
|
171
|
+
}
|
|
172
|
+
console.error(`\nConfiguration generated successfully:`);
|
|
173
|
+
console.error(` CODESYS Path: ${codesysPath}`);
|
|
174
|
+
console.error(` Profile: ${profileName}`);
|
|
175
|
+
}
|
|
176
|
+
catch (error) {
|
|
177
|
+
console.error('Error generating configuration:', error);
|
|
178
|
+
process.exit(1);
|
|
179
|
+
}
|
|
180
|
+
}
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codesysultra",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Model Context Protocol (MCP) server for CODESYS automation platform",
|
|
5
5
|
"main": "dist/server.js",
|
|
6
6
|
"bin": {
|
|
7
|
-
"
|
|
7
|
+
"codesysultra": "./dist/bin.js"
|
|
8
8
|
},
|
|
9
9
|
"scripts": {
|
|
10
10
|
"test": "echo \"Error: no test specified\" && exit 1",
|