node-opcua by example
Minimum price
Suggested price

node-opcua by example

About the Book

This book provide hands-on recipe to best use node-opcua, the OPCUA stack for javascript and typescript.

It's updated and enriched on a regular basic to match the most recent release version of node-opcua.

About the Author

Table of Contents

    • Introduction
      • 1.1 Assumptions
      2 Getting Started
      • 2.1 installating pre-requistes
      3 Basic NodeJS Concepts
      • 3.1 Async programming in node JS
        3.2 Understanding Promise & Async/Await
        3.3 Debuging
      4 Basic OPCUA Concepts
      • 4.1 OPCUA
        4.2 Address Space
        4.3 the different node classes
        4.4 Node Attributes
      5 Implementing a OPCUA Server with NodeOPCUA
      • 5.1 writing our first node-opcua server
        5.2 our first server in TypeScript
        5.3 Populating addressSpace
        5.4 adding a custom reference
        5.5 binding variable with external values
        5.6 updating ua variable by polling
        5.7 Populating the address space
        5.8 Creating a server with custom nodeset2.xml
        5.9 Server with secure endpoints
        5.10 Server with events
        5.11 Server with alarm
        5.12 Server with user management
      • 6. State Machine
        • 6.1 Analyser Device Integration State machines
          6.2 Dealing with OPCUA Enumeration types on the server-side
          6.2 accessing enum variables defined in an external nodeset
        7 creating a custom OPCUA Discovery server
        • 7.1 installing prerequisite
          7.2 discovery server
          7.3 server
        7 server advanced concepts
        • 8.1 Semantic Change Event
          8.2 server with method
          8.3 server with standard nodesets
          8.4 server with external nodeset
          8.5 Exposing a File in a node-opcua server
          8.6 exposing a File node in the address space
          8.7 FAQ
          8.8 Client reading a file
          8.9 Client reading a file
          8.10 server with user managmeent support
          8.11 Packaging node-opcua application
        9 Implementing a OPCUA Client with NodeOPCUA
        • 9.1 implementing a simple client
          9.2 connecting to a client with a user/name password authentication
          9.3 connecting with a X509 certificate
          9.4 Create a client session with a X509 user certificate
          9.5 reading a value
          9.6 Connecting using encrypted channel
          9.7 client with large number of monitored items
          9.8 script
        10 Extracting endpoint
        • 10.1 Client with BrowseNext and Continuation points
          10.2 Client with Crawler
          10.3 simple client fetching extension object
          10.4 Client with simple client fetching extension object
        11 Extension Objects
      • 11.1 server exposing an ExtensionObject .
      • 11.2 client reading an extension object
      • 11.3 client writing an extension object

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

Do Well. Do Good.

Authors have earned$10,909,613writing, publishing and selling on Leanpub, earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets) and MOBI (for Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF, EPUB and/or MOBI files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub