
REST-Webserver
68 of 73
8
REST-Webserver
Port of REST-Webservers: 800 (TCP). The data is exchanged via defined JSON objects.
8.1
Resource Overview
In the table below, the REST-interface provided methods are listed.
8.2
Detailed description of the resources:
GET <device ip>:<port>/getall
Query the current state of the centrifuge, supplies target and actual values.
Request:
No data
Response:
{
"actualValues": {
"ace": <ace value in x.xxExx>,
"powerDown": <true orfalse>
"rcf": <rcf value in xg>,
"rpm": <rotation speed in rpm>,
"state": <state identifier>,
"temperature": <temperature in °C>,
"time": <time format hh::mm::ss>
},
"error": <error object>,
"name": <centrifuge name>
"program": <program name>,
"rotorName": <rotor name>
"setValues": {
"accelerationProfile": <profile number>,
"ace": <ace value in x.xxExx >,
"decelerationProfile": <profile number>,
"rcf": <rcf value in xg>,
URL
Method allowed
Description
<device ip>:<port>/getall
GET
Information and data about the
current state of the centrifuge
<device ip>:<port>/getstate
GET
Brief information, only state and
name of the centrifuge