node-opcua by example

Retired

This book is no longer available for sale.

node-opcua by example

About the Book

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

  • Share this book

  • Categories

    • JavaScript
    • Internet of Things
    • Software Architecture
    • Robotics
    • Computers and Programming
  • Feedback

    Email the Author(s)

About the Author

Etienne Rossignon
Etienne Rossignon

NodeOPCUA Author and Founder of Sterfive

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 60 Day 100% Happiness Guarantee

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

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

80% Royalties. Earn $16 on a $20 book.

We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $13 millionwriting, publishing and selling on Leanpub.

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) and EPUB (for phones, tablets and 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 and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub