beautypg.com

3 operation, 1 introduction 3.2 send and receive – INFICON Cube CDGsci (REST Services) User Manual

Page 7

background image

tira88e1-a (2014-03) CDGsci.cp

7

3 Operation

Via the Ethernet / Wireless interface, the following and further data are exchanged
in the standardized REST service protocol:
• Pressure

reading

• Pressure unit (Torr, mbar, Pa)
• Zero

adjustment

• Status and error messages
• Status of the switching functions
• Set Trip Point for switching functions

Caution

Caution: data transmission errors
Any attempt to simultaneously operate the gauge via the RS232C
Serial Interface and Ethernet/Wireless interface or the diagnostic port
may result in incorrect data and data transmission errors.
Therefore, it is inadmissible to simultaneously operate the gauge via
the RS232C Serial Interface, Ethernet/Wireless interface or the
diagnostic port.


Commands are sent via the Ethernet interface based on the HTTP – Get protocol.
Thus, the commands, send and receive can be operated using a standard internet
browser.

100 ms for pressure values
500 … 1000 ms for other information or write commands

Read: http://:/1/cmd/

Write: http://:Port>/1/cmd/%20

The value is transmitted as a string back to the caller.

The input of only the command results in Cube sending the actual value of the
parameter corresponding to the command (read access). The value is transmitted
as a string terminated back to the caller.

The input of the command with a trailing parameter value will result in a writing
attempt of the value into the corresponding parameter on the Cube. If successful,
the string "o.k." is transmitted back, otherwise an error message will result.

The data type in the parameter table 4.1 indicates how the string can be inter-
preted. The column "Access Rights" denotes if the command is read only ("R") or
has a write and read access ("RW").

IP-Address & port of gauge in example: 192.168.0.248:8087

Used internet browser: Firefox v24.0

Command:

AUN

(display/set the currently set pressure unit)

Possible parameter values: mbar, Pa, Torr

Entry of command without parameters displays the current unit:
http://192.168.0.248:8087/1/cmd/AUN

Output in browser:

Torr

3.1 Introduction

3.2 Send and Receive

Response time

Form of the Get-Command

Example 1