You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-7Lines changed: 13 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,26 @@
1
-
# bcs-engineering-dsl
1
+
# BCS Engineering Framework
2
2
3
-
## 1. Prerequisites
3
+
## 1 Prerequisites
4
4
5
5
- Windows with TcXaeShell Version 15.0 or higher
6
6
7
-
## 2. Example
7
+
## 2 Installation and Usage
8
8
9
-
To run the example in the folder [language/example](language/example), you need to follow the following steps.
9
+
To install the complete framework, you need to install three components:
10
10
11
-
### 2.1 Generate the artifacts
11
+
1. VS Code extension: `BCS Engineering DSL`
12
+
2.`bcs-engineering-cli` - The CLI to generate the artifacts from the DSL files.
13
+
3.`TcAutomation` - The tool to create and deploy the TwinCAT project from the generated artifacts.
12
14
13
-
For this follow the installation instructions in the [bcs-engineering-dsl](language/README.md) README file.
15
+
After the installation you can have a look at the [example](language/example) folder to see how to use the framework.
16
+
17
+
### 2.1 Install bcs-engineering-cli and VS Code Extension
18
+
19
+
To install the `bcs-engineering-cli` and `BCS Engineering DSL` VS Code extension, follow the installation and usage instructions in the [README](language/README.md) file.
14
20
15
21
### 2.2 Install TcAutomation
16
22
17
-
_TcAutomation_ is responsible for the creation of the corresponding TwinCAT project given the generated artifacts. To install it, you need to run the `TcAutomationInstaller.exe`.
23
+
_TcAutomation_ is responsible for the creation and deployment of the corresponding TwinCAT project given the generated artifacts. To install it, you need to run the `TcAutomationInstaller.exe`.
18
24
To create the installer, follow the steps described in the [TcAutomation](TcAutomation/README.md) README file.
Before generating the extension, make sure to run the build commands first.
20
22
21
23
```bash
22
24
vsce package
23
25
```
24
26
25
-
## 1.4 Publish CLI
27
+
### 1.4 Publish CLI
28
+
NOTE: Previous versions have been published under the name `bcs-engineering-dsl` on my personal npm account. To avoid confusion, you might want to publish under a different name.
26
29
27
30
```bash
28
31
npm login
29
32
npm publish --access public
30
33
```
31
34
32
-
## 1.5 Install CLI
35
+
## 2 Installation
36
+
37
+
### 2.1 Install VS Code Extension
38
+
39
+
Right click on the `bcs-engineering-dsl-<version>.vsix` file and select `Install Extension VSIX`.
**NOTE:** The working directory will be set to the root of the provided file. This means that the .bcsctrl file can contain cross-references to other files in the same directory.
59
68
60
-
##2.3 Supported Target Platforms
69
+
### 3.3 Supported Target Platforms
61
70
62
71
Currently the following target platforms are supported:
63
72
64
-
###2.3.1 Beckhoff TwinCAT 3
73
+
#### 3.3.1 Beckhoff
65
74
66
75
In addition to the standard libraries provided by Beckhoff, the following libraries are supported:
67
76
68
-
-`Tc3_DALI`
77
+
-`Tc3_DALI`: Please note that this library integration is not fully tested.
0 commit comments