Sie sind auf Seite 1von 114

Technische Dokumentation

Bedienterminal

DOKU-DRU

F1 F2 F3 F4 F5 F6 F7 F8 FT 2000
1 2 3 4 5 S1 S2

6 7 8 9 0 – .
DS-Nr.: 212.959/DD
Ident-Nr.: 00441108632
Ausgabe: a000 Dezember 96

Deutsch

Beratung, Betreuung und Vertrieb durch:

SIG Positec Automation GmbH


Breslauer Str. 7 • D-77933 Lahr
Tel. (07821) 946-02 • Fax (07821) 946-220
Sicherheitshinweise

Lesen Sie bitte vor der Installation, Bedienung, Wartung und


Instandsetzung des Gerätes folgende Sicherheitshinweise.
Sicherheitshinweise
• Der bestimmungsgemäße Gebrauch des Gerätes (,,Verwen-
dungszweck“) ist in dieser Dokumentation beschrieben und zu
beachten.
• Die Installation, Wartung und Instandsetzung des Gerätes sollte
von einer ausgebildeten Elektrofachkraft durchgeführt werden.
Hierbei sind die länderspezifischen Bestimmungen zur
– Unfallverhütung
– Errichtung von elektrischen und mechanischen Anlagen
– Funkentstörung
zu beachten.
• Die Technischen Daten des Gerätes, insbesondere die Umge-
bungsbedingungen, sind zu beachten.
• Die Bedienung des Gerätes sollte durch geschultes Personal
erfolgen.
• Bei eigenmächtigen Veränderungen oder beim Öffnen des Ge-
rätes entfällt die Gewährleistung.
• Vor dem Anbau von Zubehör, welches nicht unter ,,Zubehör“
aufgeführt ist, bitte den für Sie zuständigen Technischen Berater
befragen.
• Die Sicherheitssymbole und Sicherheitshinweise am Gerät und
in der Dokumentation sind unbedingt zu beachten.
Symbolerklärungen
ACHTUNG
Hinweis auf eine Gefahr für das Gerät oder Anlagenteile,
eventuelle Folgegefahr für den Menschen.
GEFAHR
Hinweis auf eine unmittelbare Gefahr für den Menschen.
GEFAHR
Berührungsgefahr durch hohe Spannung am Bauteil.
GEFAHR
Berührungsgefahr durch hohe Temperaturen am Bauteil.
ACHTUNG
Warnhinweis auf elektrostatische Entladungen ESD (Electro
Static Discharge). Berührung mit Steckkarte oder Bauteil
nur in elektrostatisch geschützter Umgebung erlaubt.
HINWEIS
Wichtige oder zusätzliche Informationen zum Gerät oder zur
Dokumentation.

2 FT 2000 DS-Nr. 212.959/DD


Allgemeine Beschreibung

Aufbau – Eigenschaften

Deutsch
Allgemeine Beschreibung Das Bedienterminal FT 2000 ist ein kompaktes Terminal zur
Eingabe und Visualisierung von Daten. Das Gerät kann auf die
Betriebsarten
– Master/Slave oder
– Terminal
eingestellt werden, siehe Funktionen, Seite 4.

Das Gerät wurde zum Einbau in ein Bedienpult oder eine Front-
platte konstruiert.

Das FT 2000 besteht aus:


– einer Flüssigkristall-Anzeige (LCD) zur Darstellung von
maximal 2 x 40 Zeichen
– einer Folientastatur mit 24 Tasten
– einer RS-485-Schnittstelle (4-Draht)
– einem Eingangsport und einem Ausgangsport mit jeweils
8 Bit Datenbreite (8 nicht entkoppelte Ein- und 8 kurz-
schlußfeste Ausgänge)

Verwendungszweck Das FT 2000 kann durch die Ansteuerung über eine RS-485-
Schnittstelle mit ASCII-Zeichensatz bzw. Kommandos universell
eingesetzt werden. Das Gerät kann z.B.:
– zur Ausgabe von Meldungen
– zur Eingabe von Werten
– zum Einlesen von Schaltern (nur im Master/Slave-Be-
trieb)
– zum Ansteuern von Meldelampen (nur im Master/Slave-
Betrieb)
verwendet werden.

F1 F2 F3 F4 F5 F6 F7 F8

1 2 3 4 5 S1 S2

6 7 8 9 0 – .

Bild 1 Bedienterminal
FT 2000

FT 2000 DS-Nr. 212.959/DD 3


Allgemeine Beschreibung

Funktionen
Master/Slave-Betrieb Das FT 2000 ist über eine RS-485-Schnittstelle mit dem Master
verbunden. Die Kommunikation erfolgt nach dem Master/Slave-
Prinzip. Slaves sind Geräte, die die Befehle des Master ausfüh-
ren. Der Slave antwortet auf einen Befehl des Masters immer mit
einer positiven oder negativen Quittung. Um eine sichere Kom-
munikation zu gewährleisten, darf kein Slave ohne Aufforderung
Daten senden. Diese Aufforderung erfolgt durch ein Adressie-
rungskommando, mit dem der Master den Slave selektiert, mit
dem er anschließend kommunizieren möchte (siehe Adressie-
rung unter Bedienung, Seite 14).

Die Verbindung mit einem zuvor selektierten Slave wird beim


Empfang einer anderen Adresse abgebrochen.

Anschließend kann die Steuerung mit dem adressierten FT 2000


wie über eine Eins-zu-Eins-Verbindung kommunizieren.
Über diese Verbindung können folgende Aufgaben realisiert
werden:
– Textausgabe auf dem Display
– Displaysteuerung über eingeschränkten VT52-Befehls-
satz
– Abfragen der numerischen Tastatur
– Abfragen der Funktionstasten
– Abfragen der Eingänge
– Setzen der Ausgänge
– Vorgabewerte ausgeben und editieren
Terminal-Betrieb Im Terminal-Betrieb arbeitet das Gerät als einfaches ASCII-Ter-
minal, d.h. empfangene Zeichen werden auf der Anzeige darge-
stellt, eingegebene Zeichen werden über die RS-485-Schnittstel-
le gesendet. Im Terminal-Betrieb ist es möglich, die Tastatur
auszuschalten. Danach werden nur noch empfangene Zeichen
angezeigt, eine Eingabe ist nicht mehr möglich.

Adressierung Für die Kommunikation mit dem FT 2000 muß das Gerät als erstes
mit einem Adressierungskommando selektiert werden. Die Be-
triebsarten und die Adresse des Gerätes werden bei der Inbetrieb-
nahme eingestellt, siehe Inbetriebnahme, Seiten 11 und 12.

PC, SPS,
WP-311,
WDP5-318
usw.
RS 485

FT 2000 FT 2000 FT 2000

Bild 2 Vernetzungs- Gerät 1 Gerät 2 Gerät 3 max. 31


prinzip

4 FT 2000 DS-Nr. 212.959/DD


Technische Daten

Elektrische Daten Systemversorgungsspannung 24 VDC (20 bis 30 VDC)

Deutsch
E/A-Versorgungsspannung 24 VDC (20 bis 30 VDC)
(verbunden mit Systemversorgungsspannung)
Stromaufnahme ohne externe Last 250 mA bei 24 V
Interner Ableitwiderstand gegen Erde 100 kOhm
ACHTUNG
Die Signaleingänge sowie die 24 VDC Versorgungsspan-
nung müssen vom Netz getrennt sein. Die maximale Span-
nung gegen Erde darf 60 VDC nicht überschreiten.

LCD-Anzeige 2 x 40 Zeichen
Folientastatur 24 Tasten
8 digitale Eingänge 0 bis 4 V = low
15 bis 30 V = high
galvanisch gekoppelt
8 digitale Ausgänge kurzschlußfest (max. 2 A)
,,+“-schaltend
verpolungsicher
Max. Ausgangsstrom pro Ausgang 0,2 A
Max. Ausgangsstrom gesamt 0,8 A
Min. High-Pegel E/A-Versorgungsspannung - 2,5 V
Max. Reststrom 1 mA

RS 485 0V +24V Q7 Q6 Q5 Q4 Q3 Q2 Q1 Q0 I7 I6 I5 I4 I3 I2 I1 I0

Bild 3 Anschlüsse auf Ausgänge Eingänge


Geräterückseite
Technische Daten

FT 2000 DS-Nr. 212.959/DD 5


Technische Daten

RS-485-Schnittstelle (4-Draht)

Pin Signal Bedeutung


3 TxD Sendedaten invertiert
4 RxD Empfangsdaten invertiert
5 RGND Signal-Ground
8 TxD Sendedaten
9 RxD Empfangsdaten

6
2

7
TxD
3

TxD
8

RxD
4

RxD
9

RGND
5

Bild 4 Belegung
RS-485-Schnittstelle

Schutzart
Gerät nach DIN 40050 (IEC 529) IP 00
Im eingebauten Zustand IP 65

6 FT 2000 DS-Nr. 212.959/DD


Technische Daten

Mechanische Daten Abmessungen siehe Bild 5


Länge 220 mm

Deutsch
Breite 132,5 mm (3 HE)
Einbautiefe ca. 45 mm

Umgebungsbedingungen Betriebstemperatur 0° bis +40°C


Lagertemperatur -25° bis +70°C
Störsicherheit
gemäß IEC 801-2 Schärfegrad 3
gemäß IEC 801-4 Schärfegrad 2
Feuchtebeständigkeit geprüft nach IEC 68 Teil 2-3 bei:
Lufttemperatur +40°C
Relative Luftfeuchte 92%
Prüfdauer 56 Tage
Keine Betauung zulässig

Befestigungs-
schraube
M4

Platinen-
Abdeckhaube
108 ±5
100 ±5

(Tiefe 48,5 mm)


132,5
121,5

Dichtschnur 3 mm
11

188 ±5
3 192 ±5
11 209
220

Bild 5 Maßbild

FT 2000 DS-Nr. 212.959/DD 7


Installation

Lieferumfang Der Lieferumfang ist auf Vollständigkeit zu prüfen.


Im Lieferumfang sind enthalten:

Stück Bezeichnung
1 Bedienterminal FT 2000
1 Dokumentation FT 2000

Zubehör Folgendes Zubehör kann bestellt werden:

Bezeichnung Bestellnummer
Signaltauscher 9-polig für RS-485- 62501511001
Schnittstelle

Installation

8 FT 2000 DS-Nr. 212.959/DD


Installation

Montage

Deutsch
HINWEIS
Es ist eine gute Erdverbindung zum Gerät sicherzustellen.

1. Aussparung mit den Maßen der Platinen-Abdeckhaube


(siehe Bild 5) an der vorgesehenen Montagefläche
aussägen und vier Löcher (Ø 4,1 mm) für die Befesti-
gungsschrauben bohren.

2. Gerät in die Aussparung der Montagefläche einpassen


und festschrauben.
HINWEIS
Damit IP 65 erreicht wird, sollte das Anzugsmoment für die
Befestigungsschrauben (bei planer Montagefläche) größer
1 Ncm (jedoch maximal 10 Ncm) sein.

FT 2000 DS-Nr. 212.959/DD 9


Installation

Verkabelung
HINWEIS
Zur Belegung der RS-485-Schnittstelle und der Ein-/Ausgangs-
Ports siehe Technische Daten, Seite 6.

1. Gerät mit externer Spannungsquelle (24 VDC) verkabeln.

2. Eventuelle Ein-/Ausgangs-Ports verkabeln.

3. Serielle Schnittstelle verkabeln.


ACHTUNG
Es muß eine gute elektrische Verbindung zwischen Schirm
und Steckergehäuse hergestellt werden. Die Leitung beidsei-
tig schirmen.
HINWEIS
Für den Betrieb müssen die Sende- und Empfangsleitungen
zwischen der Steuerung, z.B. WDP5-318, und dem FT 2000
gekreuzt werden (Bild 6). Hierfür kann der Signaltauscher ver-
wendet werden, siehe Zubehör, Seite 8.

z.B. WDP5-318 FT 2000


Schnittstelle RS 485
1

1
6

6
2

2
7

TxD
3

TxD
TxD
8

TxD
4

RxD RxD
RxD
9

RxD
RGND RGND
5

Stecker Stecker
9-polig 9-polig
mit Pins mit Pins
FT 2000
1

6
2

7
3

TxD
TxD
8
4

RxD
9

RxD
RGND
5

Stecker
9-polig
zu weiteren mit Pins
Bild 6 Verkabelungs- Slaves
schema

10 FT 2000 DS-Nr. 212.959/DD


Inbetriebnahme

Bei der Inbetriebnahme werden die Adresse, der Displaykontrast


sowie die gewünschte Betriebsart eingestellt. Außerdem können

Deutsch
die im FT 2000 gespeicherten Textstrings angezeigt werden.

Ab Werk sind der Master/Slave-Betrieb und die Adresse 1 vor-


eingestellt.
Inbetriebnahme
S1-Menü Um ins S1-Menü zu gelangen, ist folgender Ablauf einzuhalten:

1. Spannung am FT 2000 ausschalten.


F1 F2 F3 F4 F5 F6 F7 F8

1 2 3 4 5 S1 S2

.
2. Sondertaste [S1] gedrückt halten.
6 7 8 9 0 –

setup mode
3. Spannung am FT 2000 einschalten.
password: * * ** (<-’ = end)

4. Paßwort ,,1992“ eingeben.


1 9 9 2

HINWEIS
Das Paßwort kann nicht verändert werden.
Wird ein falsches Paßwort eingegeben, erscheint eine Fehler-
meldung.
1=change busaddr. 2=lcd contrast
3=change mode 4=text menue <-’=end
Ausgehend vom Hauptmenü kann mit den Tasten 1 bis 4 in
weitere Untermenüs verzweigt werden.

1. Busadresse In diesem Dialog kann die Busadresse des FT 2000 geändert


1 werden.
change bus address
old addr.: 12 new addr.: 23
Gewünschte Adresse eingeben!
Zulässiger Bereich: 1 – 31
change bus address
invalid address (1...31)
Zur Kontrolle wird die aktuelle Adresse angezeigt.

Falls eine falsche Adresse eingegeben wird, erscheint eine


Fehlermeldung, die alte Adresse bleibt erhalten. Bei korrekter
Eingabe wird die neue Adresse im EEPROM gesichert.

2. Displaykontrast In diesem Dialog kann der Displaykontrast geändert werden.


2
Gewünschten Kontrast eingeben!
change lcd contrast (0=bright
old contr.: 5 new contr.[0...9]:
9=dark) Zulässiger Bereich: 0 – 9

Zur Kontrolle wird der bisher eingestellte Kontrast angezeigt.

FT 2000 DS-Nr. 212.959/DD 11


Inbetriebnahme

3. Betriebsart In diesem Dialog kann die Betriebsart zwischen ,,Master/Slave“


3 bzw. ,,Terminal“ ausgewählt werden.
change mode (act.=master/slave)
1=master/slave 2=terminal
Gewünschte Betriebsart einstellen!
1 = Master-Slave-Modus
2 = Terminal-Modus

Das Gerät meldet die Betriebsbereitschaft mit ,,ready master/


slave“ bzw. ,,ready terminal“.

4. Textmenü Dieses Untermenü dient der Textverwaltung. Diese besteht aus:


4 – Anzeige der gespeicherten Texte
1=view text 2=erase all texts
– Aktivieren/Deaktivieren des Schreibschutzes
3=lock text memory (<-’ = end) – Löschen aller gespeicherten Texte
1. View text In diesem Dialog können alle gespeicherten Texte angezeigt
no: 0x0a 1=prev. 2=next (<-’ = end) werden. In der ersten Zeile links wird die Textnummer im Hexfor-
Das ist ein Mustertext mat dargestellt. In der zweiten Zeile wird der zugehörige Text
angezeigt.

Mit den Tasten [1] und [2] wird der vorherige bzw. der nächste
gespeicherte Text angezeigt.

2. Erase all texts Mit diesem Menüpunkt können alle gespeicherten Texte gelöscht
erase all stored texts from 0 to 0xa8 werden. Dazu ist die Eingabe des Paßwortes ,,1992“ erforderlich.
password: (<-’ = end)

erasing text 0xa8 of 0xa8 Im Anschluß an die Eingabe des Paßwortes beginnt der Lösch-
all texts erased (<-’ = end) vorgang, der nicht unterbrochen werden kann.

3. Lock text memory In diesem Dialog wird der Textspeicher gegen ein versehentli-
text memory locked (<-’ = end) ches Überschreiben geschützt bzw. diese Sperre aufgehoben.

text memory unlocked (<-’ = end) Im Display wird die durchgeführte Aktion angezeigt.

12 FT 2000 DS-Nr. 212.959/DD


Bedienung

Deutsch
Display

F1 F2 F3 F4 F5 F6 F7 F8 Funktionstastenblock

1 2 3 4 5 S1 S2 Sondertasten

6 7 8 9 0 – .
Editiertasten

Numerischer Tastenblock

Bild 7 Tastenblöcke

Die Bedienung des FT 2000 erfolgt über die Folientastatur auf


der Frontplatte.
Bedienung
Datenformat Für die Datenübertragung wird folgendes Datenformat verwen-
det:
– ASCII
– 7 Bit
– Even-Parity
– 9600 Baud
– 1 Stop-Bit
Auf Grund einer Wortbreite von 7 Bit ist eine Übertragung von
ASCII-Zeichen größer als 127 nicht möglich.

FT 2000 DS-Nr. 212.959/DD 13


Bedienung – Master/Slave-Betrieb

ready master/slave Der Master/Slave-Betrieb kann bei der Inbetriebnahme einge-


stellt werden, siehe Inbetriebnahme, Seite 12.
Bedienung – Master/Slave-Betrieb

Protokoll (Handshake)
Adressierung
HINWEIS
Das erste Kommando nach dem Einschalten muß immer das Gerä-
teadressierungs-Kommando sein. Die Geräteadresse kann bei der
Inbetriebnahme eingestellt werden, siehe Inbetriebnahme, Seite 11.

Um eine sichere und zuverlässige Kommunikation des Master


mit mehreren Slave sicherzustellen, darf kein Slave Daten un-
aufgefordert senden.
Über ein spezielles Adressierungskommando selektiert der Ma-
ster den Slave, mit dem er anschließend kommunizieren will.

Der adressierte Slave antwortet auf jedes Kommando mit einer


positiven <ACK> oder negativen <NAK> Quittung, abhängig
davon, ob das Kommando gültig oder ungültig war.

Beim Auftreten eines Übertragungsfehlers sendet der Slave


keine Quittung.

Beispiel Der Master möchte den Slave 14 adressieren. Dazu gibt er


folgendes Kommando aus:

# 1 4 <CR>
23h 31h 34h 0Dh

Mit dem nun adressierten Slave kann der Master wie mit einer
Eins-zu-Eins-Verbindung kommunizieren.

Verwendete Steuerzeichen Abkürzung ASCII- Bedeutung


Wert
<CR> 0Dh Carriage Return
<ACK> 06h Acknowledge (positive Quittung)
<NAK> 15h Not Acknowledge (negative Quittung)
<ESC> 1Bh Für Cursorsteuerung

Zeichenübergabe Abhängig vom Kommando werden die Zeichen als ASCII-Zei-


chen (siehe ASCII-Tabelle im Anhang, Seite 37) oder im ASCII-
codierten Hexformat übergeben.
Beim ASCII-codierten Hexformat wird ein Byte-Wert (8 Bit)
hexadezimal codiert und danach in das ASCII-Format umgewan-
delt.

Beispiel Wert 1000 1110 binär = 142 Dez = 8E Hex


,,8“ ASCII = 38 Hex
,,E“ ASCII = 45 Hex

14 FT 2000 DS-Nr. 212.959/DD


Bedienung – Master/Slave-Betrieb

Kommandos

Deutsch
Allgemeine Struktur
eines Kommandos

Kommando Daten- Bedeutung


richtung
<Kommando>[Daten]<CR> ---> Kommando an Slave
<ACK>[Daten]<CR> <--- Empfangenes Kommando wurde vom Slave als
korrekt interpretiert. Er gibt eine positive
Quittung zurück. Optional können Daten
übertragen werden.
<NAK><CR> <--- Der Slave kennt das Kommando nicht.
keine Quittung <--- Der Slave hat einen Übertragungsfehler
entdeckt und sendet daher keine Quittung.

