Skip to content
OPC UA CAR SERVER
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Car/Car1
img
.snyk
FullTestBed.tar.gz
car.js
package-lock.json
package.json
readme.md

readme.md

OPC UA CAR SERVER with NodeOPCUA

A simple server that represents a car with the follow structure:

  • Car (obj)
    • Speed (attr)
    • Accelerate (meth)
    • Stop (meth)
    • Engine (obj)
      • Temperature (attr)
      • Oxygen (attr)

Car Schema

Install from source

$ git clone "https://github.com/Engineering-Research-and-Development/opc-ua-car-server"
$ cd opc-ua-car-server
$ npm install
$ node car.js

Car model behavioural specs

Motion Status Engine Acceleration Oxigen Temperature Speed
Stopped Off 0 0 Environmental 20 °C 0
Stopped On 0 5 Tends to 80 °C 0
Accelerated On > 0 Varies with speed. When the acceleration increases an overshoot is triggered, otherwise if acceleration decreases an undershoot is triggered. Tends to 80 °C Varies with acceleration
Constant On 0 Constant Tends to 80 °C Constant
Decelerated On < 0 Varies with speed Tends to 80 °C Varies with deceleration
In motion (Decelerated) Off 0 0 (Transmission Neutral / Engine Brake) Tends to 20 °C Tends to 0
From decelerated to constant Off -> On 0 Follows the current speed Tends to 80 °C Constant
You can’t perform that action at this time.