https://github.com/aktos-io/aktos-dcs-node
Javascript implementation of aktos-dcs library
https://github.com/aktos-io/aktos-dcs-node
aktos-dcs javascript livescript microservice-framework scadajs
Last synced: about 2 months ago
JSON representation
Javascript implementation of aktos-dcs library
- Host: GitHub
- URL: https://github.com/aktos-io/aktos-dcs-node
- Owner: aktos-io
- Created: 2017-06-05T14:15:38.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2025-09-23T00:05:59.000Z (8 months ago)
- Last Synced: 2025-09-23T02:29:00.066Z (8 months ago)
- Topics: aktos-dcs, javascript, livescript, microservice-framework, scadajs
- Language: LiveScript
- Homepage:
- Size: 4.99 MB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# aktos-dcs-node
### Description
Node.js port of [`aktos-dcs`](https://github.com/aktos-io/aktos-dcs) library (v2).
# Install
1. `git init app && cd app`
2. `git submodule add https://github.com/aktos-io/aktos-dcs-node dcs`
3. `./dcs/update.sh --all`
### Testing
1. Create `app/hello-world.ls`:
```ls
require! './dcs': {Actor, sleep}
# create a Hello process
new class Hello extends Actor
action: ->
<~ :lo(op) ~>
@log.log "hello!"
<~ sleep 1000ms
lo(op)
# create a World process
new class World extends Actor
action: ->
<~ :lo(op) ~>
@log.log "world!"
<~ sleep 2000ms
lo(op)
```
2. Run:
```log
$ lsc ./app/hello-world.ls
[01:16:56.880] 257f4bea-8f2f-4 : hello!
[01:16:56.884] 45e37675-6ec5-4 : world!
[01:16:57.886] 257f4bea-8f2f-4 : hello!
[01:16:58.885] 45e37675-6ec5-4 : world!
[01:16:58.887] 257f4bea-8f2f-4 : hello!
[01:16:59.888] 257f4bea-8f2f-4 : hello!
```
If you see the above output, then everything should be okay.
3. For more examples, See [**dcs-nodejs-examples**](https://github.com/aktos-io/dcs-nodejs-examples).
# Additional Features
`aktos-dcs-node` provides following transport and connectors:
### [Transports](./transports/README.md)
* Serial Port Transport
### [Connectors](./connectors/README.md)
* CouchDB
* SocketIO (Server + Client)
* TCP (Server + Client)
* Omron
* Hostlink
* FINS
* Siemens
* S7 Comm
* Raspberry
* Digital Input
* Digital Output
# Contact
info@aktos.io