EUCHNER HBAS 094594 Manual Download Page 23

EUCHNER

Handbediengerät

HBAS-094594

095640-02-02/06

Technische Änderungen vorbehalten

Seite 23 / 40

9. Initialisierung

Um die Kommunikationsschnittstelle freizugeben, muss das Handbediengerät initialisiert
werden.
Die Initialisierung erfolgt entweder durch das Abfragen der aktuellen Zustände der Tasten
mit der Funktion „Statusabfrage“, mit der Parameterübertragung (siehe Kapitel 9), oder mit
dem Senden eines sonstigen gültigen Befehlsbytes (siehe Kapitel 10.3 Befehlsübersicht).
Bei der Initialisierung wird auch die Baudrate eingestellt (siehe Kapitel 5).

9.1 Statusabfrage (Befehlsbyte 23H)

Der Zustand der Tasten und das Fehlerbyte können von der Steuerung zu jedem
beliebigen Zeitpunkt mit dem Befehlsbyte 23H abgefragt werden.
Das Fehlerbyte bleibt so lange gesetzt, bis eine Statusabfrage durchgeführt wird oder eine
weitere fehlerfreie Übertragung erfolgt.
Nach der Statusabfrage wird das Fehlerbyte auf 31H (kein Fehler)  zurückgesetzt.
Es wird empfohlen, nach dem Empfang eines NAK Zeichens eine Statusabfrage zur
Initialisierung durchzuführen, da hierdurch das HBAS zurückgesetzt wird.

Die Steuerung fordert vom HBAS den aktuellen Status an

HBAS

Steuerung

Byte 1

STX

(02H)

Byte 1

DLE

Byte 2

STATUSWORT

   

(23H)

Byte 3

DLE

(10H)

Byte 4

ETX

(03H)

Byte 5

BCC

Byte 2

DLE

Das HBAS sendet der Steuerung seinen aktuellen Status

Steuerung

HBAS

Byte 1

STX

(02H)

Byte 1

DLE

Byte 2

TASTENBYTE

       

(siehe Kapitel 7)

Byte 3

FEHLERBYTE

(siehe Kapitel 9)

Byte 4

DLE

(10H)

Byte 5

ETX

(03H)

Byte 6

BCC

Byte 2

DLE

Die Steuerung darf mit der Datenübertragung erst dann fortfahren, wenn das HBAS mit der
Statusübertragung fertig ist.

Summary of Contents for HBAS 094594

Page 1: ...Handbedienger t mit Display HBAS 094594 Handbuch...

Page 2: ...Impulsgeber 14 5 1 5 Tasten Klick 16 5 1 6 Firmware Update 16 5 2 Einstellen der Baudrate 18 6 Signalmeldung 19 6 1 Akustische Signalmeldung Befehlsbyte 52H 19 6 2 Optische Signalmeldung Status LED 19...

Page 3: ...4 095640 02 02 06 Technische nderungen vorbehalten Seite 3 40 1 Mechanische Abmessungen und Anschlussbelegung 1 1 Mechanische Abmessungen 85 S1 S2 160 700 550 2500 3500 Leitungsl nge ausgezogen Steckv...

Page 4: ...V 0 V X1 2 X1 3 Shield 4 3 15 1 7 9 RX RX TX X1 6 X1 4 X1 1 X1 5 TX Kommunikations schnittstelle RS422 10 8 S1 b1 S1 a1 S1 b2 S1 a2 A A X2 5 X2 6 Handrad RS422 POWER STATUS Tastatur Keyboard Program m...

Page 5: ...nderungen vorbehalten Seite 5 40 2 Ausstattung Geh use Handbedienger t Kunststoffgeh use aus Polycarbonat Farbe grau RAL 7040 mit Haftmagnet an der Ger ter ckseite Folientastatur Folientastatur aus P...

Page 6: ...f hrung integriert siehe Kapitel 1 2 Anschlussbelegung Anzeige LCD Display grau mit LED Hintergrundbeleuchtung 128 x 64 Dots Betriebsart im Textmodus Sichtfenster 45 2 x 27 0 mm B x H Pixelgr e 0 28 m...

Page 7: ...en ab und gibt eine Fehlermeldung an das bergeordnete Programm Gelingt der Aufbau der Verbindung Empf nger antwortet innerhalb der Quittungsverzugszeit mit DLE so werden nun die im Sendebuffer enthalt...

