Seite 1
Handbuch Elektronische Identifikations-Systeme BIS Server für Windows "BIS022SV.EXE" Auswerteeinheit BIS C-6_0-022-... English – please turn over!
Seite 2
Zu sendende Steuerzeichen sind in spitze Klammern gesetzt. Im ASCII-Code zu übertragende Zeichen sind in Hochkomma gesetzt. Beispiel: <STX> '1 2 3 4 5 6' BCC http://www.balluff.de Balluff GmbH Schurwaldstraße 9 73765 Neuhausen a.d.F. Deutschland Telefon +49 (0) 71 58/1 73-0 Telefax +49 (0) 71 58/50 10 E-Mail: balluff@balluff.de...
Sicherheitshinweise Bestimmungs- Auswerteeinheiten BIS C-600 und BIS C-620 bilden zusammen mit den anderen Bausteinen gemäßer Betrieb des Systems BIS C das Identifikations-System und dürfen nur für diese Aufgabe im industriel- len Bereich entsprechend Klasse A des EMV-Gesetzes eingesetzt werden. Installation und Installation und Betrieb sind nur durch geschultes Fachpersonal zulässig.
Einführung Identifikations-System BIS C Dieses Handbuch soll den Anwender beim Erstellen des Steuerprogramms, der Installation und der Inbetriebnahme der Komponenten des Identifikations-Systems BIS C-6_0 anleiten, so daß sich ein sofortiger, reibungsloser Betrieb anschließt. Das Identifikations-System BIS C-6_0 gehört zur Kategorie der Prinzip berührungslos arbeitenden Systeme, die sowohl lesen als auch schreiben können.
Seite 6
Einführung Identifikations-System BIS C-600 System- Die Hauptbestandteile des Identifikationssystems BIS C-600 sind komponenten – Auswerteeinheit, – Schreib-/Leseköpfe und – Codeträger. Verbindungen zum steuernden System Auswerte- Auswerte- einheit BIS C-600 einheit BIS C-600 mit Adapter mit Adapter Auswerte- Schreib-/ einheit BIS C-600 Leseköpfe mit Schreib-/ Lesekopf...
Seite 7
Einführung Identifikations-System BIS C-620 System- Die Hauptbestandteile des Identifikationssystems BIS C-620 sind komponenten – Auswerteeinheit, – Schreib-/Leseköpfe und – Codeträger. Verbindungen zum steuernden System Auswerte- Auswerte- einheit einheit BIS C-620 BIS C-620 Schreib-/Leseköpfe Codeträger BIS C-1.. Schematische Darstellung eines Identifikations-Systems (Beispiel) ) ausgenommen BIS C-350 und -352...
Anwendung Auswerteeinheit BIS C-6_0 Auswahl der Die Auswerteeinheit BIS C-600 besitzt ein Kunststoffgehäuse. Der Anschluß erfolgt über eine System- Klemmleiste, wobei die Kabel mittels PG-Verschraubungen gesichert werden. An die Aus- komponenten werteeinheit BIS C-600 kann ein einzelner Schreib-/Lesekopf der Baureihe BIS C-65_ direkt montiert werden, wodurch eine kompakte Einheit entsteht.
Seite 9
Anwendung Auswerteeinheit BIS C-6_0 Dialogmodus Über den Schreib-/Lesekopf schreibt die Auswerteeinheit Daten vom steuernden System auf den Codeträger oder liest sie vom Codeträger und stellt sie dem steuernden System zur Ver- fügung. Steuernde Systeme können sein: – ein Steuerrechner (z.B. Industrie-PC) oder –...
Vor Beginn ist die Konfiguration der Auswerteeinheit durchzuführen, falls nicht mit der Werks- einstellung gearbeitet werden soll. Die Konfiguration wird mittels Computer und der Balluff-Software BISC600A.EXE vorgenom- men und in der Auswerteeinheit gespeichert. Sie kann jederzeit überschrieben werden. Die Konfiguration kann in einer Datei gespeichert werden und ist so jederzeit wieder verfügbar.
BIS C-6_0 Konfiguration, Schnittstelle Menü Schnittstelle In der ersten Maske werden die Parameter Übertragungsrate, Anzahl der Daten- und Stopbits BIS C-6_0 sowie die Parity-Art für die serielle Schnittstelle eingestellt. SCHNITTSTELLE BIS C-600 Die Abbildung zeigt baudrate databit parity die Werkseinstellung. 600 baud ( ) 7 ( ) odd...
BIS C-6_0 Konfiguration, Einstellungen Menü Einstellungen EINSTELLUNGEN BIS C-600 BIS C-6_0 Parameter Protokolltyp ( • ) BCC [ ] CT-Present auf RTS ( ) CR als Endekennung [ ] CT-Daten sofort senden ( ) CR [ ] Dynamik-Betrieb ( ) LFCR als Endekennung [ ] CT-Present auf Ausgang 1 [ ] Ausgänge bei CT-Present bearb.
Seite 13
BIS C-6_0 Konfiguration, Einstellungen Menü Einstellungen Beispiele für den Abschluß der Telegramme: BIS C-6_0, Feld Protokolltyp Protokollvarianten Telegramm mit Befehl, Abschluß Quittung Ende- (Fortsetzung) Adresse und Anzahl Bytes kennung mit Blockcheck BCC 'R 0000 0001' <ACK> '0' mit Carriage Return 'R 0000 0001' 'CR' <ACK>...
Seite 14
BIS C-6_0 Konfiguration, Einstellungen Menü Einstellungen – Dynamikbetrieb BIS C-6_0, Diese Funktion schaltet die Fehlermeldung "Kein Codeträger vorhanden" aus, d.h.: Feld Parameter -> Im Dynamikbetrieb wird ein Lese- oder Schreibtelegramm so lange gespeichert, bis ein (Fortsetzung) Codeträger in den Arbeitsbereich des betreffenden Schreib-/Lesekopfs kommt. ->...
Seite 15
BIS C-6_0 Konfiguration, Einstellungen Menü Einstellungen Die Codeträger sind je nach Speichergröße unterschiedlich organisiert. Die Auswerteeinheit BIS C-6_0, benötigt den Typ zur korrekten Bearbeitung. Werkseinstellung: 32 Byte. Es gilt: Feld Seitengröße Codeträger BIS C-1_ _-02/_ Codeträger BIS C-1_ _-10/_ mit 32 Byte mit 64 Byte BIS C-1_ _-03/_ BIS C-1_ _-11/_...
BIS C-600 Konfiguration, Ein-/Ausgänge Menü Eingang/ Den Ausgängen können verschiedene Funktionen zugewiesen werden. Die Ausgangs- Ausgänge zuweisen funktionen werden immer beim Lesen bearbeitet. Bedingung für die Ausführung ist, daß die (nur BIS C-600) jeweilige Adresse beim vorangegangenen Leseauftrag gelesen wurde. EINGANG/AUSGÄNGE ZUWEISEN Die Abbildung zeigt ( •...
Seite 17
BIS C-600 Konfiguration, Ein-/Ausgänge Halbbyte des Dateninhalts einer Adresse ausgeben: Menü Eingang/ Ausgänge zuweisen (nur BIS C-600) EINGANG/AUSGÄNGE ZUWEISEN (Fortsetzung) ( ) Keine Verwendung der Ausgänge. ( • ) Halbbyte des Dateninhalts einer Adresse ausgeben ( ) Inhalt mehrerer Adressen mit einem Festwert vergleichen. ( ) Inhalt einer Adresse mit unterschiedlichen Festwerten vergleichen.
Seite 18
BIS C-600 Konfiguration, Ein-/Ausgänge Menü Eingang/ Inhalt mehrerer Adressen mit einem Festwert vergleichen: Ausgänge zuweisen Die Dateninhalte von bis zu 4 dezimal angegebenen Adressen werden mit einem dezimalen (nur BIS C-600) Festwert verglichen. Zu jeder Adresse kann angegeben werden, welcher der Ausgänge 1 bis 4 (Fortsetzung) bei einem positiven Ergebnis des Vergleichs gesetzt oder gelöscht werden soll und ob der Ausgang bei einem negativen Ergebnis des Vergleichs nicht verändert oder im Gegensatz zur...
Seite 19
BIS C-600 Konfiguration, Ein-/Ausgänge Menü Eingang/ Inhalt einer Adresse mit unterschiedlichen Festwerten vergleichen: Ausgänge zuweisen Der Dateninhalt einer dezimal angegebenen Adresse wird mit 4 Dezimal-Festwerten vergli- (nur BIS C-600) chen. Zu jedem Festwert kann angegeben werden, welcher der Ausgänge 1 bis 4 bei einem (Fortsetzung) positiven Ergebnis des Vergleichs gesetzt oder gelöscht und ob der Ausgang bei einem nega- tiven Ergebnis des Vergleichs nicht verändert oder im Gegensatz zur Definition bei positivem...
Seite 20
BIS C-600 Konfiguration, Ein-/Ausgänge Menü Eingang/ Inhalt mehrerer Adressen mit mit dem Inhalt einer Adresse vergleichen: Ausgänge zuweisen Die Dateninhalte von bis zu 4 dezimal angegebenen Adressen werden mit dem Dateninhalt (nur BIS C-600) einer weiteren Adresse verglichen. Zu jeder Adresse kann angegeben werden, welcher der (Fortsetzung) Ausgänge 1 bis 4 bei einem positiven Ergebnis des Vergleichs gesetzt oder rückgesetzt wer- den soll und ob der Ausgang bei einem negativen Ergebnis des Vergleichs nicht verändert...
Seite 21
BIS C-600 Konfiguration, Ein-/Ausgänge Datenbits variabler Adressen ausgeben: Menü Eingang/ Ausgänge zuweisen Jeweils 1 Datenbit von bis zu 4 dezimal angegebenen Adressen kann an einen der 4 Ausgänge (nur BIS C-600) ausgegeben und dabei invertiert oder nicht invertiert werden. (Fortsetzung) Datenbits variabler Adressen ausgeben Ausgang invertieren...
Seite 22
BIS C-6_0 Konfiguration, Ein-/Ausgänge Menü Eingang/ Eingang als Datenbit auf Codeträger programmieren: Ausgänge zuweisen Beim Erkennen eines neuen Codeträgers wird der Zustand des digitalen Eingangs direkt oder (Fortsetzung) invertiert als Bit auf den Codeträger geschrieben. Zulässiger Adreßbereich: 0...31! Bitnummer der Adresse: 1...8. Die Ausgänge für das Quittungs- und das Freigabesignal sind ebenfalls anzugeben.
Seite 23
BIS C-6_0 Konfiguration, Ein-/Ausgänge Menü Eingang/ Ausgänge zuweisen Codetag Present (Fortsetzung) In diesem Ablauf- beispiel wird das Eingang Bit auf 1 gesetzt. Quittungsausgang Ablauf mit Freigabesignal Nach dem Erkennen eines Codeträgers wird der Eingang so lange abgefragt, bis er gesetzt ist (Freigabe erteilt).
Seite 24
BIS C-6_0 Konfiguration, Ein-/Ausgänge Menü Eingang/ Den Freigabeausgang kann man zum Schalten eines Relais verwenden, um damit das Frei- Ausgänge zuweisen gabesignal und das Datensignal auf den Eingang zu schalten. (Fortsetzung) BIS C-600 Freigabeausgang Freigabe- Eingang signal Datensignal Als Eingangssignal in eine SPS kann dieser Ausgang anzeigen, daß als nächstes das Daten- signal auf den Eingang des BIS C-600 geschaltet werden muß.
Seite 25
BIS C-6_0 Konfiguration, Ein-/Ausgänge Menü Eingang/ Codeträgerdaten ohne direkten Befehl lesen und senden: Ausgänge zuweisen Die vorgegebene Datenmenge (Anzahl Byte ab Startadresse) wird vom neu erkannten Code- (Fortsetzung) träger ausgelesen. Nach dem Lesen werden die Daten automatisch an die Schnittstelle gesendet. Wahlweise können zusätzlich als Abschluß...
Seite 26
Kundenkonfiguration Initialisierung Bitte tragen Sie die Einstellungen in die Felder auf der Innenseite des Gerätedeckels ein, da- mit die Einstellungen bei einer Reparatur vom Werk wieder eingegeben werden können. Tra- gen Sie sie auch in die nachstehenden Felder ein, damit Sie identische Einstellungen z.B. bei weiteren Geräten vornehmen können.
Seite 27
Kundenkonfiguration Initialisierung Beispiel eines Ausdrucks, wie Sie ihn durch das Programm BISC600A.EXE nach der Initialisie- (Fortsetzung) rung anfertigen können. Schnittstelleneinstellung Übertragungsrate 9600 baud Datenbit Stopbit Parität Even Protokolltyp CR als Endekennung ( * ) LF CR als Endekennung Parameter Codetag-Present auf RTS-Leitung ausgeben. [ X ] CT-Daten sofort senden Die Eintragung in die Felder erfolgt entweder als Klar-...
Seite 28
Kundenkonfiguration Ein-/Ausgangs- Bitte tragen Sie die Einstellungen in die Felder auf der Innenseite des Gerätedeckels ein, da- konfiguration mit die Einstellungen bei einer Reparatur vom Werk wieder eingegeben werden können. Tra- gen Sie sie auch in die nachstehenden Felder ein, damit Sie identische Einstellungen z.B. bei weiteren Geräten vornehmen können.
Seite 29
Kundenkonfiguration Ein-/Ausgangs- Beispiel eines Ausdrucks, wie Sie ihn durch das Programm BISC600A.EXE nach der konfiguration Ein-/Ausgangskonfiguration anfertigen können. (Fortsetzung) Zuweisung ) Keine Verwendung der Ausgänge. ) Halbbyte des Dateninhalts einer Adresse ausgeben. ( • ) Inhalt mehrer Adressen mit einem Festwert vergleichen. ) Inhalt einer Adresse mit unterschiedlichen Festwerten vergleichen.
Anwendung mit Server-Software 022 Übersicht Der Server stellt folgende Dienste bereit: über die Funktion – Daten vom Codeträger lesen – Daten auf den Codeträger schreiben – Identifikations-System rücksetzen – Initialisierungsinformation übergeben – Schreib-/Lesevorgang abbrechen – Fehlernummer lesen (für synchrone Bearbeitung) –...
Seite 31
Anwendung mit Server-Software 022 Task-Wechsel Beispiel einer synchronen REQUEST-Transaktion, die einen Task-Wechsel in der Schleife zuläßt. zulassen Client Server DdeClientTransaction ( ..XTYP_REQUEST..<timeout>.. ¡ ¡ ¡ ¡ ¡ XTYP_REQUEST: Schleife (Teil-)Bearbeitung durchführen if ( PeekMessage(...) ) TranslateMessage (..) DispatchMessage (..) bis Bearbeitung beendet Ergebnis ¡...
Seite 32
Anwendung mit Server-Software 022 Installation Die Server-Software zusammen mit allen DLL-Dateien und der INI-Datei müssen in ein ge- meinsames Verzeichnis kopiert werden. Die Initialisierungsdatei enthält neben den Server-spezifischen Parametern folgende Sektionen Initialisierungsdatei für die Kommunikation mit dem Client über die DDE-Schnittstelle: des Servers [Services] ;...
Seite 33
Anwendung mit Server-Software 022 Service Über Service wird die Auswerteeinheit des Identifikations-Systems angesprochen. Die vom Server angebotenen Services sind in der Sektion [Services] der Server-Initialisierungsdatei hinterlegt. Topic Über Topic wird die Nummer des Schreib-/Lesekopfes des Identifikations-Systems festgelegt. Die Topics sind in der Sektion [Topics] der Server-Initialisierungsdatei hinterlegt. Misc Über Misc wird die maximale Codeträgerkapazität (in Byte) angegeben.
Seite 34
Anwendung mit Server-Software 022 Transaktionen Der Server bietet folgende Dienste für die synchrone und asynchrone Bearbeitung an: (Übersicht) Synchrone Bearbeitung Asynchrone Bearbeitung Transaktion Item / Execute-String Transaktion Item / Execute-String REQUEST "Data[<offset>, <count>]" EXECUTE "CMD=Read OFFSET=<offset> Lesen vom COUNT=<count>" Codeträger ADVISE "Status"...
Seite 35
Anwendung mit Server-Software 022 Daten vom Synchrone Bearbeitung Asynchrone Bearbeitung Codeträger lesen Transaktion: Request-Item: Transaktion: Kommandostring: XTYP_REQUEST "Data[<offset>, <count>]" XTYP_EXECUTE "CMD=Read OFFSET=<offset> COUNT=<count>" ADVISE "Status" Der Lesevorgang beginnt bei der mit <offset> bestimmten Adresse. Es wird die mit <count> angegebene Anzahl Bytes gelesen. Eckige Klammern [ ] sind zwingend.
Seite 36
Anwendung mit Server-Software 022 Daten vom Synchrone Bearbeitung Asynchrone Bearbeitung Codeträger lesen, In der Callback-Routine werden In der Callback-Routine werden folgende Events bearbeitet: Reaktion des Servers folgende Events bearbeitet: XTYP_EXECUTE (vom Client aufgerufen) XTYP_REQUEST – Quittung: DDE_FACK, DDE_FBUSY oder DDE_FNOTPROCESSED *. –...
Seite 37
Anwendung mit Server-Software 022 Daten auf den Synchrone Bearbeitung Asynchrone Bearbeitung Codeträger Transaktion: Request-Item: Transaktion: Kommandostring: schreiben XTYP_POKE "Data[<offset>, <count>]" XTYP_EXECUTE "CMD=Write OFFSET=<offset> COUNT=<count> DATA=<data>" ADVISE "Status" Der Schreibvorgang beginnt bei der mit <offset> bestimmten Adresse. Es wird die mit <count> angegebene Anzahl Bytes geschrieben. Eckige Klammern [ ] sind zwingend.
Seite 38
Anwendung mit Server-Software 022 Daten auf den Synchrone Bearbeitung Asynchrone Bearbeitung Codeträger In der Callback-Routine werden In der Callback-Routine werden folgende Events bearbeitet: schreiben, folgende Events bearbeitet: XTYP_EXECUTE (vom Client aufgerufen) Reaktion des Servers XTYP_POKE – Quittung: DDE_FACK, DDE_FBUSY oder DDE_FNOTPROCESSED *.
Seite 39
Anwendung mit Server-Software 022 Identifikations- Synchrone Bearbeitung Asynchrone Bearbeitung System rücksetzen Transaktion: Kommandostring: Transaktion: Kommandostring: XTYP_EXECUTE "CMD=Reset" XTYP_EXECUTE "CMD=Reset ASYNC" ADVISE "Status" Das Identifikations-System wird in den Grundzustand gebracht. Die Aktion kann vom Client nicht Die Aktion kann vom Client abgebrochen werden.
Seite 40
Anwendung mit Server-Software 022 Identifikations- Synchrone Bearbeitung Asynchrone Bearbeitung System rücksetzen, In der Callback-Routine werden In der Callback-Routine werden folgende Events bearbeitet: Reaktion des Servers folgende Events bearbeitet: XTYP_EXECUTE (vom Client aufgerufen) XTYP_EXECUTE – Quittung: DDE_FACK, DDE_FBUSY oder DDE_FNOTPROCESSED *. –...
Seite 41
Anwendung mit Server-Software 022 Initialisierungs- Synchrone Bearbeitung Asynchrone Bearbeitung information Transaktion: Kommandostring: Transaktion: Kommandostring: übergeben XTYP_EXECUTE "CMD=Init XTYP_EXECUTE "CMD=Init LANGUAGE=<path> LANGUAGE=<path> [EOT=0x<h>]" [EOT=0x<h>] ASYNC" ADVISE "Status" <path> kompletter Pfad und Dateiname der Sprach-DLL für Fehlermeldung des Servers. <h> Endekennung für das Lesen der Daten vom Codeträger als -String (z.B.
Seite 42
Anwendung mit Server-Software 022 Initialisierungs- Synchrone Bearbeitung Asynchrone Bearbeitung information In der Callback-Routine werden In der Callback-Routine werden folgende Events bearbeitet: übergeben, folgende Events bearbeitet: XTYP_EXECUTE (vom Client aufgerufen) Reaktion des Servers XTYP_EXECUTE – Quittung: DDE_FACK, DDE_FBUSY oder DDE_FNOTPROCESSED *. –...
Seite 43
Anwendung mit Server-Software 022 Schreib-/ Nur bei asynchroner Bearbeitung möglich Lesevorgang Transaktion: Kommandostring: abbrechen XTYP_EXECUTE "CMD=Abort" Ein Schreib-/Lesevorgang soll auf Anforderung des Anwenders abgebrochen werden. Reaktion Server In der Callback-Routine wird Event XTYP_EXECUTE bearbeitet: – Globale Abbruchkennung setzen (wird in der Bearbeitungsfunktion abgefragt). –...
Seite 44
Anwendung mit Server-Software 022 Fehlertext lesen Transaktion: Request-Item: XTYP_REQUEST "GetErrortext" Nach einem fehlerhaften Auftrag soll der Fehlertext des Identifikations-Systems gelesen wer- den. Die Fehlertexte sind in mehreren Sprachen in Sprach-DLLs hinterlegt. Die aktuelle DLL wird bei der Übergabe der Initialisierungsinformation geladen. Der Fehlertext erscheint in der angeforderten Sprache.
Anwendung mit Standard-Protokoll 007 Nach der Übersicht über die Telegrammarten werden die Bildung des Blockchecks und die Varianten der Endekennung beschrieben. Auf den Seiten 50/51 wird der Telegrammablauf schematisch dargestellt. Ab Seite 52 folgen die detailierten Informationen zum korrekten Aufbau der Telegramme . Für die einzelnen Aufgaben im Identifikations-System BIS C existieren spezifische Telegramme.
Seite 47
Anwendung mit Standard-Protokoll 007 Erklärung einiger Startadresse und Die Startadresse (A3, A2, A1, A0) und die Anzahl der zu übertragenden Telegramminhalte Anzahl Bytes Bytes (L3, L2, L1, L0) werden dezimal als ASCII-Zeichen übertragen. Für die Startadresse kann der Bereich 0000 bis 8191 und für die Anzahl Byte 0001 bis 8192 verwendet werden.
Seite 48
Anwendung mit Standard-Protokoll 007 Bildung des Der Blockcheck BCC wird als EXOR-Verknüpfung aus den seriell übertragenen Binärzeichen Blockchecks BCC des Telegrammblocks gebildet. Beispiel: Lesen ab Adresse 13, 128 Byte sind zu lesen. Die Befehlszeile ohne BCC lautet: 'L 0013 0128 20'. BCC wird gebildet: 0100 1100 EXOR 0011 0000...
Seite 49
Anwendung mit Standard-Protokoll 007 Darstellung der Von der vorangegangenen Seite stammt die Befehlszeile 'L 0013 0128 20 G' mit 'G' als BCC. verschiedenen Diese Befehlszeile wird hier in den möglichen Varianten gegenübergestellt; dabei werden auch Protokollvarianten die verschiedenen Formen der Quittung mit und ohne Endekennung dargestellt: Befehlszeile vom Quittung vom BIS Quittung vom BIS...
Seite 50
Anwendung mit Standard-Protokoll 007 Protokollablauf: Lesen: a) Es tritt kein Fehler auf: b) Es tritt ein Fehler auf: Dialogmodus ohne Kopfumschaltung Befehl <STX> Befehl Grund- <NAK> Grund- BIS C-6 <ACK>'0' Daten BIS C-6 stellung + F-Nr. stellung t1 je nach Anzahl zu lesender Bytes (siehe Seite 68/69) t1 je nach Anzahl zu lesender Bytes (siehe Seite 68/69) t2 >...
Seite 51
Anwendung mit Standard-Protokoll 007 Protokollablauf: Lesen: Dialogmodus mit a) Es tritt kein Fehler auf: Kopfumschaltung Kopf- Kopf- Befehl <STX> anwahl abwahl CT Present CT Present <ACK> Grund- BIS C-6 Daten stellung t1, t3, t7 > 0 t5 > 0 (wird von der Auswerte- t2 = max.
Seite 52
Anwendung mit Standard-Protokoll 007 Lesen vom Codeträger mit Anwahl des Schreib-/Lesekopfs und der Blockgröße Schreiben auf den Codeträger mit Anwahl des Schreib-/Lesekopfs und der Blockgröße Task Datenfluß Startadresse Anzahl der Kopf- Block- Quit- Ende- Start zur Ende- Daten (von Quit- Ende- fehl des ersten zu...
Seite 53
Anwendung mit Standard-Protokoll 007 Telegrammbeispiel -> Kopf 1 ist angewählt. Es sollen 10 Byte ab Adresse 50 vom Codeträger am Schreib-/ zu Seite 52: Lesekopf 2 gelesen werden. Der Codeträger vor Kopf 4 hat eine Blockgröße von 64 Byte. Lesen vom Code- Das Steuersystem sendet 'L 0 0 5 0 0 0 1 0 2 0 J' BCC (4A träger mit Anwahl des...
Seite 54
Anwendung mit Standard-Protokoll 007 Schreiben eines konstanten Wertes auf den Codeträger mit Anwahl des Schreib-/Lesekopfs und der Blockgröße Dieser Befehl kann zum Löschen eines Codeträgers verwendet werden. Man spart die Zeit zur Übertragung der zu schreibenden Byte. Task Datenfluß Startadresse Anzahl der Kopf- Block-...
Seite 55
Anwendung mit Standard-Protokoll 007 Telegrammbeispiel -> Kopf 1 ist angewählt. Es sollen 500 Byte ab Adresse 20 auf den Codeträger am Schreib-/ zu Seite 54: Lesekopf 2 mit dem ASCII Datenwert 0 (30 ) geschrieben werden. Der Codeträger vor Schreiben auf den Kopf 2 hat eine Blockgröße 64 Byte.
Seite 56
Anwendung mit Standard-Protokoll 007 Lesen vom Codeträger, Schreiben auf den Codeträger Task Datenfluß Startadresse Anzahl zu Quit- Ende- Start zur Ende- Daten Quit- Ende- fehl des ersten zu übertragen- schluß tung ken- Über- ken- (von Startadresse schluß tung ken- übertra- der Bytes nung tragung...
Seite 57
Anwendung mit Standard-Protokoll 007 Telegrammbeispiel Lesen vom Codeträger: -> Es sollen 10 Byte ab Adresse 50 gelesen werden. zu Seite 56: Das Steuersystem sendet 'R 0 0 5 0 0 0 1 0 V' BCC (56 Lesen vom Codeträger mit Blockcheck (BCC) Adresse des ersten zu lesenden Byte Anzahl der zu lesenden Byte Die BIS-Auswerteeinheit quittiert mit...
Seite 58
Anwendung mit Standard-Protokoll 007 Anwahl des Mit dem Befehl 'H1' kann der Schreib-/Lesekopf 1, mit 'H2' der Schreib-/Lesekopf 2 und mit Schreib-/Lesekopfs 'HT' (Head Twin) können beide Köpfe angewählt werden. Sind beide Köpfe angewählt, ist zu beachten: 1.Es darf immer nur an einem Schreib-/Lesekopf ein Codeträger vorhanden sein. 2.Die Schreib- oder Lesezeit verlängert sich um ca.
Seite 59
Anwendung mit Standard-Protokoll 007 Nächsten Mit dem nachfolgend angegebenen Telegramm wird der nächste Codeträger gesucht. Dabei wird Codeträger suchen zum nächstfolgenden Schreib-/Lesekopf weitergeschaltet und geprüft, ob sich ein Codeträger vor (einmal) diesem Schreib-/Lesekopf befindet. Wenn ja, enthält die Telegrammrückmeldung die zugehörige Nummer des Schreib-/Lesekopfs und die ersten 4 Byte des Codeträgers.
Seite 60
Anwendung mit Standard-Protokoll 007 Nächsten Mit dem nachfolgend angegebenen Telegramm wird der nächste Codeträger gesucht. Dabei wird Codeträger suchen zum nächstfolgenden Schreib-/Lesekopf weitergeschaltet und geprüft, ob sich ein Codeträger vor (ständig) diesem Schreib-/Lesekopf befindet. Wenn ja, enthält die Telegrammrückmeldung die zugehörige Nummer des Schreib-/Lesekopfs und die ersten 4 Byte des Codeträgers.
Seite 61
Anwendung mit Standard-Protokoll 007 Bearbeiten der Durch das Absenden des Telegramms können die vier Ausgänge gesetzt oder gelöscht wer- Ausgänge den. Task Datenfluß Befehl Kennung Abschluß Quittung Ende- kennung 3) vom steuernden '00' bis 'A1' BCC oder Ausgänge System zum BIS (siehe unten) siehe 2) bearbeiten...
Seite 62
Anwendung mit Standard-Protokoll 007 Alle Ausgänge Durch das Absenden des Telegramms können die Zustände aller vier Ausgänge ausgegeben ausgeben werden. Task Datenfluß Befehl Kennung Abschluß Quittung Zustand der Ende- Abschluß vier Ausgänge kennung 3) vom steuernden 'AO' BCC oder alle System zum BIS siehe 2) Ausgänge...
Seite 63
Anwendung mit Standard-Protokoll 007 Neustart der Durch das Absenden des Telegramms Neustart wird ein in Arbeit befindliches Telegramm ab- Auswerteeinheit gebrochen und die Auswerteeinheit in den Grundzustand gebracht. (Quit) Nach der Quittierung dieses Telegramms sind mindestens 1600 ms Pause vorzusehen, bevor ein neues Telegramm gestartet wird.
Seite 64
Anwendung mit Standard-Protokoll 007 Mit dem Statustelegramm wird abgefragt, was für ein Telegramm sich in Arbeit befindet. Abfrage der Statusmeldung Wichtig! Der Befehl Status ist nicht zugelassen, während die Auswerteeinheit auf ein Abschluß- zeichen wartet (BCC, 'CR' oder 'LF CR'). In dieser Situation würde Status als Abschluß- oder Nutzzeichen fehlinterpretiert.
Seite 65
Anwendung mit Standard-Protokoll 007 Statusmeldungen 'S L' Lesen vom Codeträger mit und ihre Bedeutung: Anwahl des Schreib-/Lesekopfs und der Blockgröße des Codeträgers 'S P' Schreiben auf den Codeträger mit Anwahl des Schreib-/Lesekopfs und der Blockgröße des Codeträgers 'S R' Lesen vom Codeträger 'S W' Schreiben auf den Codeträger 'S H'...
Fehlermeldungen Standard-Protokoll 007 Fehlernummern BIS C-6_0 gibt immer eine Fehlernummer aus. Deren Bedeutung zeigt nachfolgende Tabelle. Fehlerbeschreibung Auswirkung Kein Codeträger vorhanden Telegrammabbruch, Auswerteeinheit geht in den Grundzustand. Fehler beim Lesen Lesetelegrammabbruch, Auswerteeinheit geht in den Grundzustand. Lesen abgebrochen, da der Auswerteeinheit geht in den Grundzustand.
Seite 67
Fehlermeldungen Standard-Protokoll 007 Fehlernummern BCC-Fehler, der über- Telegrammabbruch, (Fortsetzung) tragene BCC ist falsch. Auswerteeinheit geht in den Grundzustand. Kabelbruch, Telegrammabbruch, Codetag Present Auswerteeinheit geht in den Grundzustand. LED blinkt. Kabelbruch zum angewählten Schreib-/Lesekopf oder nicht angeschlossen. Wurden beide Schreib-/Leseköpfe über den Befehl 'HT' angewählt, könnte ein Kopf nicht angeschlossen sein.
Schreib-/Lesezeiten Lesezeiten im Für zweimaliges Lesen und Vergleichen: statischen Betrieb Codeträger mit 32 Byte je Block Codeträger mit 64 Byte je Block (Konfiguration: ohne Dynamikbetrieb) Anzahl Byte Lesezeit [ms] Anzahl Byte Lesezeit [ms] von 0 bis 31 von 0 bis 63 für jeweils weitere für jeweils weitere angebrochene 32 Byte...
Seite 69
Schreib-/Lesezeiten Lesezeiten im Lesezeiten innerhalb des 1. Blocks für zweimaliges Lesen und Vergleichen: dynamischen Betrieb (Konfiguration: Codeträger mit 32 Byte je Block Codeträger mit 64 Byte je Block mit Dynamikbetrieb) Anzahl Byte Lesezeit [ms] Anzahl Byte Lesezeit [ms] von 0 bis 3 von 0 bis 3 für jedes weitere Byte für jedes weitere Byte...
LED-Anzeige LED-Anzeige: Die Auswerteeinheit BIS C-600 meldet die wichtigsten Betriebszustände über drei LED's auf System Ready der Gehäuseseite. Codetag Present Codetag Operating Betriebs- Bedeutung zustand System an (grün) Betriebsspannung in Ordnung; kein Hardwarefehler Ready Betriebsspannung oder Hardware nicht in Ordnung oder Kabelbruch zum angewählten Schreib-/Lesekopf oder nicht angeschlossen.
BIS C-600 Montage Auswerteeinheit / Kopf Montage der Die Auswerteeinheit wird an den 4 seitlichen Langlöchern befestigt. Achtung: Auswerteeinheit Je nach Ausführung ist interne Kabel- BIS C-600 und die Auswerteeinheit mit verbindung! Anordnung des einem Schreib-/Lesekopf Schreib-/Lesekopfes oder dem Adapter für bzw.
Seite 72
BIS C-600 Montage Auswerteeinheit / Kopf Öffnen der Um die Verbindungen herzustellen, ist die Auswerteeinheit BIS C-600 zu öffnen. Auswerteeinheit Sorgen Sie dafür, daß das Gerät spannungsfrei geschaltet ist. Öffnen Sie die 4 Schrauben am BIS C-600 BIS C-600 und entfernen Sie den Deckel. Führen Sie die Anschlußkabel durch die Klemm- verschraubungen.
Seite 73
BIS C-600 Montage Auswerteeinheit / Kopf Wenn Sie einen Schreib-/Lesekopf wechseln wollen: Auswerteeinheit spannungsfrei schalten Montage eines Schreib-/Lesekopfes und öffnen. Befestigungsschrauben des Schreib-/Lesekopfs lösen (siehe Seite 71) und Deckel bzw. Adapters der Auswerteeinheit abschrauben (siehe Seite 72). Lösen Sie die Steckverbindung des BIS C-650/-670 Schreib-/Lesekopfs von der Platine und ziehen Sie das Verbindungskabel durch den Kabel- schacht heraus.
Seite 74
BIS C-600 Montage externer Schreib-/Lesekopf Schreib-/Lesekopf Um einen Schreib-/Lesekopf der Baureihe BIS C-3_ _ (ausgenommen BIS C-350 und -352) an für den Anschluß an der Klemmleiste der Auswerteeinheit BIS C-600 anschließen zu können, ist der am Kabel ange- der Klemmleiste der brachte Steckverbinder zu entfernen.
BIS C-600 Schnittstelleninformationen Anschlußplan für Auswerteeinheiten BIS C-600 mit –VS integriertem POWER HEAD #2 Schreib-/Lesekopf –VS –IN OUTPUT INPUT RS 232 BIS C-600...00 RxD+ RxD- TxD+ TxD- n.c. BIS C-600...01 20 mA (TTY) Belegung der Klemmleiste n.c. = nichts anschließen! Shunt-Stecker für die Handshake- Lage und Bezeichnung Einstellung bei RS 232 (siehe An-...
Seite 76
BIS C-600 Schnittstelleninformationen Anschlußplan für Anschluß für Schreib-/Lesekopf 1 Auswerteeinheiten Anschluß für Schreib-/Lesekopf 2 BIS C-601 mit Adapter BIS C-650 16...14 –VS n.c. POWER –VS –IN OUTPUT INPUT Klemm- RS 232 BIS C-600...00 leiste RxD+ RxD- TxD+ TxD- n.c. BIS C-600...01 20 mA (TTY) Belegung der Klemmleiste Shunt-Stecker für die Handshake-Einstel-...
Seite 77
BIS C-600 Schnittstelleninformationen Anschlußplan für Anschluß für Schreib-/Lesekopf, 8-polig Auswerteeinheiten BIS C-600 mit Adapter BIS C-670 16...14 –VS n.c. POWER –VS –IN Head 1 OUTPUT INPUT Klemm- leiste RS 232 BIS C-600...00 RxD+ RxD- TxD+ TxD- n.c. BIS C-600...01 20 mA (TTY) Shunt-Stecker für die Handshake- Lage und Bezeichnung Belegung der Klemmleiste...
BIS C-600...00 Anschlußpläne Funktion der Zum Anschluß der Auswerteeinheit BIS C-600 an ein steuerndes System (z.B. PC oder SPS) Schnittstellen ist eine serielle Schnittstelle vorgesehen. Je nach Ausführung stehen zur Verfügung: BIS C-600...00 die Schnittstelle RS 232 (V.24) oder BIS C-600...01 die 20-mA-Stromschnittstelle (TTY). Schnittstelle Funktion Klemme Pin Funktion...
Seite 79
BIS C-600...00 Anschlußpläne Schnittstelle Funktion Klemme Pin Funktion Pin Funkt. RS 232 (V.24) mit Hardware- Handshake Shunt-Stecker auf OPEN Anschluß an Anschluß 25-polig Anschluß Klemmleiste der an Steuereinheit 9-polig an Auswerteeinheit Steuereinheit OPEN / SHORT Werkseinstellung = SHORT. Da das Steuersignal CTS verwendet wird, ist der Shunt-Stecker in Position OPEN gesteckt.
Seite 80
BIS C-600...01 Anschlußpläne 20-mA-Strom- Funktion Klemmen Pin Funktion schnittstelle (TTY), Auswerteeinheit TxD+ +20 mA ..passiv TxD– RxD+ ..RxD– ....+20 mA ..TxD+ RxD+ ..TxD– RxD– ..Anschluß an der Klemmleiste der Auswerteeinheit Steuereinheit Sie können die Pin-Nummern für die Belegung des Anschlusses an Ihrer Steuereinheit in die Zeichnung eintragen.
BIS C-600 Technische Daten Abmessungen, Gehäuse Kunststoff PS Gewicht Abmessungen mit Schreib-/Lesekopf BIS C-652 ca. 169 x 90 x 35 mm Abmessungen mit Adapter BIS C-650 ca. 184 x 90 x 35 mm Gewicht ca. 400 g Temperaturbereich Umgebungstemperatur 0 °C bis +60 °C Anschlüsse Klemmleiste 19-polig...
BIS C-600 Technische Daten Elektrische 20-mA-Stromschnittstelle (TTY) über Optokoppler galvanisch getrennt Anschlüsse Empfänger Current loop, 20 mA passiv (Fortsetzung) Leitungsstrom für Ruhezustand 20 bis 50 mA Spannungsabfall bei 20 mA ca. 3 V Sender Current loop, 20 mA passiv Leerlaufspannung V max.
Seite 83
EG-Richtlinie 89/336/EWG (EMV-Richtlinie) und des EMV-Gesetzes entsprechen. In unserem EMV-Labor, das von der DATech für Prüfungen der elektromagnetischen Verträglichkeit akkreditiert ist, wurde der Nachweis erbracht, daß die Balluff-Produkte die EMV-Anforderungen der Fachgrundnorm EN 50081-2 (Emission), EN 50082-2 (Störfestigkeit) erfüllen.
Seite 84
Balluff Identifikations-System Baureihe C Hardware-Typ 600 = Kunststoffgehäuse Software-Typ 022 = Server-Software 007 = Balluff Standard-Protokoll Schreib-/Lesekopf 000 = kein Schreib-/Lesekopf 651 = Schreib-/Lesekopf BIS C-651 (Rundantenne stirnseitig) 652 = Schreib-/Lesekopf BIS C-652 (Rundantenne frontseitig) 653 = Schreib-/Lesekopf BIS C-653 (Stabantenne) 650 = Adapter mit zwei Anschlüssen für externe Schreib-/Leseköpfe BIS C-3_ _...
BIS C-620 Montage Auswerteeinheit Montage der Die Auswerteeinheit wird mit 4 Schrauben M4 befestigt. Auswerteeinheit BIS C-620...
Seite 86
BIS C-620 Schnittstelleninformationen Anschlußplan für Auswerteeinheit Anschluß für Schreib-/Lesekopf 2 Anschluß für Schreib-/Lesekopf 1 BIS C-620 Befestigung des Deckels (4 Schrauben), max. zulässiges Anzugs- drehmoment: 0,15 Nm Spannungs- versorgung, digitaler Eingang Serielle Schnittstelle RS 232 (V.24) oder 20-mA-Strom- schnittstelle Lage und Bezeichnung der Anschlüsse Schutzerde PE Öffnen der...
Seite 87
BIS C-620 Schnittstelleninformationen X1, Stromversorgung und digitaler Eingang Anschlußplan für Auswerteeinheit Funktion BIS C-620 –IN –Vs n.c. X3, RS 232 Funktion BIS C-620...00 n.c. n.c. n.c. n.c. X3, 20-mA-Strom- Funktion schnittstelle TxD– BIS C-620...01 n.c. n.c. TxD+ n.c. Schutz- RxD– erde PE n.c.
Seite 88
BIS C-620...00 Anschlußpläne Zum Anschluß der Auswerteeinheit BIS C-620 an ein steuerndes System (z.B. PC oder SPS) Funktion der ist eine serielle Schnittstelle vorgesehen. Je nach Ausführung stehen zur Verfügung: Schnittstellen BIS C-620...00 die Schnittstelle RS 232 (V.24) oder BIS C-620...01 die 20-mA-Stromschnittstelle (TTY). Schnittstelle Funktion Pin Pin Funktion...
Seite 89
BIS C-620...00 Anschlußpläne Schnittstelle Funktion Pin Pin Funktion Pin Funktion RS 232 (V.24) mit Hardware- Handshake Shunt-Stecker auf OPEN Anschluß an X3 Anschluß 25-polig Anschluß 9-polig an Steuereinheit an Steuereinheit OPEN / SHORT Werkseinstellung = SHORT. Da das Steuersignal CTS verwendet wird, ist der Shunt-Stecker in Position OPEN gesteckt.
Seite 90
BIS C-620...01 Anschlußpläne 20-mA-Strom- Funktion Pin Pin Funktion schnittstelle (TTY), Auswerteeinheit passiv Anschluß an X3 Steuereinheit Sie können die Pin-Nummern für die Belegung des Anschlusses an Ihrer Steuereinheit in die Zeichnung eintragen.
Seite 91
BIS C-620 Technische Daten Abmessungen, Gehäuse Metall Gewicht Abmessungen 175 x 120 x 60 mm Gewicht 800 g Umgebungstemperatur 0 °C bis +60 °C Temperaturbereich Einbaustecker X1 5-polig (Stift) Anschlüsse Einbaustecker Head 1, Head 2 4-polig (Stift) Rundsteckverbinder X3 9-polig (Stift) Schutzart Schutzart IP 65 (in angeschlossenem Zustand)
Seite 92
EG-Richtlinie 89/336/EWG (EMV-Richtlinie) und des EMV-Gesetzes entsprechen. In unserem EMV-Labor, das von der DATech für Prüfungen der elektromagnetischen Verträglichkeit akkreditiert ist, wurde der Nachweis erbracht, daß die Balluff-Produkte die EMV-Anforderungen der Fachgrundnorm EN 50081-2 (Emission), EN 50082-2 (Störfestigkeit) erfüllen.
Anhang, ASCII-Tabelle Deci- Control Deci- Control Deci- Deci- Deci- Deci- ASCII ASCII Hex ASCII Hex ASCII Hex ASCII Hex ASCII Code Code Ctrl @ Ctrl V Ctrl A Ctrl W 108 6C Ctrl B Ctrl X Ctrl C Ctrl Y Ctrl D Ctrl Z 111 6F...
Seite 95
Manual Electronic Identification Systems BIS Server for Windows "BIS022SV.EXE" Processor BIS C-6_0-022-... Deutsch – bitte wenden!
Seite 96
Characters to be transmitted in ASCII code are enclosed in apostrophes. Example: <STX> '1 2 3 4 5 6' BCC http://www.balluff.de http://www.balluff.de http://www.balluff.de http://www.balluff.de http://www.balluff.de Balluff GmbH Schurwaldstrasse 9 73765 Neuhausen a.d.F. Germany Phone +49 (0) 71 58/1 73-0 Fax +49 (0) 71 58/50 10 E-Mail: balluff@balluff.de...
Seite 97
Content Safety Considerations ......................... 4 Introduction BIS C-6_0 Identification System ................. 5-7 Application BIS C-6_0 Processor .................... 8/9 Configuration / Customer Configuration ................10-29 Application with Server-Software 022 .................. 30-44 Error Messages Server-Software 022 ..................45 Application with Standard Protocol 007 ................46-65 Error Messages Standard Protocol 007 ................
Seite 98
Safety advisory Approved operation Series BIS C-6_0 processors along with the other BIS C system components comprise an identification system and may only be used for this purpose in an industrial environment in conformity with Class A of the EMC Law. Installation and operation should be carried out only by trained personnel.
Introduction BIS C Identification System This manual is designed to assist the user in setting up the control program and installing and starting up the components of the BIS C-6_0 Identification System, and to assure rapid, trouble-free operation. The BIS C-6_0 Identification System belongs in the category of Principles non-contact systems for reading and writing.
Seite 100
Introduction BIS C-600 Identification System System components The main components of the BIS C-600 Identification System are – Processor, – Read/write heads, and – Code tags. Connections to host system Processor BIS C-600 Processor BIS C-600 with with adapter adapter Read/write Processor BIS C-600...
Seite 101
Introduction BIS C-620 Identification System System components The main components of the BIS C-620 Identification System are – Processor, – Read/write heads, and – Code tags. Connections to host system Processor Processor BIS C-620 BIS C-620 Read/write head Schematic representation of an Code tag BIS C-1_ _-...
Application BIS C-6_0 Processor Selecting system The BIS C-600 processor has a plastic housing. Connections are made through a terminal components strip, with the cable secured by a PG fitting. A single read/write head from series BIS C-65_ can be directly connected to the processor, which creates a compact unit. Additinally a second read/write head can be connected separately via cable to the terminal strip.
Seite 103
System to any control software (client under Windows 3.1, Windows95, or Windows NT) by adapting the client parameters through the DDE interface (DDEML) to the Balluff Identifica- tion System. The server automatically handles the conversion of the internal protocol of the identification system through the client-server interface (see chapter 'Application with Server- Software 022' starting on page 30).
Before programming, the processor configuration must be carried out, in case the factory settings will not be used. Configuration is done using a computer and the Balluff BISC600A.EXE software, and it is stored in the processor. It may be overwritten at any time. The configuration can be stored in a file, making it accessible when required.
Seite 105
BIS C-6_0 Configuration, Interface Interface Menu The first screen shows the parameters baud rate, number of data and stop bits, and parity BIS C-6_0 type for the serial interface selected. The graphic shows the factory settings. The other settings are carried out in the corresponding masks which are illustrated in the following pages.
BIS C-6_0 Configuration, Parameters Menu settings PARAMETERS BIS C-600 BIS C-6_0 Parameters Protocol Type ( • ) BCC [ ] CT-Present on RTS line ( ) CR as terminator [ ] Direct data transmission ( ) CR [ ] Dynamic mode ( ) LFCR as terminator [ ] CT-Present on output 1 [ ] Process outputs if CT-Present...
Seite 107
BIS C-6_0 Configuration, Parameters Menu settings Examples for terminating telegrams: BIS C-6_0, Protocol Type Field Protocol Variants Telegram with command, Termi- Acknow- Terminator (continued) Address and no. of bytes nator ledge with Blockcheck BCC 'R 0000 0001' <ACK> '0' with Carriage Return 'R 0000 0001' 'CR' <ACK>...
Seite 108
BIS C-6_0 Configuration, Parameters Menu settings – Dynamic Mode BIS C-6_0, This function switches off the error-message "No code tag present", i.e.: Parameter Field -> In dynamic mode, a read or write telegram is stored until a code tag enters the working (continued) range of the corresponding read/write head.
Seite 109
BIS C-6_0 Configuration, Parameters Menu settings Code tag memory is organized in page sizes of 32 or 64 bytes (also referred to as block size). BIS C-6_0, The processor uses the type to correctly handle the operations. Factory setting: 32 bytes. Page Size Field Code tags Code tags...
Seite 110
BIS C-600 Configuration, Input/Outputs Menu Allocate Allocate to input/outputs Input/Outputs The outputs can have various functions allocated to them. The output functions are always (BIS C-600 only) processed when reading. The condition for this is that the respective address was read during the preceding read request.
Seite 111
BIS C-600 Configuration, Input/Outputs Menu Allocate Output Halfbyte of the Data Contents of an Address: Input/Outputs IN/OUTPUT CONFIGURATION (BIS C-600 only) (continued) ( ) Output not used. ( • ) Output halfbyte of data contents of an address. ( ) Compare contents of multiple addresses with a fixed value. ( ) Compare contents of an address with various fixed values.
Seite 112
BIS C-600 Configuration, Input/Outputs Menu Allocate Compare Contents of multiple Addresses with a fixed Value: Input/Outputs The data contents of up to 4 addresses are compared with a fixed decimal value. To each (BIS C-600 only) address can be assigned which of the Outputs 1 to 4 is set or cancelled by a positive result (continued) of the comparison an whether in case of a negative result of the comparison the output shall not be changed or shall be set in contrary to the definition with the positive result (inverted...
Seite 113
BIS C-600 Configuration, Input/Outputs Menu Allocate Compare an Address with various fixed Values: Input/Outputs The data contents of an address is compared with 4 fixed decimal values. For each fixed (BIS C-600 only) value is indicated which of the Outputs 1 to 4 is set or cancelled by a positive result of the (continued) comparison and whether in case of a negative result of the comparison the output shall not be changed or shall be set in contrary to the definition with the positive result (inverted response).
Seite 114
BIS C-600 Configuration, Input/Outputs Menu Allocate Compare Contents of multiple Addresses with the Content of another Address: Input/Outputs The data contents of up to 4 addresses are compared with the data contents of another (BIS C-600 only) address. For each address is indicated which of the Outputs 1 to 4 is set or cancelled by a (continued) positive result and whether in case of a negative result of the comparison the output shall not be changed or shall be set in contrary to the definition with the positive result.
Seite 115
BIS C-600 Configuration, Input/Outputs Menu Allocate Output Data Bits of variable Addresses: Input/Outputs 1 data bit of an address or 1 bit each from up to 4 addresses can be output on one of the (BIS C-600 only) 4 outputs and then inverted or not inverted. (continued) Output data bits of variable addresses Output...
Seite 116
BIS C-6_0 Configuration, Input/Outputs Menu Allocate Programming a Data Bit on the Code Tag depending on the Input: Input/Outputs On recognition of a new code tag the state of the digital input will be written as a direct or (continued) inverted bit on the codetag.
Seite 117
BIS C-6_0 Configuration, Input/Outputs Menu Allocate Input/Outputs Codetag Present In this example (continued) the bit is set to 1. Input Ready Output Procedure with Release Signal After the recognition of a new code tag, the input state is continuously sampled until it is set (release given).
Seite 118
BIS C-6_0 Configuration, Input/Outputs Menu Allocate The release output can be used to operate a relay in order to switch the input between the Input/Outputs release and data signals. (continued) BIS C-600 Release output Release signal Input Data signal As an input signal to a PLC this output can indicate that it is time to switch the data signal to the input of the BIS C-6-0.
Seite 119
BIS C-6_0 Configuration, Input/Outputs Menu Allocate Read and transmit tag data without command: Input/Outputs The given number of bytes (Number of bytes from Start address) will be read from a newly (continued) recognized code tag. After they are read, the data will be automatically sent to the interface. Additionally, as termination, a BBC and/or 1 or 2 freely definable terminating characters can be sent.
Customer Configuration Initialization Please note the settings in the label fields on the inside of the processor cover so that in case of repair of the processor the settings can be reset in the factory. Note the settings also in the following fields so that you can set, e.g.
Seite 121
Customer Configuration Initialization Example of a print-out after initialization which you can print with the software BISC600A.EXE. (continued) Interface settings Baudrate 9600 baud Data bit Stop bit Parity Even Protocol CR as terminator ( * ) LF CR as terminator Parameter Output Codetag Present on RTS line.
Seite 122
Customer Configuration Input/Output Please note the settings in the label fields on the inside of the processor cover so that in case Configuration of repair of the processor the settings can be reset in the factory. Note the settings also in the following fields so that you can set, e.g other units, to an identical configuration.
Seite 123
Customer Configuration Input/Output Example of a print-out after initialization which you can print with the software BISC600A.EXE. Configuration (continued) Input/output configuration ) Output not used. ) Output halfbyte of data contents of an address. ( • ) Compare contents of multiple addresses with a fixed value. ) Compare contents of an address with various fixed values.
Seite 124
Application Server Software 022 Function Overview The server performs the following functions: – Read data from the code tag – Write data to the code tag – Reset identification system – Transmit initialization information – Break off a read/write operation –...
Seite 125
Application Server Software 022 Change Task Example of a synchronous REQUEST transaction permitting a task change in the loop. Client Server DdeClientTransaction ( ..XTYP_REQUEST..<timeout>.. ¡ ¡ ¡ ¡ ¡ XTYP_REQUEST: Loop Carry out (partial) processing if ( PeekMessage(...) ) TranslateMessage (..) DispatchMessage (..) until process is finished...
Seite 126
Application Server Software 022 Installation The server software together with all DLL files and the INI file must be copied into a common directory. Server The initialization file ocntains along with the server-specific paramters the following sections Initialization File for communication with the client over the DDE interface: [Services] ;...
Seite 127
Application Server Software 022 Service Service is used to talk to the identification system's processor. The services offered by the server are stored in the [Services] section of the server initialization file. Topic is used to specify the number of the identification system's read/write head. The topics Topic are stored in the [Topics] section of the server initialization file.
Seite 128
Application Server Software 022 Transactions The server provides the following functions for synchronous and asynchronous processing: (Overview) Synchronous Mode Asynchronous Mode Transaction Item / Execute-String Transaction Item / Execute-String REQUEST "Data[<offset>, <count>]" EXECUTE "CMD=Read OFFSET=<offset> Read from Code Tag COUNT=<count>" ADVISE "Status"...
Seite 129
Application Server Software 022 Read Data from Synchronous Asynchronous Code Tag Transaction: Request-Item: Transaction: Command String: XTYP_REQUEST "Data[<offset>, <count>]" XTYP_EXECUTE "CMD=Read OFFSET=<offset> COUNT=<count>" ADVISE "Status" The read begins at the address defined with <offset>. The number of bytes to read are defined with <count>. Brackets [ ] are mandatory.
Seite 130
Application Server Software 022 Read Data from Synchronous Asynchronous Code Tag, Reaction The following events are processed The following events are processed in the callback routine: of the Server in the callback routine: XTYP_EXECUTE (called up by client) – Acknow: DDE_FACK, DDE_FBUSY or XTYP_REQUEST DDE_FNOTPROCESSED *.
Seite 131
Application Server Software 022 Write Data to Synchronous Asynchronous Code Tag Transaction: Request-Item: Transaction: Command String: XTYP_POKE "Data[<offset>, <count>]" XTYP_EXECUTE "CMD=Write OFFSET=<offset> COUNT=<count> DATA=<data>" ADVISE "Status" The write begins at the address specified in <offset>. The number of bytes written is defined by <count>. Brackets [ ] are mandatory.
Seite 132
Application Server Software 022 Write Data to the Synchronous Asynchronous Code Tag, Reaction Callback routine processes the Callback routine processes the following events: of the Server following events: XTYP_EXECUTE (called up by client) XTYP_POKE – Acknow: DDE_FACK, DDE_FBUSY or DDE_FNOTPROCESSED *. –...
Seite 133
Application Server Software 022 Reset Identification Synchronous Asynchronous System Transaction: Command String: Transaction: Command String: XTYP_EXECUTE "CMD=Reset" XTYP_EXECUTE "CMD=Reset ASYNC" ADVISE "Status" The identification system is reset to the base state. The action cannot be aborted by the client. The action can be aborted by the client. The operating system does permit task changing.
Seite 134
Application Server Software 022 Reset Identification Synchronous Asynchronous System, Reaction of The following events are processed Callback routine proceses the following events: the Server in the callback routine: XTYP_EXECUTE (initiated by client) XTYP_EXECUTE – Acknowledge: DDE_FACK, DDE_FBUSY or – Send reset telegram to the DDE_FNOTPROCESSED *.
Seite 135
Application Server Software 022 Transmit Synchronous Asynchronous Initialization Transaction: Command String: Transaction: Command String: Information XTYP_EXECUTE "CMD=Init XTYP_EXECUTE "CMD=Init LANGUAGE=<path> LANGUAGE=<path> [EOT=0x<h>]" [EOT=0x<h>] ASYNC" ADVISE "Status" <path> Complete path and file name of the language DLL for server error messages. <h>...
Seite 136
Application Server Software 022 Transmit Synchronous Asynchronous Initialization The following events are processed Callback routine proceses the following events: Information, Server in the callback routine: XTYP_EXECUTE (called up by client) Reaction XTYP_EXECUTE – Acknowledge: DDE_FACK, DDE_FBUSY or DDE_FNOTPROCESSED *. – Process initialization information, load language DLL correspond- XTYP_ADVSTART (called up by client) ing to <path>.
Seite 137
Application Server Software 022 Abort Read/Write Valid for asynchronous mode only Operation Transaction: Command String: XTYP_EXECUTE "CMD=Abort" For aborting a read/write operation at the request of the user. Reaction from the Event XTYP_EXECUTE is processed in the callback routine: Server –...
Seite 138
Application Server Software 022 Read Error Text Transaction: Request-Item: XTYP_REQUEST "GetErrortext" For reading the error text of the identification system after an operation with error. The error texts are stored in the language DLL's in several languages. The current DLL is loaded with the initialization information.
Error Messages Server Software 022 Error Numbers and Error-No. Error Texts Error Texts "No error." "No codetag present." "Read error." "Read broken off, codetag was removed too soon." "Write error." "Write broken off, codetag was removed too soon." "Interface error from ID-system recognized." "Telegram format error."...
Seite 140
Application Standard Protocol 007 The previous sections have described the basic telegram sequence and configuration. Follow- ing is information on how to correctly construct telegrams. There are specific telegrams for the individual operations in the BIS C identification system. They always begin with the command which corresponds to the telegram type: Telegram types Read code tag with head and block size selection with associated...
Seite 141
Application Standard Protocol 007 Explanation of Start address and The start address (A3, A2, A1, A0) and the number of bytes to send selected telegram no. of bytes (L3, L2, L1, L0) are transmitted as ASCII characters. For the start address contents a range of 0000 to 8191 and for the number of bytes 0001 to 8192 can be used.
Seite 142
Application Standard Protocol 007 BCC Block Check The BCC block check is formed as an EXOR of the serially transmitted binary characters of the telegram block. Example: Read 128 bytes starting at address 13. The command line without BCC is: 'L 0013 0128 20'. The BCC is formed: 0100 1100 EXOR 0011 0000...
Seite 143
Application Standard Protocol 007 Description of Reference is now made to the command string 'L 0013 0128 20 G' with 'G' as BCC (see Various Protocol preceding page). This command string is here shown in its possible variants; also shown are Variants the various forms of acknowledgement with and without terminator: Command line from...
Seite 144
Application Standard Protocol 007 Dialog mode Read: a) If no error: b) With error: without Head Select Command <STX> Command Base <NAK> Base BIS C-6_ _ <ACK>'0' Data BIS C-6_ _ state + F-Nr. state t1 depending on no. of bytes to read (see page 68/69) t1 depending on no. of bytes to read (see page 68/69) t2 >...
Seite 145
Application Standard Protocol 007 Dialog mode Read: with Head Select a) If no error: Head Com- Head <STX> select mand deselect CT Present CT Present Base BIS C-6_ _ <ACK> 0 Data state t1, t3, t7 > 0 t5 > 0 (is not monitored by the processor) t2 = max.
Seite 146
Application Standard Protocol 007 Read from code tag with head select and block size Write to code tag with head select and block size Task Data Flow Com- Start address Number of Head Block Acknow- Termi- Start Termi- Data (from start Acknow- Termi- mand...
Seite 147
Application Standard Protocol 007 Telegram example -> Head 1 is selected. Read 10 bytes starting at address 50 of the code tag at read/write for page 52: Head 2. The code tag at Head 4 has a block size of 64 bytes. Read from code tag The host sends 0 0 5 0 0 0 1 0 2 0 J' BCC (4A...
Seite 148
Application Standard Protocol 007 Writing a constant value in the code tag with read/write select and block size This command can be used to erase a code tag data. One saves the time for the transmission of the write byte. Task Data Flow Com-...
Seite 149
Programming Telegram example -> Head 1 is selected. Write 500 bytes starting at address 20 of the code tag at read/write for page 54: Head 2 mit dem ASCII Datenwert 0 (30 ). The code tag at Head 2 has a block size of Write to code tag with 64 bytes.
Seite 150
Application Standard Protocol 007 Read from Code Tag, Write to Code Tag Task Data Flow Com- Start address Number of Acknow- Termi- Start Termi- Data (from start Acknow-0 Termi- mand of first byte to bytes to ledge nator trans- nator address to start ledge nator...
Seite 151
Application Standard Protocol 007 Telegram example Read from Code Tag: -> Read 10 bytes starting at address 50. from page 56: The host sends 'R 0 0 5 0 0 0 1 0 V' BCC (56 Read from Code Tag with block check (BCC) Address of first byte to read Number of bytes to read...
Seite 152
Application Standard Protocol 007 Selecting a The 'H1' command selects Read/Write Head 1, 'H2' Read/Write Head 2, and 'HT' (Head Twin) Read/Write Head both Read/Write Heads. If both heads are selected, please note: 1. Only one code tag is allowed to be in the active zone of a read/write head at a time. 2.
Seite 153
Application Standard Protocol 007 Find Next Code Tag The following telegram is used to find the next code tag. The next following read/write head is (one time) selected and checked to see if a code tag is in front of this read/write head. If yes, the first 4 bytes of the code tag are read.
Seite 154
Application Standard Protocol 007 Find Next Code Tag The following telegram is used to find the next code tag. The next following read/write head is (continuous) selected and checked to see if a code tag is in front of this read/write head. If yes, the first four bytes of the code tag are read.
Seite 155
Application Standard Protocol 007 Processing the A telegram can be sent to set or cancel the four outputs. Outputs Task Data Flow Com- Designator Termi- Acknow- Termi- mand nator 2) ledge nator 3) from host system to BIS 'B' '00' bis 'A1' BCC or Process (see below)
Seite 156
Application Standard Protocol 007 Show Output This telegram is used to check the condition (status) of all four outputs. Condition Task Data Flow Com- Desig- Acknow- Condition of the Termi- mand nator ledge 4 outputs nator 3) from host 'AO' BCC or Show output system to BIS...
Seite 157
Application Standard Protocol 007 Restart the Sending the Restart command causes a telegram in process to be aborted and puts the Processor (Quit) processor in the ground state. After this telegram is acknowledged, a minimum of 1600 ms pause should be allowed before starting a new telegram. Important! The Quit command is not permitted while the processor is waiting for a terminator (BCC, 'CR' or 'LF CR').
Seite 158
Application Standard Protocol 007 Querying the status The status telegram checks to see what kind of telegram is in process. message Important! The Status command is not permitted while the processor is waiting for a termina- tion character (BCC, 'CR' or 'LF CR'). In this situation Status would be misinterpreted as a termination or data character.
Seite 159
Application Standard Protocol 007 Status messages 'S L' Read code tag with head select and block size and their meaning: 'S P' Write to code tag with head select and block size 'S R' Read from code tag 'S W' Write to code tag 'S H' Select head and block size...
Error Messages Standard Protocol 007 Error Numbers The BIS C-600 always outputs an error number. The meaning of these error numbers is indicated in the following table. Error Description Effect No code tag present Telegram aborted, processor goes into ground state. Read error Read telegram aborted, processor goes into ground state.
Seite 161
Error Messages Standard Protocol 007 Error Numbers BCC error, the trans- Telegram is aborted, (continued) mitted BCC is wrong processor goes into ground state. Cable break, Telegram is aborted, Codetag Present processor goes into ground state. LED flashes Cable break from read/write head or cable not connected.
Read/Write Times Read Times in For double read and compare: Static Mode Code tag with 32 byte blocks Code tag with 64 byte blocks (Configuration: without dynamic No. of bytes Read time [ms] No. of bytes Read time [ms] mode) from 0 to 31 from 0 to 63 for each additional...
Seite 163
Read/Write Times Read Times in Read Times for 1 Block with double read and compare: Dynamic Mode Code tag with 32 byte blocks Code tag with 64 byte blocks (Configuration: with dynamic mode) No. of bytes Read time [ms] No. of bytes Read time [ms] from 0 to 3 from 0 to 3...
LED Display LED Display: The BIS C-600 Processor uses three LED's on the front panel to indicate the most important System Ready operating conditions. Codetag Present Condition Meaning Codetag Operating System on (green) Supply voltage OK; no hardware error. Ready Supply voltage or hardware not OK, or read/write head cable break or not connected.
Seite 165
BIS C-600 Processor / Head Assembly Assembling the The processor is attached at the 4 side through-holes. Caution: BIS C-600 processor Depending on the Internal cable and configuring the processor version either connection! read/write head or a read/write head or the BIS C-650 adapter adapter for remote read/ write head is fitted.
Seite 166
BIS C-600 Processor / Head Assembly Opening the The BIS C-600 processor must be opened in order to make the connections. processor Ensure that the device is turned off. Remove the 4 screws on the BIS C-600 and lift off the BIS C-600 cover.
Seite 167
BIS C-600 Processor / Head Assembly To change out a read/write head: Turn processor off and open. Remove mounting screws on Attaching a read/ the read/write head (see page 71) and remove processor cover (see page 72). Unplug the write head or BIS C-650/-670 read/write head from the circuit board and draw the connection cable out through the cable adapter...
Seite 168
BIS C-600 Attaching external read/write head Preparing the read/ To attach a series BIS C-3_ _ read/write head (except BIS C-350 and -352) to the BIS C-600 write head for terminal strip, the connector on the cable end must first be removed. connecting to the BIS C-600 terminal Please note that the cable must be cut right at the connector as shown below, since the cable...
BIS C-600 Interface Information Wiring diagram for BIS C-600 processors with –VS integrated read/write POWER HEAD #2 head –VS –IN OUTPUT INPUT BIS C-600...00 RS 232 Terminal strip RxD+ RxD- TxD+ TxD- n.c. BIS C-600...01 20 mA (TTY) Terminal assignments n.c.
Seite 170
BIS C-600 Interface Information Wiring diagram for Terminal for read/write head 1 BIS C-600 Terminal for read/write head 2 processors with adapter BIS C-650 16...14 –VS n.c. POWER –VS –IN OUTPUT INPUT Terminal BIS C-600...00 RS 232 strip RxD+ RxD- TxD+ TxD- n.c.
Seite 171
BIS C-600...01 Interface Information Wiring diagram for Terminal for read/write head, 8-pin BIS C-600 processors with adapter BIS C-670 16...14 –VS n.c. POWER –VS –IN OUTPUT INPUT Head 1 Terminal strip BIS C-600...00 RS 232 RxD+ RxD- TxD+ TxD- n.c. BIS C-600...01 20 mA (TTY) Shunt for handshake setting when...
BIS C-600...00 Wiring Diagrams Interface functions A serial port is provided for connecting the BIS C-600 processor to a host system (e.g., PC or PLC). Depending on the version the following configurations are available: BIS C-600...00 RS 232 interface (V.24) or BIS C-600...01 20-mA current loop interface (TTY).
Seite 173
BIS C-600...00 Wiring Diagrams Interface Function Terminal Pin Function Pin Funct. RS 232 (V.24) with hardware handshake Shunt connector on OPEN Connection to 25-pin connection 9-pin connection processor to contoller to controller terminal strip OPEN / SHORT Factory setting = SHORT. Since the CTS signal is used, the shunt connector is set to the OPEN position.
Seite 174
BIS C-600...01 Wiring Diagrams 20 mA Interface Function Terminals Pin Function (TTY), Processor passive TxD+ ..+20 mA TxD– ..RxD+ RxD– ....+20 mA ..TxD+ RxD+ TxD– ..RxD– ..Connection to processor Host terminal block You may write in the pin numbers for wiring to your host in the spaces above.
BIS C-600 Technical Data Dimensions, Weight Housing Plastic PS Dimensions with BIS C-652 read/write head approx. 169 x 90 x 35 mm Dimensions with BIS C-650 adapter approx. 184 x 90 x 35 mm Weight approx. 400 g Temperature range Ambient temperature 0 °C to +60 °C Connections...
Seite 176
BIS C-600 Technical Data Electrical 20-mA current loop (TTY) optocoupler isolated connections Receiver Current loop, 20 mA passive (cont.) Quiescent current 20 to 50 mA Voltage drop at 20 mA approx. 3 V Sender Current loop, 20 mA passive Idle voltage V max.
Seite 177
89/336/EEC (EMC Guideline) and the EMC Law. It has been verified in our EMC Laboratory, which is accredited by the DATech for Testing of Electromagnetic Compatibility, that Balluff products meet the EMC requirements of the Harmonized Standard EN 50081-2 (Emission), EN 50082-2 (Noise Immunity)
Hardware type 600 = Compact Software type 022 = Server software 007 = Balluff protocol Read/Write Head 000 = no read/write head 651 = with read/write head BIS C-651 (circular antenna on top) 652 = with read/write head BIS C-652 (circular antenna on front)
Seite 179
BIS C-620 Processor Installation Installing the The processor is mounted using 4 size M4 screws. BIS C-620 processor...
BIS C-620 Interface Information Wiring for the BIS C-620 processor Connection for read/write head 2 Connection for read/write head 1 Mounting of the cover (4 screws), max. permissible tightening torque: Supply voltage and 0.15 Nm digital input Serial interface RS 232 (V.24) or 20-mA current loop Connection locations and names...
Seite 181
BIS C-620 Interface Information X1, Supply voltage and digital input Wiring for the BIS C-620 processor Function –IN –Vs n.c. X3, RS 232 Function BIS C-620...00 n.c. n.c. n.c. n.c. X3, 20-mA current loop Function BIS C-620...01 TxD– n.c. n.c. TxD+ Protection n.c.
BIS C-620...00 Wiring Diagrams Function of the The BIS C-620 processor uses a serial interface for communicating with a host system (e.g. Interfaces PC or PLC). Depending on version, the following configurations are available: BIS C-620...00 the interface RS 232 (V.24) or BIS C-620...01 the 20 mA current loop interface (TTY) .
Seite 183
BIS C-620...00 Wiring Diagrams RS 232 (V.24) Function Terminal Pin Function Pin Funct. Interface with hardware handshake Shunt-connector on OPEN Connection X3 25-pin at host 9-pin at host OPEN / SHORT Factory setting = SHORT. Since the CTS signal is used, the shunt connector is set to the OPEN position.
Seite 184
BIS C-620...01 Wiring Diagrams 20 mA Current Loop Function Terminals Pin Function Interface (TTY), Processor passive Connection X3 Host You may write in the pin numbers for wiring to your host in the spaces above.
BIS C-620 Technical Data Dimensions, weight Housing Metal Dimensions 175 x 120 x 60 mm Weight 800 g Ambient temperature 0 °C to +60 °C Temperature range Integrated connector X1 5-pole (male) Connections Einbaustecker Head 1, Head 2 4-pole (male) Rundsteckverbinder X3 9-pole (male) Protection...
Seite 186
89/336/EEC (EMC Guideline) and the EMC Law. It has been verified in our EMC Laboratory, which is accredited by the DATech for Testing of Electromagnetic Compatibility, that Balluff products meet the EMC requirements of the Harmonized Standard EN 50081-2 (Emission), EN 50082-2 (Noise Immunity)
Series C Hardware Type 620 = Metal housing Software Type 022 = Server software 007 = Balluff protocol Read/write head 050 = with two connectors for external read/write heads BIS C-3_ _ (except BIS C-350 and -352) Interface 00 = RS 232 (V.24)
Appendix, ASCII Table Deci- Control Deci- Control Deci- Deci- Deci- Deci- ASCII ASCII Hex ASCII Hex ASCII Hex ASCII Hex ASCII Code Code Ctrl @ Ctrl V Ctrl A Ctrl W 108 6C Ctrl B Ctrl X Ctrl C Ctrl Y Ctrl D Ctrl Z 111 6F...