Kommandoübersicht

Kommando Bedeutung Erklärung


D Display (LCD-Anzeige) Zeichenausgabe auf Display inkl. Displaysteuerung
(VT52-Emulation)
F Funktionstastenblock Abfrage Funktionstasten
K Numerischer Eingabe numerischer Werte
Tastenblock
I Eingangsport Lesen der Eingänge
Q Ausgangsport Setzen der Ausgänge
P Texte speichern/ Text (jeweils max. 40 Zeichen) im FT 2000
löschen speichern
R Texte ausgeben Gespeicherte Texte auf dem Display ausgeben
SD Displaykontrast Displaykontrastwert einstellen
SK Kurzstatus Art der vorangegangenen Quittung ermitteln
SN Numerische Eingabe Möglichkeit des Masters zur Unterbrechung der
abbrechen numerischen Eingabe

HINWEIS
Kommandos müssen immer in Großbuchstaben eingegeben
werden.

FT 2000 DS-Nr. 212.959/DD 15


Bedienung – Master/Slave-Betrieb

Kommandobeschreibung
Display (,,D“) Zur Ausgabe von ASCII-Zeichen und zur Cursorsteuerung wird
jedem auszugebenden String ein ,,D“ vorangestellt.

Datenrichtung Befehl
Master ---> Slave D<String><CR>
F1 F2 F3 F4 F5 F6 F7 F8

1 2 3 4 5 S1 S2
Master <--- Slave <ACK> <CR>
6 7 8 9 0 – .
Die auszugebenden Zeichen werden im ASCII-Format übertragen.
Für die Displayausgabe wird der Bereich auf die ASCII-Zeichen
32 bis 127 beschränkt.
HINWEIS
Die maximale Zeichenanzahl beträgt 40 Zeichen.

Falls die übergebene Zeichenanzahl größer ist, werden die nach-


folgenden Zeichen unterdrückt und eine positive Quittung gesendet.
Eine ASCII-Tabelle der LCD-Anzeige ist im Anhang, Seite 37
beigefügt.

Cursorsteuerung Zur Cursorsteuerung werden Befehle der VT52-Emulation ver-


wendet.

Cursorpositionierung

Befehl Bedeutung Erklärung


<ESC> A Cursor nach oben Der Cursor bewegt sich um eine Zeile nach oben
(kein Zeilenscroll in erster Zeile).
<ESC> B Cursor nach unten Der Cursor bewegt sich um eine Zeile nach unten
(kein Zeilenscroll in letzter Zeile).
<ESC> C Cursor nach rechts Der Cursor bewegt sich um eine Position nach rechts
(kein Zeilensprung in letzter Spalte).
<ESC> D Cursor nach links Der Cursor bewegt sich um eine Position nach links
(kein Zeilensprung in erster Spalte).
<ESC> H Cursor HOME Der Cursor wird in die 1. Zeile, 1. Spalte positioniert
(HOME-Position).
<ESC> Y <Zeile><Spalte> Der Cursor wird in die angegebene Position bewegt.
Cursor positionieren Zeile 1 und Spalte 1 haben den Wert 20h (32). Es muß
also zur Positionsangabe immer ein Korrekturfaktor
von 1Fh (31) addiert werden.

Beispiel 1 Der Cursor soll in Zeile 2 Spalte 24 positioniert werden.


Dazu muß zu den Werten der Spalten und Zeilen 1Fh (31) addiert
werden. Das heißt, Zeile 2 entspricht dem Wert 21h (33) und
Spalte 24 entspricht dem Wert 37h (55). Der Master sendet
folgenden Befehl:

D <ESC> Y ! 7 <CR>
44h 1Bh 59h 21h 37h 0Dh

16 FT 2000 DS-Nr. 212.959/DD


Bedienung – Master/Slave-Betrieb

Beispiel 2 Der Cursor befindet sich in Zeile 2, Position 2.


Es soll der Text ,,Display:“ in der Zeile 1 ab Position 1 ausgegeben

Deutsch
werden. Dazu sind die folgenden Kommandos vom Master zum
FT 2000 notwendig:

D <ESC> H <CR> Cursor in HOME-Position


44h 1Bh 48h 0Dh

<ACK> <CR> Positive Quittung


06h 0Dh

D D i s p l a y : <CR>
44h 44h 69h 73h 70h 6Ch 61h 79h 3Ah 0Dh

Das FT 2000 liefert folgende Quittung an den Master zurück:

<ACK> <CR> Positive Quittung


06h 0Dh

Displaybereiche löschen

Befehl Bedeutung Erklärung


<ESC> o Zeilenbeginn löschen Löscht die Zeile vom Anfang inklusive der aktuellen
Position. Die Cursorposition wird nicht verändert.
<ESC> K Zeilenende löschen Löscht inklusive der aktuellen Cursorposition bis zum
Ende der Zeile. Die Cursorposition wird nicht verändert.
<ESC> l Ganze Zeile löschen Löscht die Zeile, in der sich der Cursor gerade
befindet. Die Cursorposition wird nicht verändert.
<ESC> E Display löschen Löscht das Display. Der Cursor wird in Zeile 1,
Spalte 1 positioniert (Home-Position).

Konfiguration

Befehl Bedeutung Erklärung


<ESC> x9 Auto <CR> ein Beim Empfang eines <LF> (0Ah) wird ein <CR>/<LF>
(Default-Einstellung) auf dem Display ausgeführt, d.h. beim Empfang eines
LF wird der Cursor eine Zeile nach unten und an den
Zeilenanfang bewegt. Befindet sich der Cursor in der
untersten Zeile, so springt er nur an den Zeilenanfang.
<ESC> y9 Auto CR aus Beim Empfang eines <LF> (0Ah) wird der Cursor eine
Zeile nach unten bewegt. Die Spaltenposition
verändert sich nicht. Befindet sich der Cursor in der
untersten Zeile, so ist der Befehl ohne Wirkung.

FT 2000 DS-Nr. 212.959/DD 17


Bedienung – Master/Slave-Betrieb

Funktionstastenblock (,,F“)

Datenrichtung Befehl
Master ---> Slave F<CR>
F1 F2 F3 F4 F5 F6 F7 F8

1 2 3 4 5 S1 S2
Master <--- Slave <ACK><Daten><CR>
6 7 8 9 0 – .
Bei der Funktionstastenabfrage wird die Nummer der betätigten
Funktionstaste in der Quittung zurückgeliefert.

Ist keine Funktionstaste betätigt, so wird der Wert 00 zurückge-


liefert.
Die Übertragung der Nummer erfolgt im ASCII-codierten Hexfor-
mat, d.h. es werden 2 Bytes an den Master übertragen.

Beispiel Es ist zur Zeit die Funktionstaste F1 betätigt.


Der Master sendet folgendes Kommando an das FT 2000:

F <CR> Funktionstastenabfrage
46h 0Dh

Das FT 2000 liefert folgende Quittung an den Master zurück:

<ACK> 0 1 <CR> Es ist die Funktions-


06h 30h 31h 0Dh taste F1 betätigt

HINWEIS
Wegen der elektrischen Beschaltung ist es nicht möglich, zwei
oder mehrere gleichzeitig betätigte Tasten zu erkennen. In sol-
chen Fällen wird zwar eine Taste als betätigt erkannt, es läßt sich
aber nicht vorhersehen, welche.

18 FT 2000 DS-Nr. 212.959/DD


Bedienung – Master/Slave-Betrieb

Numerischer
Tastenblock (,,K“)

Deutsch
Datenrichtung Befehl
Master ---> Slave K[<Vorgabewert>]<CR>
F1 F2 F3 F4 F5 F6 F7 F8

1 2 3 4 5 S1 S2
Master <--- Slave <ACK>[<Zahlenstring>]<CR>
6 7 8 9 0 – .
Das ,,K“-Kommando ermöglicht die Übertragung eines Vorgabewer-
tes, der durch den Anwender beliebig editiert werden kann. Beim
Aufruf des Kommandos wird die Tastatur freigegeben. Der Vorga-
bewert wird auf dem Display anzeigt und kann mit dem numerischen
Tastenblock und den Tasten [.], [-], [←] editiert werden.

Mit der Taste [↵] wird die Eingabe abgeschlossen und die
Tastatur für weitere Eingaben gesperrt.

Der eingegebene Zahlenstring wird mit der Quittung des näch-


sten ,,K“-Kommandos zum Master übertragen.
Die Länge des Zahlenstrings wird durch das Zeilenende der
Anzeige begrenzt.

Die maximale Länge des Defaultwertes beim ,,K“-Kommando


Spalte: 1 10 11 39 40
beträgt 40 Zeichen. Wurde über ein Display-Kommando ein
Eingabe: 12 9_
Eingabetext ausgegeben, so reduziert sich die Länge des De-
faultwertes beim ,,K“-Kommando um die Länge des Textes beim
Display-Kommando.

Spalte
1 bis 10 Text des Display-Kommandos
11 bis 40 Bereich zur Eingabe von Zeichen
40 Korrekturcursor

Falls der Defaultwert beim ,,K“-Kommando größer ist als die


maximal noch mögliche Länge des Defaultwertes, so werden die
nachfolgenden Zeichen unterdrückt und ebenfalls eine positive
Quittung abgesetzt.
Bei der Eingabe von numerischen Werten ist das Eingabefeld nach
rechts durch die vorletzte Spalte (Spalte 40) im Display begrenzt.
Der Korrekturcursor steht immer hinter dem letzten Zeichen des
Eingabewertes (Ausnahme: falls der Eingabewert die 40. Spalte
belegt, steht der Cursor unter dem letzten Zeichen).

Wird ein ,,K“-Kommando empfangen, bevor die Eingabe mit [↵]


abgeschlossen ist, so wird eine positive Quittung ohne Daten
zum Master übertragen.
HINWEIS
Soll die Möglichkeit einen numerischen Wert einzugeben, ge-
sperrt oder unterbrochen werden, so ist dies mit dem System-
kommando ,,SN“ möglich.

FT 2000 DS-Nr. 212.959/DD 19


Bedienung – Master/Slave-Betrieb

Damit der Master das ,,K“-Kommando erkennen kann, muß vor


der Bestätigung durch [↵] mindestens ein Zeichen im editierba-
ren Bereich der Anzeige vorhanden sein. Falls nur eine Bestäti-
gung durch den Anwender gewünscht wird (z.B. Taste drücken
zum Starten), muß eine Funktionstastenabfrage durchgeführt
werden (,,F“-Kommando).

Während der Tastatureingabe muß das FT 2000 nicht adressiert


sein, der Master kann in dieser Zeit mit anderen Geräten kom-
munizieren, oder parallel dazu auch andere Befehle, wie zum
Beispiel Eingänge auslesen, verarbeiten.
HINWEIS
Während eines ,,K“-Kommandos ist ein ,,D“-Kommando nicht
erlaubt. (Der Displayinhalt wird bei einem ,,D“-Kommando über-
schrieben.)

Beispiel Der Master fordert über das FT 2000 eine Zahleneingabe des
Bedieners an. Als Vorgabe überträgt er den Wert -100.25:

K - 1 0 0 . 2 5 <CR> Vorgabewert
4Bh 2Dh 31h 30h 30h 2Eh 32h 35h 0Dh übertragen

Der Anwender ändert die Vorgabe in -220.22 und beendet die


Eingabe mit [↵]. Das FT 2000 liefert mit dem nächsten ,,K“-Kom-
mando den Zahlenstring in der Quittung an den Master zurück
(siehe Bild 8):

<ACK> - 2 2 0 . 2 2 <CR> Positive


06h 2Dh 32h 32h 30h 2Eh 32h 32h 0Dh Quittung und
geänderter
Wert über-
tragen

HINWEIS
Wegen der elektrischen Beschaltung ist es nicht möglich, 2 oder
mehrere gleichzeitig betätigte Tasten zu erkennen. In solchen
Fällen wird zwar eine Taste als betätigt erkannt, es läßt sich aber
nicht vorhersehen, welche.

20 FT 2000 DS-Nr. 212.959/DD


Bedienung – Master/Slave-Betrieb

Master sendet

Deutsch
„K“-Kommando
mit Vorgabewert

Vorgabewert wird
am FT 2000 editiert

Einfache Quittung Master sendet


an Master „K“-Kommando
<ACK><CR>

Wurde
NEIN die Eingabe mit
abgeschlossen
?

JA

Quittung mit
editiertem Wert an
Master
Bild 8 Ablaufdia- <ACK><Wert><CR>
gramm ,,K“-Kommando

FT 2000 DS-Nr. 212.959/DD 21


Bedienung – Master/Slave-Betrieb

Eingangsport (,,I“)

Datenrichtung Befehl
Master ---> Slave I<CR>
F1 F2 F3 F4 F5 F6 F7 F8

1 2 3 4 5 S1 S2
Master <--- Slave <ACK><WERT><CR>
6 7 8 9 0 – .
Mit dem Kommando ,,I“ können die Werte der Eingänge des
E/A Port RS 485
FT 2000 ausgelesen werden. Der Wert der Eingänge wird vom
FT 2000 in ASCII codiertem Hexformat an den Master zurück-
gegeben.

Beispiel Der Master fordert den Wert der Eingänge an. Dazu überträgt er
folgenden Befehl:

I <CR> Abfrage der Eingänge


49h 0Dh

Das FT 2000 gibt folgende Quittung zurück:

<ACK> 2 E <CR> Positive Quittung und


06h 32h 45h 0Dh Wert der Eingänge
übertragen

Über den Wert 2Eh kann nach Umrechnung in den binären Code
ersehen werden, welche Eingänge gesetzt sind.
2Eh = 0010 1110, d.h. die Eingänge I1, I2, I3 und I5 sind gesetzt.

22 FT 2000 DS-Nr. 212.959/DD


Bedienung – Master/Slave-Betrieb

Ausgangsport (,,Q“)

Deutsch
Datenrichtung Befehl
Master ---> Slave Q<WERT><CR>
F1 F2 F3 F4 F5 F6 F7 F8

1 2 3 4 5 S1 S2
Master <--- Slave <ACK><CR>
6 7 8 9 0 – .
Über den Befehl ,,Q“ können die Ausgänge des FT 2000 gesetzt
E/A Port RS 485
werden. Dazu sendet der Master den Befehl ,,Q“ und den Wert
der zu setzenden Ausgänge im ASCII-codierten Hexformat an
das FT 2000.

Beispiel Der Master will die Ausgänge Q1, Q2, Q3 und Q5 setzen. Dazu
müssen die Ausgänge vom binären in den hexadezimalen Wert
umgerechnet werden, z.B. 00101110 entspricht 2Eh. Der Master
sendet folgenden Befehl an das FT 2000:

Q 2 E <CR> Befehl zum Setzen der


51h 32h 45h 0Dh Ausgänge übertragen

Das FT 2000 gibt folgende Quittung zurück:

<ACK> <CR> Positive Quittung

HINWEIS
Bei einer Unterbrechung der seriellen Verbindung werden die
Ausgangszustände beibehalten.

FT 2000 DS-Nr. 212.959/DD 23


Bedienung – Master/Slave-Betrieb

Systemkommando Das FT 2000 besitzt folgende Systemkommandos:


(,,S<Kommando>“)
SD Displaykontrast ändern (0...9)
SK Kurzstatus
SN Numerische Eingabe abbrechen

Kurzstatus (,,SK“) Datenrichtung Befehl


Master ---> Slave SK<CR>
Master <--- Slave <ACK><Statusbyte><CR>

Mit dem Systemkommando Kurzstatus kann der Master die Art


der vorangegangenen Quittung eines adressierten FT 2000 er-
mitteln.

7 6 5 4 3 2 1 0 Bitnummer
Bit 0 bis 4 und 6 sind nicht belegt
Bit 5 oder 7 kann den Wert 0
oder 1 annehmen

Bit 5:
0 = Ausgangsport in Ordnung
1 = Fehler an Ausgangsport

Bit 5 wird auf 1 gesetzt, wenn der Ausgangsport überlastet ist


oder einen Kurzschluß aufweist. Es erfolgt keine Angabe einer
Fehlermeldung auf dem Display, die alte Displayeinstellung
bleibt erhalten. Im Fehlerfall wird das Output-Kommando vom
FT 2000 nicht ausgeführt und deshalb negativ quittiert. Wird die
Fehlerursache beseitigt, so arbeitet das Gerät anschließend
weiter.

Bit 7:
0 = vorhergehendes Kommando wurde negativ quittiert
1 = vorhergehendes Kommando wurde positiv quittiert

Bei Übertragungsfehlern siehe Übertragungsfehler, Seite 26.


Die Übertragung des Statusbytes erfolgt im ASCII-codierten
Hexformat.

Beispiel Der Master hat eine Quittung mit Übertragungsfehler erhalten.


Er fragt den Slave mit dem Systemkommando ,,SK“, ob das
zuletzt gesendete Kommando korrekt erkannt wurde:
S K <CR> Kurzstatus anfordern
53h 4Bh 0Dh
Das FT 2000 überträgt folgende Quittung an den Master zurück:
<ACK> 8 0 <CR> Kurzstatus übertragen
06h 38h 30h 0Dh Bit 7 hat den Wert 1
Das FT 2000 hat das vorhergehende Kommando korrekt erkannt
und deshalb positiv quittiert.

24 FT 2000 DS-Nr. 212.959/DD


Bedienung – Master/Slave-Betrieb

Displaykontrast (,,SD“)

Deutsch
Datenrichtung Befehl
Master ---> Slave SD<Kontrast><CR>
F1 F2 F3 F4 F5 F6 F7 F8

1 2 3 4 5 S1 S2
Master <--- Slave <ACK><CR>
6 7 8 9 0 – .
Mit diesem Systemkommando wird der Kontrast der LCD-Anzei-
ge eingestellt. Der eingestellte Wert wird im EEPROM gespei-
chert und beim nächsten Einschalten automatisch eingestellt.

Dem Systemkommando wird der Wert des Kontrastes überge-


ben. Dieser kann im Bereich von 0 bis 9 liegen, wobei 0 die
minimalste und 9 die maximalste Einstellung ist.

Es erfolgt eine Plausibilitätsprüfung, Werte >9 werden ignoriert.

Beispiel Der Master möchte den Display-Kontrast des FT 2000 auf 4


setzen. Dazu überträgt er folgenden Befehl an das FT 2000:

S D 4 <CR> Wert für Kontrast übertragen


53h 44h 34h 0Dh

Vom FT 2000 wird folgende Quittung zurückgeliefert:

<ACK> <CR> Positive Quittung

Numerische Eingabe Der Master hat die Möglichkeit, ein ,,K“-Kommando abzubrechen
abbrechen (,,SN“) und den Normalzustand wiederherzustellen. Dies ist z.B. sinn-
voll, wenn eine numerische Eingabe am Display nicht innerhalb
einer anwendungsspezifischen Abfragezeit mit [↵] abgeschlos-
sen wird.

Der Master sendet dazu folgendes Kommando:

S N <CR> Numerische Eingabe abbrechen


53h 4Eh 0Dh

FT 2000 DS-Nr. 212.959/DD 25


Bedienung – Master/Slave-Betrieb

Übertragungsfehler Erkennt der Slave einen Übertragungsfehler, gibt er keine Quittung


an den Master zurück und schaltet sich als nicht-adressiert. Der
Übertragungsfehler Master kann mit Hilfe einer Timeoutkontrolle auf die ausbleibende
Master ---> Slave Quittung den Übertragungsfehler feststellen und je nach Anwen-
dungsfall darauf reagieren (z.B. Kommando wiederholen).

Beispiel

Datenrichtung Befehl Bemerkung


Master ---> Slave Q<Wert><CR> Ausgänge setzen
Master <--- Slave <ACK><CR> Positive Quittung
Master ---> Slave I<CR> Eingänge abfragen
Master ---> Slave Befehl fehlerhaft 1. Slave erkennt Übertragungsfehler
2. Timeoutkontrolle im Master
3. Master erkennt Timeout Slave und versucht,
den Auftrag zu wiederholen
Master ---> Slave #1<CR> Master adressiert Slave 1
Master ---> Slave I<CR> Eingänge abfragen
Master <--- Slave <ACK>3F<CR> Slave gibt den Wert der Eingänge zurück