Page 8: ...53H Steuerzeichen bzw Befehle f r das LC Display den Signalgeber und die Konfigurationsparameter bergabe Steuerung HBAS 80H FFH Zeichensatz des LC Displays siehe Kapitel Zeichensatz Steuerung HBAS Ste...

Page 9: ...atenblocks XOR n Zeichen des Datenblocks XOR letztes Zeichen des Datenblocks XOR DLE XOR ETX BCC Vereinfachung Da die 2 Sonderzeichen ETX und DLE immer vorkommen kann man diese zusammenfassen und den...

Page 10: ...8H Byte 7 CEH Byte 8 C5H Byte 9 D2H Byte 10 DLE 10H Byte 11 ETX 03H Byte 12 BCC gebildet ber Bytes 2 bis 11 Berechnung 6CH XOR A5H C9H Byte 2 XOR Byte 3 C9H XOR D5H 1CH XOR Byte 4 1CH XOR C3H DFH XOR...

Page 11: ...nderseite der Steuerung hat hohe Priorit t Die Senderseite des HBAS hat niedere Priorit t Im Falle einer Datenkollision hei t das wenn das HBAS ein STX Zeichen erkennt w hrend es ebenfalls ein STX zur...

Page 12: ...HBAS sendet eine Tasten nderung STX Die Steuerung sendet LCD Text STX L sung Erst sendet das HBAS dann sendet die Steuerung HBAS STX 31H DLE ETX BCC DLE DLE Steuerung STX DLE DLE STX 6CH 25H DLE ETX B...

Page 13: ...Parameter nderung dauert ca 5 Sekunden Die erfolgreiche bernahme der neuen Parameter wird durch einen kurzen Tonimpuls quittiert Das Konfigurationsmen ist durch eine PIN gesch tzt Auslieferungszustan...

Page 14: ...diesem Info Fenster wird die aktuelle Firmware Version mit dem zugeh rigen Datum angezeigt Verlassen des Fensters mit ESC 5 1 4 Impulsgeber Im Impulsgebermen sind folgende Funktionen anw hlbar Aktivie...

Page 15: ...inksdrehung CCW und Rechtsdrehung CW Die aktuell gespeicherte Einstellung wird durch den Stern markiert Eine gleiche Tastenbelegung ist nicht m glich und wird beim Abspeichern gesperrt Best tigung mit...

Page 16: ...einen RS422 RS232 Schnittstellenwandler mit der seriellen Schnittstelle des Rechners zu verbinden und an die Spannungsversorgung DC 24V anzuschlie en 2 Um eine neue Version der Firmware in das HBAS z...

Page 17: ...rt einstellen Baud Rate 9600 einstellen Device ausw hlen Oscillator Freq einstellen 4c Position und Name des HEX Files angeben 4d H kchen bei Execute setzen 4e Im Pull Down Men von ISP Start BootROM a...

Page 18: ...Baudrate der Steuerung automatisch und stellt sich auf diese ein M gliche Werte sind 9600 und 19200 Baud Diese automatische Einstellung erfolgt beim Initialisieren des Handbedienger tes siehe Kapitel...

Page 19: ...angegeben wird das Fehlerbyte auf 34H gesetzt Das Fehlerbyte kann ber die Statusabfrage abgefragt werden siehe Kapitel 9 6 2 Optische Signalmeldung Status LED Die Status LED signalisiert programminte...

Page 20: ...Steuerung gesendet Tastenbyte bertragung beim gleichzeitigen Bet tigen von mehreren Tasten Grunds tzlich wird immer die zuerst bet tigte Taste bertragen Wenn zum Zeitpunkt der Bet tigung bereits eine...

Page 21: ...Taste S 3 33H Taste S 4 34H Taste S 5 35H Taste S 6 36H Taste S 7 37H Taste S 8 38H Taste S 9 39H Taste S 10 3AH Taste S 11 3BH Taste S 12 3CH Taste S 13 3DH Taste S 14 3EH Taste S 15 3FH Taste S 16...

Page 22: ...der die Ausgangssignale A A und B B beinhaltet siehe technische Daten Wird die Taste oder vom Kunden ver ndert kurz gedr ckt so wird 1 Z hlimpuls rechtsdrehend CW gesendet Bei Bet tigung der Taste ode...

Page 23: ...ehlsbyte 23H abgefragt werden Das Fehlerbyte bleibt so lange gesetzt bis eine Statusabfrage durchgef hrt wird oder eine weitere fehlerfreie bertragung erfolgt Nach der Statusabfrage wird das Fehlerbyt...

