Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including node-red-contrib-atetp with all npm packages installed. Try it out:

node-red-contrib-atetp lists no main file and has no index.js, so it can't be directly required. If this is a mistake, please let us know. It may however contain internal files that you can require manually:

// require("node-red-contrib-atetp/[??]")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

node-red-contrib-atetp v1.0.12

Advantech IIoT ETP module

node-red-contrib-atETP

A collection of Node-RED nodes for Advantech IIoT electronic typeplate function.

Notice that an Advantech IIoT Platform SDK have to be installed to make this node works correctly. Advantech IIoT Platform SDK download link is shown below: Windows: https://github.com/Advantech-IIoT/Platform-SDK/tree/master/windows/bin Linux: https://github.com/Advantech-IIoT/Platform-SDK/tree/master/linux/bin

Installation

Use npm command to install this package locally in the Node-RED modules directory

npm install node-red-contrib-atetp

or install it globally with the command

npm install node-red-contrib-atetp -g

Usage

ETP Node-RED node provide four functions in this package.

  • Read ETP data
  • Write ETP data
  • Check lock status
  • Toggle lock status

Example

Please refer to demo.json.
demoflow

  • Input anything to Read ETP data node for triggering it to print all ETP data to msg node and be shown on the right side.
  • Input label and text attributes to Write ETP data node to write text to the specified label.
  • Input address attribute to Check lock status node to get the lock status of this area.
  • Input address and password attributes to Toggle lock status node to toggle lock status and print the result to msg node.

Test Platform

  • Windows 10 Enterprise LTSB with node.js 6.10.1

History

  • 1.0.5 - October 2017 : Initial Release

License

Copyright 2017 ADVANTECH Corp. under the Apache 2.0 license.

Metadata

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free