Übertragungsfehler Erkennt der Master einen Übertragungsfehler, so weiß er nicht,


Slave ---> Master ob das vorher von ihm gesandte Kommando vom Slave positiv
<ACK> oder negativ <NAK> quittiert wurde. Er weiß daher nicht,
ob der Slave das Kommando korrekt interpretiert und ausgeführt
hat, oder ob es ungültig war.

Eine Wiederholung des Befehles könnte unter Umständen fatale


Folgen haben.

Um dies zu verhindern wurde das FT 2000 mit dem Systemkom-


mando Kurzstatus (SK) ausgestattet (siehe Systemkommando
(,,S<Kommando>“), Seite 24).

26 FT 2000 DS-Nr. 212.959/DD


Bedienung – Master/Slave-Betrieb

Text speichern/
löschen (,,P“)

Deutsch
Datenrichtung Befehl
Master ---> Slave P<xx><Text>
Master <--- Slave <ACK><CR>

Mit dem Befehl ,,P“ können Texte im EEPROM des FT 2000


gespeichert bzw. gespeicherte Texte wieder gelöscht werden.

<xx> entspricht der Nummer, unter der der Text abgelegt wird.
Sie ist im Hexformat einzugeben, wobei führende
Nullen anzugeben sind (01-0F Hex).
<Text> entspricht dem zu speichernden Textstring. Ein zuvor
unter dieser Nummer gespeicherter Text wird über-
schrieben. Ein leerer Textstring entspricht dem
Löschen-Kommando, d.h. die Textspeicherstelle im
EEPROM wird gelöscht.

Das Kommando wird mit <NAK> negativ quittiert, wenn:


– der Speicherschutz aktiv ist (siehe Seite 12).
– die Textnummer außerhalb des gültigen Bereiches liegt.
– das Format des Kommandos nicht eingehalten wird.
Beispiel Es soll der Text ,,Das ist ein Mustertext“ in der Speicherstelle 10
abgelegt werden. Der Master sendet dazu folgenden Befehl an
das FT 2000:

P 0 A Das ist ein Mustertext


50h 30h 41h

Das FT 2000 gibt folgende Quittung zurück:

<ACK> <CR> Positive Quittung

HINWEIS
In Abhängigkeit von der Speicherkapazität des EEPROM’s ist
die Anzahl der Texte begrenzt. Derzeit können mit dem einge-
setzten EEPROM maximal 168 Texte gespeichert werden, d.h.
die größte zulässige Textnummer beträgt im Hexformat A8.
HINWEIS
Die gespeicherten Texte können im S1-Menü des FT 2000
eingesehen werden, ohne daß dazu das FT 2000 an einen
Master angeschlossen werden muß (siehe Seite 12).
HINWEIS
Um ein versehentliches Überschreiben der gespeicherten Texte
auszuschließen, kann im S1-Menü ein Speicherschutz aktiviert
werden (siehe Seite 12).

FT 2000 DS-Nr. 212.959/DD 27


Bedienung – Master/Slave-Betrieb

Gespeicherten Text
ausgeben (,,R“)

Datenrichtung Befehl
Master ---> Slave R<xx><y>
Master <--- Slave <ACK><CR>

Mit dem Befehl ,,R“ können im FT 2000 gespeicherte Texte auf


dem Display ausgegeben werden.

<xx> entspricht der Nummer, unter der der Text im FT 2000


abgelegt wird. Sie ist im Hexformat einzugeben, wobei
führende Nullen anzugeben sind (01-0F Hex).
<y> entspricht der Displayzeile, in der der Text ausgegeben
wird. Sie ist im Hexformat einzugeben, wobei die erste
Zeile 0h entspricht.

Das Kommando wird mit <NAK> negativ quittiert, wenn:


– die Textnummer außerhalb des gültigen Bereiches liegt.
– das Format des Kommandos nicht eingehalten wird.
Beispiel Es soll der in der Speicherstelle 10 abgelegte Text in der zweiten
Displayzeile ausgegeben werden. Der Master sendet dazu fol-
genden Befehl an das FT 2000:

R 0 A 1
52h 30h 41h 31h

Das FT 2000 gibt folgende Quittung zurück:

<ACK> <CR> Positive Quittung

HINWEIS
Die gespeicherten Texte können im S1-Menü des FT 2000
eingesehen werden, ohne daß dazu das FT 2000 an einen
Master angeschlossen werden muß (siehe Seite 12).

28 FT 2000 DS-Nr. 212.959/DD


Bedienung – Terminal-Betrieb

ready terminal Der Terminal-Betrieb kann bei der Inbetriebnahme eingestellt


werden, siehe Inbetriebnahme, Seite 12.

Deutsch
Bedienung – Terminal-Betrieb
Adressierung
HINWEIS
Das erste Kommando nach dem Einschalten muß immer das
Geräteadressierungs-Kommando sein. Die Geräteadresse kann
bei der Inbetriebnahme eingestellt werden, siehe Inbetriebnah-
me, Seite 11.

Beispiel Mit folgendem Kommando kann das FT 2000 mit der Adresse
14 angesprochen werden.

# 1 4 <CR>
23h 31h 34h 0Dh

Jetzt können Daten gesendet und empfangen werden.

Verwendete Steuerzeichen Abkür- ASCII- Bedeutung


zung Wert
<NUL> 00h Für Funktionstasten-Kennzeichnung
<BS> 08h Cursor eine Stelle nach links bewegen
<LF> 0Ah Cursor in nächste Zeile bewegen
<CR> 0Dh Cursor auf Zeilenanfang bewegen
<ESC> 1Bh Für Cursorsteuerung
<DEL> 7Fh Zeichen links vom Cursor löschen

FT 2000 DS-Nr. 212.959/DD 29


Bedienung – Terminal-Betrieb

Cursorsteuerung Zur Cursorsteuerung werden Befehle der VT52-Emulation ver-


wendet.

Cursorpositionierung

Befehl Bedeutung Erklärung


<ESC> A Cursor nach oben Der Cursor bewegt sich um eine Zeile nach oben
(kein Zeilenscroll in erster Zeile).
<ESC> B Cursor nach unten Der Cursor bewegt sich um eine Zeile nach unten
(kein Zeilenscroll in letzter Zeile).
<ESC> C Cursor nach rechts Der Cursor bewegt sich um eine Position nach rechts
(kein Zeilensprung in letzter Spalte).
<ESC> D Cursor nach links Der Cursor bewegt sich um eine Position nach links
(kein Zeilensprung in erster Spalte).
<ESC> H Cursor HOME Der Cursor wird in die 1. Zeile, 1. Spalte positioniert
(HOME-Position).
<ESC> Y <Zeile><Spalte> Der Cursor wird in die angegebene Position bewegt.
Cursor positionieren Zeile 1 und Spalte 1 haben den Wert 20h (32). Es muß
also zur Positionsangabe immer ein Korrekturfaktor
von 1Fh (31) addiert werden.

Beispiele Der Cursor soll in Zeile 2 Spalte 24 positioniert werden.


Dazu muß zu den Werten der Spalten und Zeilen 1Fh (31) addiert
werden. Das heißt, Zeile 2 entspricht dem Wert 21h (33) und
Spalte 24 entspricht dem Wert 37h (55). Folgender Befehl muß
gesendet werden:

<ESC> Y ! 7
1Bh 59h 21h 37h

Der Cursor befindet sich in Zeile 2, Position 2.


Es soll der Text ,,Display:“ in der Zeile 1 ab Position 1 ausgegeben
werden:

<ESC> H <CR> Cursor in HOME-Position


1Bh 48h 0Dh

D i s p l a y : <CR>
44h 69h 73h 70h 6Ch 61h 79h 3Ah 0Dh

30 FT 2000 DS-Nr. 212.959/DD


Bedienung – Terminal-Betrieb

Displaybereiche löschen

Deutsch
Befehl Bedeutung Erklärung
<ESC> o Zeilenbeginn löschen Löscht die Zeile vom Anfang inklusive der aktuellen
Position. Die Cursorposition wird nicht verändert.
<ESC> K Zeilenende löschen Löscht inklusive der aktuellen Cursorposition bis zum
Ende der Zeile. Die Cursorposition wird nicht verändert.
<ESC> l Ganze Zeile löschen Löscht die Zeile, in der sich der Cursor gerade
befindet. Die Cursorposition wird nicht verändert.
<ESC> E Display löschen Löscht das Display. Der Cursor wird in Zeile 1,
Spalte 1 positioniert (Home-Position).

Konfiguration

Befehl Bedeutung Erklärung


<ESC> x9 Auto <CR> ein Beim Empfang eines <LF> (0Ah) wird ein <CR>/<LF>
(Default-Einstellung) auf dem Display ausgeführt, d.h. beim Empfang eines
LF wird der Cursor eine Zeile nach unten und an den
Zeilenanfang bewegt. Befindet sich der Cursor in der
untersten Zeile, so springt er nur an den Zeilenanfang.
<ESC> y9 Auto CR aus Beim Empfang eines <LF> (0Ah) wird der Cursor eine
Zeile nach unten bewegt. Die Spaltenposition
verändert sich nicht. Befindet sich der Cursor in der
untersten Zeile, so ist der Befehl ohne Wirkung.

FT 2000 DS-Nr. 212.959/DD 31


Bedienung – Terminal-Betrieb

Funktionstasten Beim Drücken der Funktionstasten werden standardmäßig fol-


gende Zeichen übertragen:
Standardbelegung
F1
→ <NUL>;
F2
→ <NUL><
F3
→ <NUL>=
F4
→ <NUL>>
F5
→ <NUL>?
F6
→ <NUL>@
F7
→ <NUL>A
F8
→ <NUL>B

Funktionstasten- Die Funktionstastensbelegung kann durch Senden folgender