Page 24: ...ist au erhalb des g ltigen Wertebereichs 35H zu viele Parameter Die Anzahl der angegebenen Parameter entspricht nicht der erwarteten Anzahl 36H Bereich ung ltig Ein aufgerufener Bereich berschneidet...

Page 25: ...0 9 im HEX Format 30H 39H 4 PIN 1 er Stelle Nur Ziffern 0 9 im HEX Format 30H 39H 5 Kollisionspriorit t 30H Steuerung hat Priorit t 31H HBAS hat Priorit t 6 Tastenklick 30H Tastenklick aus 31H Tastenk...

Page 26: ...ETX BCC HBAS DLE DLE Beispiel Impulsgeber nicht aktiv Bef Byte PIN Priori t t Klick Imp geb aktiv Steuerung STX 53H 36H 37H 38H 39H 30H 30H 30H DLE ETX BCC HBAS DLE DLE Standardparameter Bei Ausliefer...

Page 27: ...ributen belegt werden Diese Bereiche k nnen dann ebenfalls mit einem Kurzbefehl angezeigt werden siehe Kapitel 10 2 Ansteuerung LC Display Jeder LCD Datenblock der einen Befehl zur Displayansteuerung...

Page 28: ...che nderungen vorbehalten Seite 28 40 10 1 Zeichensatz ASCII Zeichensatz von 80H FFH 0 1 2 3 4 5 6 7 8 9 A B C D E F 8 9 0 1 2 3 4 5 6 7 8 9 A A B C D E F G H I J K L M N O B P Q R S T U V W X Y Z _ C...

Page 29: ...ont Zeile 30H 37H Spalte 30H 3FH gro er Font Zeile 30H 33H Spalte 30H 37H Beispiel Cursor wird zuerst an den Displayanfang gesetzt und dann an die Zeile 2 Spalte 3 Steuerung STX 6CH 25H 27H 32H 33H ET...

Page 30: ...hl gro er Font Beispiel Inverse und blinkende Ausgabe von Text Euchner mit gro em Font an der aktuellen Cursorposition Danach Blinken und Invers wieder aus Steuerung STX 6CH 51H 40H 42H A5H D5H C3H C8...

Page 31: ...ch dem L schen eines Displaybereichs befindet sich der Cursor rechts unten vom gel schten Bereich Beispiel L schen von aktueller Cursorposition bis zum Zeilenende Steuerung STX 6CH 29H ETX BCC HBAS DL...

Page 32: ...H 30H 3FH gro 30H 33H 30H 37H Beispiel Definition von Text Euchner mit kleinem Font in Zeile 4 Spalte 0 als Text Nr 5 Reihenfolge von Text und gesendeten Zeichen einhalten Steuerung STX 6CH 48H 35H 50...

Page 33: ...llung eines Bereiches Bereichsnummer 31H 51H 4FH Normale Darstellung eines Bereiches Bereichsnummer 31H 51H Wichtig Die Zeilen und Spaltenangabe ist unabh ngig von der Fontgr e Die Bereichsnummern geh...

Page 34: ...ch Nr 22 definieren von Zeile 4 Spalte 0 bis Zeile 6 Spalte 10 Steuerung STX 6CH 4AH 46H 34H 30H 36H 3AH ETX BCC HBAS DLE DLE Beispiel Bereich Nr 22 l schen Steuerung STX 6CH 4BH 46H ETX BCC HBAS DLE...

Page 35: ...hen werden blinkend ausgegeben 43H Blinken aus 08H Definition eines Textes Textnummer Fontgr e Zeile Spalte Text 49H Ausgabe eines zuvor definierten Textes Textnummer 4AH Definition eines Bereiches Be...

Page 36: ...benfalls geschirmt auszuf hren und der Schirm an einem geeigneten Erdungspunkt an der Steuerung anzuschlie en Als Installationszubeh r steht eine Flanschdose zur Verf gung F r die Kommunikationsschnit...

Page 37: ...nungsversorgung Elektrischer Anschluss Betriebsspannung UB DC 24 V 20 Betriebsstrom max 100 mA Kommunikations Schnittstelle Typ seriell RS 422A 4 Draht Datenformat 8 Datenbits 1 Parit tsbit gerade 1 S...

Page 38: ...R Handbedienger t HBAS 094594 095640 02 02 06 Technische nderungen vorbehalten Seite 38 40 Zubeh r Flanschdose 19 polig Halter Active X Modul Demo und Testsoftware im Internet verf gbar unter www euch...

