Ventura - KAPDDT.CHP - BERGER
Transcription
Ventura - KAPDDT.CHP - BERGER
Technische Dokumentation Bedienterminal DOKU-DRU F1 F2 F3 F4 F5 F6 F7 1 2 3 4 5 S1 S2 6 7 8 9 0 – . F8 FT 2000 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 (,,Verwendungszweck“) 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 Umgebungsbedingungen, sind zu beachten. Die Bedienung des Gerätes sollte durch geschultes Personal erfolgen. Bei eigenmächtigen Veränderungen oder beim Öffnen des Gerä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 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 Frontplatte 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 kurzschlußfeste Ausgänge) Verwendungszweck Das FT 2000 kann durch die Ansteuerung über eine RS-485Schnittstelle 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-Betrieb) – zum Ansteuern von Meldelampen (nur im Master/SlaveBetrieb) verwendet werden. F1 F2 F3 F4 F5 F6 F7 1 2 3 4 5 S1 S2 6 7 8 9 0 – . F8 Bild 1 Bedienterminal FT 2000 FT 2000 DS-Nr. 212.959/DD 3 Deutsch Aufbau – Eigenschaften 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/SlavePrinzip. Slaves sind Geräte, die die Befehle des Master ausführen. Der Slave antwortet auf einen Befehl des Masters immer mit einer positiven oder negativen Quittung. Um eine sichere Kommunikation zu gewährleisten, darf kein Slave ohne Aufforderung Daten senden. Diese Aufforderung erfolgt durch ein Adressierungskommando, mit dem der Master den Slave selektiert, mit dem er anschließend kommunizieren möchte (siehe Adressierung 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-Befehlssatz – 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-Terminal, d.h. empfangene Zeichen werden auf der Anzeige dargestellt, eingegebene Zeichen werden über die RS-485-Schnittstelle 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 Betriebsarten und die Adresse des Gerätes werden bei der Inbetriebnahme eingestellt, siehe Inbetriebnahme, Seiten 11 und 12. PC, SPS, WP-311, WDP5-318 usw. RS 485 Bild 2 Vernetzungsprinzip 4 FT 2000 FT 2000 FT 2000 Gerät 1 Gerät 2 Gerät 3 FT 2000 DS-Nr. 212.959/DD max. 31 Technische Daten Systemversorgungsspannung 24 VDC (20 bis 30 VDC) Deutsch Elektrische Daten 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 Versorgungsspannung müssen vom Netz getrennt sein. Die maximale Spannung 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 Geräterückseite Ausgänge Eingänge Technische Daten FT 2000 DS-Nr. 212.959/DD 5 Technische Daten RS-485-Schnittstelle (4-Draht) Signal Bedeutung 3 4 5 8 9 TxD RxD RGND TxD RxD Sendedaten invertiert Empfangsdaten invertiert Signal-Ground Sendedaten Empfangsdaten RGND 8 TxD 9 RxD 4 RxD 5 TxD 3 7 2 6 1 Pin Bild 4 Belegung RS-485-Schnittstelle Schutzart Gerät nach DIN 40050 (IEC 529) Im eingebauten Zustand 6 FT 2000 DS-Nr. 212.959/DD IP 00 IP 65 Technische Daten Umgebungsbedingungen Abmessungen Länge Breite Einbautiefe Betriebstemperatur siehe Bild 5 220 mm 132,5 mm (3 HE) ca. 45 mm Deutsch Mechanische Daten 0° bis +40°C Lagertemperatur -25° bis +70°C Störsicherheit gemäß IEC 801-2 gemäß IEC 801-4 Schärfegrad 3 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 Befestigungsschraube M4 132,5 121,5 108 ±5 100 ±5 PlatinenAbdeckhaube (Tiefe 48,5 mm) 11 Dichtschnur 3 mm 188 ±5 192 ±5 209 220 3 11 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 1 1 Zubehör Bezeichnung Bedienterminal FT 2000 Dokumentation FT 2000 Folgendes Zubehör kann bestellt werden: Bezeichnung Signaltauscher 9-polig für RS-485Schnittstelle Installation 8 FT 2000 DS-Nr. 212.959/DD Bestellnummer 62501511001 Installation Deutsch Montage 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 Befestigungsschrauben 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-/AusgangsPorts 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 beidseitig 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 verwendet werden, siehe Zubehör, Seite 8. FT 2000 6 1 7 2 Stecker 9-polig mit Pins 8 3 9 TxD TxD RxD RxD RGND 4 TxD TxD RxD RxD RGND 5 5 9 4 8 3 7 2 6 1 z.B. WDP5-318 Schnittstelle RS 485 Stecker 9-polig mit Pins zu weiteren Slaves Bild 6 Verkabelungsschema 10 FT 2000 DS-Nr. 212.959/DD 8 9 4 5 TxD TxD RxD RxD RGND 3 7 2 6 1 FT 2000 Stecker 9-polig mit Pins Bei der Inbetriebnahme werden die Adresse, der Displaykontrast sowie die gewünschte Betriebsart eingestellt. Außerdem können die im FT 2000 gespeicherten Textstrings angezeigt werden. Ab Werk sind der Master/Slave-Betrieb und die Adresse 1 voreingestellt. Inbetriebnahme S1-Menü F1 F2 F3 F4 F5 F6 F7 1 2 3 4 5 S1 S2 6 7 8 9 0 – setup mode password: * * ** 1 9 9 Um ins S1-Menü zu gelangen, ist folgender Ablauf einzuhalten: 1. Spannung am FT 2000 ausschalten. 2. Sondertaste [S1] gedrückt halten. 3. Spannung am FT 2000 einschalten. 4. Paßwort ,,1992“ eingeben. F8 . (<-’ = end) 2 HINWEIS Das Paßwort kann nicht verändert werden. Wird ein falsches Paßwort eingegeben, erscheint eine Fehlermeldung. 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 werden. 1 change bus address old addr.: 12 new addr.: 23 change bus address invalid address (1...31) Gewünschte Adresse eingeben! Zulässiger Bereich: 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 change lcd contrast (0=bright 9=dark) old contr.: 5 new contr.[0...9]: Gewünschten Kontrast eingeben! Zulässiger Bereich: 0 – 9 Zur Kontrolle wird der bisher eingestellte Kontrast angezeigt. FT 2000 DS-Nr. 212.959/DD 11 Deutsch Inbetriebnahme Inbetriebnahme 3. Betriebsart 3 change mode (act.=master/slave) 1=master/slave 2=terminal In diesem Dialog kann die Betriebsart zwischen ,,Master/Slave“ bzw. ,,Terminal“ ausgewählt werden. 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ü 4 1=view text 2=erase all texts 3=lock text memory (<-’ = end) 1. View text no: 0x0a 1=prev. 2=next Das ist ein Mustertext (<-’ = end) Dieses Untermenü dient der Textverwaltung. Diese besteht aus: – Anzeige der gespeicherten Texte – Aktivieren/Deaktivieren des Schreibschutzes – Löschen aller gespeicherten Texte In diesem Dialog können alle gespeicherten Texte angezeigt werden. In der ersten Zeile links wird die Textnummer im Hexformat 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 erase all stored texts from 0 to 0xa8 password: (<-’ = end) erasing text 0xa8 of all texts erased 0xa8 (<-’ = end) 3. Lock text memory Mit diesem Menüpunkt können alle gespeicherten Texte gelöscht werden. Dazu ist die Eingabe des Paßwortes ,,1992“ erforderlich. Im Anschluß an die Eingabe des Paßwortes beginnt der Löschvorgang, der nicht unterbrochen werden kann. text memory locked (<-’ = end) In diesem Dialog wird der Textspeicher gegen ein versehentliches Ü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 Deutsch Bedienung Display F1 F2 F3 F4 F5 F6 F7 1 2 3 4 5 S1 S2 6 7 8 9 0 – . F8 Funktionstastenblock Sondertasten 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 verwendet: – 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 Der Master/Slave-Betrieb kann bei der Inbetriebnahme eingestellt werden, siehe Inbetriebnahme, Seite 12. ready master/slave 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 unaufgefordert senden. Über ein spezielles Adressierungskommando selektiert der Master 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: # 23h 1 31h 4 34h <CR> 0Dh Mit dem nun adressierten Slave kann der Master wie mit einer Eins-zu-Eins-Verbindung kommunizieren. Verwendete Steuerzeichen Zeichenübergabe Beispiel 14 Abkürzung ASCIIWert <CR> <ACK> <NAK> <ESC> 0Dh 06h 15h 1Bh Bedeutung Carriage Return Acknowledge (positive Quittung) Not Acknowledge (negative Quittung) Für Cursorsteuerung Abhängig vom Kommando werden die Zeichen als ASCII-Zeichen (siehe ASCII-Tabelle im Anhang, Seite 37) oder im ASCIIcodierten Hexformat übergeben. Beim ASCII-codierten Hexformat wird ein Byte-Wert (8 Bit) hexadezimal codiert und danach in das ASCII-Format umgewandelt. Wert 1000 1110 binär = 142 Dez = 8E Hex ,,8“ ASCII = 38 Hex ,,E“ ASCII = 45 Hex FT 2000 DS-Nr. 212.959/DD Bedienung – Master/Slave-Betrieb Deutsch Kommandos Allgemeine Struktur eines Kommandos Kommando <Kommando>[Daten]<CR> <ACK>[Daten]<CR> <NAK><CR> keine Quittung Datenrichtung ---> <--- <--<--- Bedeutung Kommando an Slave Empfangenes Kommando wurde vom Slave als korrekt interpretiert. Er gibt eine positive Quittung zurück. Optional können Daten übertragen werden. Der Slave kennt das Kommando nicht. 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“) F1 F2 F3 F4 F5 F6 F7 1 2 3 4 5 S1 S2 6 7 8 9 0 – Zur Ausgabe von ASCII-Zeichen und zur Cursorsteuerung wird jedem auszugebenden String ein ,,D“ vorangestellt. Datenrichtung Master ---> Slave Master <--- Slave F8 . Befehl D<String><CR> <ACK> <CR> 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 nachfolgenden 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 verwendet. Cursorpositionierung Befehl <ESC> A Bedeutung Cursor nach oben <ESC> B Cursor nach unten <ESC> C Cursor nach rechts <ESC> D Cursor nach links <ESC> H Cursor HOME <ESC> Y <Zeile><Spalte> Cursor positionieren Beispiel 1 Erklärung Der Cursor bewegt sich um eine Zeile nach oben (kein Zeilenscroll in erster Zeile). Der Cursor bewegt sich um eine Zeile nach unten (kein Zeilenscroll in letzter Zeile). Der Cursor bewegt sich um eine Position nach rechts (kein Zeilensprung in letzter Spalte). Der Cursor bewegt sich um eine Position nach links (kein Zeilensprung in erster Spalte). Der Cursor wird in die 1. Zeile, 1. Spalte positioniert (HOME-Position). Der Cursor wird in die angegebene Position bewegt. Zeile 1 und Spalte 1 haben den Wert 20h (32). Es muß also zur Positionsangabe immer ein Korrekturfaktor von 1Fh (31) addiert werden. 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 44h 16 FT 2000 <ESC> 1Bh Y 59h DS-Nr. 212.959/DD ! 21h 7 37h <CR> 0Dh Beispiel 2 Der Cursor befindet sich in Zeile 2, Position 2. Es soll der Text ,,Display:“ in der Zeile 1 ab Position 1 ausgegeben werden. Dazu sind die folgenden Kommandos vom Master zum FT 2000 notwendig: D 44h <ESC> 1Bh H 48h <CR> Cursor in HOME-Position 0Dh <ACK> <CR> 06h 0Dh Positive Quittung D 44h s 73h D 44h i 69h p 70h l 6Ch a 61h y 79h : <CR> 3Ah 0Dh Das FT 2000 liefert folgende Quittung an den Master zurück: <ACK> <CR> 06h 0Dh Positive Quittung Displaybereiche löschen Befehl <ESC> o Bedeutung Zeilenbeginn löschen <ESC> K Zeilenende löschen <ESC> l Ganze Zeile löschen <ESC> E Display löschen Erklärung Löscht die Zeile vom Anfang inklusive der aktuellen Position. Die Cursorposition wird nicht verändert. Löscht inklusive der aktuellen Cursorposition bis zum Ende der Zeile. Die Cursorposition wird nicht verändert. Löscht die Zeile, in der sich der Cursor gerade befindet. Die Cursorposition wird nicht verändert. Löscht das Display. Der Cursor wird in Zeile 1, Spalte 1 positioniert (Home-Position). Konfiguration Befehl Bedeutung <ESC> x9 Auto <CR> ein (Default-Einstellung) <ESC> y9 Auto CR aus Erklärung Beim Empfang eines <LF> (0Ah) wird ein <CR>/<LF> 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. 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 Deutsch Bedienung – Master/Slave-Betrieb Bedienung – Master/Slave-Betrieb Funktionstastenblock (,,F“) F1 F2 F3 F4 F5 F6 F7 1 2 3 4 5 S1 S2 6 7 8 9 0 – F8 . Datenrichtung Master ---> Slave Master <--- Slave Befehl F<CR> <ACK><Daten><CR> 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ückgeliefert. Die Übertragung der Nummer erfolgt im ASCII-codierten Hexformat, 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 46h <CR> 0Dh Funktionstastenabfrage Das FT 2000 liefert folgende Quittung an den Master zurück: <ACK> 06h 0 30h 1 31h <CR> 0Dh Es ist die Funktionstaste F1 betätigt HINWEIS Wegen der elektrischen Beschaltung ist es nicht möglich, zwei 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. 18 FT 2000 DS-Nr. 212.959/DD Numerischer Tastenblock (,,K“) F1 F2 F3 F4 F5 F6 F7 1 2 3 4 5 S1 S2 6 7 8 9 0 – Datenrichtung Master ---> Slave Master <--- Slave F8 . Befehl K[<Vorgabewert>]<CR> <ACK>[<Zahlenstring>]<CR> Das ,,K“-Kommando ermöglicht die Übertragung eines Vorgabewertes, der durch den Anwender beliebig editiert werden kann. Beim Aufruf des Kommandos wird die Tastatur freigegeben. Der Vorgabewert 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ächsten ,,K“-Kommandos zum Master übertragen. Die Länge des Zahlenstrings wird durch das Zeilenende der Anzeige begrenzt. Spalte: 1 10 11 Eingabe: 12 39 40 9_ Die maximale Länge des Defaultwertes beim ,,K“-Kommando beträgt 40 Zeichen. Wurde über ein Display-Kommando ein Eingabetext ausgegeben, so reduziert sich die Länge des Defaultwertes beim ,,K“-Kommando um die Länge des Textes beim Display-Kommando. Spalte 1 bis 10 11 bis 40 40 Text des Display-Kommandos Bereich zur Eingabe von Zeichen 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, gesperrt oder unterbrochen werden, so ist dies mit dem Systemkommando ,,SN“ möglich. FT 2000 DS-Nr. 212.959/DD 19 Deutsch Bedienung – Master/Slave-Betrieb Bedienung – Master/Slave-Betrieb Damit der Master das ,,K“-Kommando erkennen kann, muß vor der Bestätigung durch [↵] mindestens ein Zeichen im editierbaren Bereich der Anzeige vorhanden sein. Falls nur eine Bestätigung 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 kommunizieren, 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 überschrieben.) 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“-Kommando 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 übertragen 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 Deutsch Master sendet „K“-Kommando mit Vorgabewert Vorgabewert wird am FT 2000 editiert Einfache Quittung an Master <ACK><CR> Master sendet „K“-Kommando NEIN Wurde die Eingabe mit abgeschlossen ? JA Quittung mit editiertem Wert an Master <ACK><Wert><CR> Bild 8 Ablaufdiagramm ,,K“-Kommando FT 2000 DS-Nr. 212.959/DD 21 Bedienung – Master/Slave-Betrieb Eingangsport (,,I“) F1 F2 F3 F4 F5 F6 F7 1 2 3 4 5 S1 S2 7 8 9 0 – 6 E/A Port F8 . RS 485 Beispiel Datenrichtung Master ---> Slave Master <--- Slave Befehl I<CR> <ACK><WERT><CR> Mit dem Kommando ,,I“ können die Werte der Eingänge des FT 2000 ausgelesen werden. Der Wert der Eingänge wird vom FT 2000 in ASCII codiertem Hexformat an den Master zurückgegeben. Der Master fordert den Wert der Eingänge an. Dazu überträgt er folgenden Befehl: I 49h <CR> Abfrage der Eingänge 0Dh Das FT 2000 gibt folgende Quittung zurück: <ACK> 06h 2 32h E 45h <CR> Positive Quittung und 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 F1 F2 F3 F4 F5 F6 F7 1 2 3 4 5 S1 S2 7 8 9 0 – 6 E/A Port F8 . RS 485 Beispiel Datenrichtung Master ---> Slave Master <--- Slave Deutsch Ausgangsport (,,Q“) Befehl Q<WERT><CR> <ACK><CR> Über den Befehl ,,Q“ können die Ausgänge des FT 2000 gesetzt werden. Dazu sendet der Master den Befehl ,,Q“ und den Wert der zu setzenden Ausgänge im ASCII-codierten Hexformat an das FT 2000. 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 51h 2 32h E 45h <CR> Befehl zum Setzen der 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 (,,S<Kommando>“) Das FT 2000 besitzt folgende Systemkommandos: SD SK SN Kurzstatus (,,SK“) Displaykontrast ändern (0...9) Kurzstatus Numerische Eingabe abbrechen Datenrichtung Master ---> Slave Master <--- Slave Befehl SK<CR> <ACK><Statusbyte><CR> Mit dem Systemkommando Kurzstatus kann der Master die Art der vorangegangenen Quittung eines adressierten FT 2000 ermitteln. 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 53h K 4Bh <CR> Kurzstatus anfordern 0Dh Das FT 2000 überträgt folgende Quittung an den Master zurück: <ACK> 06h 8 38h 0 30h <CR> Kurzstatus übertragen 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 F1 F2 F3 F4 F5 F6 F7 1 2 3 4 5 S1 S2 6 7 8 9 0 – F8 . Datenrichtung Master ---> Slave Master <--- Slave Deutsch Displaykontrast (,,SD“) Befehl SD<Kontrast><CR> <ACK><CR> Mit diesem Systemkommando wird der Kontrast der LCD-Anzeige eingestellt. Der eingestellte Wert wird im EEPROM gespeichert und beim nächsten Einschalten automatisch eingestellt. Dem Systemkommando wird der Wert des Kontrastes übergeben. 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 53h D 44h 4 34h <CR> Wert für Kontrast übertragen 0Dh Vom FT 2000 wird folgende Quittung zurückgeliefert: <ACK> <CR> Positive Quittung Numerische Eingabe abbrechen (,,SN“) Der Master hat die Möglichkeit, ein ,,K“-Kommando abzubrechen und den Normalzustand wiederherzustellen. Dies ist z.B. sinnvoll, wenn eine numerische Eingabe am Display nicht innerhalb einer anwendungsspezifischen Abfragezeit mit [↵] abgeschlossen wird. Der Master sendet dazu folgendes Kommando: S 53h FT 2000 N 4Eh <CR> Numerische Eingabe abbrechen 0Dh DS-Nr. 212.959/DD 25 Bedienung – Master/Slave-Betrieb Übertragungsfehler Übertragungsfehler Master ---> Slave Erkennt der Slave einen Übertragungsfehler, gibt er keine Quittung an den Master zurück und schaltet sich als nicht-adressiert. Der Master kann mit Hilfe einer Timeoutkontrolle auf die ausbleibende Quittung den Übertragungsfehler feststellen und je nach Anwendungsfall darauf reagieren (z.B. Kommando wiederholen). Beispiel Datenrichtung Master ---> Slave Master <--- Slave Master ---> Slave Master ---> Slave Befehl Q<Wert><CR> <ACK><CR> I<CR> Befehl fehlerhaft Master ---> Slave Master ---> Slave Master <--- Slave #1<CR> I<CR> <ACK>3F<CR> Übertragungsfehler Slave ---> Master Bemerkung Ausgänge setzen Positive Quittung Eingänge abfragen 1. Slave erkennt Übertragungsfehler 2. Timeoutkontrolle im Master 3. Master erkennt Timeout Slave und versucht, den Auftrag zu wiederholen Master adressiert Slave 1 Eingänge abfragen Slave gibt den Wert der Eingänge zurück Erkennt der Master einen Übertragungsfehler, so weiß er nicht, 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 Systemkommando Kurzstatus (SK) ausgestattet (siehe Systemkommando (,,S<Kommando>“), Seite 24). 26 FT 2000 DS-Nr. 212.959/DD Bedienung – Master/Slave-Betrieb Datenrichtung Master ---> Slave Master <--- Slave Deutsch Text speichern/ löschen (,,P“) Befehl P<xx><Text> <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 überschrieben. 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 50h 0 30h A 41h Das ist ein Mustertext 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 eingesetzten 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 Master ---> Slave Master <--- Slave Befehl R<xx><y> <ACK><CR> Mit dem Befehl ,,R“ können im FT 2000 gespeicherte Texte auf dem Display ausgegeben werden. <xx> <y> 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). 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 folgenden Befehl an das FT 2000: R 52h 0 30h A 41h 1 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 Der Terminal-Betrieb kann bei der Inbetriebnahme eingestellt werden, siehe Inbetriebnahme, Seite 12. ready terminal 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 Inbetriebnahme, Seite 11. Beispiel Mit folgendem Kommando kann das FT 2000 mit der Adresse 14 angesprochen werden. # 23h 1 31h 4 34h <CR> 0Dh Jetzt können Daten gesendet und empfangen werden. Verwendete Steuerzeichen Abkürzung ASCIIWert <NUL> <BS> <LF> <CR> <ESC> <DEL> 00h 08h 0Ah 0Dh 1Bh 7Fh FT 2000 Bedeutung Für Funktionstasten-Kennzeichnung Cursor eine Stelle nach links bewegen Cursor in nächste Zeile bewegen Cursor auf Zeilenanfang bewegen Für Cursorsteuerung Zeichen links vom Cursor löschen DS-Nr. 212.959/DD 29 Deutsch Bedienung – Terminal-Betrieb Bedienung – Terminal-Betrieb Cursorsteuerung Zur Cursorsteuerung werden Befehle der VT52-Emulation verwendet. Cursorpositionierung Befehl <ESC> A Bedeutung Cursor nach oben <ESC> B Cursor nach unten <ESC> C Cursor nach rechts <ESC> D Cursor nach links <ESC> H Cursor HOME <ESC> Y <Zeile><Spalte> Cursor positionieren Beispiele Erklärung Der Cursor bewegt sich um eine Zeile nach oben (kein Zeilenscroll in erster Zeile). Der Cursor bewegt sich um eine Zeile nach unten (kein Zeilenscroll in letzter Zeile). Der Cursor bewegt sich um eine Position nach rechts (kein Zeilensprung in letzter Spalte). Der Cursor bewegt sich um eine Position nach links (kein Zeilensprung in erster Spalte). Der Cursor wird in die 1. Zeile, 1. Spalte positioniert (HOME-Position). Der Cursor wird in die angegebene Position bewegt. Zeile 1 und Spalte 1 haben den Wert 20h (32). Es muß also zur Positionsangabe immer ein Korrekturfaktor von 1Fh (31) addiert werden. 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> 1Bh Y 59h ! 21h 7 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> 1Bh D 44h 30 FT 2000 i 69h H 48h s 73h <CR> 0Dh p 70h l 6Ch DS-Nr. 212.959/DD Cursor in HOME-Position a 61h y 79h : <CR> 3Ah 0Dh Bedienung – Terminal-Betrieb Befehl <ESC> o Bedeutung Zeilenbeginn löschen <ESC> K Zeilenende löschen <ESC> l Ganze Zeile löschen <ESC> E Display löschen Erklärung Löscht die Zeile vom Anfang inklusive der aktuellen Position. Die Cursorposition wird nicht verändert. Löscht inklusive der aktuellen Cursorposition bis zum Ende der Zeile. Die Cursorposition wird nicht verändert. Löscht die Zeile, in der sich der Cursor gerade befindet. Die Cursorposition wird nicht verändert. Löscht das Display. Der Cursor wird in Zeile 1, Spalte 1 positioniert (Home-Position). Konfiguration Befehl Bedeutung <ESC> x9 Auto <CR> ein (Default-Einstellung) <ESC> y9 Auto CR aus Erklärung Beim Empfang eines <LF> (0Ah) wird ein <CR>/<LF> 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. 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 Deutsch Displaybereiche löschen Bedienung – Terminal-Betrieb Funktionstasten Beim Drücken der Funktionstasten werden standardmäßig folgende Zeichen übertragen: Standardbelegung Funktionstastenbelegung ändern Beispiel F1 → <NUL>; F2 → <NUL>< F3 → <NUL>= F4 → <NUL>> F5 → <NUL>? F6 → <NUL>@ F7 → <NUL>A F8 → <NUL>B Die Funktionstastensbelegung kann durch Senden folgender 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’ 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 übertragen: F1 Tastatur ein- und ausschalten → X Die Tastatur kann mit folgenden ESC-Befehlen ein- und ausgeschaltet werden: ’<ESC>>’ ’<ESC>=’ 32 FT 2000 einschalten ausschalten DS-Nr. 212.959/DD 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 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 überschrieben. 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 auf Display ausgeben Mit dem folgenden ESC-Befehl können im FT 2000 gespeicherte Texte auf dem Display ausgegeben werden. ’<ESC>R<xx><y>’ <xx> <y> 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). 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 Deutsch Bedienung – Terminal-Betrieb Funktionstest F1 F2 F3 F4 F5 F6 F7 1 2 3 4 5 S1 S2 6 7 8 9 Funktionstest 0 – F8 Wird innerhalb von 1,5 Sekunden nach dem Einschalten die Sondertaste S2 gedrückt, wird der Funktionstest durchgeführt. Es erscheint eine Eingangsmeldung auf dem Display und die Aufforderung, das Paßwort einzugeben. Das voreingestellte Paßwort ist ,,1992“. . functional test mode password: * * * * (<-’ = end) FunktionstestHauptmenü Das Hauptmenü besteht aus 4 Auswahlmöglichkeiten, die durch Drücken der jeweiligen Tasten angewählt werden können. 1 1=keyboard 3=input 2=bus interface 4=output (<-’ = end) 2 3 4 Tastaturtest 1 keyboard test (<-’ = end) pressed key: S1 Schnittstellentest 2 ’FT2000’ ’FT2000’ Schnittstellentest Test der Eingänge (nur im Master/Slave-Betrieb) Test der Ausgänge (nur im Master/Slave-Betrieb) Nach Drücken der Taste [1] im Hauptmenü erscheint das Untermenü Tastaturtest. Hier kann durch Betätigen der einzelnen Tasten die Tastatur überprüft werden. Beim Drücken der Tasten werden ihre Bezeichnungen im Klartext angezeigt. Der Tastaturtest kann durch Drücken der Taste [↵] verlassen werden. Um den Schnittstellentest durchzuführen, muß vorher ein Kurzschlußstecker auf die RS-485-Schnittstelle gesteckt werden. Die Verdrahtung ist in Bild 9 dargestellt. (<-’ = end) 8 TxD 9 3 RxD RxD 5 TxD 4 7 2 6 1 send: received: Tastaturtest Stecker 9-polig Bild 9 Belegung Kurzschlußstecker Nach Drücken der Taste [2] im Hauptmenü erscheint das Untermenü Schnittstellentest. Zum Test der Schnittstelle muß ein Kurzschlußstecker auf den Sub-D-Stecker aufgesteckt werden. Der Schnittstellentest kann durch Drücken der Taste [↵] verlassen werden. 34 FT 2000 DS-Nr. 212.959/DD Funktionstest 3 input test (<-’ = end) status (I7...I0): 0 0 0 0 0 0 0 0 Dieser Funktionstest ist nur im Master/Slave-Betrieb möglich. Nach Drücken der Taste [3] im Hauptmenü erscheint das Untermenü Eingänge. Es wird der aktuelle Stand der Eingänge angezeigt. 1 0 Es liegt ein Signal am Eingang an. Es liegt kein Signal am Eingang an. Der Test der Eingänge kann durch Drücken der Taste [↵] verlassen werden. Test der Ausgänge 4 output set/clear (<-’ = end) 1...8=Q0-Q7 ’-’ = set/clear output set/clear status (Q7...Q0) : output set/clear output overload Dieser Funktionstest ist nur im Master/Slave-Betrieb möglich. Nach Drücken der Taste [4] im Hauptmenü erscheint das Untermenü Ausgänge. Es wird der aktuelle Stand der Ausgänge angezeigt. Die Ausgänge können mit der Taste [-] gesetzt oder gelöscht werden. (<-’ = end) 0 0 0 0 0 0 0 0 (<-’ = end) 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 Deutsch Test der Eingänge Wartung Wartungsvertrag Um Stillstandzeiten durch Nutzungsausfall des Gerätes vorzubeugen, bietet SIG BERGER LAHR individuelle Wartungs- und ServiceVerträ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 HEX 00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh 0Fh 10h 11h 12h 13h 14h 15h 16h 17h 18h 19h DEZ 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 CHAR HEX DEZ CHAR HEX DEZ CHAR 4 (NUL) 1Ah 26 (SUB) 34h 52 5 (SOH) 1Bh 27 (ESC) 35h 53 6 (STX) 1Ch 28 (FS) 36h 54 7 (ETX) 1Dh 29 (GS) 37h 55 8 (EOT) 1Eh 30 (RS) 38h 56 9 (ENQ) 1Fh 31 (US) 39h 57 : (ACK) 20h 32 blk 3Ah 58 ; (BEL) 21h 33 ! 3Bh 59 < (BS) " 3Ch 60 22h 34 = (HT) # 3Dh 61 23h 35 > (LF) $ 3Eh 62 24h 36 ? (VT) % 3Fh 63 25h 37 @ (FF) & 40h 64 26h 38 A (CR) ’ 41h 65 27h 39 B (SO) ( 42h 66 28h 40 C (SI) ) 43h 67 29h 41 D (DLE) 2Ah 42 * 44h 68 E (DC1) 2Bh 43 + 45h 69 F (DC2) 2Ch 44 , 46h 70 G (DC3) 2Dh 45 47h 71 H (DC4) 2Eh 46 . 48h 72 I (NAK) 2Fh 47 / 49h 73 J (SYN) 30h 48 0 4Ah 74 K (ETB) 31h 49 1 4Bh 75 L (CAN) 32h 50 2 4Ch 76 M (EM) 3 4Dh 77 33h 51 HEX 4Eh 4Fh 50h 51h 52h 53h 54h 55h 56h 57h 58h 59h 5Ah 5Bh 5Ch 5Dh 5Eh 5Fh 60h 61h 62h 63h 64h 65h 66h 67h DEZ CHAR N 78 O 79 P 80 Q 81 R 82 S 83 T 84 U 85 V 86 W 87 X 88 Y 89 Z 90 [ 91 ¥ 92 ] 93 ^ 94 _ 95 ‘ 96 a 97 b 98 c 99 d 100 e 101 f 102 g 103 HEX 68h 69h 6Ah 6Bh 6Ch 6Dh 6Eh 6Fh 70h 71h 72h 73h 74h 75h 76h 77h 78h 79h 7Ah 7Bh 7Ch 7Dh 7Eh 7Fh DEZ CHAR h 104 i 105 j 106 k 107 l 108 m 109 n 110 o 111 p 112 q 113 r 114 s 115 t 116 u 117 v 118 w 119 x 120 y 121 z 122 { 123 | 124 } 125 → 126 127 (DEL) Anhang FT 2000 DS-Nr. 212.959/DD 37 Deutsch ASCII-Tabelle Anhang Abkürzungen 38 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 FT 2000 DS-Nr. 212.959/DD Technical Documentation Operating Terminal DOKU-DRU F1 F2 F3 F4 F5 F6 F7 1 2 3 4 5 S1 S2 6 7 8 9 0 – . F8 FT 2000 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 performed 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 conditions, 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 accessories 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, possibly 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 The device has been designed for installation in an operating 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 1 2 3 4 5 S1 S2 6 7 8 9 0 – . F8 Fig. 1 FT 2000 operating terminal FT 2000 Doc. no. 212.959/GB 3 English General description 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 Fig. 2 Networking scheme 4 FT 2000 FT 2000 FT 2000 Unit 1 Unit 2 Unit 3 FT 2000 Doc. no. 212.959/GB 31 max. 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) 250 mA at 24 V Internal leakage resistance towards ground 100 kohms ATTENTION Separation of the signal inputs and the 24 VDC supply 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 RS 485 1 mA 0V +24V Q7 Q6 Q5 Q4 Q3 Q2 Q1 Q0 I7 I6 I5 I4 I3 I2 I1 I0 Fig. 3 Input/output ports on unit rear Outputs Inputs Technical data FT 2000 Doc. no. 212.959/GB 5 English Power consumption, idle Technical data RS 485 interface (four-wire) Signal Meaning 3 4 5 8 9 TxD RxD RGND TxD RxD Inverted transmitting data Inverted received data Signal ground Transmitting data Received data RGND 8 TxD 9 RxD 4 RxD 5 TxD 3 7 2 6 1 Pin Fig. 4 RS 485 interface assignment Type of protection Unit according to DIN 40050 (IEC 529) Unit installed 6 FT 2000 Doc. no. 212.959/GB IP 00 IP 65 Technical data Ambient conditions Dimensions Length Width Mounting depth Operating temperature Storage temperature Noise immunity according to IEC 801-2 according to IEC 801-4 see figure 5 220 mm 132.5 mm (3 HU) approx. 45 mm 0° to +40°C -25° to +70°C English Mechanical data Severity 3 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 132.5 121.5 108 ±5 100 ±5 PCB cover (depth 48.5 mm) 11 Cord seal, 3 mm 188 ±5 192 ±5 209 220 3 11 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. 1 1 Accessories Designation FT 2000 operating terminal FT 2000 documentation The following accessories are optionally available: Designation 9-pole crossover adapter for RS 485 interface Installation 8 FT 2000 Doc. no. 212.959/GB Order number 62501511001 Installation Mounting 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. 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 English NOTE Ensure a good ground connection to the unit. 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 6 1 7 2 9-pole male connector 8 3 9 TxD TxD RxD RxD RGND 4 TxD TxD RxD RxD RGND 5 5 9 4 8 3 7 2 6 1 FT 2000 9-pole male connector to other slaves Fig. 6 Wiring layout 10 FT 2000 Doc. no. 212.959/GB 8 9 4 5 TxD TxD RxD RxD RGND 3 7 2 6 1 FT 2000 9-pole male connector 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. F1 F2 F3 F4 F5 F6 F7 1 2 3 4 5 S1 S2 6 7 8 9 0 – setup mode password: * * ** 1 9 9 To go to the S1 menue, proceed as follows: 1. Switch off the voltage on the FT 2000. 2. Press and hold the special key [S1]. 3. Switch on the voltage on the FT 2000. 4. Enter the password “1992”. English S1 menue F8 . (<-’ = end) 2 NOTE The password cannot be changed. If you enter a different password, an error message is displayed. 1=change busaddr. 2=lcd contrast 3=change mode 4=text menue <-’=end Starting in the main menue, you can go to the submenues by pressing the keys 1 to 4. 1. Bus address In this dialogue, you can change the bus address of the FT 2000. 1 change bus address old addr.: 12 new addr.: 23 change bus address invalid address (1...31) Enter the desired address. Valid range: 1 – 31 The current address is displayed for verification. 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 change lcd contrast (0=bright 9=dark) old contr.: 5 new contr.[0...9]: Enter the desired contrast setting. Valid range: 0 – 9 The currently set contrast is displayed for verification. FT 2000 Doc. no. 212.959/GB 11 Setup 3. Mode 3 change mode (act.=master/slave) 1=master/slave 2=terminal In this dialogue, you can select either “master/slave” or “terminal” mode. 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 4 1=view text 2=erase all texts 3=lock text memory (<-’ = end) 1. View text no: 0x0a 1=prev. 2=next This is a sample text (<-’ = end) This submenue is used for administrating the texts. It consists of: – Stored text display – Enabling/disabling write protection – Deleting all stored texts In this dialogue, you can display all stored texts. In the first line on the left, the text number is displayed in hexadecimal format. 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 erase all stored texts from 0 to 0xa8 password: (<-’ = end) erasing text 0xa8 of all texts erased 0xa8 (<-’ = end) 3. Lock text memory You can use this menue option to delete all stored texts. To do this, you also have to enter the password “1992”. Immediately after entering the password, deletion starts and cannot be interrupted. text memory locked (<-’ = end) You can use this dialogue to protect the text memory from being 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 F2 F3 F4 F5 F6 F7 1 2 3 4 5 S1 S2 6 7 8 9 0 – . F8 Function key block English F1 Special keys 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 Master/slave mode can be selected during setup; see Setup, page 12. ready master/slave Operation Protocol – Master/slave (handshake) 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 acknowledgement <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: # 23h 1 31h 4 34h <CR> 0Dh The master is now able to communicate with the polled slave on a one-to-one basis. Control codes Character transfer Example 14 Abbreviation ASCII value <CR> <ACK> <NAK> <ESC> 0Dh 06h 15h 1Bh Meaning Carriage Return Acknowledge (positive ack.) Not Acknowledge (negative ack.) For cursor control 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. Binary value 1000 1110 = 142 dec = 8E hex “8” ASCII = 38 hex “E” ASCII = 45 hex FT 2000 Doc. no. 212.959/GB Operation – Master/slave mode Commands General command syntax Data direction <command>[data]<CR> <ACK>[data]<CR> ---> <--- <NAK><CR> No acknowledgement <--<--- Meaning Command to slave Received command was found to be correct by the slave. It returns positive acknowledgement. Optionally, data can be transferred. The slave does not recognize the command. The slave has detected a transmission error and does not send any acknowledgement. English Command Command summary Command D Meaning Display (LCD) F K I Q P R SD SK SN Function key block Numerical key block Input port Output port Save/delete texts Output texts Display contrast Status check Abort numerical input operation Description Character output on display including display control (VT-52 emulation) Function key code interrogation Input of numerical values Interrogating the inputs Setting the outputs Save text (up to 40 characters each) in the FT 2000 Output stored texts on the display Setting the display contrast Determine type of previous acknowledgement Numerical input can be stopped by master 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”) F1 F2 F3 F4 F5 F6 F7 1 2 3 4 5 S1 S2 6 7 8 9 0 – Each output string for ASCII character output and cursor control is preceded by a “D”. Data direction Master ---> Slave Master <--- Slave F8 . Command D<string><CR> <ACK><CR> 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 characters are suppressed, and a positive acknowledgement is returned. 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 emulation command set. Cursor positioning Command <ESC> A Meaning Cursor up <ESC> B Cursor down <ESC> C Cursor right <ESC> D Cursor left <ESC> H Cursor HOME <ESC> Y <line><column> cursor positioning Example 1 Description The cursor moves one line up (no line scrolling in first line). The cursor moves one line down (no line scrolling in last line). The cursor moves to the right by one space (no line feed in last column). The cursor moves to the left by one space (no reverse line feed in first column). The cursor jumps to 1st line, 1st column (HOME position). The cursor moves to the specified position. Line 1 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. 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 44h 16 FT 2000 ESC 1Bh Y 59h Doc. no. 212.959/GB ! 21h 7 37h <CR> 0Dh Operation – Master/slave mode 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 44h <ESC> 1Bh <ACK> 06h D 44h H 48h <CR> 0Dh D 44h i 69h <CR> Cursor in HOME position 0Dh Positive acknowledgement s 73h p 70h l 6Ch a 61h y 79h : <CR> 3Ah 0Dh The FT 2000 returns the following acknowledgement to the master: <ACK > 06h <CR> 0Dh Positive acknowledgement Delete display areas Command <ESC> o Meaning Delete from beginning of line <ESC> K Delete to end of line <ESC> l Delete line <ESC> E Clear display Description To delete the line from the beginning to the current position (including the current position). The cursor position is not changed. To delete the line from the current cursor position to the end of the line. The cursor position is not changed. To delete the line in which the cursor is currently located. The cursor position is not changed. To delete everything from the display. The cursor is moved to line 1, column 1 (HOME position). Configuration Command <ESC> x9 Meaning Auto CR on (default setting) <ESC> y9 Auto CR off FT 2000 Description Upon receiving an <LF> (0Ah), a <CR>/<LF> is 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. 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. Doc. no. 212.959/GB 17 English Example 2 Operation – Master/slave mode Function key block (“F”) F1 F2 F3 F4 F5 F6 F7 1 2 3 4 5 S1 S2 6 7 8 9 0 – F8 . Data direction Master ---> Slave Master <--- Slave Command F<CR> <ACK><data><CR> 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 46h <CR> Function key code interrogation 0Dh The FT 2000 returns the following acknowledgement to the master: <ACK> 0 1 06h 30h 31h <CR> Function key F1 is pressed 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”) F2 F3 F4 F5 F6 F7 1 2 3 4 5 S1 S2 6 7 8 9 0 – F8 . Command K[<default value>]<CR> <ACK>[<number string>]<CR> 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 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. Column: 1 Input: 10 11 39 40 12 9_ The maximum length of the default value with the “K” command is 40 characters. If an input prompt was displayed with the display 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 11 to 40 40 Input prompt text Entry area for characters 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 transmitted to the master. NOTE To prevent numerical input permanently or temporarily, use the system command “SN”. FT 2000 Doc. no. 212.959/GB 19 English F1 Data direction Master ---> Slave Master <--- Slave 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 posi06h 2Dh 32h 32h 30h 2Eh 32h 32h 0Dh tive acknowledgement 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 Simple acknowledge to master <ACK><CR> English Default value is edited on FT 2000 Master sends “K” command Input completed by No ? 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”) F1 F2 F3 F4 F5 F6 F7 1 2 3 4 5 S1 S2 7 8 9 0 – 6 E/A Port F8 . RS 485 Example Data direction Master ---> Slave Master <--- Slave Command I<CR> <ACK><value><CR> With the “I” command, the values of the FT 2000 inputs can be read in. The value of the inputs is returned by the FT 2000 to the master in ASCII encoded hexadecimal format. The master reads the input value by transmitting the following command: I 49h <CR> 0Dh Input read The FT 2000 responds with the following acknowledgement: <ACK> 06h 2 32h E 45h <CR> Transmit positive 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”) F2 F3 F4 F5 F6 F7 1 2 3 4 5 S1 S2 7 8 9 0 – 6 E/A Port F8 . RS 485 Example Command Q<value><CR> <ACK><CR> The outputs of the FT 2000 can be set with the “Q” command. 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 hexadecimal format. 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 51h 2 32h E 45h <CR> Transmit command for 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 English F1 Data direction Master ---> Slave Master <--- Slave Operation – Master/slave mode System command (“S<command>”) The following FT 2000 system commands are available: SD SK SN Status check (,,SK“) Set display contrast (0...9) Status check Stop numerical input operation Data direction Master ---> Slave Master <--- Slave Command SK<CR> <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 eliminated, 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 53h K 4Bh <CR> 0Dh Obtain previous status The FT 2000 returns the following acknowledgement to the master: <ACK> 06h 8 38h 0 30h <CR> Transmit previous status 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”) F2 F3 F4 F5 F6 F7 1 2 3 4 5 S1 S2 6 7 8 9 0 – F8 . Command SD<contrast><CR> <ACK><CR> 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. 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 53h D 44h 4 34h <CR> Transmit contrast value 0Dh The FT 2000 returns the following acknowledgement: <ACK> Stop numerical input operation (“SN”) <CR> Positive acknowledgement The master has the option to abort a “K” command and to return 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 53h FT 2000 N 4Eh <CR> Stop numerical input operation 0Dh Doc. no. 212.959/GB 25 English F1 Data direction Master ---> Slave Master <--- Slave Operation – Master/slave mode Transmission errors Transmission error Master ---> Slave If the slave detects a transmission error, it does not return an acknowledgement to the master and deselects itself. The master can detect the transmission error by means of an acknowledgement failure timeout check and respond as required by the application in question (e.g. repeat the command). Example Data direction Master ---> Slave Master <--- Slave Master ---> Slave Master ---> Slave Command Q<value><CR> <ACK><CR> I<CR> Command error Master ---> Slave Master ---> Slave Master <--- Slave #1<CR> I<CR> <ACK>3F<CR> Transmission error Slave ---> Master Observations Set outputs Positive acknowledgement Interrogate inputs 1. Slave detects transmission error 2. Master timeout check 3. Master detects slave timeout and tries to repeat the job Master polls slave 1 Interrogate inputs Slave returns value of inputs When the master detects a transmission error, it cannot determine 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 provided 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 Master ---> Slave Master <--- Slave Command P<xx><Text> <ACK><CR> <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 50h 0 30h A 41h This is a sample text 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 English You can use the “P” command to save texts or delete stored texts in the EEPROM of the FT 2000. Operation – Master/slave mode Output stored text (“R”) Data direction Master ---> Slave Master <--- Slave Command R<xx><y> <ACK><CR> You can use the “R” command to output texts stored in the FT 2000 on the display. <xx> <y> 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). 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 52h 0 30h A 41h 1 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 Terminal mode can be selected during setup; see Setup, page 12. ready terminal Operating – Terminal mode Polling Example The following command can be used to poll the FT 2000 with the address 14. # 23h 1 31h 4 34h <CR> 0Dh You can now transmit or receive data. Control codes Abbreviation ASCII value <NUL> <BS> 00h 08h <LF> <CR> 0Ah 0Dh <ESC> <DEL> 1Bh 7Fh FT 2000 Meaning For function key identification Move cursor by one character to the left Move cursor to the next line Move the cursor to the beginning of the line For cursor control Delete the character to the left of the cursor Doc. no. 212.959/GB 29 English 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. Operating – Terminal mode Cursor control The cursor is controlled with commands from the VT-52 emulation command set. Cursor positioning Command <ESC> A Meaning Cursor up <ESC> B Cursor down <ESC> C Cursor right <ESC> D Cursor left <ESC> H <ESC> Y Cursor HOME <line><column> cursor positioning Examples Description The cursor moves one line up (no line scrolling in first line). The cursor moves one line down (no line scrolling in last line). The cursor moves to the right by one space (no line feed in last column). The cursor moves to the left by one space (no reverse line feed in first column). The cursor moves to line 1, column 1 (HOME position). The cursor moves to the specified position. Line 1 and 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. 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> 1Bh Y 59h ! 21h 7 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> 1Bh D 44h 30 FT 2000 H 48h i 69h s 73h <CR> 0Dh, p 70h Cursor in HOME position l 6Ch Doc. no. 212.959/GB a 61h y 79h : <CR> 3Ah 0Dh Operating – Terminal mode Command <ESC> o Meaning Delete from beginning of line <ESC> K Delete to end of line <ESC> l Delete line <ESC> E Clear display Description To delete the line from the beginning to the current position (including the current position). The cursor position is not changed. To delete the line from the current cursor position to the end of the line. The cursor position is not changed. To delete the line in which the cursor is currently located. The cursor position is not changed. To delete everything from the display. The cursor is moved to line 1, column 1 (HOME position). Configuration Command <ESC> x9 Meaning Auto <CR> on (default setting) <ESC> y9 Auto CR off FT 2000 Description Upon receiving an <LF> (0Ah), a <CR>/<LF> is 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. 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. Doc. no. 212.959/GB 31 English Clear display areas Operating – Terminal mode Function keys When pressing the function keys, the following characters are sent by default: Standard assignment Changing the function key assignment Example F1 → <NUL>; F2 → <NUL>< F3 → <NUL>= F4 → <NUL>> F5 → <NUL>? F6 → <NUL>@ F7 → <NUL>A F8 → <NUL>B The function key assignment can be changed by issuing the 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’ 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 Switching the keyboard on or off → X The keyboard can be switched on or off with the following ESC sequences: ’<ESC>>’ ’<ESC>=’ 32 FT 2000 to switch on to switch off 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>’ 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. 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 on display You can use the following ESC command to output texts stored in the FT 2000 on the display. ’<ESC>R<xx><y>’ <xx> <y> Example 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). specifies the display line in which the text is to be output. Enter the number in hexadecimal format; the first line corresponds to 0h. 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 English <xx> Functional test F1 F2 F3 F4 F5 F6 F7 1 2 3 4 5 S1 S2 6 7 8 9 0 – Functional test F8 If you press the special key S2 within 1.5 seconds after switching on, the functional test is carried out. An initial message appears on the display with the password prompt. The default password is “1992”. . functional test mode password: * * * * (<-’ = end) Functional test main menue The main menue consists of 4 options which can be selected by pressing the corresponding number key. 1 1=keyboard 3=input 2=bus interface 4=output (<-’ = end) 2 3 4 Keyboard test keyboard test (<-’ = end) pressed key: S1 Interface test ’FT2000’ ’FT2000’ Interface test Input test (only in master/slave mode) Output test (only in master/slave mode) 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. Upon pressing the keys their designations are displayed in plain text. To exit the keyboard test press the [↵] key. 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. (<-’ = end) 8 TxD 9 3 RxD RxD 5 TxD 4 7 2 6 1 send: received: Keyboard test 9-pole connector Fig. 9 Shorting 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 3 This functional test is only available in master/slave mode. When pressing the key [3] from the main menue the input test submenue is displayed, showing the current state of the inputs. 1 0 A signal is present on the input. No signal is present on the input. To exit the input test, press the [↵] key. Output test 4 output set/clear (<-’ = end) 1...8=Q0-Q7 ’-’ = set/clear output set/clear status (Q7...Q0) : output set/clear output overload This functional test is only available in master/slave mode. 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. (<-’ = end) 0 0 0 0 0 0 0 0 (<-’ = end) 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 English input test (<-’ = end) status (I7...I0): 0 0 0 0 0 0 0 0 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 HEX 00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh 0Fh 10h 11h 12h 13h 14h 15h 16h 17h 18h 19h DEC 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 CHAR (NUL) (SOH) (STX) (ETX) (EOT) (ENQ) (ACK) (BEL) (BS) (HT) (LF) (VT) (FF) (CR) (SO) (SI) (DLE) (DC1) (DC2) (DC3) (DC4) (NAK) (SYN) (ETB) (CAN) (EM) HEX 1Ah 1Bh 1Ch 1Dh 1Eh 1Fh 20h 21h 22h 23h 24h 25h 26h 27h 28h 29h 2Ah 2Bh 2Ch 2Dh 2Eh 2Fh 30h 31h 32h 33h DEC 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 CHAR (SUB) (ESC) (FS) (GS) (RS) (US) blk ! " # $ % & ’ ( ) * + , . / 0 1 2 3 HEX 34h 35h 36h 37h 38h 39h 3Ah 3Bh 3Ch 3Dh 3Eh 3Fh 40h 41h 42h 43h 44h 45h 46h 47h 48h 49h 4Ah 4Bh 4Ch 4Dh DEC CHAR 4 52 5 53 6 54 7 55 8 56 9 57 : 58 ; 59 < 60 = 61 > 62 ? 63 @ 64 A 65 B 66 C 67 D 68 E 69 F 70 G 71 H 72 I 73 J 74 K 75 L 76 M 77 HEX 4Eh 4Fh 50h 51h 52h 53h 54h 55h 56h 57h 58h 59h 5Ah 5Bh 5Ch 5Dh 5Eh 5Fh 60h 61h 62h 63h 64h 65h 66h 67h DEC CHAR N 78 O 79 P 80 Q 81 R 82 S 83 T 84 U 85 V 86 W 87 X 88 Y 89 Z 90 [ 91 ¥ 92 ] 93 ^ 94 _ 95 ‘ 96 a 97 b 98 c 99 d 100 e 101 f 102 g 103 HEX 68h 69h 6Ah 6Bh 6Ch 6Dh 6Eh 6Fh 70h 71h 72h 73h 74h 75h 76h 77h 78h 79h 7Ah 7Bh 7Ch 7Dh 7Eh 7Fh DEC CHAR h 104 i 105 j 106 k 107 l 108 m 109 n 110 o 111 p 112 q 113 r 114 s 115 t 116 u 117 v 118 w 119 x 120 y 121 z 122 { 123 | 124 } 125 → 126 127 (DEL) Appendix FT 2000 Doc. no. 212.959/GB 37 English ASCII table Appendix Abbreviations 38 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 FT 2000 Doc. no. 212.959/GB Documentation Technique Terminal de commande DOKU-DRU F1 F2 F3 F4 F5 F6 F7 1 2 3 4 5 S1 S2 6 7 8 9 0 – . F8 FT 2000 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écifiques 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 accessoires 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 composant. 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 environnement é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’exploitation – 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. Application Français Le FT 2000 comporte: – un affichage à cristaux liquides (LCD) pour la visualisation de 2 x 40 caractères maxi – un clavier à effleurement à 24 touches – 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écouplées et 8 sorties résistantes aux courts-circuits) La commande via une interface RS 485 au moyen d’un jeu de caractères ASCII ou de commandes assure l’application universelle 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 1 2 3 4 5 S1 S2 6 7 8 9 0 – . F8 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 communication 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 communication (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 caractè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 Fig. 2 Principe de la connexion en réseau 4 FT 2000 FT 2000 FT 2000 Dispositif 1 Dispositif 2 Dispositif 3 FT 2000 Doc. No. 212.959/F 31 maxi Caractéristiques techniques Caractéristiques électriques Tension d’alimentation du système 24 Vc.c. (20 à 30 Vc.c.) 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 2 x 40 caractères Clavier à effleurement 24 touches 8 entrées numériques 0 à 4 V = low 15 à 30 V = high Couplées directement Français Affichage à cristaux liquides (LCD) 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 Fig. 3 Raccords sur la paroi arrière du dispositif RS 485 1 mA 0V +24V Q7 Q6 Q5 Q4 Q3 Q2 Q1 Q0 I7 I6 I5 I4 I3 I2 I1 I0 Sorties FT 2000 Doc. No. 212.959/F Entrées 5 Caractéristiques techniques Interface RS 485 (à 4 fils) Signal TxD RxD RGND TxD RxD Signification Données transmises inverties Données réceptrices inverties Signal ground Données transmises Données réceptrices RGND 8 TxD 9 RxD 4 RxD 5 TxD 3 7 2 6 1 Broche 3 4 5 8 9 Fig. 4 Affectation de l’interface RS 485 Type de protection Dispositif selon DIN 40050 (IEC 529) En état monté 6 FT 2000 Doc. No. 212.959/F IP 00 IP 65 Caractéristiques techniques Caractéristiques mécaniques Conditions ambiantes Dimensions Longueur Largeur Profondeur totale voir figure 5 220 mm 132,5 mm (3 unités d’hauteur (HE)) env. 45 mm Température de service 0° à +40°C Température de stockage -25° à +70°C Immunité à la perturbation selon IEC 801-2 selon IEC 801-4 degré d’acuité 3 degré d’acuité 2 Français 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 Vis de fixation M4 132,5 121,5 108 ±5 100 ±5 Couvercle de platine (profondeur 48,5 mm) 11 Corde de garniture 3 mm 188 ±5 192 ±5 209 220 3 11 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é. 1 1 Accessoires Désignation Terminal de commande FT 2000 Documentation FT 2000 Les accessoires listés ci-après sont disponibles: Désignation Inverseur de signal à 9 pôles pour interface RS 485 Installation 8 FT 2000 Doc. No. 212.959/F Numéro de réf. 62501511001 Installation Montage 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). FT 2000 Doc. No. 212.959/F 9 Français NOTE La bonne connexion de terre du dispositif doit être assurée. 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 logement 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. FT 2000 6 1 7 2 8 3 9 TxD TxD RxD RxD RGND 4 TxD TxD RxD RxD RGND 5 5 9 4 8 3 7 2 6 1 p.ex. WDP5-318 interface RS 485 Connecteur à 9 pôles avec broches Connecteur à 9 pôles avec broches aux esclaves additionnels Fig. 6 Schéma de câblage 10 FT 2000 Doc. No. 212.959/F 8 9 4 5 TxD TxD RxD RxD RGND 3 7 2 6 1 FT 2000 Connecteur à 9 pôles avec broches Mise en service L’adresse, le contraste de l’afficheur ainsi que le mode d’exploitation 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 F2 F3 F4 F5 F6 F7 1 2 3 4 5 S1 S2 6 7 8 9 0 – setup mode password: * * ** 1 9 9 1. Couper l’alimentation électrique du FT 2000. 2. Maintenir la touche spéciale [S1] enfoncée. 3. Réenclencher l’alimentation électrique du FT 2000. 4. Introduire le mot de passe “1992”. F8 . (<-’ = end) 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 change bus address invalid address (1...31) Introduire l’adresse désirée! Plage admissible: 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 change lcd contrast (0=bright 9=dark) old contr.: 5 new contr.[0...9]: Introduire le contraste désiré! Plage admissible: 0 – 9 Le contraste réglé jusqu’alors est affiché en tant que contrôle. FT 2000 Doc. No. 212.959/F 11 Français F1 Pour parvenir au menu S1, procéder de la manière suivante: Mise en service 3. Mode d’exploitation 3 change mode (act.=master/slave) 1=master/slave 2=terminal Dans ce dialogue il est possible de sélectionner le mode d’exploitation “maître/esclave” ou le mode d’exploitation “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 4 1=view text 2=erase all texts 3=lock text memory (<-’ = end) 1. View text no: 0x0a 1=prev. 2=next (<-’ = end) C’est un spécimen de texte Ce sous-menu sert à la gestion de textes comportant: – l’affichage des textes mémorisés – l’activation/la désactivation de la protection d’écriture – l’effacement de tous les textes mémorisés Dans ce dialogue, il est possible d’afficher tous les textes mémorisés. Dans la première ligne à gauche, le numéro de texte est 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 erase all stored texts from 0 to 0xa8 password: (<-’ = end) erasing text 0xa8 of all texts erased 0xa8 (<-’ = end) 3. Lock text memory Cette option de menu sert à effacer tous les textes mémorisés. A cet effet, il est nécessaire d’introduire le mot de passe “1992”. Suite à l’introduction du mot de passe l’effacement commence et ne peut pas être interrompu. text memory locked (<-’ = end) Dans ce dialogue, la mémoire de textes est protégée contre un 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 F2 F3 F4 F5 F6 F7 1 2 3 4 5 S1 S2 6 7 8 9 0 – . F8 Bloc de touches de fonction Touches spéciales Touches d’édition Français F1 Bloc de touches numériques Fig. 7 Blocs de touches Le maniement du FT 2000 s’effectue à l’aide du clavier à effleurement qui est incorporé dans la platine frontale. Maniement Structure des données La structure suivante des données est utilisée pour la transmission 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 Le mode maître/esclave peut être réglé lors de la mise en service, voir Mise en service, page 12. ready master/slave Protocole (établissement 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 communication. 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: # 23h 1 31h 4 34h <CR> 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 Transmission de caractères Exemple 14 Abréviation <CR> <ACK> <NAK> <ESC> Valeur ASCII 0Dh 06h 15h 1Bh Signification Carriage Return Ack. (accusé de réception positif) Not Ack. (accusé de réception négatif) Pour la commande du curseur Dépendant de la commande, les caractères sont transmis sous 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. Valeur 1000 1110 binaire = 142 Dez = 8E Hex “8” ASCII = 38 Hex “E” ASCII = 45 Hex FT 2000 Doc. No. 212.959/F Maniement – Mode maître/esclave Commandes Structure générale d’une commande Direction des données <Commande>[données]<CR> <ACK>[données]<CR> ---> <--- <NAK><CR> <--- Aucun accusé de réception <--- Signification Commande à l’esclave 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. L’esclave ne peut pas identifier la commande. L’esclave a détecté une erreur de transmission et ne transmet pas d’accusé de réception. Vue d’ensemble des commandes Commande D F K I Q P R SD SK SN Signification Explication Affichage à cristaux liquides (LCD) Visualisation des caractères sur l’affichage incl. commande de l’écran (émulation VT52) Bloc de touches de fonction Interrogation des touches de fonction Bloc de touches numériques Introduction de valeurs numériques Point d’entrée Lecture des entrées Point de sortie Positionnement des sorties Mémoriser/effacer textes Mémoriser le texte (avec respectivement 40 caractères maxi) dans le FT 2000 Sortir textes Sortir les textes mémorisés sur l’afficheur Contraste de l’affichage Régler la valeur de contraste de l’affichage Etat court Déterminer le type de l’accusé de réception précédent Interrompre introduction Permet au maître d’interrompre numérique l’introduction numérique NOTE Les commandes doivent toujours être introduites en lettres majuscules. FT 2000 Doc. No. 212.959/F 15 Français Commande Maniement – Mode maître/esclave Description des commandes Affichage (“D”) F1 F2 F3 F4 F5 F6 F7 1 2 3 4 5 S1 S2 6 7 8 9 0 – 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 Maître ---> Esclave Maître <--- Esclave F8 . Instruction D<String><CR> <ACK><CR> 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 commande du curseur. Positionnement du curseur Instruction Signification <ESC> A Curseur vers le haut <ESC> B Curseur vers le bas <ESC> C Curseur à droite <ESC> D Curseur à gauche <ESC> H Curseur HOME <ESC> Y <Ligne><Colonne> Positionner curseur Exemple 1 Explication Le curseur se déplace d’une ligne vers le haut (aucun scroll de lignes dans la première ligne). Le curseur se déplace d’une ligne vers le bas (aucun scroll de lignes dans la dernière ligne). Le curseur se déplace d’une position à droite (aucun saut de ligne dans la dernière colonne). Le curseur se déplace d’une position à gauche (aucun saut de ligne dans la première colonne). Le curseur est positionné dans la 1. ligne, 1. colonne (position HOME.) Le curseur est déplacé à la position indiquée. La ligne 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. 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 44h 16 FT 2000 ESC 1Bh Y 59h Doc. No. 212.959/F ! 21h 7 37h <CR> 0Dh 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 commandes suivantes au FT 2000: D 44h <ESC> 1Bh <ACK> 06h <CR> 0Dh D 44h D 44h i 69h H 48h <CR> 0Dh Curseur dans la position HOME Accusé de réception positif s 73h p l a 70h 6Ch 61h y : <CR> 79h 3Ah 0Dh <ACK> 06h <CR> 0Dh Français Le FT 2000 transmet l’accusé de réception suivant au maître: Accusé de réception positif 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 <ESC> x9 Auto <CR> marche (réglage default) <ESC> y9 Auto CR arrêt FT 2000 Explication Lors de la réception d’un <LF> (0Ah), un <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 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. 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. Doc. No. 212.959/F 17 Maniement – Mode maître/esclave Bloc de touches de fonction (“F”) F1 F2 F3 F4 F5 F6 F7 1 2 3 4 5 S1 S2 6 7 8 9 0 – F8 . Direction des données Maître ---> Esclave Maître <--- Esclave Instruction F<CR> <ACK><données><CR> 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 46h <CR> 0Dh Interrogation des touches de fonction Le FT 2000 transmet l’accusé de réception suivant au maître: <ACK> 06h 0 30h 1 31h <CR> La touche de fonction F1 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”) F1 F2 F3 F4 F5 F6 F7 1 2 3 4 5 S1 S2 6 7 8 9 0 – Direction des données Maître ---> Esclave Maître <--- Esclave F8 Instruction K[<Valeur prédéfinie>]<CR> <ACK>[<Chaîne de nombres>]<CR> . L’introduction est terminée au moyen de la touche [↵] et le clavier est bloqué, ainsi évitant des introductions supplémentaires. 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. Colonne: 1 Input: 10 11 39 40 12 9_ Pour la commande “K”, la longueur maximale de la valeur par défaut est de 40 caractères. Si un texte d’introduction a été sorti à 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 11 à 40 40 Texte de la commande d’affichage Zone pour l’introduction de caractères 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. (Exception: 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 Français 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 [.], [-], [←]. 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 commande “K”. (Le contenu de l’affichage est recouvert par une commande “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 simple au maître <ACK><CR> Français Maître transmet commande “K” Est-ce que l’introduction a été terminée par ? Non Oui Accusé de réception incl. valeur éditée au maître <ACK><VALEUR><CR> Fig. 8 Organigramme de traitement de la commande “K” FT 2000 Doc. No. 212.959/F 21 Maniement – Mode maître/esclave Point d’entrée (“I”) F1 F2 F3 F4 F5 F6 F7 1 2 3 4 5 S1 S2 7 8 9 0 – 6 E/A Port F8 . RS 485 Exemple Direction des données Maître ---> Esclave Maître <--- Esclave Instruction I<CR> <ACK><VALEUR><CR> Les valeurs des entrées du FT 2000 peuvent être sorties à l’aide de la commande “I”. Le FT 2000 transmet la valeur des entrées, en format hexadécimal codé en ASCII, au maître. Le maître demande la valeur des entrées en transmettant l’instruction suivante: I 49h <CR> 0Dh Interrogation des entrées Le FT 2000 transmet l’accusé de réception suivant: <ACK> 06h 2 32h E 45h <CR> Transmission de l’accusé 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”) F2 F3 F4 F5 F6 F7 1 2 3 4 5 S1 S2 7 8 9 0 – 6 E/A Port F8 . RS 485 Exemple Instruction Q<VALEUR><CR> <ACK><CR> Les sorties du FT 2000 peuvent être positionnées au moyen de 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. 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: Q 51h 2 32h E 45h Français F1 Direction des données Maître ---> Esclave Maître <--- Esclave <CR> Transmission de 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 (“<Commande>S”) Le FT 2000 dispose des commandes de système listées ci-après: SD SK SN Etat court (“SK”) Modifier contraste de l’affichage (0...9) Etat court Interrompre introduction numérique Direction des données Maître ---> Esclave Maître <--- Esclave Instruction SK<CR> <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 commande de système “SK” si la dernière commande transmise a été identifiée comme correcte: S 53h K 4Bh <CR> 0Dh Demander état court Le FT 2000 transmet l’accusé de réception suivant au maître: <ACK> 06h 8 38h 0 30h <CR> Transmission de l’état 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”) F1 F2 F3 F4 F5 F6 F7 1 2 3 4 5 S1 S2 6 7 8 9 0 – F8 . Direction des données Maître ---> Esclave Maître <--- Esclave Instruction SD<Contraste><CR> <ACK><CR> 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. 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 53h D 44h 4 34h <CR> 0Dh Transmission de la valeur de contraste Le FT 2000 transmet l’accusé de réception suivant: <ACK> Interrompre introduction numérique (“SN”) <CR> Accusé de réception positif Le maître peut interrompre une commande “K” et rétablir l’état 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 53h FT 2000 N 4Eh <CR> 0Dh Interrompre introduction numérique Doc. No. 212.959/F 25 Français 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. Maniement – Mode maître/esclave Erreurs de transmission Erreur de transmission Maître ---> Esclave 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 adressé. Suite à l’accusé de réception manquant, le maître peut détecter l’erreur de transmission au moyen du contrôle de synchronisation (timeout check) et réagir dépendant de l’application (p.ex. répéter la commande). Exemple Direction de données Maître ---> Esclave Maître <--- Esclave Maître ---> Esclave Maître ---> Esclave Instruction Q<Valeur><CR> <ACK><CR> I<CR> Instruction incorrecte Maître ---> Esclave Maître ---> Esclave Maître <--- Esclave #1<CR> I<CR> <ACK>3F<CR> Erreur de transmission Esclave ---> Maître Commentaire Positionner sorties Accusé de réception positif Interroger entrées 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 adresse esclave 1 Interroger entrées Esclave transmet la valeur des entrées Si le maître reconnaît une erreur de transmission, il ne sait pas si 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 commande 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 Maître ---> Esclave Maître <--- Esclave Instruction P<xx><Text> <ACK><CR> L’instruction “P” sert à mémoriser des textes dans l’EEPROM du FT 2000 ou à effacer des textes mémorisés. 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é. 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 50h 0 30h A 41h C’est un spécimen de texte 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 Français <xx> Maniement – Mode maître/esclave Sortir le texte mémorisé (“R”) Direction des données Maître ---> Esclave Maître <--- Esclave Instruction R<xx><y> <ACK><CR> L’instruction “R” sert à sortir des textes mémorisés dans le FT 2000 sur l’afficheur. <xx> <y> 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). 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 52h 0 30h A 41h 1 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 Le mode de terminal peut être réglé lors de la mise en service, voir Mise en service, page 12. ready terminal Maniement – Mode Adressage 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. Le FT 2000 ayant l’adresse 14 peut être adressé en utilisant la commande suivante. # 23h 1 31h 4 34h <CR> 0Dh Maintenant, il est possible de transmettre et de recevoir des données. Caractères de commande utilisés Abrévia- Valeur Signification 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 Français Exemple Maniement – Mode de terminal Commande du curseur Les instructions de l’émulation VT52 sont utilisées pour la commande du curseur. Positionnement du curseur Instruction <ESC> A Signification Curseur vers le haut <ESC> B Curseur vers le bas <ESC> C Curseur à droite <ESC> D Curseur à gauche <ESC> H Curseur HOME <ESC> Y <Ligne><Colonne> Positionner curseur Exemples Explication Le curseur se déplace d’une ligne vers le haut (aucun scroll de lignes dans la première ligne). Le curseur se déplace d’une ligne vers le bas (aucun scroll de lignes dans la dernière ligne). Le curseur se déplace d’une position à droite (aucun saut de ligne dans la dernière colonne). Le curseur se déplace d’une position à gauche (aucun saut de ligne dans la première colonne). Le curseur est positionné dans la 1. ligne, 1. colonne (position HOME). Le curseur est déplacé à la position indiquée. La ligne 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. 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> 1Bh Y 59h ! 21h 7 37h Le curseur est dans la ligne 2, position 2. Le texte “Display:” doit être sorti dans la ligne 1 à partir de la position 1. <ESC> 1Bh D 44h 30 FT 2000 H 48h i 69h <CR> Curseur dans la position HOME 0Dh s 73h p 70h l 6Ch Doc. No. 212.959/F a 61h y 79h : <CR> 3Ah 0Dh Maniement – Mode de terminal Effacer des zones sur l’affichage Instruction <ESC> o <ESC> K <ESC> l <ESC> E Signification Effacer début de ligne Explication Efface la ligne à partir du début incl. la position actuelle. La position du curseur ne change pas. Effacer fin de ligne Efface la position actuelle du curseur jusqu’à la fin de la ligne. La position du curseur ne change pas. Effacer ligne complète Efface la ligne où le curseur est actuellement positionné. La position du curseur ne change pas. Effacer affichage Efface l’affichage. Le curseur est positionné dans la ligne 1, colonne 1 (position HOME). Instruction <ESC> x9 Signification Auto <CR> marche (réglage default) <ESC> y9 Auto CR arrêt FT 2000 Explication Lors de la réception d’un <LF> (0Ah), un <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. 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. Doc. No. 212.959/F 31 Français Configuration Maniement – Mode de terminal Touches de fonction En appuyant sur les touches de fonction, les caractères suivants sont normalement transmis: Affectation standard Modifier l’affectation des touches de fonction Exemple F1 → <NUL>; F2 → <NUL>< F3 → <NUL>= F4 → <NUL>> F5 → <NUL>? F6 → <NUL>@ F7 → <NUL>A F8 → <NUL>B L’affectation des touches de fonction peut être modifiée en 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’ 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 Bloquer et débloquer le clavier → X Il est possible de bloquer et débloquer le clavier au moyen des instructions suivantes: ’<ESC>>’ ’<ESC>=’ 32 FT 2000 débloquer bloquer Doc. No. 212.959/F Maniement – Mode de terminal Mémoriser le texte dans le FT 2000 L’instruction ESC suivante permet de mémoriser des textes dans 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: NOTE Voir également l’instruction “P” Mémoriser/effacer texte, page 27. Sortir le texte mémorisé sur l’afficheur L’instruction ESC suivante permet de sortir des textes mémorisés dans le FT 2000 sur l’afficheur. ’<ESC>R<xx><y>’ <xx> <y> Exemple 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). ligne d’affichage où le texte est sorti. Introduction en format hexadécimal, la première ligne correspond à 0h. 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 Français ’<ESC>P0AC’est un spécimen de texte’ Test de fonction F1 F2 F3 F4 F5 F6 F7 1 2 3 4 5 S1 S2 6 7 8 9 0 – Test de fonction F8 Si la touche spéciale S2 est actionnée dans l’espace de 1,5 secondes après la mise en circuit, le test de fonction est réalisé. Un message apparaît sur l’affichage qui demande l’introduction du mot de passe. Le mot de passe préréglé est “1992”. . functional test mode password: * * * * (<-’ = end) Menu principal du test de fonction 1=keyboard 3=input 2=bus interface 4=output (<-’ = end) Le menu principal comprend 4 options qui peuvent être sélectionnées en pressant sur touche respective. 1 2 3 4 Test du clavier 1 keyboard test (<-’ = end) pressed key: S1 Test d’interface 2 ’FT2000’ ’FT2000’ Test d’interface Test des entrées (uniquement en mode maître/esclave) Test des sorties (uniquement en mode maître/esclave) Après avoir actionné la touche [1] dans le menu principal, le 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 en langage clair. Le test du clavier peut être abandonné en actionnant la touche [↵]. Une fiche de court-circuitage doit être fichée sur l’interface RS 485 pour réaliser le test d’interface. Le câblage est montré dans la figure 9. (<-’ = end) 8 TxD 9 3 RxD RxD 5 TxD 4 7 2 6 1 send: received: Test du clavier Fig. 9 Affectation de la fiche de courtcircuitage Fiche à 9 pôles Après avoir actionné la touche [2] dans le menu principal, le sous-menu test d’interface est affiché. Une fiche de court-circuitage 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 3 input test (<-’ = end) status (I7...I0): 0 0 0 0 0 0 0 0 Ce test de fonction ne peut être réalisé qu’en mode maître/esclave. 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 affiché. 1 0 Un signal est disponible sur l’entrée. Un signal n’est pas disponible sur l’entrée. Le test des entrées peut être abandonné en actionnant la touche [↵]. 4 output set/clear (<-’ = end) 1...8=Q0-Q7 ’-’ = set/clear output set/clear status (Q7...Q0) : output set/clear output overload Ce test de fonction ne peut être réalisé qu’en mode maître/esclave. Après avoir actionné la touche [4] dans le menu principal, le sous-menu sorties est affiché. L’état actuel des sorties est affiché. Les sorties peuvent être positionnées ou effacées au moyen de la touche [-]. (<-’ = end) 0 0 0 0 0 0 0 0 (<-’ = end) 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 Français Test des sorties 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 HEX 00h 01h 02h 03h 04h 05h 06h 07h 08h 09h 0Ah 0Bh 0Ch 0Dh 0Eh 0Fh 10h 11h 12h 13h 14h 15h 16h 17h 18h 19h DEC 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 CHAR (NUL) (SOH) (STX) (ETX) (EOT) (ENQ) (ACK) (BEL) (BS) (HT) (LF) (VT) (FF) (CR) (SO) (SI) (DLE) (DC1) (DC2) (DC3) (DC4) (NAK) (SYN) (ETB) (CAN) (EM) HEX 1Ah 1Bh 1Ch 1Dh 1Eh 1Fh 20h 21h 22h 23h 24h 25h 26h 27h 28h 29h 2Ah 2Bh 2Ch 2Dh 2Eh 2Fh 30h 31h 32h 33h DEC 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 CHAR (SUB) (ESC) (FS) (GS) (RS) (US) blk ! " # $ % & ’ ( ) * + , . / 0 1 2 3 FT 2000 HEX 34h 35h 36h 37h 38h 39h 3Ah 3Bh 3Ch 3Dh 3Eh 3Fh 40h 41h 42h 43h 44h 45h 46h 47h 48h 49h 4Ah 4Bh 4Ch 4Dh DEC CHAR 4 52 5 53 6 54 7 55 8 56 9 57 : 58 ; 59 < 60 = 61 > 62 ? 63 @ 64 A 65 B 66 C 67 D 68 E 69 F 70 G 71 H 72 I 73 J 74 K 75 L 76 M 77 HEX 4Eh 4Fh 50h 51h 52h 53h 54h 55h 56h 57h 58h 59h 5Ah 5Bh 5Ch 5Dh 5Eh 5Fh 60h 61h 62h 63h 64h 65h 66h 67h DEC CHAR N 78 O 79 P 80 Q 81 R 82 S 83 T 84 U 85 V 86 W 87 X 88 Y 89 Z 90 [ 91 ¥ 92 ] 93 ^ 94 _ 95 ‘ 96 a 97 b 98 c 99 d 100 e 101 f 102 g 103 Doc. No. 212.959/F HEX 68h 69h 6Ah 6Bh 6Ch 6Dh 6Eh 6Fh 70h 71h 72h 73h 74h 75h 76h 77h 78h 79h 7Ah 7Bh 7Ch 7Dh 7Eh 7Fh DEC CHAR h 104 i 105 j 106 k 107 l 108 m 109 n 110 o 111 p 112 q 113 r 114 s 115 t 116 u 117 v 118 w 119 x 120 y 121 z 122 { 123 | 124 } 125 → 126 127 (DEL) 37 Français Annexe Annexe Abréviations 38 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 FT 2000 Doc. No. 212.959/F