Skip to content

Roadmap to 1.0 Architecture

Guilherme Francescon edited this page Oct 29, 2018 · 1 revision

architecture

ISO-on-TCP

These classes implement the underlining ISO-on-TCP protocol, providing two transform streams implementations that would parse and serialize from/to raw Buffers, interacting directly with the network.

S7Protocol

These classes implement the S7 protocol itself that runs on top of ISO-on-TCP, with all its verbs and data structures. They also provide two transform streams implementations, much alike the ISO-on-TCP layer

S7Connection

This class is a duplex stream, and represents a connection to a PLC. It speaks the same objects of the S7Protocol, and handles connection state, possibly controlling other state like max. number of packets in transit.

S7Endpoint

This represents a device, and is the main interface for user interaction. This can handle auto reconnection (if configured) and offers high-level APIs for the user to interact with the device.

AddressTranslator

These are helper classes that offer a translation service, capable of understanding addressing schemes commonly used (like DB1.DBX0.0) and outputting a JSON that NodeS7 can undestand

Clone this wiki locally