Herunterladen Inhalt Inhalt Diese Seite drucken

Digital Input/Output; Set/Get Digital Output Levels (Snn) - TR-Electronic _LLB500(F)-00601 Benutzerhandbuch

Inhaltsverzeichnis

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

Command set

10.3.5 Digital input/output

10.3.5.1 Set/Get digital output levels (sNn)

Sets the distance levels at which the digital outputs are switched ON and OFF with a hysteresis. Two
different situations are possible:
ON Distance > OFF Distance
ON Distance < OFF Distance
Command
Return successful gNn?<trm>
Return Error
Parameters
Configuration parameters must be saved (see 10.3.8 "Save configuration parameters (sNs)" on page 145).
 TR-Electronic GmbH 2011, All Rights Reserved
Page 140 of 156
Set Command
sNn+xxxxxxxx+yyyyyyyy<trm>
gN@Ezzz<trm>
Device ID (0..9)
N
Digital output port (1 or 2)
n
Distance ON level in 1/10 mm for switching digital output ON
xxxxxxxx
Distance OFF level in 1/10 mm for switching digital output OFF
yyyyyyyy
Error code
zzz
TR - ELE - BA - DGB - 0021 - 06
The ON level of the hysteresis is larger than the
OFF level. With an increasing distance, the digital
output is switched on (open drain output is closed)
when the distance exceeds the ON level. With a
decreasing distance, the digital output is switched
off (open drain output is open) when the distance
falls below the OFF level.
The ON level of the hysteresis is smaller than the
OFF level. With a decreasing distance, the digital
output is switched on (open drain output is closed)
when the distance falls below the ON level. With an
increasing distance, the digital output is switched off
(open drain output is open) when the distance
exceeds the OFF level.
sNn<trm>
gNn+xxxxxxxx+yyyyyyyy<trm>
gN@Ezzz<trm>
Get Command
Printed in the Federal Republic of Germany
03/09/2016

Werbung

Kapitel

Inhaltsverzeichnis
loading

Inhaltsverzeichnis