Page 39: ...EUCHNER Handbedienger t HBAS 094594 095640 02 02 06 Technische nderungen vorbehalten Seite 39 40...

Page 40: ...EUCHNER GmbH Co KG Telefon 0711 75 97 0 Kohlhammerstra e 16 Telefax 0711 75 33 16 D 70771 Leinfelden Echterdingen www euchner de info euchner de...

Page 41: ...Hand Held Pendant Station with Display HBAS 094594 Manual...

Page 42: ...nsabfrage 14 5 1 4 Pulse generator Impulsgeber 14 5 1 5 Key click Tasten Klick 16 5 1 6 Firmware Update 16 5 2 Setting the baud rate 18 6 Signaling 19 6 1 Acoustic signaling command byte 52H 19 6 2 Op...

Page 43: ...AS 094594 095640 02 02 06 Subject to technical modifications Page 3 40 1 Mechanical dimensions and Pin assignment 1 1 Mechanical dimensions 85 S1 S2 160 700 550 2500 3500 cable length extended plug co...

Page 44: ...V X1 2 X1 3 Shield 4 3 15 1 7 9 RX RX TX X1 6 X1 4 X1 1 X1 5 TX Communication Interface RS422 10 8 S1 b1 S1 a1 S1 b2 S1 a2 A A X2 5 X2 6 Pulse generator RS422 POWER STATUS Keyboard Program memory FLAS...

Page 45: ...technical modifications Page 5 40 2 Features Housing of Hand Held Pendant Station Plastic housing made of polycarbonate color gray RAL 7040 with mounting magnet on the rear of the device Keypad Membra...

Page 46: ...is integrated in the left side panel see chapter 1 2 Pin assignment Display Gray LC display with LED background lighting 128 x 64 dots text operating mode Window 45 2 x 27 0 mm W x H Pixel size 0 28 m...

Page 47: ...mitter interrupts the procedure and outputs an error message to the higher level program If the connection is successfully established receiver answers with DLE within the acknowledgment delay then th...

Page 48: ...Control character or commands for the LC display the pulse generator and the transfer of configuration parameters Control system HBAS 80H FFH Character set for the LC display see section Character set...

Page 49: ...a block XOR nth character in the data block XOR last character in the data block XOR DLE XOR ETX BCC Simplification As the 2 special characters ETX and DLE are always present these can be combined and...

Page 50: ...C3H Byte 6 C8H Byte 7 CEH Byte 8 C5H Byte 9 D2H Byte 10 DLE 10H Byte 11 ETX 03H Byte 12 BCC formed across bytes 2 to 11 Calculation 6CH XOR A5H C9H Byte 2 XOR Byte 3 C9H XOR D5H 1CH XOR Byte 4 1CH XO...

Page 51: ...ter in the control system has high priority The transmitter in the HBAS has lower priority In the case of a data collision this means that the HBAS detects an STX character when it is also sending an...

Page 52: ...racter If receive new character then else call Receive routine Wait for new character If new character DLE then else If new character STX then else If new character DLE then else Send NAK Send NAK cal...

Page 53: ...ation of the new parameters is confirmed by a short sound The Configuration Konfiguration menu is protected with a PIN Default setting on delivery 1234 The serial communication interface is shut down...

Page 54: ...re version and the related date are displayed in this window Leave the window with ESC 5 1 4 Pulse generator Impulsgeber The following functions can be selected on the Pulse generator Impulsgeber menu...

Page 55: ...ockwise rotation CCW and clockwise rotation CW The setting currently saved is marked by the asterisk The assignment of the same key is not possible and will be inhibited on saving Accept using the ENT...

Page 56: ...the serial interface on the computer using an RS422 RS232 interface converter and connected to the DC 24V power supply 2 To load a new version of the firmware onto the HBAS the hand held pendant stati...

Page 57: ...word 4a Set COM Port interface Set Baud Rate to 9600 Select Device Set Oscillator Freq 4c Enter location and name of the HEX file 4d Select Execute 4e On the ISP pull down menu choose Start BootROM 4f...

Page 58: ...ation automatically detects the baud rate of the control system and sets itself accordingly Possible values are 9600 and 19200 baud This automatic setting is made on the initialization of the hand hel...

Page 59: ...correct parameter is entered the error byte is set to 34H The error byte can be polled using the status polling section 9 1 6 2 Optical signaling Status LED The Status LED signals internal program inf...

