Version: 1.0
Date: 01.10.2018
Copyright: © 2018 Tani GmbH

Introduction

This JSON based socket system enables a simple plant data access for web based systems. It allows reading data from the plant machinery, writing data. An additionally functionality is the variable browsing used for the plant setup.

Communication

All communication uses a TCP socket. Requests are sent by a client program and answered by the server. Each sent request or response must be terminated with an ETX character (byte value 3). All requests and responses are JSON encoded. They must not contain embedded control characters (byte values less than 32) except CR and LF (byte values 13 and 10).

Each request contains a sequence number that is returned in the corresponding answer. When more than one request is issued before answers are returned, the order of the answers is unspecified.

For a specification of the JSON data see either the formal specification in JsonInterface.json or the following examples.

Examples of JSON codings