Herunterladen Inhalt Inhalt Diese Seite drucken

Commands; Sample Rate (Sra = Set Sample Rate); Trigger Mode (Trg); Get Measured Data (Gmd) - MICRO-EPSILON combiSENSOR KSH5 Betriebsanleitung

Inhaltsverzeichnis

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

Ethernet Interface
combiSENSOR
All manuals and user guides at all-guides.com
6.4

Commands

As soon as a $ character has been received, the controller will no longer transmit measure-
ment values.
The controller immediately returns all transmitted characters back as echo.
After the response has been sent, the controller starts to send measurements again (applies
to the operating mode "continuous transmission").
Commands are transmitted in ASCII format.
Measurement values are binary coded.
A timeout is reached approximately 15 seconds after the last character input.
Channel numbers are separated by a comma, between channel number and a channel
parameter a colon.
Several successive different parameters (for the command STS and FDE) are separated by
a semicolon.
Commands always have to end with <CR> or <CRLF>.
6.4.1

Sample Rate (SRA = Set Sample Rate)

Sets the sample rate. A low sample rate results in a better resolution.
SRA = Set Sample Rate
Command
$SRAn<CR>
Response
$SRAnOK<CRLF>
Index
n = 0...3
Request data rate
Command
$SRA?<CR>
Response
$SRA?nOK<CRLF>
Index n
Data rate
0
26 Hz
1
104 Hz
2
520 Hz
3
1040 Hz
?
Request data rate
Fig. 10 Adjustable sample rates
6.4.2

Trigger Mode (TRG)

If the command $GMD is sent through the Ethernet interface, the controller transmitts a
measurement value per channel in trigger mode. If the trigger mode is turned off, the cont-
roller will send the measurement values without interruption.
TRG
Command
$TRGn<CR>
Response
$TRGnOK<CRLF>
Index
n = 0: Continuous transmission (default setting)
n = 1: Trigger mode 1
? = Request trigger mode
Request trigger mode
Command
$TRG?<CR>
Response
$TRG?nOK<CRLF>
6.4.3

Get Measured Data (GMD)

In the trigger mode, one measured data is transmitted per channel.
GMD
Command
$GMD<CR>
Response
$GMDOK<CRLF> + Measuring value in binary mode (format as in ope-
rating mode "continuous transmission")
Page 44

Werbung

Kapitel

Inhaltsverzeichnis
loading

Diese Anleitung auch für:

Combisensor kss6380

Inhaltsverzeichnis