belegung ändern ESC-Befehle geändert werden:
F1
← ’<ESC>[<NUL>;<neues Zeichen>p’
F2
← ’<ESC>[<NUL><<neues Zeichen>p’
F3
← ’<ESC>[<NUL>=<neues Zeichen>p’
F4
← ’<ESC>[<NUL>><neues Zeichen>p’
F5
← ’<ESC>[<NUL>?<neues Zeichen>p’
F6
← ’<ESC>[<NUL>@<neues Zeichen>p’
F7
← ’<ESC>[<NUL>A<neues Zeichen>p’
F8
← ’<ESC>[<NUL>B<neues Zeichen>p’

Beispiel Die Funktionstaste F1 soll mit X belegt werden. Dazu folgenden


ESC-Befehl senden:
F1
← ’<ESC>[<NUL>;Xp’

Jetzt werden nach dem Drücken von F1 folgende Zeichen über-


tragen:
F1
→ X

Tastatur ein- und Die Tastatur kann mit folgenden ESC-Befehlen ein- und ausge-
ausschalten schaltet werden:

’<ESC>>’ einschalten
’<ESC>=’ ausschalten

32 FT 2000 DS-Nr. 212.959/DD


Bedienung – Terminal-Betrieb

Text in FT 2000 speichern Mit dem folgenden ESC-Befehl können Texte im EEPROM des
FT 2000 gespeichert bzw. gespeicherte Texte wieder gelöscht

Deutsch
werden.

’<ESC>P<xx><Text>’

<xx> entspricht der Nummer, unter der der Text abgelegt wird.
Sie ist im Hexformat einzugeben, wobei führende Nullen
anzugeben sind (01-0F Hex).
<Text> entspricht dem zu speichernden Textstring. Ein zuvor
unter dieser Nummer gespeicherter Text wird über-
schrieben. Ein leerer Textstring entspricht dem
Löschen-Kommando, d.h. die Textspeicherstelle im
EEPROM wird gelöscht.

Beispiel Es soll der Text ,,Das ist ein Mustertext“ in der Speicherstelle 10
abgelegt werden. Dazu folgenden ESC-Befehl senden:

’<ESC>P0ADas ist ein Mustertext’

HINWEIS
Siehe auch Kommando ,,P“ Text speichern/löschen, Seite 27.

Gespeicherten Text Mit dem folgenden ESC-Befehl können im FT 2000 gespeicherte


auf Display ausgeben Texte auf dem Display ausgegeben werden.

’<ESC>R<xx><y>’

<xx> entspricht der Nummer, unter der der Text im FT 2000


abgelegt wird. Sie ist im Hexformat einzugeben, wobei
führende Nullen anzugeben sind (01-0F Hex).
<y> entspricht der Displayzeile, in der der Text ausgegeben
wird. Sie ist im Hexformat einzugeben, wobei die erste
Zeile 0h entspricht.

Es soll der in der Speicherstelle 10 abgelegte Text in der zweiten


Displayzeile ausgegeben werden. Dazu folgenden ESC-Befehl
senden:

’<ESC>R0A1’

HINWEIS
Siehe auch Kommando ,,R“ Gespeicherten Text ausgeben,
Seite 28.

FT 2000 DS-Nr. 212.959/DD 33


Funktionstest

Wird innerhalb von 1,5 Sekunden nach dem Einschalten die


Sondertaste S2 gedrückt, wird der Funktionstest durchgeführt.
F1 F2 F3 F4 F5 F6 F7 F8
Es erscheint eine Eingangsmeldung auf dem Display und die
1 2 3 4 5 S1 S2
Aufforderung, das Paßwort einzugeben. Das voreingestellte Paß-
wort ist ,,1992“.
.
Funktionstest
6 7 8 9 0 –

functional test mode


password: * * * * (<-’ = end)

Funktionstest- Das Hauptmenü besteht aus 4 Auswahlmöglichkeiten, die durch


Hauptmenü Drücken der jeweiligen Tasten angewählt werden können.
1
1=keyboard 2=bus interface Tastaturtest
3=input 4=output (<-’ = end)
2
Schnittstellentest
3
Test der Eingänge (nur im Master/Slave-Betrieb)
4
Test der Ausgänge (nur im Master/Slave-Betrieb)

Tastaturtest Nach Drücken der Taste [1] im Hauptmenü erscheint das Unter-
menü Tastaturtest. Hier kann durch Betätigen der einzelnen
1
Tasten die Tastatur überprüft werden.
Beim Drücken der Tasten werden ihre Bezeichnungen im Klar-
keyboard test (<-’ = end) text angezeigt. Der Tastaturtest kann durch Drücken der Taste
pressed key: S1
[↵] verlassen werden.

Schnittstellentest Um den Schnittstellentest durchzuführen, muß vorher ein Kurz-


2
schlußstecker auf die RS-485-Schnittstelle gesteckt werden. Die
Verdrahtung ist in Bild 9 dargestellt.
send: ’FT2000’
received: ’FT2000’ (<-’ = end)
1

6
2

TxD
3

TxD
8

RxD
4

RxD
9
5

Stecker
Bild 9 Belegung 9-polig
Kurzschlußstecker

Nach Drücken der Taste [2] im Hauptmenü erscheint das Unter-


menü Schnittstellentest. Zum Test der Schnittstelle muß ein
Kurzschlußstecker auf den Sub-D-Stecker aufgesteckt werden.
Der Schnittstellentest kann durch Drücken der Taste [↵] verlas-
sen werden.

34 FT 2000 DS-Nr. 212.959/DD


Funktionstest

Test der Eingänge Dieser Funktionstest ist nur im Master/Slave-Betrieb möglich.

Deutsch
3 Nach Drücken der Taste [3] im Hauptmenü erscheint das Unter-
menü Eingänge. Es wird der aktuelle Stand der Eingänge ange-
input test (<-’ = end)
zeigt.
status (I7...I0): 0 0 0 0 0 0 0 0
1 Es liegt ein Signal am Eingang an.
0 Es liegt kein Signal am Eingang an.

Der Test der Eingänge kann durch Drücken der Taste [↵] verlas-
sen werden.

Test der Ausgänge Dieser Funktionstest ist nur im Master/Slave-Betrieb möglich.

4 Nach Drücken der Taste [4] im Hauptmenü erscheint das Unter-


menü Ausgänge. Es wird der aktuelle Stand der Ausgänge
output set/clear (<-’ = end) angezeigt.
1...8=Q0-Q7 ’-’ = set/clear Die Ausgänge können mit der Taste [-] gesetzt oder gelöscht
werden.
output set/clear (<-’ = end)
status (Q7...Q0) : 0 0 0 0 0 0 0 0

output set/clear (<-’ = end)


output overload

Beispiel Der Ausgang 7 ist nicht gesetzt. Der Ausgang 7 soll gesetzt
werden. Dazu sind folgende Tasten zu drücken:

7
Auswahl des Ausgangs 7

Ausgang setzen

Der Test der Ausgänge kann durch Drücken der Taste [↵]
verlassen werden.
HINWEIS
Falls der Ausgang überlastet bzw. kurzgeschlossen ist, erscheint
die Fehlermeldung ,,output overload“.

FT 2000 DS-Nr. 212.959/DD 35


Wartung

Wartungsvertrag Um Stillstandzeiten durch Nutzungsausfall des Gerätes vorzubeu-


gen, bietet SIG BERGER LAHR individuelle Wartungs- und Service-
Verträge an.
Wartung
Informationen hierzu sind unter folgender Adresse erhältlich:

SIG Positec Automation GmbH


Abteilung Technische Dienste
Breslauer Str. 7

D-77933 Lahr

Tel. (07821) 946-02

36 FT 2000 DS-Nr. 212.959/DD


Anhang

ASCII-Tabelle

Deutsch
HEX DEZ CHAR HEX DEZ CHAR HEX DEZ CHAR HEX DEZ CHAR HEX DEZ CHAR
00h 00 (NUL) 1Ah 26 (SUB) 34h 52 4 4Eh 78 N 68h 104 h
01h 01 (SOH) 1Bh 27 (ESC) 35h 53 5 4Fh 79 O 69h 105 i
02h 02 (STX) 1Ch 28 (FS) 36h 54 6 50h 80 P 6Ah 106 j
03h 03 (ETX) 1Dh 29 (GS) 37h 55 7 51h 81 Q 6Bh 107 k
04h 04 (EOT) 1Eh 30 (RS) 38h 56 8 52h 82 R 6Ch 108 l
05h 05 (ENQ) 1Fh 31 (US) 39h 57 9 53h 83 S 6Dh 109 m
06h 06 (ACK) 20h 32 blk 3Ah 58 : 54h 84 T 6Eh 110 n
07h 07 (BEL) 21h 33 ! 3Bh 59 ; 55h 85 U 6Fh 111 o
08h 08 (BS) 22h 34 " 3Ch 60 < 56h 86 V 70h 112 p
09h 09 (HT) 23h 35 # 3Dh 61 = 57h 87 W 71h 113 q
0Ah 10 (LF) 24h 36 $ 3Eh 62 > 58h 88 X 72h 114 r
0Bh 11 (VT) 25h 37 % 3Fh 63 ? 59h 89 Y 73h 115 s
0Ch 12 (FF) 26h 38 & 40h 64 @ 5Ah 90 Z 74h 116 t
0Dh 13 (CR) 27h 39 ’ 41h 65 A 5Bh 91 [ 75h 117 u
0Eh 14 (SO) 28h 40 ( 42h 66 B 5Ch 92 ¥ 76h 118 v
0Fh 15 (SI) 29h 41 ) 43h 67 C 5Dh 93 ] 77h 119 w
10h 16 (DLE) 2Ah 42 * 44h 68 D 5Eh 94 ^ 78h 120 x
11h 17 (DC1) 2Bh 43 + 45h 69 E 5Fh 95 _ 79h 121 y
12h 18 (DC2) 2Ch 44 , 46h 70 F 60h 96 ‘ 7Ah 122 z
13h 19 (DC3) 2Dh 45 - 47h 71 G 61h 97 a 7Bh 123 {
14h 20 (DC4) 2Eh 46 . 48h 72 H 62h 98 b 7Ch 124 |
15h 21 (NAK) 2Fh 47 / 49h 73 I 63h 99 c 7Dh 125 }
16h 22 (SYN) 30h 48 0 4Ah 74 J 64h 100 d 7Eh 126 →
17h 23 (ETB) 31h 49 1 4Bh 75 K 65h 101 e 7Fh 127 (DEL)
18h 24 (CAN) 32h 50 2 4Ch 76 L 66h 102 f
19h 25 (EM) 33h 51 3 4Dh 77 M 67h 103 g

Anhang

FT 2000 DS-Nr. 212.959/DD 37


Anhang

Abkürzungen ACK Acknowledge

ASCII American Standard Code for Information


Interchange

BS Backspace

CR Carriage Return

D Display-Anzeige

DC Gleichspannung

DEL Delete

DS-Nr. Druckschrift-Nummer

F Funktionstastenblock

HE Höheneinheit

Hex Hexadezimal Code

I Eingang

K Numerischer Tastenblock

LCD Liquid-crystal display

LF Line feed

NAK Not Acknowledge

NUL Null

PC Personal Computer

Q Ausgang

SD Displaykontrast

SK Kurzstatus

SN Numerische Eingabe abbrechen

SPS Speicherprogrammierte Steuerung

38 FT 2000 DS-Nr. 212.959/DD


Technical Documentation

Operating Terminal

DOKU-DRU

F1 F2 F3 F4 F5 F6 F7 F8 FT 2000
1 2 3 4 5 S1 S2

6 7 8 9 0 – .
Doc. no.: 212.959/GB
Ident. no.: 00441108632
Edition: a000 December 96

English

Consulting, service and sales through:

SIG Positec Automation GmbH


Breslauer Str. 7 • D-77933 Lahr
Tel. (07821) 946-02 • Fax (07821) 946-220
Safety instructions

Please read the following safety instructions prior to installation,


operation, maintenance and repair of the device.
Safety instructions
• The intended use of the device (“Purpose”) is described in this
manual and must be observed.
• Installation, maintenance and repair of the device shall be per-
formed by a qualified electrician.
National regulations concerning
– accident prevention
– installation of electrical and mechanical systems
– radio interference suppression
shall be observed.
• The technical data of the device, particularly the ambient condi-
tions, shall be observed.
• The device shall only be operated by trained personnel.
• The warranty is invalidated in case of unauthorized modification
or opening of the device.
• Please ask your technical consultant prior to installing acces-
sories not listed under “Accessories”.
• The safety symbols and notes on the device and in the manual
shall be observed.

Explanation of symbols
ATTENTION
Reference to a danger for the device or components, poss-
ibly resulting in the endangering of human life.
DANGER
Reference to a direct endangering of human life.
DANGER
High voltage at component, do not touch.
DANGER
High temperature at component, do not touch.
ATTENTION
Warning against electrostatic discharge (ESD). Only touch
the PC-board or component in an electrostatically-protected
environment.
NOTE
Important or additional information concerning the device or the
manual.

2 FT 2000 Doc. no. 212.959/GB


General description

Structure and
characteristics
The FT 2000 operating terminal is a compact data entry and
display terminal. The following operating modes are available
(see Function, page 4):
– Master/slave or
– Terminal
General description
The device has been designed for installation in an operating

English
panel or front panel.

The FT 2000 consists of the following components:


– an LCD with a maximum of 2 x 40 characters
– a membrane keyboard with 24 keys
– an RS 485 interface (four-wire)
– one input port and one output port with a data width of
8 bits (8 non-decoupled inputs and 8 short-circuit proof
outputs)

Purpose The FT 2000 can be used for a large variety of applications due
to the fact that it is controlled through an RS 485 interface with
ASCII character set or commands. It is utilized, for example:
– to output messages
– to input values
– to read in switch positions (only in master/slave mode)
– to control signal indicators (only in master/slave mode)

F1 F2 F3 F4 F5 F6 F7 F8

1 2 3 4 5 S1 S2

6 7 8 9 0 – .

Fig. 1 FT 2000
operating terminal

FT 2000 Doc. no. 212.959/GB 3


General description

Function
Master/slave mode The FT 2000 communicates with the master through an RS 485
interface in a master/slave configuration. A slave is a device which
executes the commands issued by the master. The slave responds
to commands from the master with either positive or negative
acknowledgement. In order to ensure safety of communication, no
slave may send data without being requested to do this. Such a
request is possible by a special polling command, where the master
selects the slave with which it intends to communicate subsequently
(see Polling under Operation, page 14).

The communication link with a previously selected slave is


aborted upon receiving a different address.

Thereafter, the controller can communicate with the FT 2000 on


a one-to-one basis.
Through this connection it is possible to:
– Output text on the display
– Control the display with a limited VT-52 command set
– Interrogate numerical keyboard codes
– Interrogate function key codes
– Read inputs
– Set outputs
– Output and edit default values
Terminal mode In terminal mode, the unit operates as a simple ASCII terminal,
i.e. received characters are displayed on the LCD, entered
characters are sent through the RS 485 interface. The keyboard
can be disabled in terminal mode. When disabled, only received
characters are displayed and no character entry is possible.

Polling To communicate with the FT 2000, the unit must be selected first
with a polling command. The operating modes and the device
address are set during setup; see Setup, pages 11 and 12.

PC, PLC,
WP-311,
WDP5-318
etc.
RS 485

FT 2000 FT 2000 FT 2000

Fig. 2 Networking Unit 1 Unit 2 Unit 3 31 max.


scheme

4 FT 2000 Doc. no. 212.959/GB


Technical data

Electrical data System supply voltage 24 VDC (20 to 30 VDC)


I/O supply voltage 24 VDC (20 to 30 VDC)
(connected to system supply voltage)
Power consumption, idle 250 mA at 24 V
Internal leakage resistance towards ground 100 kohms
ATTENTION
Separation of the signal inputs and the 24 VDC supply

English
voltage from the mains must be ensured. The maximum
voltage to ground must not exceed 60 VDC.

LCD 2 x 40 characters
Membrane keyboard 24 keys
8 digital inputs 0 to 4 V = low
15 to 30 V = high
galvanic coupling
8 digital outputs short-circuit proof (2 A max.)
“+” switch
reverse-polarity protection
Max. output current per output 0.2 A
Max. output current, total 0.8 A
Min. high level I/O supply voltage - 2.5 V
Max. residual current 1 mA

RS 485 0V +24V Q7 Q6 Q5 Q4 Q3 Q2 Q1 Q0 I7 I6 I5 I4 I3 I2 I1 I0

Fig. 3 Input/output Outputs Inputs


ports on unit rear
Technical data

FT 2000 Doc. no. 212.959/GB 5


Technical data

RS 485 interface (four-wire)

Pin Signal Meaning


3 TxD Inverted transmitting data
4 RxD Inverted received data
5 RGND Signal ground
8 TxD Transmitting data
9 RxD Received data

6
2

7
TxD
3

TxD
8

RxD
4

RxD
9

RGND
5

Fig. 4 RS 485
interface assignment

Type of protection
Unit according to DIN 40050 (IEC 529) IP 00
Unit installed IP 65

6 FT 2000 Doc. no. 212.959/GB


Technical data

Mechanical data Dimensions see figure 5


Length 220 mm
Width 132.5 mm (3 HU)
Mounting depth approx. 45 mm

Ambient conditions Operating temperature 0° to +40°C


Storage temperature -25° to +70°C
Noise immunity

English
according to IEC 801-2 Severity 3
according to IEC 801-4 Severity 2
Humidity resistance tested according to IEC 68 part 2-3 at:
Air temperature +40°C
Relative humidity 92%
Testing period 56 days
Non-condensing

M4 fixing screw

PCB cover
(depth 48.5 mm)
108 ±5
100 ±5
132.5
121.5

Cord seal, 3 mm
11

188 ±5
3 192 ±5
11 209
220

Fig. 5 Dimensions

FT 2000 Doc. no. 212.959/GB 7


Installation

Scope of supply Check the scope of supply for completeness.


The scope of supply comprises:

Qty. Designation
1 FT 2000 operating terminal
1 FT 2000 documentation

Accessories The following accessories are optionally available:

Designation Order number


9-pole crossover adapter for RS 485 62501511001
interface

Installation

8 FT 2000 Doc. no. 212.959/GB


Installation

Mounting
NOTE
Ensure a good ground connection to the unit.

1. Prepare a panel cut-out with the dimensions of the PCB


cover (see figure 5) at the intended mounting location
and drill four holes (∅ 4.1 mm) for the fixing screws.

English
2. Insert the unit in the panel cut-out and fasten with the
screws.
NOTE
To obtain IP 65, the tightening torque for the fixing screws (with
level mounting surface) should exceed 1 Ncm (up to a maximum
of 10 Ncm).

FT 2000 Doc. no. 212.959/GB 9


Installation

Wiring
NOTE
For the RS 485 interface and input/output port assignments, see
Technical data, page 6.

1. Connect the unit to an external power supply (24 VDC).

2. Wire any input/output ports.

3. Wire the serial interface.


ATTENTION
Ensure a good electrical connection between shield and
connector housing. Connect the shield on both ends.
NOTE
The transmit/receive lines between the controller, e.g. WDP5-318,
and the FT 2000 must be interchanged (figure 6). This can be
achieved by using the crossover adapter (see Accessories, page 8).

e.g. WDP5-318
RS 485 interface FT 2000
1

1
6

6
2

2
7

TxD
3

TxD
TxD
8

TxD
4

RxD RxD
RxD
9

RxD
RGND RGND
5

9-pole 9-pole
male male
connector connector

FT 2000
1

6
2

7
3

TxD
TxD
8
4

RxD
9

RxD
RGND
5

9-pole
male
to other connector
slaves
Fig. 6 Wiring layout

10 FT 2000 Doc. no. 212.959/GB


Setup

During setup, the address, the display contrast and the required
operating mode are set. In addition, you can display the text
strings stored in the FT 2000.
Setup
The default settings ex works are master/slave mode and
address 1.

S1 menue To go to the S1 menue, proceed as follows:

English
1. Switch off the voltage on the FT 2000.
F1 F2 F3 F4 F5 F6 F7 F8

1 2 3 4 5 S1 S2

.
2. Press and hold the special key [S1].
6 7 8 9 0 –

setup mode
3. Switch on the voltage on the FT 2000.
password: * * ** (<-’ = end)

4. Enter the password “1992”.


1 9 9 2

NOTE
The password cannot be changed.
If you enter a different password, an error message is displayed.
1=change busaddr. 2=lcd contrast Starting in the main menue, you can go to the submenues by
3=change mode 4=text menue <-’=end
pressing the keys 1 to 4.

1. Bus address In this dialogue, you can change the bus address of the FT 2000.
1
Enter the desired address.
change bus address Valid range: 1 – 31
old addr.: 12 new addr.: 23

change bus address The current address is displayed for verification.


invalid address (1...31)

If an incorrect address is entered, an error message is displayed,


and the previous address is retained. If the input is valid, the new
address is stored in the EEPROM.

2. Display contrast In this dialogue, you can change the display contrast.
2
Enter the desired contrast setting.
change lcd contrast (0=bright 9=dark) Valid range: 0 – 9
old contr.: 5 new contr.[0...9]:

The currently set contrast is displayed for verification.

FT 2000 Doc. no. 212.959/GB 11


Setup

3. Mode In this dialogue, you can select either “master/slave” or “terminal”


3 mode.
change mode (act.=master/slave)
1=master/slave 2=terminal
Set the desired mode.
1 = Master/slave mode
2 = Terminal mode

The unit indicates readiness by “ready master/slave” or “ready


terminal”, respectively.

4. Text menue This submenue is used for administrating the texts. It consists of:
4 – Stored text display
– Enabling/disabling write protection
1=view text 2=erase all texts
3=lock text memory (<-’ = end) – Deleting all stored texts
1. View text In this dialogue, you can display all stored texts. In the first line
no: 0x0a 1=prev. 2=next (<-’ = end) on the left, the text number is displayed in hexadecimal format.
This is a sample text The second line displays the associated text.

Press the [1] or [2] key to display the previous or next stored text,
respectively.

2. Erase all texts You can use this menue option to delete all stored texts. To do
erase all stored texts from 0 to 0xa8 this, you also have to enter the password “1992”.
password: (<-’ = end)

erasing text 0xa8 of 0xa8 Immediately after entering the password, deletion starts and
all texts erased (<-’ = end)
cannot be interrupted.

3. Lock text memory You can use this dialogue to protect the text memory from being
text memory locked (<-’ = end) overwritten inadvertently or to disable this protection feature.

text memory unlocked (<-’ = end) The display shows the action performed.

12 FT 2000 Doc. no. 212.959/GB


Operation

Display

F1 F2 F3 F4 F5 F6 F7 F8 Function key block

English
1 2 3 4 5 S1 S2 Special keys

6 7 8 9 0 – .
Editing keys

Numerical key block

Fig. 7 Keyboard areas

The FT 2000 is operated via the membrane keyboard on the front


panel.

Data format The following data format is used for data transfer:
– ASCII
– 7 bits
– Even parity
– 9600 bauds
– 1 stop bit
Due to the data word width of 7 bit, transmission of ASCII
characters above 127 is not possible.
Operation

FT 2000 Doc. no. 212.959/GB 13


Operation – Master/slave mode

ready master/slave Master/slave mode can be selected during setup; see Setup,
page 12.

Protocol
Operation (handshake)
– Master/slave mode
Polling
NOTE
The first command to be issued after switching on must always
be the device polling command. The device address can be set
during setup; see Setup, page 11.

In order to ensure safe and reliable communication between the


master and several slaves no slave may send data without being
polled.
With a special polling command the master selects the slave with
which it tries to communicate.

The polled slave issues positive <ACK> or negative acknow-


ledgement <NAK> in response to each command, depending
upon whether the command was valid or invalid.

The slave does not acknowledge in case of a transmission error.

Example The master polls slave no. 14. For this purpose, it issues the
following command:

# 1 4 <CR>
23h 31h 34h 0Dh

The master is now able to communicate with the polled slave on


a one-to-one basis.

Control codes Abbreviation ASCII Meaning


value
<CR> 0Dh Carriage Return
<ACK> 06h Acknowledge (positive ack.)
<NAK> 15h Not Acknowledge (negative ack.)
<ESC> 1Bh For cursor control

Character transfer The characters are transferred as ASCII characters (see ASCII
table in Appendix, page 37) or in ASCII-encoded hexadecimal
format, depending on the command used.
For the ASCII encoded hexadecimal format a byte value (8 bits)
is encoded in hexadecimal format and then converted to ASCII
format.

Example Binary value 1000 1110 = 142 dec = 8E hex


“8” ASCII = 38 hex
“E” ASCII = 45 hex

14 FT 2000 Doc. no. 212.959/GB


Operation – Master/slave mode

Commands
General command syntax

Command Data Meaning


direction
<command>[data]<CR> ---> Command to slave
<ACK>[data]<CR> <--- Received command was found to be correct
by the slave. It returns positive acknowledge-

English
ment. Optionally, data can be transferred.
<NAK><CR> <--- The slave does not recognize the command.
No acknowledgement <--- The slave has detected a transmission error
and does not send any acknowledgement.

Command summary

Command Meaning Description


D Display (LCD) Character output on display including display control
(VT-52 emulation)
F Function key block Function key code interrogation
K Numerical key block Input of numerical values
I Input port Interrogating the inputs
Q Output port Setting the outputs
P Save/delete texts Save text (up to 40 characters each) in the FT 2000
R Output texts Output stored texts on the display
SD Display contrast Setting the display contrast
SK Status check Determine type of previous acknowledgement
SN Abort numerical Numerical input can be stopped by master
input operation

NOTE
Only capital letters may be used for commands.

FT 2000 Doc. no. 212.959/GB 15


Operation – Master/slave mode

Command description
Display (“D”) Each output string for ASCII character output and cursor control
is preceded by a “D”.

Data direction Command


Master ---> Slave D<string><CR>
F1 F2 F3 F4 F5 F6 F7 F8

1 2 3 4 5 S1 S2
Master <--- Slave <ACK><CR>
6 7 8 9 0 – .
The output characters are transferred in ASCII format.
Display output is limited to ASCII characters in the range from 32
to 127.
NOTE
The maximum number of characters is 40.

If a larger number of characters is transferred, the trailing char-


acters are suppressed, and a positive acknowledgement is re-
turned. An ASCII table for the LCD characters is included in the
Appendix, page 37.

Cursor control The cursor is controlled with commands from the VT-52 emula-
tion command set.

Cursor positioning

Command Meaning Description


<ESC> A Cursor up The cursor moves one line up (no line scrolling in
first line).
<ESC> B Cursor down The cursor moves one line down (no line scrolling
in last line).
<ESC> C Cursor right The cursor moves to the right by one space
(no line feed in last column).
<ESC> D Cursor left The cursor moves to the left by one space
(no reverse line feed in first column).
<ESC> H Cursor HOME The cursor jumps to 1st line, 1st column (HOME
position).
<ESC> Y <line><column> The cursor moves to the specified position. Line 1
cursor positioning and column 1 are addressed by 20h (32); this
means that a correction factor of 1Fh (31) must
always be added to the actual position value.

Example 1 To position the cursor in line 2, column 24, add 1Fh (31) to the
column and line values, i.e. line 2 has the value of 21h (33) and
column 24 has the value of 37h (55). The master sends the
following command:

D ESC Y ! 7 <CR>
44h 1Bh 59h 21h 37h 0Dh

16 FT 2000 Doc. no. 212.959/GB


Operation – Master/slave mode

Example 2 The cursor is located in line 2, column 2.


The text string “Display:” is to be output in line 1, starting in
column 1. The following commands must be issued from the
master to the FT 2000:

D <ESC> H <CR> Cursor in HOME position


44h 1Bh 48h 0Dh

<ACK> <CR> Positive acknowledgement

English
06h 0Dh

D D i s p l a y : <CR>
44h 44h 69h 73h 70h 6Ch 61h 79h 3Ah 0Dh

The FT 2000 returns the following acknowledgement to the


master:

<ACK > <CR> Positive acknowledgement


06h 0Dh

Delete display areas

Command Meaning Description


<ESC> o Delete from beginning To delete the line from the beginning to the current
of line position (including the current position). The cursor
position is not changed.
<ESC> K Delete to end of line To delete the line from the current cursor position to
the end of the line. The cursor position is not
changed.
<ESC> l Delete line To delete the line in which the cursor is currently
located. The cursor position is not changed.
<ESC> E Clear display To delete everything from the display. The cursor is
moved to line 1, column 1 (HOME position).

Configuration

Command Meaning Description


<ESC> x9 Auto CR on Upon receiving an <LF> (0Ah), a <CR>/<LF> is
(default setting) carried out on the display, i.e. when an LF is
received the cursor moves one line down to the first
column of the second line. If the cursor is in the
bottom line, it merely moves to the first column of
the same line.
<ESC> y9 Auto CR off Upon receiving an <LF> (0Ah), the cursor moves
one line down, but remains in the same column. If
the cursor is in the bottom line, the command has
no effect.

FT 2000 Doc. no. 212.959/GB 17


Operation – Master/slave mode

Function key block (“F”)

Data direction Command


Master ---> Slave F<CR>
F1 F2 F3 F4 F5 F6 F7 F8

1 2 3 4 5 S1 S2
Master <--- Slave <ACK><data><CR>
6 7 8 9 0 – .
In function key interrogation the code of the function key pressed
is returned in the acknowledgement.

If no function key is pressed, 00 is returned.


The code is transferred in ASCII encoded hexadecimal format,
i.e. two bytes are transmitted to the master.

Example Function key F1 is pressed.


The master sends the following command to the FT 2000:

F <CR> Function key code interrogation


46h 0Dh

The FT 2000 returns the following acknowledgement to the


master:

<ACK> 0 1 <CR> Function key F1 is pressed


06h 30h 31h 0Dh

NOTE
As a consequence of the electrical layout it is not possible to
recognize 2 or more keys being simultaneously pressed. In these
cases a keypress will be recognized, however, it is unpredictable
to which key it refers.

18 FT 2000 Doc. no. 212.959/GB


Operation – Master/slave mode

Numerical key block (“K”)

Data direction Command


Master ---> Slave K[<default value>]<CR>
F1 F2 F3 F4 F5 F6 F7 F8

1 2 3 4 5 S1 S2
Master <--- Slave <ACK>[<number string>]<CR>
6 7 8 9 0 – .
The “K” command allows transmission of a default value which
can be freely edited by the user. When the command is called,
the keyboard is enabled. The default value is indicated on the

English
display and can be edited with the numerical key block and the
following keys: [.], [-], [←].

The [↵] key terminates the entry and disables the keyboard to
prevent any further input.

The entered number string is transmitted to the master with the


next “K” command acknowledgement.
The length of the number string is limited to the length of the
display line.

The maximum length of the default value with the “K” command
Column: 1 10 11 39 40
is 40 characters. If an input prompt was displayed with the display
Input: 12 9_
command, the length of the default value with the “K” command
is reduced by the length of the display command prompt text.

Column
1 to 10 Input prompt text
11 to 40 Entry area for characters
40 Correction cursor

If the default value with the “K” command is larger than the
maximum remaining length of the default value, the following
characters are suppressed, and positive acknowledgement is
issued also in this case.
The input area for numerical input is limited to the column before the
last column (i.e. 40) on the display. The correction cursor is always
one column behind the last input value. (Exception: If the last input
value is in column 40, the cursor is under the last character).

If a “K” command is received before data entry is completed by


pressing [↵], a positive acknowledgement without data is trans-
mitted to the master.
NOTE
To prevent numerical input permanently or temporarily, use the
system command “SN”.

FT 2000 Doc. no. 212.959/GB 19


Operation – Master/slave mode

A “K” command can only be recognized by the master if at least


one character is contained in the editable display area before the
[↵] key is pressed. If the user is merely prompted to confirm an
action (e.g. “Press key to start”), this should be implemented by
means of a function key (“F” command).

During data entry via the keyboard the FT 2000 does not have
to be selected; the master can communicate with other devices
in the meantime or process other commands, such as reading
inputs, in a parallel operation.
NOTE
During execution of a “K” command, a “D” command is not permitted.
(The display contents is overwritten by a “D” command).

Example The master requests numerical input from the user via the FT 2000
and transmits a default value of -100.25:

K - 1 0 0 . 2 5 <CR> Transmit
4Bh 2Dh 31h 30h 30h 2Eh 32h 35h 0Dh default value

The user changes the default to -220.22 and completes the entry
with [↵]. With the next “K” command, the FT 2000 returns the number
string in the acknowledgement to the master (see figure 8):

<ACK> - 2 2 0 . 2 2 <CR> Transmit posi-


06h 2Dh 32h 32h 30h 2Eh 32h 32h 0Dh tive acknow-
ledgement and
changed value

NOTE
As a consequence of the electrical layout it is not possible to
recognize 2 or more keys being simultaneously pressed. In these
cases a keypress will be recognized, however, it is unpredictable
to which key it refers.

20 FT 2000 Doc. no. 212.959/GB


Operation – Master/slave mode

Master sends
“K” command with
default value

Default value is
edited on FT 2000

English
Simple Master sends
acknowledge to master “K” command
<ACK><CR>

No Input
completed by
?

Yes

Acknowledge with
edited value to master
<ACK><value><CR>
Fig. 8 “K” command
flow chart

FT 2000 Doc. no. 212.959/GB 21


Operation – Master/slave mode

Input port (“I”)

Data direction Command


Master ---> Slave I<CR>
F1 F2 F3 F4 F5 F6 F7 F8

1 2 3 4 5 S1 S2
Master <--- Slave <ACK><value><CR>
6 7 8 9 0 – .
With the “I” command, the values of the FT 2000 inputs can be
E/A Port RS 485
read in. The value of the inputs is returned by the FT 2000 to the
master in ASCII encoded hexadecimal format.

Example The master reads the input value by transmitting the following
command:

I <CR> Input read


49h 0Dh

The FT 2000 responds with the following acknowledgement:

<ACK> 2 E <CR> Transmit positive


06h 32h 45h 0Dh acknowledgement and
input value

After conversion to binary code the value 2Eh reveals which


inputs are set.
2Eh = 0010 1110, i.e. the inputs I1, I2, I3 and I5 are set.

22 FT 2000 Doc. no. 212.959/GB


Operation – Master/slave mode

Output port (“Q”)

Data direction Command


Master ---> Slave Q<value><CR>
F1 F2 F3 F4 F5 F6 F7 F8

1 2 3 4 5 S1 S2
Master <--- Slave <ACK><CR>
6 7 8 9 0 – .
The outputs of the FT 2000 can be set with the “Q” command.
E/A Port RS 485
For this purpose, the master sends the “Q” command with the
value for the outputs to be set to the FT 2000 in ASCII encoded

English
hexadecimal format.

Example The master intends to set the outputs Q1, Q2, Q3 and Q5. For
this purpose, the outputs must be converted from binary to
hexadecimal format, for example, 00101110 equals 2Eh. The
master sends the following command to the FT 2000:

Q 2 E <CR> Transmit command for


51h 32h 45h 0Dh setting outputs

The FT 2000 returns the following acknowledgement:

<ACK> <CR> Positive acknowledgement

NOTE
When the serial link is interrupted, the output status is retained.

FT 2000 Doc. no. 212.959/GB 23


Operation – Master/slave mode

System command The following FT 2000 system commands are available:


(“S<command>”)
SD Set display contrast (0...9)
SK Status check
SN Stop numerical input operation
Status check (,,SK“) Data direction Command
Master ---> Slave SK<CR>
Master <--- Slave <ACK><status byte><CR>

The status check system command can be used by the master to


determine the type of the previous acknowledgement of a selected
FT 2000.

7 6 5 4 3 2 1 0 Bit no.
Bits 0 to 4 and 6 are not assigned
Bit 5 or 7 may take the value
of 0 or 1

Bit 5:
0 = Output port o.k.
1 = Error on output port

Bit 5 is set to 1 if the output port is overloaded or if there is a


short-circuit. An error message is not output on the display, i.e.
the display remains unchanged. In case of an error the output
command is not executed by the FT 2000 and therefore triggers
negative acknowledgement. If the cause of the error is elimi-
nated, the device continues to operate.

Bit 7:
0 = Previous command had negative acknowledgement
1 = Previous command had positive acknowledgement

For transmission errors, see Transmission errors, page 26.


The status byte is transmitted in ASCII encoded hexadecimal
format.

Example The master has received acknowledgement with a transmission


error. It requests the slave to indicate whether the previous
command was properly recognized by means of the “SK” system
command:

S K <CR> Obtain previous status


53h 4Bh 0Dh

The FT 2000 returns the following acknowledgement to the master:

<ACK> 8 0 <CR> Transmit previous status


06h 38h 30h 0Dh Bit 7 has value 1

The FT 2000 had recognized the previous command to be correct


and therefore issued positive acknowledgement.

24 FT 2000 Doc. no. 212.959/GB


Operation – Master/slave mode

Set display contrast (“SD”)

Data direction Command


Master ---> Slave SD<contrast><CR>
F1 F2 F3 F4 F5 F6 F7 F8

1 2 3 4 5 S1 S2
Master <--- Slave <ACK><CR>
6 7 8 9 0 – .
This system command is used for setting the LCD contrast. The
set value is stored in EEPROM and is automatically used when
the device is next switched on.

English
The system command takes the contrast value as a parameter.
This value may be within the range from 0 to 9, where 0 is the
minimum and 9 is the maximum setting.

The value is checked for plausibility, and values >9 are ignored.

Example The FT 2000 display contrast is to be set to 4 by the master. The


following command is transmitted from the master to the FT 2000:

S D 4 <CR> Transmit contrast value


53h 44h 34h 0Dh

The FT 2000 returns the following acknowledgement:

<ACK> <CR> Positive acknowledgement

Stop numerical input The master has the option to abort a “K” command and to return
operation (“SN”) to normal status. This is useful, for example, when a numerical
input operation is not completed within an application-specific
response time limit by pressing [↵].

In this case the master sends the following command:

S N <CR> Stop numerical input operation


53h 4Eh 0Dh

FT 2000 Doc. no. 212.959/GB 25


Operation – Master/slave mode

Transmission errors If the slave detects a transmission error, it does not return an
acknowledgement to the master and deselects itself. The master
Transmission error can detect the transmission error by means of an acknow-
Master ---> Slave ledgement failure timeout check and respond as required by the
application in question (e.g. repeat the command).

Example

Data direction Command Observations


Master ---> Slave Q<value><CR> Set outputs
Master <--- Slave <ACK><CR> Positive acknowledgement
Master ---> Slave I<CR> Interrogate inputs
Master ---> Slave Command error 1. Slave detects transmission error
2. Master timeout check
3. Master detects slave timeout and tries
to repeat the job
Master ---> Slave #1<CR> Master polls slave 1
Master ---> Slave I<CR> Interrogate inputs
Master <--- Slave <ACK>3F<CR> Slave returns value of inputs

Transmission error When the master detects a transmission error, it cannot determi-
Slave ---> Master ne whether the previous command triggered positive <ACK> or
negative <NAK> acknowledgement by the slave. Therefore, it is
uncertain whether the slave had interpreted and executed the
command properly or whether it was invalid.

Repetition of the command might have fatal consequences.

In order to prevent such consequences, the FT 2000 was pro-


vided with the “status check” system command (see System
command (“S<command>”), page 24).

26 FT 2000 Doc. no. 212.959/GB


Operation – Master/slave mode

Save/delete text (“P”)

Data direction Command


Master ---> Slave P<xx><Text>
Master <--- Slave <ACK><CR>

You can use the “P” command to save texts or delete stored texts
in the EEPROM of the FT 2000.

English
<xx> specifies the number under which the text is stored.
Enter a number in hexadecimal format with leading zeroes
(01-0F hex).
<Text> specifies the text string to be stored. Any text stored
previously under the same number will be overwritten.
An empty text string is equivalent to the deletion command,
i.e. the text item is deleted from the EEPROM.

Negative acknowledgement (<NAK>) is returned if:


– memory protection is enabled (see page 12)
– the text number is not within the valid range
– the command format is invalid.
Example To save the text “This is a sample text” under the number 10, the
master sends the following command to the FT 2000:

P 0 A This is a sample text


50h 30h 41h

The FT 2000 returns the following acknowledgement:

<ACK> <CR> Positive acknowledgement

NOTE
The number of texts is limited by the EEPROM’s memory capacity.
With the presently installed EEPROM, you can save a maximum
of 168 texts, i.e. the greatest valid text number in hexadecimal
format is A8.
NOTE
The stored texts can be viewed in the S1 menue of the FT 2000;
it is not necessary to connect the FT 2000 to a master for this
purpose (see page 12).
NOTE
In order to prevent inadvertent overwriting of stored texts, you
can enable memory protection in the S1 menue (see page 12).

FT 2000 Doc. no. 212.959/GB 27


Operation – Master/slave mode

Output stored text (“R”)

Data direction Command


Master ---> Slave R<xx><y>
Master <--- Slave <ACK><CR>

You can use the “R” command to output texts stored in the FT 2000
on the display.

<xx> specifies the number under which the text is stored in the
FT 2000. Enter a number in hexadecimal format with
leading zeroes (01-0F hex).
<y> specifies the display line in which the text is to be output.
Enter the number in hexadecimal format; the first line
corresponds to 0h.

Negative acknowledgement (<NAK>) is returned if:


– the text number is not within the valid range
– the command format is invalid.
Example To output the text stored under the number 10 in the second display
line, the master sends the following command to the FT 2000:

R 0 A 1
52h 30h 41h 31h

The FT 2000 returns the following acknowledgement:

<ACK> <CR> Positive acknowledgement

NOTE
The stored texts can be viewed in the S1 menue of the FT 2000;
it is not necessary to connect the FT 2000 to a master for this
purpose (see page 12).

28 FT 2000 Doc. no. 212.959/GB


Operating – Terminal mode

ready terminal Terminal mode can be selected during setup; see Setup, page 12.
Operating – Terminal mode

Polling
NOTE
The first command after switching on must always be the device
polling command. The device address can be selected during
setup; see Setup, page 11.

English
Example The following command can be used to poll the FT 2000 with the
address 14.

# 1 4 <CR>
23h 31h 34h 0Dh

You can now transmit or receive data.

Control codes Abbreviation ASCII Meaning


value
<NUL> 00h For function key identification
<BS> 08h Move cursor by one character to
the left
<LF> 0Ah Move cursor to the next line
<CR> 0Dh Move the cursor to the beginning
of the line
<ESC> 1Bh For cursor control
<DEL> 7Fh Delete the character to the left of
the cursor

FT 2000 Doc. no. 212.959/GB 29


Operating – Terminal mode

Cursor control The cursor is controlled with commands from the VT-52 emula-
tion command set.

Cursor positioning

Command Meaning Description


<ESC> A Cursor up The cursor moves one line up (no line scrolling in first
line).
<ESC> B Cursor down The cursor moves one line down (no line scrolling in
last line).
<ESC> C Cursor right The cursor moves to the right by one space (no line
feed in last column).
<ESC> D Cursor left The cursor moves to the left by one space (no reverse
line feed in first column).
<ESC> H Cursor HOME The cursor moves to line 1, column 1 (HOME position).
<ESC> Y <line><column> The cursor moves to the specified position. Line 1 and
cursor positioning column 1 are addressed by 20h (32); this means that a
correction factor of 1 Fh (31) must always be added to
the actual position value.

Examples To position the cursor in line 2, column 24.


Add 1 Fh (31) to the column and line values, i.e. line 2 has the
value 21h (33) and column 24 has the value of 37h (55). The
following command must be issued:

<ESC> Y ! 7
1Bh 59h 21h 37h

The cursor is located in line 2, position 2.


The text string “Display:” is to be output in line 1, starting in
column 1.

<ESC> H <CR> Cursor in HOME position


1Bh 48h 0Dh,

D i s p l a y : <CR>
44h 69h 73h 70h 6Ch 61h 79h 3Ah 0Dh

30 FT 2000 Doc. no. 212.959/GB


Operating – Terminal mode

Clear display areas

Command Meaning Description


<ESC> o Delete from To delete the line from the beginning to the current
beginning of line position (including the current position). The cursor
position is not changed.
<ESC> K Delete to end of line To delete the line from the current cursor position to
the end of the line. The cursor position is not changed.

English
<ESC> l Delete line To delete the line in which the cursor is currently
located. The cursor position is not changed.
<ESC> E Clear display To delete everything from the display. The cursor is
moved to line 1, column 1 (HOME position).

Configuration

Command Meaning Description


<ESC> x9 Auto <CR> on Upon receiving an <LF> (0Ah), a <CR>/<LF> is
(default setting) executed on the display, i.e. when an LF is received,
the cursor moves one line down to the first column of
the second line. If the cursor is in the bottom line, it
merely moves to the first column of the same line.
<ESC> y9 Auto CR off Upon receiving an <LF> (0Ah), the cursor moves one
line down, but remains in the same column. If the
cursor is in the bottom line, the command has no
effect.

FT 2000 Doc. no. 212.959/GB 31


Operating – Terminal mode

Function keys When pressing the function keys, the following characters are
sent by default:
Standard assignment
F1
→ <NUL>;
F2
→ <NUL><
F3
→ <NUL>=
F4
→ <NUL>>
F5
→ <NUL>?
F6
→ <NUL>@
F7
→ <NUL>A
F8
→ <NUL>B

Changing the function The function key assignment can be changed by issuing the
key assignment following ESC sequences:

F1
← ’<ESC>[<NUL>;<new character>p’
F2
← ’<ESC>[<NUL><<new character>p’
F3
← ’<ESC>[<NUL>=<new character>p’
F4
← ’<ESC>[<NUL>><new character>p’
F5
← ’<ESC>[<NUL>?<new character>p’
F6
← ’<ESC>[<NUL>@<new character>p’
F7
← ’<ESC>[<NUL>A<new character>p’
F8
← ’<ESC>[<NUL>B<new character>p’

Example To assign the function key F1 with X, issue the following ESC
sequence:

F1
← ’<ESC>[<NUL>;Xp’

When pressing F1, the following characters are sent:

F1
→ X

Switching the keyboard The keyboard can be switched on or off with the following ESC
on or off sequences:

’<ESC>>’ to switch on
’<ESC>=’ to switch off

32 FT 2000 Doc. no. 212.959/GB


Operating – Terminal mode

Save text in FT 2000 You can use the following ESC command command to save texts
in the EEPROM of the FT 2000 or delete previously stored texts.

’<ESC>P<xx><Text>’

<xx> specifies the number under which the text is stored. Enter
a number in hexadecimal format with leading zeroes
(01-0F hex).
<Text> specifies the text string to be stored. Any text stored
previously under the same number will be overwritten.

English
An empty text string is equivalent to the deletion command,
i.e. the text item is deleted from the EEPROM.

Example To save the text “This is a sample text” under the memory number
10, send the following ESC command:

’<ESC>P0AThis is a sample text’


NOTE
See also the “P” command for saving/deleting text on page 27.

Output stored text You can use the following ESC command to output texts stored
on display in the FT 2000 on the display.

’<ESC>R<xx><y>’

<xx> specifies the number under which the text is stored in the
FT 2000. Enter a number in hexadecimal format with
leading zeroes (01-0F hex).
<y> specifies the display line in which the text is to be output.
Enter the number in hexadecimal format; the first line
corresponds to 0h.

Example To output the text stored under the number 10 in the second
display line, send the following command:

’<ESC>R0A1’
NOTE
See also the “R” command for outputting stored text on page 28.

FT 2000 Doc. no. 212.959/GB 33


Functional test

If you press the special key S2 within 1.5 seconds after switching
on, the functional test is carried out. An initial message appears
F1 F2 F3 F4 F5 F6 F7 F8
on the display with the password prompt. The default password
1 2 3 4 5 S1 S2
is “1992”.
Functional test
6 7 8 9 0 – .

functional test mode


password: * * * * (<-’ = end)

Functional test The main menue consists of 4 options which can be selected by
main menue pressing the corresponding number key.
1
1=keyboard 2=bus interface Keyboard test
3=input 4=output (<-’ = end)
2
Interface test
3
Input test (only in master/slave mode)
4
Output test (only in master/slave mode)

Keyboard test When pressing the key [1] from the main menue the keyboard
test submenue is displayed. Here, the keyboard can be checked
by pressing the individual keys.
keyboard test (<-’ = end)
pressed key: S1 Upon pressing the keys their designations are displayed in plain
text. To exit the keyboard test press the [↵] key.

Interface test In order to be able to carry out the interface test a shorting
terminator must be plugged into the RS 485 interface.
The wiring is illustrated in figure 9.
send: ’FT2000’
received: ’FT2000’ (<-’ = end)
1

6
2

TxD
3

TxD
8

RxD
4

RxD
9
5

Fig. 9 Shorting 9-pole


connector
terminator assignment

When pressing the key [2] from the main menue the interface
test submenue is displayed. In order to be able to carry out the
interface test a shorting terminator must be plugged into the
sub-D connector. To exit the interface test press the [↵] key.

34 FT 2000 Doc. no. 212.959/GB


Functional test

Input test This functional test is only available in master/slave mode.

3 When pressing the key [3] from the main menue the input test
submenue is displayed, showing the current state of the inputs.
input test (<-’ = end)
status (I7...I0): 0 0 0 0 0 0 0 0
1 A signal is present on the input.
0 No signal is present on the input.

To exit the input test, press the [↵] key.

English
Output test This functional test is only available in master/slave mode.

4 When pressing the key [4] from the main menue the output test
submenue is displayed, showing the current state of the outputs.
The outputs can be set or cleared with the [-] key.
output set/clear (<-’ = end)
1...8=Q0-Q7 ’-’ = set/clear

output set/clear (<-’ = end)


status (Q7...Q0) : 0 0 0 0 0 0 0 0

output set/clear (<-’ = end)


output overload

Example Output 7 is not set, but is to be set.


Press the following keys:

7
Select output 7

Set output 7

To exit the output test, press the [↵] key.


NOTE
If the output is overloaded or if there is a short-circuit, the error
message “output overload” is displayed.

FT 2000 Doc. no. 212.959/GB 35


Maintenance

Maintenance contract In order to avoid times of standstill in case of unit failure,


SIG BERGER LAHR offer individual maintenance and service
contracts.
Maintenance
For information on these contracts, contact the following address:

SIG Positec Automation GmbH


Abteilung Technische Dienste
Breslauer Str. 7

D-77933 Lahr

Telephone (07821) 946-02

36 FT 2000 Doc. no. 212.959/GB


Appendix

ASCII table

HEX DEC CHAR HEX DEC CHAR HEX DEC CHAR HEX DEC CHAR HEX DEC CHAR
00h 00 (NUL) 1Ah 26 (SUB) 34h 52 4 4Eh 78 N 68h 104 h
01h 01 (SOH) 1Bh 27 (ESC) 35h 53 5 4Fh 79 O 69h 105 i
02h 02 (STX) 1Ch 28 (FS) 36h 54 6 50h 80 P 6Ah 106 j
03h 03 (ETX) 1Dh 29 (GS) 37h 55 7 51h 81 Q 6Bh 107 k
04h 04 (EOT) 1Eh 30 (RS) 38h 56 8 52h 82 R 6Ch 108 l

English
05h 05 (ENQ) 1Fh 31 (US) 39h 57 9 53h 83 S 6Dh 109 m
06h 06 (ACK) 20h 32 blk 3Ah 58 : 54h 84 T 6Eh 110 n
07h 07 (BEL) 21h 33 ! 3Bh 59 ; 55h 85 U 6Fh 111 o
08h 08 (BS) 22h 34 " 3Ch 60 < 56h 86 V 70h 112 p
09h 09 (HT) 23h 35 # 3Dh 61 = 57h 87 W 71h 113 q
0Ah 10 (LF) 24h 36 $ 3Eh 62 > 58h 88 X 72h 114 r
0Bh 11 (VT) 25h 37 % 3Fh 63 ? 59h 89 Y 73h 115 s
0Ch 12 (FF) 26h 38 & 40h 64 @ 5Ah 90 Z 74h 116 t
0Dh 13 (CR) 27h 39 ’ 41h 65 A 5Bh 91 [ 75h 117 u
0Eh 14 (SO) 28h 40 ( 42h 66 B 5Ch 92 ¥ 76h 118 v
0Fh 15 (SI) 29h 41 ) 43h 67 C 5Dh 93 ] 77h 119 w
10h 16 (DLE) 2Ah 42 * 44h 68 D 5Eh 94 ^ 78h 120 x
11h 17 (DC1) 2Bh 43 + 45h 69 E 5Fh 95 _ 79h 121 y
12h 18 (DC2) 2Ch 44 , 46h 70 F 60h 96 ‘ 7Ah 122 z
13h 19 (DC3) 2Dh 45 - 47h 71 G 61h 97 a 7Bh 123 {
14h 20 (DC4) 2Eh 46 . 48h 72 H 62h 98 b 7Ch 124 |
15h 21 (NAK) 2Fh 47 / 49h 73 I 63h 99 c 7Dh 125 }
16h 22 (SYN) 30h 48 0 4Ah 74 J 64h 100 d 7Eh 126 →
17h 23 (ETB) 31h 49 1 4Bh 75 K 65h 101 e 7Fh 127 (DEL)
18h 24 (CAN) 32h 50 2 4Ch 76 L 66h 102 f
19h 25 (EM) 33h 51 3 4Dh 77 M 67h 103 g

Appendix

FT 2000 Doc. no. 212.959/GB 37


Appendix

Abbreviations ACK Acknowledge

ASCII American Standard Code for Information


Interchange

BS Backspace

CR Carriage return

D Display

DC DC voltage

DEL Delete

Doc. no. Documentation number

F Function key block

HU Height unit

Hex Hexadecimal code

I Input

K Numerical key block

LCD Liquid-crystal display

LF Line feed

NAK Not Acknowledge

NUL Null

PC Personal Computer

PLC Programmable Logic Controller

Q Output

SD Display contrast

SK Status check

SN Stop numerical input

38 FT 2000 Doc. no. 212.959/GB


Documentation Technique

Terminal de commande

DOKU-DRU

F1 F2 F3 F4 F5 F6 F7 F8 FT 2000
1 2 3 4 5 S1 S2

6 7 8 9 0 – .
Doc. No.: 212.959/F
No. d’ident.: 00441108632
Edition: a000 Décembre 96

Français

Conseil, commercialisation et assistance:

SIG Positec Automation GmbH


Breslauer Str. 7 • D-77933 Lahr
Tel. (07821) 946-02 • Fax (07821) 946-220
Prescriptions de sécurité

Veuillez lire les prescriptions de sécurité avant l’installation, la


manipulation, l’entretien et la réparation du dispositif.
Prescriptions de sécurité
• Le domaine d’utilisation du dispositif (“Application”) est spécifié
de cette documentation technique et, doit être respecté.
• L’installation, l’entretien et la réparation doivent être réalisés par
un électricien compétent tout en respectant les régulations spéci-
fiques du pays concernant
– la prévention des accidents
– l’érection d’installations électriques et mécaniques
– l’antiparasitage.
• Les caractéristiques techniques et, en particulier, les conditions
ambiantes doivent être respectées.
• Le dispositif doit être manipulé par le personnel instruit.
• En cas de modifications arbitraires ou de l’ouverture du dispositif,
nous n’assumons aucune garantie.
• Veuillez contacter l’expert technique avant de monter des acces-
soires qui ne sont pas listés (“Accessoires”).
• Les symboles et prescriptions de sécurité au dispositif et dans la
documentation technique doivent absolument être respectés.

Explication des symboles


ATTENTION
signale un danger pour le dispositif ou les composants de
l’installation; un danger subséquent peut en résulter pour
l’utilisateur.
DANGER
signale un danger direct pour l’utilisateur.
DANGER
Danger d’électrocution dû à une tension élevée au compo-
sant.
DANGER
Danger en touchant le composant dû aux températures
élevées au composant.
ATTENTION
Symbole indicateur de décharges électrostatiques ESD
(Electro Static Discharge). La carte embrochable ou les
composants ne doivent être touchés que dans un environ-
nement électrostatiquement protégé.
NOTE
Des informations importantes ou supplémentaires concernant le
dispositif ou la documentation technique.

2 FT 2000 Doc. No. 212.959/F


Description générale

Construction et
caractéristiques
Le terminal de commande FT 2000 est un terminal compact pour
l’introduction et la visualisation de données. Les modes d’exploi-
tation
– maître/esclave ou
– terminal
peuvent être réglés sur le dispositif, voir Fonctions, page 4.
Description générale
Le dispositif a été conçu pour le montage dans un pupitre de
commande ou une platine frontale.

Le FT 2000 comporte:
– un affichage à cristaux liquides (LCD) pour la visualisation
de 2 x 40 caractères maxi
– un clavier à effleurement à 24 touches

Français
– une interface RS 485 (à 4 fils)
– un point d’entrée et un point de sortie à une largeur de
données de 8 bits respectivement (8 entrées non décou-
plées et 8 sorties résistantes aux courts-circuits)

Application La commande via une interface RS 485 au moyen d’un jeu de


caractères ASCII ou de commandes assure l’application univer-
selle du FT 2000.
Le dispositif peut être utilisé p.ex. pour:
– la visualisation de messages
– l’introduction de valeurs
– la lecture d’interrupteurs (uniquement en mode maître/
esclave)
– la commande de lampes témoins (uniquement en mode
maître/esclave)

F1 F2 F3 F4 F5 F6 F7 F8

1 2 3 4 5 S1 S2

6 7 8 9 0 – .

Fig. 1 Terminal de
commande FT 2000

FT 2000 Doc. No. 212.959/F 3


Description générale

Fonctions
Mode maître/esclave Le FT 2000 est connecté, via une interface RS 485, au maître.
La communication s’effectue selon le principe de maître/esclave.
Les dispositifs dits esclaves exécutent les instructions du maître.
L’esclave répond à chaque instruction du maître en sortant un
accusé de réception positif ou négatif. Afin d’assurer la commu-
nication sûre, aucun esclave n’est autorisé de transmettre des
données sans demande. Cette demande est réalisée par une
commande d’adressage spécifique que le maître utilise pour
sélectionner l’esclave avec lequel il veut ensuite entrer en com-
munication (voir Maniement, page 14).

La communication avec l’esclave précédemment sélectionné est


interrompue lors de la réception d’une autre adresse.

Ensuite, la commande peut communiquer avec le FT 2000 adressé


de la même manière qu’à travers une communication un à un.
Les tâches listées ci-après peuvent être réalisées à travers cette
communication:
– Visualisation de textes sur l’affichage
– Commande de l’affichage au moyen du répertoire des
instructions limité VT52
– Interrogation du clavier numérique
– Interrogation des touches de fonction
– Interrogation des entrées
– Positionnement des sorties
– Sortie et édition de valeurs prédéfinies
Mode de terminal En mode de terminal, la fonction du dispositif se limite à celle-ci
d’un simple terminal ASCII, ce qui signifie que les caractères
reçus sont visualisés sur l’affichage et les caractères introduits
transmis à travers l’interface RS 485. En mode de terminal, il est
possible de désactiver le clavier. Dans ce cas, seuls les ca-
ractères reçus sont visualisés; l’introduction n’est plus possible.

Adressage Afin de faciliter la communication avec le FT 2000, le dispositif doit


d’abord être sélectionné en utilisant une commande d’adressage.
Les modes d’exploitation ainsi que l’adresse du dispositif sont
réglés lors de la Mise en service, pages 11 et 12.

ordinateur personnel
API
WP-311
WDP5-318
etc.
RS 485

FT 2000 FT 2000 FT 2000

Fig. 2 Principe de la Dispositif 1 Dispositif 2 Dispositif 3 31 maxi


connexion en réseau

4 FT 2000 Doc. No. 212.959/F


Caractéristiques techniques

Caractéristiques Tension d’alimentation du système 24 Vc.c. (20 à 30 Vc.c.)


électriques
Tension d’alimentation E/S 24 Vc.c. (20 à 30 Vc.c.)
(raccordée à la tension d’alimentation du système)
Intensité du courant d’utilisation
sans charge externe 250 mA à 24 V
Résistance de fuite interne par rapport à la terre 100 kOhm
ATTENTION
Les entrées de signal ainsi que la tension d’alimentation
24 Vc.c. doivent être séparées sûrement du réseau. La tension
maximale par rapport à la terre ne doit pas excéder 60 Vc.c.
Caractéristiques techniques
Affichage à cristaux liquides (LCD) 2 x 40 caractères
Clavier à effleurement 24 touches
8 entrées numériques 0 à 4 V = low

Français
15 à 30 V = high
Couplées directement
8 sorties numériques
résistantes aux courts-circuits (2 A maxi)
commutant “+”
avec polarisation
Courant de sortie maxi par sortie 0,2 A
Courant de sortie maxi total 0,8 A
Niveau high mini tension d’alimentation E/S - 2,5 V
Courant résiduel maxi 1 mA

Fig. 3 Raccords RS 485 0V +24V Q7 Q6 Q5 Q4 Q3 Q2 Q1 Q0 I7 I6 I5 I4 I3 I2 I1 I0

sur la paroi arrière Sorties Entrées


du dispositif

FT 2000 Doc. No. 212.959/F 5


Caractéristiques techniques

Interface RS 485 (à 4 fils)

Broche Signal Signification


3 TxD Données transmises inverties
4 RxD Données réceptrices inverties
5 RGND Signal ground
8 TxD Données transmises
9 RxD Données réceptrices

6
2

7
TxD
3

TxD
8

RxD
4

RxD
9

RGND
5

Fig. 4 Affectation de
l’interface RS 485

Type de protection
Dispositif selon DIN 40050 (IEC 529) IP 00
En état monté IP 65

6 FT 2000 Doc. No. 212.959/F


Caractéristiques techniques

Caractéristiques Dimensions voir figure 5


mécaniques Longueur 220 mm
Largeur 132,5 mm (3 unités d’hauteur (HE))
Profondeur totale env. 45 mm

Conditions ambiantes Température de service 0° à +40°C


Température de stockage -25° à +70°C
Immunité à la perturbation
selon IEC 801-2 degré d’acuité 3
selon IEC 801-4 degré d’acuité 2
Résistance à l’humidité selon IEC partie 2-3 contrôlée pour:
Température de l’air +40°C
Humidité relative de l’air 92%
Durée d’essai 56 jours
Exposition à la rosée interdite

Français
Vis de
fixation M4

Couvercle
de platine
108 ±5
100 ±5

(profondeur
132,5
121,5

48,5 mm)

Corde de
garniture
3 mm
11

188 ±5
3 192 ±5
11 209
220

Fig. 5 Dimensions

FT 2000 Doc. No. 212.959/F 7


Installation

Volume de livraison Contrôler si le volume de livraison est complet.


Le volume de livraison comprend:

Qté. Désignation
1 Terminal de commande FT 2000
1 Documentation FT 2000

Accessoires Les accessoires listés ci-après sont disponibles:

Désignation Numéro de réf.


Inverseur de signal à 9 pôles pour 62501511001
interface RS 485

Installation

8 FT 2000 Doc. No. 212.959/F


Installation

Montage
NOTE
La bonne connexion de terre du dispositif doit être assurée.

1. Scier une encoche ayant les dimensions du couvercle


de platine (voir figure 5) dans la surface de montage
prévue et forer quatre trous (Ø 4,1 mm) pour les vis
de fixation.

2. Encastrer le dispositif dans l’encoche de la surface de


montage et visser.
NOTE
Afin d’obtenir IP 65, le couple de serrage des vis de fixation (pour
une surface de montage plane) doit excéder 1 Ncm (mais 10 Ncm
maxi).

Français

FT 2000 Doc. No. 212.959/F 9


Installation

Câblage
NOTE
Vous trouverez l’affectation de l’interface RS 485 et des entrées/
sorties, voir Caractéristiques techniques, page 6.

1. Câbler le dispositif à une source de tension externe


(24 Vc.c.).

2. Câbler des entrées/sorties éventuelles.

3. Câbler l’interface sérielle.


ATTENTION
La bonne connexion électrique entre le blindage et le loge-
ment de prise doit être assurée. Protéger la ligne, sur les
deux côtes, par un blindage.
NOTE
Les lignes de transmission/réception entre la commande p.ex.
WDP5-318 et le terminal FT 2000 doivent être croisées (figure 6).
Cela peut être réalisé par l’inverseur de signal, voir Accessoires,
page 8.

p.ex. WDP5-318 FT 2000


interface RS 485
1

1
6

6
2

2
7

TxD
3

TxD
TxD
8

TxD
4

RxD RxD
RxD
9

RxD
RGND RGND
5

Connecteur Connecteur
à 9 pôles à 9 pôles
avec broches avec broches

FT 2000
1

6
2

7
3

TxD
TxD
8
4

RxD
9

RxD
RGND
5

Connecteur
à 9 pôles
avec broches
aux esclaves
Fig. 6 Schéma de additionnels
câblage

10 FT 2000 Doc. No. 212.959/F


Mise en service

L’adresse, le contraste de l’afficheur ainsi que le mode d’exploita-


tion désiré sont réglés lors de la mise en service. En complément
de cela, les chaînes de texte mémorisées dans le FT 2000
peuvent être affichées.
Mise en service
Le mode maître/esclave et l’adresse 1 sont préreglés départ usine.

Menu S1 Pour parvenir au menu S1, procéder de la manière suivante:

1. Couper l’alimentation électrique du FT 2000.


F1 F2 F3 F4 F5 F6 F7 F8

1 2 3 4 5 S1 S2

.
2. Maintenir la touche spéciale [S1] enfoncée.
6 7 8 9 0 –

setup mode
3. Réenclencher l’alimentation électrique du FT 2000.
password: * * ** (<-’ = end)

Français
4. Introduire le mot de passe “1992”.
1 9 9 2

NOTE
Le mot de passe ne peut pas être modifié.
Un message d’erreur est sorti lorsqu’un mot de passe incorrect
est introduit.
1=change busaddr. 2=lcd contrast
3=change mode 4=text menue <-’=end
A partir du menu principal il est possible de brancher vers des
sous-menus supplémentaires à l’aide des touches 1 à 4.

1. Adresse bus L’adresse de bus du FT 2000 peut être modifié dans ce dialogue.
1

change bus address


old addr.: 12 new addr.: 23
Introduire l’adresse désirée!
Plage admissible: 1 – 31
change bus address
invalid address (1...31)
L’adresse actuelle est affichée en tant que contrôle.

Lorsqu’une adresse incorrecte est introduite, un message d’erreur


apparaît et l’ancienne adresse est maintenue. Lorsqu’une valeur
correcte a été introduite, la nouvelle adresse est mémorisée dans
l’EEPROM.

2. Contraste de l’afficheur Le contraste de l’afficheur peut être modifié dans ce dialogue.


2
Introduire le contraste désiré!
change lcd contrast (0=bright 9=dark) Plage admissible: 0 – 9
old contr.: 5 new contr.[0...9]:

Le contraste réglé jusqu’alors est affiché en tant que contrôle.

FT 2000 Doc. No. 212.959/F 11


Mise en service

3. Mode d’exploitation Dans ce dialogue il est possible de sélectionner le mode d’exploi-


3 tation “maître/esclave” ou le mode d’exploitation “terminal”.
change mode (act.=master/slave)
1=master/slave 2=terminal
Régler le mode d’exploitation désiré!
1 = mode maître/esclave
2 = mode terminal

Le dispositif signale l’état “prêt” à l’aide de “ready master/slave”


ou “ready terminal”.

4. Menu de texte Ce sous-menu sert à la gestion de textes comportant:


4 – l’affichage des textes mémorisés
1=view text 2=erase all texts
– l’activation/la désactivation de la protection d’écriture
3=lock text memory (<-’ = end) – l’effacement de tous les textes mémorisés
1. View text Dans ce dialogue, il est possible d’afficher tous les textes mémo-
no: 0x0a 1=prev. 2=next (<-’ = end) risés. Dans la première ligne à gauche, le numéro de texte est
C’est un spécimen de texte représenté en format hexadécimal. Le texte correspondant est
affiché dans la deuxième ligne.

Le texte précédent ou le prochain texte est affiché à l’aide des


touches [1] et [2].

2. Erase all texts Cette option de menu sert à effacer tous les textes mémorisés.
erase all stored texts from 0 to 0xa8 A cet effet, il est nécessaire d’introduire le mot de passe “1992”.
password: (<-’ = end)

erasing text 0xa8 of 0xa8 Suite à l’introduction du mot de passe l’effacement commence
all texts erased (<-’ = end) et ne peut pas être interrompu.

3. Lock text memory Dans ce dialogue, la mémoire de textes est protégée contre un
text memory locked (<-’ = end) recouvrement non voulu ou la protection d’écriture est supprimée.

text memory unlocked (<-’ = end) L’action effectuée apparaît dans l’afficheur.

12 FT 2000 Doc. No. 212.959/F


Maniement

Affichage

F1 F2 F3 F4 F5 F6 F7 F8 Bloc de touches de fonction

1 2 3 4 5 S1 S2 Touches spéciales

6 7 8 9 0 – .
Touches d’édition

Français
Bloc de touches numériques

Fig. 7 Blocs de touches

Le maniement du FT 2000 s’effectue à l’aide du clavier à effleure-


ment qui est incorporé dans la platine frontale.
Maniement
Structure des données La structure suivante des données est utilisée pour la transmis-
sion des données:
– ASCII
– 7 bits
– parité paire
– 9600 bauds
– 1 bit d’arrêt
La largeur de mot de 7 bits ne permet pas de transmission de
caractères ASCII excédant 127.

FT 2000 Doc. No. 212.959/F 13


Maniement – Mode maître/esclave

ready master/slave Le mode maître/esclave peut être réglé lors de la mise en service,
voir Mise en service, page 12.

Protocole (établisse-
ment d’une liaison)
Adressage
NOTE
La première commande après la mise en circuit doit toujours être
la commande d’adressage de dispositif. L’adresse du dispositif
peut être réglée lors de la mise en service, voir Mise en service,
page 11.

Afin d’assurer la communication sûre et fiable entre le maître et


plusieurs esclaves, aucun esclave n’est autorisé de transmettre
des données sans demande.
Le maître utilise une commande d’adressage spécifique pour
sélectionner l’esclave avec lequel il veut ensuite entrer en com-
munication.

L’esclave adressé répond à chaque commande en sortant un


accusé de réception positif <ACK> ou négatif <NAK>, dépendant
du fait si la commande a été valable ou invalide.

Si une erreur de transmission se produit l’esclave ne sort aucun


accusé de réception.
Maniement – Mode maître/esclave
Exemple Le maître veut adresser l’esclave 14 et sort la commande suivante:
# 1 4 <CR>
23h 31h 34h 0Dh
Maintenant, le maître peut communiquer avec l’esclave adressé
de la même manière qu’à travers une communication un à un.

Caractères de commande Abrévia- Valeur Signification


tion ASCII
<CR> 0Dh Carriage Return
<ACK> 06h Ack. (accusé de réception positif)
<NAK> 15h Not Ack. (accusé de réception négatif)
<ESC> 1Bh Pour la commande du curseur

Transmission Dépendant de la commande, les caractères sont transmis sous


de caractères forme de caractères ASCII (voir tableau ASCII en Annexe,
page 37) ou en format hexadécimal codé en ASCII.
Pour le format hexadécimal codé en ASCII, une valeur octet (8 bits)
est codée de maniére hexadécimale et, ensuite, transformée en
format ASCII.

Exemple Valeur 1000 1110 binaire = 142 Dez = 8E Hex


“8” ASCII = 38 Hex
“E” ASCII = 45 Hex

14 FT 2000 Doc. No. 212.959/F


Maniement – Mode maître/esclave

Commandes
Structure générale
d’une commande

Commande Direction Signification


des données
<Commande>[données]<CR> ---> Commande à l’esclave
<ACK>[données]<CR> <--- Commande reçue a été interprétée
comme correcte par l’esclave. Il répond
en sortant un accusé de réception positif.
Facultativement, des données peuvent
être transmises.
<NAK><CR> <--- L’esclave ne peut pas identifier la
commande.
Aucun accusé de réception <--- L’esclave a détecté une erreur de trans-

Français
mission et ne transmet pas d’accusé de
réception.

Vue d’ensemble
des commandes

Commande Signification Explication


D Affichage à cristaux liquides (LCD) Visualisation des caractères sur
l’affichage incl. commande de l’écran
(émulation VT52)
F Bloc de touches de fonction Interrogation des touches de fonction
K Bloc de touches numériques Introduction de valeurs numériques
I Point d’entrée Lecture des entrées
Q Point de sortie Positionnement des sorties
P Mémoriser/effacer textes Mémoriser le texte (avec
respectivement 40 caractères maxi)
dans le
FT 2000
R Sortir textes Sortir les textes mémorisés sur
l’afficheur
SD Contraste de l’affichage Régler la valeur de contraste de
l’affichage
SK Etat court Déterminer le type de l’accusé de
réception précédent
SN Interrompre introduction Permet au maître d’interrompre
numérique l’introduction numérique

NOTE
Les commandes doivent toujours être introduites en lettres maju-
scules.

FT 2000 Doc. No. 212.959/F 15


Maniement – Mode maître/esclave

Description
des commandes
Affichage (“D”) Pour la sortie de caractères ASCII et la commande du curseur,
chaque chaîne de caractères à sortir est précédée par la lettre “D”.

Direction des données Instruction


Maître ---> Esclave D<String><CR>
F1 F2 F3 F4 F5 F6 F7 F8
Maître <--- Esclave <ACK><CR>
1 2 3 4 5 S1 S2

6 7 8 9 0 – .
Les caractères à sortir sont transmis en format ASCII.
La gamme pour la visualisation sur l’affichage est limitée aux
caractères ASCII 32 à 127.
NOTE
Le nombre de caractères maximal est de 40 caractères.

Si le nombre de caractères transmis excède le nombre maximal,


les caractères suivants sont supprimés et un accusé de réception
positif est transmis.
Un tableau ASCII de l’affichage à cristaux liquides est ci-joint en
Annexe, page 37.

Commande du curseur Les instructions de l’émulation VT52 sont utilisées pour la com-
mande du curseur.

Positionnement du curseur

Instruction Signification Explication


<ESC> A Curseur vers le haut Le curseur se déplace d’une ligne vers le haut (aucun
scroll de lignes dans la première ligne).
<ESC> B Curseur vers le bas Le curseur se déplace d’une ligne vers le bas (aucun
scroll de lignes dans la dernière ligne).
<ESC> C Curseur à droite Le curseur se déplace d’une position à droite (aucun
saut de ligne dans la dernière colonne).
<ESC> D Curseur à gauche Le curseur se déplace d’une position à gauche (aucun
saut de ligne dans la première colonne).
<ESC> H Curseur HOME Le curseur est positionné dans la 1. ligne, 1. colonne
(position HOME.)
<ESC> Y <Ligne><Colonne> Le curseur est déplacé à la position indiquée. La ligne
Positionner curseur 1 et la colonne 1 ont la valeur 20h (32). Donc, un
coefficient de correction de 1Fh (31) doit toujours être
additionné à la position indiquée.

Exemple 1 Le curseur doit être positionné dans la ligne 2, colonne 24.


1Fh (31) doit être additionné aux valeurs des colonnes et lignes.
C’est-à-dire, la ligne 2 correspond à la valeur 21h (33) et la colonne
24 à la valeur 37h (55). Le maître transmet l’instruction suivante:
D ESC Y ! 7 <CR>
44h 1Bh 59h 21h 37h 0Dh

16 FT 2000 Doc. No. 212.959/F


Maniement – Mode maître/esclave

Exemple 2 Le curseur est dans la ligne 2, position 2.


Le texte “Display:” doit être sorti dans la ligne 1 à partir de la
position 1. Par conséquent, le maître doit transmettre les comman-
des suivantes au FT 2000:

D <ESC> H <CR> Curseur dans la


44h 1Bh 48h 0Dh position HOME

<ACK> <CR> Accusé de réception positif


06h 0Dh

D D i s p l a y : <CR>
44h 44h 69h 73h 70h 6Ch 61h 79h 3Ah 0Dh

Le FT 2000 transmet l’accusé de réception suivant au maître:

Français
<ACK> <CR> Accusé de réception positif
06h 0Dh

Effacer des zones sur l’affichage

Instruction Signification Explication


<ESC> o Effacer début de ligne Efface la ligne à partir du début incl. la position
actuelle. La position du curseur ne change pas.
<ESC> K Effacer fin de ligne Efface la position actuelle du curseur jusqu’à la fin de
la ligne. La position du curseur ne change pas.
<ESC> l Effacer ligne complète Efface la ligne où le curseur est actuellement placé.
La position du curseur ne change pas.
<ESC> E Effacer affichage Efface l’affichage. Le curseur est positionné dans la
ligne 1, colonne 1 (position HOME).

Configuration

Instruction Signification Explication


<ESC> x9 Auto <CR> marche Lors de la réception d’un <LF> (0Ah), un <CR>/<LF>
(réglage default) est exécuté sur l’affichage; c’est-à-dire, le curseur est
déplacé d’une ligne vers le bas et au début de la ligne
lors de la recéption d’un LF. Si le curseur est
positionné dans la dernière ligne, il ne saute qu’au
début de la ligne.
<ESC> y9 Auto CR arrêt Lors de la réception d’un <LF> (0Ah), le curseur est
déplacé d’une ligne vers le bas. La position de
colonne ne change pas. Si le curseur est positionné
dans la dernière ligne, cette instruction est sans effet.

FT 2000 Doc. No. 212.959/F 17


Maniement – Mode maître/esclave

Bloc de touches
de fonction (“F”)

Direction des données Instruction


Maître ---> Esclave F<CR>
F1 F2 F3 F4 F5 F6 F7 F8
Maître <--- Esclave <ACK><données><CR>
1 2 3 4 5 S1 S2

– .
6 7 8 9 0
Lors d’une interrogation des touches de fonction, le numéro de
la touche de fonction actionnée est transmis dans l’accusé de
réception.

Si aucune touche de fonction n’a été actionnée, la valeur 00 est


transmise.
La transmission du numéro s’effectue en format hexadécimal
codé en ASCII, c’est-à-dire, 2 octets sont transmis au maître.

Exemple La touche de fonction F1 est actuellement actionnée.


Le maître transmet la commande suivante au FT 2000:

F <CR> Interrogation des touches de


46h 0Dh fonction

Le FT 2000 transmet l’accusé de réception suivant au maître:

<ACK> 0 1 <CR> La touche de fonction F1


06h 30h 31h 0Dh est actionnée

NOTE
Dû au câblage électrique, il n’est pas possible d’identifier 2 ou
plusieurs touches qui sont simultanément actionnées. Dans ce
cas, une des touches actionnées est identifiée mais on ne peut
pas prévoir laquelle.

18 FT 2000 Doc. No. 212.959/F


Maniement – Mode maître/esclave

Bloc de touches
numériques (“K”)

Direction Instruction
des données
F1 F2 F3 F4 F5 F6 F7 F8
Maître ---> Esclave K[<Valeur prédéfinie>]<CR>
1 2 3 4 5 S1 S2
Maître <--- Esclave <ACK>[<Chaîne de nombres>]<CR>
6 7 8 9 0 – .

La commande “K” permet la transmission d’une valeur prédéfinie


qui peut être facultativement éditée par l’utilisateur. Le clavier est
libéré si la commande est appelée. La valeur prédéfinie apparaît
sur l’affichage et peut être éditée à l’aide du bloc de touches
numériques et des touches [.], [-], [←].

L’introduction est terminée au moyen de la touche [↵] et le clavier


est bloqué, ainsi évitant des introductions supplémentaires.

Français
La chaîne de nombres introduite est transmise, ensemble avec
l’accusé de réception de la prochaine commande “K”, au maître.
La longueur de la chaîne de nombres est limitée par la fin de
ligne de l’affichage.

Pour la commande “K”, la longueur maximale de la valeur par


Colonne: 1 10 11 39 40
défaut est de 40 caractères. Si un texte d’introduction a été sorti
Input: 12 9_ à l’aide d’une commande d’affichage, la longueur de la valeur
par défaut de la commande “K” se réduit de la longueur du texte
sorti au moyen de la commande d’affichage.

Colonne
1 à 10 Texte de la commande d’affichage
11 à 40 Zone pour l’introduction de caractères
40 Curseur de correction

Si la valeur par défaut de la commande “K” excède la longueur


maximale encore possible de la valeur par défaut, les caractères
suivants sont supprimés et, un accusé de réception positif est
également sorti.
Pour l’introduction de valeurs numériques, la zone d’introduction
est limitée, à droite, par l’avant-dernière colonne (colonne 40)
dans l’affichage. Le curseur de correction est toujours positionné
derrière le dernier caractère de la valeur d’introduction. (Excep-
tion: si la 40. colonne est occupée par la valeur d’introduction, le
curseur est positionné au-dessous du dernier caractère).

Si une commande “K” est reçue avant que l’introduction ait été
terminée par [↵], un accusé de réception positif sans données
est transmis au maître.
NOTE
La possibilité d’introduire une valeur numérique peut être bloquée
ou interrompue au moyen de la commande de système “SN”.

FT 2000 Doc. No. 212.959/F 19


Maniement – Mode maître/esclave

Au moins un caractère doit exister dans la zone d’édition de


l’affichage avant l’accusé de réception par [↵] pour que le maître
puisse identifier la commande “K”. Une interrogation des touches
de fonction (commande “F”) doit être réalisée si seul l’accusé de
réception par l’utilisateur est demandé (p.ex. actionner touche
pour lancement).

Le FT 2000 ne doit pas être adressé pendant l’introduction via le


clavier; pendant ce temps, le maître peut communiquer avec
d’autres dispositifs ou, en parallèle, traiter d’autres instructions
telles que sortir entrées.
NOTE
Une commande “D” n’est pas admissible pendant une comman-
de “K”. (Le contenu de l’affichage est recouvert par une comman-
de “D”.)

Exemple Le maître demande via le FT 2000 à l’utilisateur d’introduire de


nombres. Il transmet la valeur -100.25 à titre de valeur prédéfinie:

K - 1 0 0 . 2 5 <CR> Transmission
4Bh 2Dh 31h 30h 30h 2Eh 32h 35h 0Dh de la valeur
prédéfinie

L’utilisateur change la valeur prédéfinie en -220.22 et termine


l’introduction au moyen de [↵]. Lors de la prochaine commande
“K”, le FT 2000 transmet la chaîne de nombres dans l’accusé de
réception au maître (voir figure 8):

<ACK> - 2 2 0 . 2 2 <CR> Transmission


06h 2Dh 32h 32h 30h 2Eh 32h 32h 0Dh de l’accusé de
réception
positif et de la
valeur modifiée

NOTE
Dû au câblage électrique, il n’est pas possible d’identifier 2 ou
plusieurs touches qui sont simultanément actionnées. Dans ce
cas, une des touches actionnées est identifiée mais on ne peut
pas prévoir laquelle.

20 FT 2000 Doc. No. 212.959/F


Maniement – Mode maître/esclave

Maître transmet
commande “K” incl.
valeur prédéfinie

Valeur prédéfinie est


éditée sur le FT 2000

Accusé de réception Maître transmet


simple au maître commande “K”
<ACK><CR>

Français
Non Est-ce que
l’introduction a été
terminée par
?

Oui

Accusé de réception
incl. valeur éditée
Fig. 8 Organigramme au maître
de traitement de la <ACK><VALEUR><CR>
commande “K”

FT 2000 Doc. No. 212.959/F 21


Maniement – Mode maître/esclave

Point d’entrée (“I”)

Direction des données Instruction


Maître ---> Esclave I<CR>
F1 F2 F3 F4 F5 F6 F7 F8
Maître <--- Esclave <ACK><VALEUR><CR>
1 2 3 4 5 S1 S2

.
6 7 8 9 0 –
Les valeurs des entrées du FT 2000 peuvent être sorties à l’aide
E/A Port RS 485
de la commande “I”. Le FT 2000 transmet la valeur des entrées,
en format hexadécimal codé en ASCII, au maître.

Exemple Le maître demande la valeur des entrées en transmettant l’in-


struction suivante:

I <CR> Interrogation des entrées


49h 0Dh

Le FT 2000 transmet l’accusé de réception suivant:

<ACK> 2 E <CR> Transmission de l’accusé


06h 32h 45h 0Dh de réception positif et de la
valeur des entrées

Après conversion en code binaire, les entrées positionnées


peuvent être reconnues au moyen de la valeur 2Eh.
2Eh = 0010 1110 signifie que les entrées I1, I2, I3, et I5 sont
positionnées.

22 FT 2000 Doc. No. 212.959/F


Maniement – Mode maître/esclave

Point de sortie (“Q”)

Direction des données Instruction


Maître ---> Esclave Q<VALEUR><CR>
F1 F2 F3 F4 F5 F6 F7 F8
Maître <--- Esclave <ACK><CR>
1 2 3 4 5 S1 S2

.
6 7 8 9 0 –
Les sorties du FT 2000 peuvent être positionnées au moyen de
E/A Port RS 485
l’instruction “Q”. Le maître transmet l’instruction “Q” et la valeur
des sorties à positionner, en format hexadécimal codé en ASCII,
au FT 2000.

Exemple Le maître veut positionner les sorties Q1, Q2, Q3 et Q5. Cela
demande que la valeur binaire des sorties soit transformée en
une valeur hexadécimale, p.ex. 00101110 correspond à 2Eh. Le
maître transmet l’instruction suivante au FT 2000:

Français
Q 2 E <CR> Transmission de
51h 32h 45h 0Dh l’instruction pour
positionner les sorties

Le FT 2000 retourne l’accusé de réception suivant:

<ACK> <CR> Accusé de réception positif

NOTE
Si la communication sérielle est interrompue, les états des sorties
sont maintenus.

FT 2000 Doc. No. 212.959/F 23


Maniement – Mode maître/esclave

Commande de système Le FT 2000 dispose des commandes de système listées ci-après:


(“<Commande>S”)
SD Modifier contraste de l’affichage (0...9)
SK Etat court
SN Interrompre introduction numérique

Etat court (“SK”) Direction des données Instruction


Maître ---> Esclave SK<CR>
Maître <--- Esclave <ACK><Byte d’état><CR>

Le maître utilise la commande de système “état court” afin de


déterminer le type de l’accusé de réception précédent d’un FT 2000
adressé.

7 6 5 4 3 2 1 0 Numéro de bit
Bits 0 à 4 et 6 ne sont pas
occupés
Bit 5 ou 7 peut avoir la valeur 0
ou 1

Bit 5:
0 = Point de sortie en ordre
1 = Erreur au point de sortie

Le bit 5 est 1 si le point de sortie est surchargé ou un court-circuit


s’est produit. Un message d’erreur n’est pas sorti sur l’affichage
et l’ancien réglage de l’affichage est maintenu. En cas d’erreur,
la commande de sortie n’est pas exécutée par le FT 2000 et,
donc, un accusé de réception négatif est sorti. Après l’élimination
de l’erreur, le dispositif continue de fonctionner.

Bit 7:
0 = accusé de réception négatif de la commande précédente
1 = accusé de réception positif de la commande précédente

Pour les erreurs de transmission, voir Erreurs de transmission,


page 26. Le byte d’état est transmis en format hexadécimal codé
en ASCII.

Exemple Le maître a reçu un accusé de réception comprenant une erreur


de transmission. Il demande à l’esclave au moyen de la com-
mande de système “SK” si la dernière commande transmise a
été identifiée comme correcte:
S K <CR> Demander état court
53h 4Bh 0Dh
Le FT 2000 transmet l’accusé de réception suivant au maître:
<ACK> 8 0 <CR> Transmission de l’état
06h 38h 30h 0Dh court Bit 7 a la valeur 1
Le FT 2000 a identifié la commande précédente comme correcte
et, par conséquent, transmis un accusé de réception positif.

24 FT 2000 Doc. No. 212.959/F


Maniement – Mode maître/esclave

Contraste de
l’affichage (“SD”)

Direction des données Instruction


Maître ---> Esclave SD<Contraste><CR>
F1 F2 F3 F4 F5 F6 F7 F8
Maître <--- Esclave <ACK><CR>
1 2 3 4 5 S1 S2

.
6 7 8 9 0 –
Cette commande de système est utilisée pour le réglage du
contraste de l’affichage à cristaux liquides. La valeur réglée est
mémorisée dans l’EEPROM et réglée automatiquement lors de
la prochaine mise en circuit.

La valeur de contraste est transmise à la commande de système.


Celle-ci peut être dans la gamme de 0 à 9, 0 étant le réglage
minimale et 9 le réglage maximale.

Français
Un contrôle de vraisemblance est réalisé, des valeurs >9 sont
ignorées.

Exemple Le maître veut régler le contraste de l’affichage du FT 2000 à 4


et, donc, transmet l’instruction suivante au FT 2000:

S D 4 <CR> Transmission de la
53h 44h 34h 0Dh valeur de contraste

Le FT 2000 transmet l’accusé de réception suivant:

<ACK> <CR> Accusé de réception positif

Interrompre introduction Le maître peut interrompre une commande “K” et rétablir l’état
numérique (“SN”) normal. Cela est p.ex. raisonnable si une introduction numérique
sur l’affichage n’a pas été terminée au moyen de [↵] dans un
temps d’interrogation spécifique à l’application.

Le maître transmet la commande suivante:

S N <CR> Interrompre introduction


53h 4Eh 0Dh numérique

FT 2000 Doc. No. 212.959/F 25


Maniement – Mode maître/esclave

Erreurs de transmission Si l’esclave reconnaît une erreur de transmission, il ne transmet


pas d’accusé de réception au maître et se commute à l’état non
Erreur de transmission adressé. Suite à l’accusé de réception manquant, le maître peut
Maître ---> Esclave détecter l’erreur de transmission au moyen du contrôle de syn-
chronisation (timeout check) et réagir dépendant de l’application
(p.ex. répéter la commande).

Exemple

Direction de données Instruction Commentaire


Maître ---> Esclave Q<Valeur><CR> Positionner sorties
Maître <--- Esclave <ACK><CR> Accusé de réception positif
Maître ---> Esclave I<CR> Interroger entrées
Maître ---> Esclave Instruction incorrecte 1. Esclave reconnaît erreur de transmission
2. Contrôle de synchronisation dans maître
3. Maître reconnaît timeout esclave et
essaie de répéter l’instruction
Maître ---> Esclave #1<CR> Maître adresse esclave 1
Maître ---> Esclave I<CR> Interroger entrées
Maître <--- Esclave <ACK>3F<CR> Esclave transmet la valeur des entrées

Erreur de transmission Si le maître reconnaît une erreur de transmission, il ne sait pas si


Esclave ---> Maître l’esclave a sorti un accusé de réception positif <ACK> ou négatif
<NAK> pour la commande qu’il a transmise. Par conséquent, il
ne sait pas si l’esclave a interprété et exécuté la commande
correctement ou si celle-ci était invalide.

Une répétition de l’instruction pourrait entraîner des conséquences


fatales.

Afin d’éviter une telle situation, le FT 2000 est muni de la com-


mande de système “état court” (SK), voir Commande de système
(“<Commande>S”), page 24).

26 FT 2000 Doc. No. 212.959/F


Maniement – Mode maître/esclave

Mémoriser/effacer
textes (“P”)

Direction des données Instruction


Maître ---> Esclave P<xx><Text>
Maître <--- Esclave <ACK><CR>

L’instruction “P” sert à mémoriser des textes dans l’EEPROM du


FT 2000 ou à effacer des textes mémorisés.

<xx> numéro où le texte est mémorisé. Ce numéro doit être


introduit en format hexadécimal, les zéros en tête
doivent être indiqués (01-0F Hex).
<Text> chaîne de texte à mémoriser. Un text mémorisé précé-
damment à ce numéro est recouvert. Une chaîne de
texte vide correspond à l’instruction d’effacement, c.a.d.

Français
l’emplacement de texte dans l’EEPROM est effacé.

Un acquittement négatif de l’instruction à l’aide de <NAK> a lieu si:


– la protection de mémoire est active (voir page 12)
– le numéro de texte se trouve hors de la plage valable.
– le format de l’instruction n’est pas respecté.

Exemple Le texte “C’est un spécimen de texte” doit être mémorisé à


l’emplacement 10. A cet effet, le maître transmet l’instruction
suivante au FT 2000:

P 0 A C’est un spécimen de texte


50h 30h 41h

Le FT 2000 transmet l’acquittement suivant en retour:

<ACK> <CR> Accusé de réception positif

NOTE
En fonction de la capacité de mémoire de l’EEPROM, le nombre
de textes est limité. L’EEPROM actuellement utilisé permet de
mémoriser 168 textes maxi, c.a.d le plus grand nombre admissible
en format hexadécimal est A8.
NOTE
Il est possible de faire afficher les textes dans le menu S1 du
FT 2000 sans que le FT 2000 doive être raccordé à un maître (voir
page 12).
NOTE
Afin d’être sûr que les textes mémorisés ne sont pas recouverts,
il est possible d’activer une protection de mémoire dans le menu
S1 (voir page 12).

FT 2000 Doc. No. 212.959/F 27


Maniement – Mode maître/esclave

Sortir le texte
mémorisé (“R”)

Direction des données Instruction


Maître ---> Esclave R<xx><y>
Maître <--- Esclave <ACK><CR>

L’instruction “R” sert à sortir des textes mémorisés dans le FT 2000


sur l’afficheur.

<xx> numéro où le texte est mémorisé dans le FT 2000. Ce


numéro doit être introduit en format hexadécimal, les
zéros en tête doivent être indiqués (01-0F Hex).
<y> ligne d’affichage où le texte est sorti. Introduction en
format hexadécimal, la première ligne correspond à 0h.

Un acquittement négatif de l’instruction à l’aide de <NAK> a lieu si:


– le numéro de texte se trouve hors de la plage valable.
– le format de l’instruction n’est pas respecté.

Exemple Le texte mémorisé à l’emplacement 10 doit être sorti dans la


deuxième ligne de l’afficheur. A cet effet, le maître transmet
l’instruction suivante au FT 2000:

R 0 A 1
52h 30h 41h 31h

Le FT 2000 transmet l’acquittement suivant en retour:

<ACK> <CR> Accusé de réception positif

NOTE
Il est possible de faire afficher les textes dans le menu S1 du
FT 2000 sans que le FT 2000 doive être raccordé à un maître
(voir page 12).

28 FT 2000 Doc. No. 212.959/F


Maniement – Mode de terminal

ready terminal Le mode de terminal peut être réglé lors de la mise en service,
voir Mise en service, page 12.

Adressage
Maniement – Mode de terminal

NOTE
La première commande après la mise en circuit doit toujours être
la commande d’adressage de dispositif. L’adresse du dispositif
peut être réglée lors de la mise en service, voir Mise en service,
page 11.

Exemple Le FT 2000 ayant l’adresse 14 peut être adressé en utilisant la


commande suivante.

# 1 4 <CR>
23h 31h 34h 0Dh

Français
Maintenant, il est possible de transmettre et de recevoir des
données.

Caractères de Abrévia- Valeur Signification


commande utilisés tion ASCII
<NUL> 00h Pour l’identification des touches de
fonction
<BS> 08h Déplacer le curseur d’une position à
gauche
<LF> 0Ah Déplacer le curseur dans la prochaine
ligne
<CR> 0Dh Déplacer le curseur au début de la ligne
<ESC> 1Bh Pour la commande du curseur
<DEL> 7Fh Effacer le caractère à gauche du curseur

FT 2000 Doc. No. 212.959/F 29


Maniement – Mode de terminal

Commande du curseur Les instructions de l’émulation VT52 sont utilisées pour la com-
mande du curseur.

Positionnement du curseur

Instruction Signification Explication


<ESC> A Curseur vers le haut Le curseur se déplace d’une ligne vers le haut (aucun
scroll de lignes dans la première ligne).
<ESC> B Curseur vers le bas Le curseur se déplace d’une ligne vers le bas (aucun
scroll de lignes dans la dernière ligne).
<ESC> C Curseur à droite Le curseur se déplace d’une position à droite (aucun
saut de ligne dans la dernière colonne).
<ESC> D Curseur à gauche Le curseur se déplace d’une position à gauche
(aucun saut de ligne dans la première colonne).
<ESC> H Curseur HOME Le curseur est positionné dans la 1. ligne, 1. colonne
(position HOME).
<ESC> Y <Ligne><Colonne> Le curseur est déplacé à la position indiquée. La ligne
Positionner curseur 1 et la colonne 1 ont la valeur 20h (32). Donc, un
coefficient de correction de 1Fh (31) doit toujours être
additionné à la position indiquée.

Exemples Le curseur doit être positionné dans la ligne 2, colonne 24.


1Fh (31) doit être additionné aux valeurs des colonnes et lignes.
C’est-à-dire, la ligne 2 correspond à la valeur 21h (33) et la
colonne 24 correspond à la valeur 37h (55). L’instruction suivante
doit être transmise:

<ESC> Y ! 7
1Bh 59h 21h 37h

Le curseur est dans la ligne 2, position 2.


Le texte “Display:” doit être sorti dans la ligne 1 à partir de la posi-
tion 1.

<ESC> H <CR> Curseur dans la position HOME


1Bh 48h 0Dh

D i s p l a y : <CR>
44h 69h 73h 70h 6Ch 61h 79h 3Ah 0Dh

30 FT 2000 Doc. No. 212.959/F


Maniement – Mode de terminal

Effacer des zones sur l’affichage

Instruction Signification Explication


<ESC> o Effacer début de ligne Efface la ligne à partir du début incl. la position
actuelle. La position du curseur ne change pas.
<ESC> K Effacer fin de ligne Efface la position actuelle du curseur jusqu’à la fin
de la ligne. La position du curseur ne change pas.
<ESC> l Effacer ligne complète Efface la ligne où le curseur est actuellement
positionné.
La position du curseur ne change pas.
<ESC> E Effacer affichage Efface l’affichage. Le curseur est positionné dans la
ligne 1, colonne 1 (position HOME).

Configuration

Français
Instruction Signification Explication
<ESC> x9 Auto <CR> marche Lors de la réception d’un <LF> (0Ah), un
(réglage default) <CR>/<LF> est exécuté sur l’affichage; c’est-à-dire,
le curseur est déplacé d’une ligne vers le bas et au
début de la ligne lors de la réception d’un LF.
Si le curseur est positionné dans la dernière ligne, il
ne saute qu’au début de la ligne.
<ESC> y9 Auto CR arrêt Lors de la réception d’un <LF> (0Ah), le curseur est
déplacé d’une ligne vers le bas. La position de
colonne ne change pas. Si le curseur est positionné
dans la dernière ligne, cette instruction est sans
effet.

FT 2000 Doc. No. 212.959/F 31


Maniement – Mode de terminal

Touches de fonction En appuyant sur les touches de fonction, les caractères suivants
sont normalement transmis:
Affectation standard
F1
→ <NUL>;
F2
→ <NUL><
F3
→ <NUL>=
F4
→ <NUL>>
F5
→ <NUL>?
F6
→ <NUL>@
F7
→ <NUL>A
F8
→ <NUL>B

Modifier l’affectation L’affectation des touches de fonction peut être modifiée en


des touches de fonction transmettant les instructions ESC suivantes:
F1
← ’<ESC>[<NUL>;<nouveau caractère>p’
F2
← ’<ESC>[<NUL><<nouveau caractère>p’
F3
← ’<ESC>[<NUL>=<nouveau caractère>p’
F4
← ’<ESC>[<NUL>><nouveau caractère>p’
F5
← ’<ESC>[<NUL>?<nouveau caractère>p’
F6
← ’<ESC>[<NUL>@<nouveau caractère>p’
F7
← ’<ESC>[<NUL>A<nouveau caractère>p’
F8
← ’<ESC>[<NUL>B<nouveau caractère>p’

Exemple X doit être affecté à la touche de fonction F1. L’instruction ESC


suivante doit être transmise:
F1
← ’<ESC>[<NUL>;Xp’

Ensuite, les caractères suivants sont transmis en appuyant sur


la touche F1:
F1
→ X

Bloquer et débloquer Il est possible de bloquer et débloquer le clavier au moyen des


le clavier instructions suivantes:

’<ESC>>’ débloquer
’<ESC>=’ bloquer

32 FT 2000 Doc. No. 212.959/F


Maniement – Mode de terminal

Mémoriser le texte L’instruction ESC suivante permet de mémoriser des textes dans
dans le FT 2000 l’EEPROM du FT 2000 ou d’effacer des textes mémorisés.

’<ESC>P<xx><Text>’

<xx> numéro où le texte est mémorisé. Ce numéro doit être


introduit en format hexadécimal, les zéros en tête
doivent être indiqués (01-0F Hex).
<Text> chaîne de texte à mémoriser. Un text mémorisé précé-
damment à ce numéro est recouvert. Une chaîne de
texte vide correspond à l’instruction d’effacement, c.a.d.
l’emplacement de texte dans l’EEPROM est effacé.

Exemple Le texte “C’est un spécimen de texte” doit être mémorisé à


l’emplacement 10. A cet effet, transmettre l’instruction suivante:

’<ESC>P0AC’est un spécimen de texte’

Français
NOTE
Voir également l’instruction “P” Mémoriser/effacer texte, page 27.

Sortir le texte mémorisé L’instruction ESC suivante permet de sortir des textes mémorisés
sur l’afficheur dans le FT 2000 sur l’afficheur.

’<ESC>R<xx><y>’

<xx> numéro où le texte est mémorisé dans le FT 2000. Ce


numéro doit être introduit en format hexadécimal, les
zéros en tête doivent être indiqués (01-0F Hex).
<y> ligne d’affichage où le texte est sorti. Introduction en
format hexadécimal, la première ligne correspond à 0h.

Exemple Le texte mémorisé à l’emplacement 10 doit être sorti dans la


deuxième ligne de l’afficheur. A cet effet, transmettre l’instruction
ESC suivante:

’<ESC>R0A1’

NOTE
Voir également l’instruction “R”, Sortir le texte mémorisé, page 28.

FT 2000 Doc. No. 212.959/F 33


Test de fonction

Si la touche spéciale S2 est actionnée dans l’espace de 1,5 secon-


des après la mise en circuit, le test de fonction est réalisé. Un
F1 F2 F3 F4 F5 F6 F7 F8
message apparaît sur l’affichage qui demande l’introduction du mot
1 2 3 4 5 S1 S2
de passe. Le mot de passe préréglé est “1992”.
Test de fonction
6 7 8 9 0 – .

functional test mode


password: * * * * (<-’ = end)

Menu principal du test Le menu principal comprend 4 options qui peuvent être
de fonction sélectionnées en pressant sur touche respective.
1=keyboard 2=bus interface 1
3=input 4=output (<-’ = end) Test du clavier
2
Test d’interface
3
Test des entrées (uniquement en mode maître/esclave)
4
Test des sorties (uniquement en mode maître/esclave)

Test du clavier Après avoir actionné la touche [1] dans le menu principal, le
1
sous-menu test du clavier est affiché. Le clavier peut être contrôlé
en pressant sur les touches individuelles.
En appuyant sur les touches, leurs désignations sont affichées
keyboard test (<-’ = end)
pressed key: S1
en langage clair. Le test du clavier peut être abandonné en
actionnant la touche [↵].

Test d’interface Une fiche de court-circuitage doit être fichée sur l’interface RS 485
2 pour réaliser le test d’interface. Le câblage est montré dans la
figure 9.
send: ’FT2000’
received: ’FT2000’ (<-’ = end)
1

6
2

TxD
3

TxD
8

RxD
4

RxD
9
5

Fig. 9 Affectation
Fiche
de la fiche de court- à 9 pôles
circuitage

Après avoir actionné la touche [2] dans le menu principal, le


sous-menu test d’interface est affiché. Une fiche de court-circui-
tage doit être fichée sur connecteur Sub-D pour le test d’interface.
Le test d’interface peut être abandonné en actionnant la touche [↵].

34 FT 2000 Doc. No. 212.959/F


Test de fonction

Test des entrées Ce test de fonction ne peut être réalisé qu’en mode maître/esclave.

3 Après avoir actionné la touche [3] dans le menu principal, le


sous-menu entrées est affiché. L’état actuel des entrées est
input test (<-’ = end) affiché.
status (I7...I0): 0 0 0 0 0 0 0 0

1 Un signal est disponible sur l’entrée.


0 Un signal n’est pas disponible sur l’entrée.

Le test des entrées peut être abandonné en actionnant la


touche [↵].

Test des sorties Ce test de fonction ne peut être réalisé qu’en mode maître/esclave.
4
Après avoir actionné la touche [4] dans le menu principal, le
sous-menu sorties est affiché. L’état actuel des sorties est affiché.

Français
output set/clear (<-’ = end) Les sorties peuvent être positionnées ou effacées au moyen de
1...8=Q0-Q7 ’-’ = set/clear
la touche [-].

output set/clear (<-’ = end)


status (Q7...Q0) : 0 0 0 0 0 0 0 0

output set/clear (<-’ = end)


output overload

Exemple La sortie 7 n’est pas positionnée. Les touches suivantes doivent


être actionnées pour positionner la sortie 7:

7
sélection de la sortie 7

positionner sortie

Le test des sorties peut être abandonné en actionnant la


touche [↵].
NOTE
Le message d’erreur “output overload” est sorti, si la sortie est
surchargée ou un court-circuit s’est produit sur cette sortie.

FT 2000 Doc. No. 212.959/F 35


Entretien

Contrat d’entretien Afin de prendre des précautions contre des temps d’arrêt dûs à
la perte de jouissance du dispositif, SIG BERGER LAHR vous
offre des contrats individuels d’entretien et de maintenance.
Entretien
Pour des informations supplémentaires, veuillez vous adresser à:

SIG Positec Automation GmbH


Abteilung Technische Dienste
Breslauer Str. 7

D-77933 Lahr

Téléphone (07821) 946-02

36 FT 2000 Doc. No. 212.959/F


Annexe

Tableau ASCII
Annexe

HEX DEC CHAR HEX DEC CHAR HEX DEC CHAR HEX DEC CHAR HEX DEC CHAR
00h 00 (NUL) 1Ah 26 (SUB) 34h 52 4 4Eh 78 N 68h 104 h
01h 01 (SOH) 1Bh 27 (ESC) 35h 53 5 4Fh 79 O 69h 105 i
02h 02 (STX) 1Ch 28 (FS) 36h 54 6 50h 80 P 6Ah 106 j
03h 03 (ETX) 1Dh 29 (GS) 37h 55 7 51h 81 Q 6Bh 107 k
04h 04 (EOT) 1Eh 30 (RS) 38h 56 8 52h 82 R 6Ch 108 l
05h 05 (ENQ) 1Fh 31 (US) 39h 57 9 53h 83 S 6Dh 109 m
06h 06 (ACK) 20h 32 blk 3Ah 58 : 54h 84 T 6Eh 110 n
07h 07 (BEL) 21h 33 ! 3Bh 59 ; 55h 85 U 6Fh 111 o
08h 08 (BS) 22h 34 " 3Ch 60 < 56h 86 V 70h 112 p
09h 09 (HT) 23h 35 # 3Dh 61 = 57h 87 W 71h 113 q

Français
0Ah 10 (LF) 24h 36 $ 3Eh 62 > 58h 88 X 72h 114 r
0Bh 11 (VT) 25h 37 % 3Fh 63 ? 59h 89 Y 73h 115 s
0Ch 12 (FF) 26h 38 & 40h 64 @ 5Ah 90 Z 74h 116 t
0Dh 13 (CR) 27h 39 ’ 41h 65 A 5Bh 91 [ 75h 117 u
0Eh 14 (SO) 28h 40 ( 42h 66 B 5Ch 92 ¥ 76h 118 v
0Fh 15 (SI) 29h 41 ) 43h 67 C 5Dh 93 ] 77h 119 w
10h 16 (DLE) 2Ah 42 * 44h 68 D 5Eh 94 ^ 78h 120 x
11h 17 (DC1) 2Bh 43 + 45h 69 E 5Fh 95 _ 79h 121 y
12h 18 (DC2) 2Ch 44 , 46h 70 F 60h 96 ‘ 7Ah 122 z
13h 19 (DC3) 2Dh 45 - 47h 71 G 61h 97 a 7Bh 123 {
14h 20 (DC4) 2Eh 46 . 48h 72 H 62h 98 b 7Ch 124 |
15h 21 (NAK) 2Fh 47 / 49h 73 I 63h 99 c 7Dh 125 }
16h 22 (SYN) 30h 48 0 4Ah 74 J 64h 100 d 7Eh 126 →
17h 23 (ETB) 31h 49 1 4Bh 75 K 65h 101 e 7Fh 127 (DEL)
18h 24 (CAN) 32h 50 2 4Ch 76 L 66h 102 f
19h 25 (EM) 33h 51 3 4Dh 77 M 67h 103 g

FT 2000 Doc. No. 212.959/F 37


Annexe

Abréviations ACK Acknowledge


API Automate programmable industriel

ASCII American Standard Code for Information


Interchange

c.c. Courant continu

CR Carriage Return

D Affichage

Doc. No. Numéro de documentation

F Bloc de touches de fonction

HE Unité d’hauteur

Hex Code hexadécimal

I Entrée

K Bloc de touches numériques

LCD Liquid crystal display

LF Line feed

NAK Not Acknowledge

PC Personal Computer

Q Sortie

SD Contraste de l’affichage

SK Etat court

SN Interrompre introduction numérique

38 FT 2000 Doc. No. 212.959/F

Das könnte Ihnen auch gefallen