Page 60: ...is sent to the control system on the operation of a key Key byte transfer with simultaneous operation of several keys In principle the first key operated is always transferred If another key is alrea...

Page 61: ...1 31H Key S 2 32H Key S 3 33H Key S 4 34H Key S 5 35H Key S 6 36H Key S 7 37H Key S 8 38H Key S 9 39H Key S 10 3AH Key S 11 3BH Key S 12 3CH Key S 13 3DH Key S 14 3EH Key S 15 3FH Key S 16 40H Key S...

Page 62: ...le is used as the output stage this contains the output signals A A and B B see technical data If the key is pressed or the key as defined by customer briefly then 1 clockwise CW counter pulse is sent...

Page 63: ...using the command byte 23H The error byte remains set until a status poll has been performed or a further error free transfer is made After the status polling the error byte is reset to 31H no error I...

Page 64: ...he valid value range 35H Too many parameters The number of the parameters given does not correspond to the number expected 36H Area invalid An area opened overlaps with a character that is displayed w...

Page 65: ...3 PIN 10s digit Only figures 0 9 in HEX format 30H 39H 4 PIN 1s digit Only figures 0 9 in HEX format 30H 39H 5 Priority 30H Control system has priority 31H HBAS has priority 6 Key click 30H Key click...

Page 66: ...1H DLE ETX BCC HBAS DLE DLE Example Pulse generator inactive Cmd byte PIN Priority Click Pulse gen active Control system STX 53H 36H 37H 38H 39H 30H 30H 30H DLE ETX BCC HBAS DLE DLE Default parameters...

Page 67: ...reas and to assign attributes to them These areas can also be displayed with a short command section 10 2 6 Controlling the LC display Each LCD data block that contains a command for controlling the d...

Page 68: ...ct to technical modifications Page 28 40 10 1 Character set ASCII character set from 80H FFH 0 1 2 3 4 5 6 7 8 9 A B C D E F 8 9 0 1 2 3 4 5 6 7 8 9 A A B C D E F G H I J K L M N O B P Q R S T U V W X...

Page 69: ...font line 30H 37H column 30H 3FH Large font line 30H 33H column 30H 37H Example Cursor is first placed at the start of the display and then at line 2 column 3 Control system STX 6CH 25H 27H 32H 33H E...

Page 70: ...Example Inverse and flashing output of text Euchner with large font at the current position of the cursor Then flashing and inverse off again Control system STX 6CH 51H 40H 42H A5H D5H C3H C8H CEH C5...

Page 71: ...display 5 After Clear a display area the cursor is at the bottom right of the area cleared Example Clearing from the current position of the cursor to the end of the line Control system STX 6CH 29H E...

Page 72: ...37H 30H 3FH large 30H 33H 30H 37H Example Definition of text Euchner with small font in line 4 column 0 as text No 5 The sequence for text and character sent must be observed Control system STX 6CH 4...

Page 73: ...Inv flashing display of an area Area number 31H 51H 4FH Normal display of an area Area number 31H 51H Important The line and column information is independent of the font size The area numbers are fro...

Page 74: ...ample Define area No 22 from line 4 column 0 to line 6 column 10 Control system STX 6CH 4AH 46H 34H 30H 36H 3AH ETX BCC HBAS DLE DLE Example Clear area No 22 Control system STX 6CH 4BH 46H ETX BCC HBA...

Page 75: ...42H Flashing on all subsequent characters are output flashing 43H Flashing off 08H Definition of an item of text Text number font size line column text 49H Output of a previously defined item of text...

Page 76: ...re also to be screened and the screen connected to a suitable point of grounding on the control system A flange socket is available as an accessory for installation An RS 422A transmitter module and a...

Page 77: ...power supply only Electrical connection Operating voltage UB DC 24 V 20 Operating current max 100 mA Communication interface Type serial RS 422A 4 wire Data format 8 data bits 1 parity bit even 1 sto...

Page 78: ...Pendant Station HBAS 094594 095640 02 02 06 Subject to technical modifications Page 38 40 Accessories Flange socket 19 pin Bracket Active X Module Demo and test software is available on the Internet...

Page 79: ...EUCHNER Hand Held Pendant Station HBAS 094594 095640 02 02 06 Subject to technical modifications Page 39 40...

Page 80: ...EUCHNER GmbH Co KG Telefon 0711 75 97 0 Kohlhammerstra e 16 Telefax 0711 75 33 16 D 70771 Leinfelden Echterdingen www euchner de Germany info euchner de...

Reviews: