Handbuch. Elektronische Identifikations-Systeme BIS BIS Auswerteeinheit BIS BIS C-6_2 C-6_2 Profibus DP DP

C6_2-019_641365_0506-d.p65 1 Handbuch ElektronischeIdentifikations-Systeme Identifikations-SystemeBIS BIS Elektronische AuswerteeinheitBIS BISC-6_2 ...
Author: Greta Hauer
2 downloads 1 Views 2MB Size
C6_2-019_641365_0506-d.p65

1

Handbuch ElektronischeIdentifikations-Systeme Identifikations-SystemeBIS BIS Elektronische AuswerteeinheitBIS BISC-6_2 C-6_2 Auswerteeinheit Profibus DP Profibus DP

English – please turn over! English – please turn over!

2

Nr. 641 365 D/E • Ausgabe 0506 Änderungen vorbehalten. Ersetzt Ausgabe 0210.

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: [email protected]

C6_2-019_641365_0506-d.p65

3

Inhaltsverzeichnis Sicherheitshinweise .................................................................................................................... 4 Einführung Identifikations-System BIS C-6_2 ........................................................................5-7 Anwendung Auswerteeinheit BIS C-6_2 .............................................................................. 8-11 Parametrierung, Adressierung ............................................................................................ 12-15 Funktionsbeschreibung ...................................................................................................... 16-24 Protokollablauf (mit Beispielen) .......................................................................................... 25-34 Schreib-/Lesezeiten ............................................................................................................. 35/36 LED-Anzeige ............................................................................................................................. 37 BIS C-602: Montage Auswerteeinheit / Kopf ..................................................................... 38/39 Montage PG-Verschraubung PROFIBUS-DP ...................................................... 40 Anschlusspläne BIS C-602-...-KL2 ................................................................ 41-44 Anschlusspläne BIS C-602-...-ST11 .............................................................. 45-47 Technische Daten ............................................................................................. 48/49 Bestellinformationen ............................................................................................. 50 BIS C-622: Montage Auswerteeinheit ..................................................................................... 51 Anschlusspläne BIS C-622-...-ST5 ................................................................ 52-55 Anschlussplan BIS C-622-...-ST11 ...................................................................... 56 Technische Daten ............................................................................................. 57/58 Bestellinformationen ............................................................................................. 59 Anhang: ASCII-Tabelle ........................................................................................................ 60

D

3

4

Sicherheitshinweise Bestimmungsgemäßer Betrieb

Auswerteeinheiten BIS C-6_2 bilden zusammen mit den anderen Bausteinen des Systems BIS C das Identifikations-System und dürfen nur für diese Aufgabe im industriellen Bereich entsprechend Klasse A des EMV-Gesetzes eingesetzt werden.

Installation und Betrieb

Installation und Betrieb sind nur durch geschultes Fachpersonal zulässig. Unbefugte Eingriffe und unsachgemäße Verwendung führen zum Verlust von Garantie- und Haftungsansprüchen. Bei der Installation der Auswerteeinheit sind die Kapitel mit den Anschlussplänen genau zu beachten. Besondere Sorgfalt erfordert der Anschluss der Auswerteeinheit an externe Steuerungen, speziell bezüglich Auswahl und Polung der Verbindungen und der Stromversorgung. Für die Stromversorgung der Auswerteeinheit dürfen nur zugelassene Stromversorgungen benutzt werden. Einzelheiten enthält das Kapitel Technische Daten.

Einsatz und Prüfung

Für den Einsatz des Identifikations-Systems sind die einschlägigen Sicherheitsvorschriften zu beachten. Insbesondere müssen Maßnahmen getroffen werden, dass bei einem Defekt des Identifikations-Systems keine Gefahren für Personen und Sachen entstehen können. Hierzu gehören die Einhaltung der zulässigen Umgebungsbedingungen und die regelmäßige Überprüfung der Funktionsfähigkeit des Identifikations-Systems mit allen damit verbundenen Komponenten.

Funktionsstörungen

Wenn Anzeichen erkennbar sind, dass das Identifikations-System nicht ordnungsgemäß arbeitet, ist es außer Betrieb zu nehmen und gegen unbefugte Benutzung zu sichern.

Gültigkeit

Diese Beschreibung gilt für Auswerteeinheiten der Baureihe BIS C-602-019-... und BIS C-622-019-....

4

D

C6_2-019_641365_0506-d.p65

5 Einführung Identifikations-System BIS C-6_2 Dieses Handbuch soll den Anwender beim Einrichten des Steuerprogramms und der Installation und Inbetriebnahme der Komponenten des Identifikations-Systems BIS C-6_2 anleiten, so dass sich ein sofortiger, reibungsloser Betrieb anschließt. Prinzip

Das Identifikations-System BIS C-6_2 gehört zur Kategorie der berührungslos arbeitenden Systeme, die sowohl lesen als auch schreiben können. Diese Doppelfunktion ermöglicht Einsätze, bei denen nicht nur fest in den Datenträger programmierte Informationen transportiert, sondern auch aktuelle Informationen gesammelt und weitergegeben werden. Einige der wesentlichen Einsatzgebiete finden sich

Einsatzgebiete

– in der Produktion zur Steuerung des Materialflusses (z.B. bei variantenspezifischen Prozessen), beim Werkstücktransport mit Förderanlagen, zur Datengewinnung für die Qualitätssicherung, zur Erfassung sicherheitsrelevanter Daten, – in der Werkzeugcodierung und -überwachung; – in der Betriebsmittelorganisation; – im Lagerbereich zur Kontrolle der Lagerbewegungen; – im Transportwesen und in der Fördertechnik; – in der Entsorgung zur mengenabhängigen Erfassung.

D

6 Einführung Identifikations-System BIS C-602 Systemkomponenten

Die Hauptbestandteile des Identifikations-Systems BIS C-602 sind – Auswerteeinheit, – Schreib-/Leseköpfe und – Datenträger. PROFIBUS-DP

Auswerteeinheit BIS C-602 mit Adapter BIS C-670

Schreib-/ Lesekopf2)

Auswerteeinheit BIS C-602 mit Kopf

BIS C-35_

BIS C-65_

Auswerteeinheit BIS C-602 mit Adapter BIS C-650

Auswerteeinheit BIS C-602 mit Adapter BIS C-657

Schreib-/ Leseköpfe1) BIS C-3_ _

BIS C-3_ _

Schreib-/ Lesekopf1) BIS C-3_ _

Datenträger BIS C-1_ _-...

Schematische Darstellung eines Identifikations-Systems (Beispiel)

6

D

1

) BIS C-3_ _-Serie, ausgenommen BIS C-350 und -352

2

) nur BIS C-350 oder -352

5

C6_2-019_641365_0506-d.p65

7 Einführung Identifikations-System BIS C-622 Systemkomponenten

Die Hauptbestandteile des Identifikations-Systems BIS C-622 sind – Auswerteeinheit, – Schreib-/Leseköpfe und – Datenträger.

PROFIBUS-DP

Auswerteeinheit BIS C-622 in der Ausführung -050

BIS C-3_ _

Schematische Darstellung eines Identifikations-Systems (Beispiel)

BIS C-3_ _

Auswerteeinheit BIS C-622 in der Ausführung -057

Schreib-/Leseköpfe1)

BIS C-3_ _

Datenträger BIS C-1_ _-...

1

) BIS C-3_ _-Serie, ausgenommen BIS C-350 und -352

D

7

8 Anwendung Auswerteeinheit BIS C-6_2 Auswahl der Die Auswerteeinheit BIS C-602 besitzt ein Kunststoffgehäuse. Je nach Version erfolgt der Systemkomponenten Anschluss entweder über eine Klemmleiste, wobei die Kabel mittels PG-Verschraubung gesichert werden, oder über Rundsteckverbinder. An die Auswerteeinheit kann ein einzelner Schreib-/Lesekopf der Baureihe BIS C-65_ direkt montiert werden, wodurch eine kompakte Einheit entsteht. Ist der Adapter BIS C-650 anstatt des Schreib-/Lesekopfes BIS C-65_ montiert, können zwei Schreib-/Leseköpfe abgesetzt über Kabel angeschlossen werden. Ist der Adapter BIS C-670 oder BIS C-657 montiert, kann ein einzelner Schreib-/Lesekopf abgesetzt über Kabel angeschlossen werden. Die Auswerteeinheit BIS C-622 besitzt ein Metallgehäuse. Der Anschluss erfolgt über Rundsteckverbinder. Bei der Ausführung 050 können zwei Schreib-/Leseköpfe abgesetzt über Kabel angeschlossen werden. Bei der Ausführung 057 kann ein einzelner Schreib-/ Lesekopf abgesetzt über Kabel angeschlossen werden. Welche der oben beschriebenen Anordnungen bei den Schreib-/Leseköpfen sinnvoll ist, richtet sich im wesentlichen nach der möglichen räumlichen Anordnung der Bausteine. Funktionale Einschränkungen sind nicht gegeben. Alle Schreib-/Leseköpfe sind für statisches und dynamisches Lesen und Schreiben geeignet. Abstand und Relativgeschwindigkeit richten sich nach der Wahl des Datenträgers. In den jeweiligen Handbüchern zu den Schreib-/ Leseköpfen der Baureihe BIS C-65_ sowie der Baureihe BIS C-3_ _ finden Sie sämtliche Kombinationen von Schreib-/Lesekopf und passenden Datenträgern. Die Systemkomponenten werden von der Auswerteeinheit elektrisch versorgt. Der Datenträger stellt eine eigenständige Einheit dar, benötigt also keine leitungsgebundene Stromzuführung. Er bekommt seine Energie vom Schreib-/Lesekopf. Dieser sendet ständig ein Trägersignal aus, das den Datenträger versorgt, sobald der notwendige Abstand erreicht ist. In dieser Phase findet der Schreib-/Lesevorgang statt. Dieser kann statisch oder dynamisch erfolgen.

8

D

C6_2-019_641365_0506-d.p65

9 Anwendung Auswerteeinheit BIS C-6_2 Steuerfunktion

Über den Schreib-/Lesekopf schreibt die Auswerteeinheit Daten vom steuernden System auf den Datenträger oder liest sie vom Datenträger und stellt sie dem steuernden System zur Verfügung. Steuernde Systeme können sein: – ein Steuerrechner (z.B. Industrie-PC) oder – eine speicherprogrammierbare Steuerung (SPS)

Datensicherheit

Bei der Übertragung der Daten zwischen Schreib-/Lesekopf und Datenträger bedarf es eines Verfahrens, welches erkennen kann, ob die Daten richtig gelesen bzw. richtig geschrieben worden sind. Bei der Auslieferung ist die Auswerteinheit auf das bei Balluff gebräuchliche Verfahren des doppelten Einlesens mit anschließendem Vergleich eingestellt. Neben diesem Verfahren steht ein zweites Verfahren als Alternative zur Verfügung: die CRC_16-Datenprüfung. Hier wird ein Prüfcode auf den Datenträger geschrieben, der jederzeit und überall das Kontrollieren der Daten auf Gültigkeit erlaubt. Vorteile mit CRC_16 Check Datensicherheit auch während der nicht aktiven Phase (CT außerhalb des S/L-Kopfes). Kürzere Lesezeiten, da jede Seite nur einmal gelesen wird.

Vorteile mit doppeltem Lesen Beim Datenträger gehen keine Nutzbyte zur Speicherung eines Prüfcodes verloren. Kürzere Schreibzeiten, da kein CRC geschrieben werden muss.

Da beide Varianten je nach Anwendung vorteilhaft sind, kann die Methode der Datensicherheit vom Anwender parametriert werden (siehe 14).



Ein Mischbetrieb der beiden Prüfverfahren ist nicht möglich!

D

9

10 Anwendung Auswerteeinheit BIS C-6_2 Datensicherheit (Fortsetzung)

Um die Methode mit dem CRC-Check verwenden zu können, müssen die Datenträger initialisiert werden. Entweder man benützt Datenträger mit dem Datensatz bei Werksauslieferung (alle Daten sind 0) oder man muss über einen speziellen Initialisierungsbefehl den 26/27). Datenträger über die Auswerteeinheit beschreiben (siehe Ist die CRC_16-Datenprüfung aktiviert, wird bei Erkennen eines CRC-Fehlers eine spezielle Fehlermeldung an die Schnittstelle ausgegeben. Wenn die Fehlermeldung keine Folge aus einem missglückten Schreibauftrag ist, kann davon ausgegangen werden, dass eine oder mehrere Speicherzellen auf dem Datenträger defekt sind. Der betreffende Datenträger ist auszutauschen. Ist der CRC-Fehler jedoch eine Folge aus einem missglückten Schreibauftrag, muss der Datenträger neu initialisiert werden, um ihn wieder verwenden zu können. Die Prüfsumme wird je Seite auf den Datenträger als 2 Byte große Information geschrieben. Es gehen 2 Byte pro Seite verloren, d.h. die Seitengröße beträgt 30 Byte bzw. 62 Byte je nach Datenträgertyp (Seitengröße siehe 18). Dies bedeutet, dass sich die konkret nutzbare Anzahl Byte verringert: Datenträgertyp

10

D

Nutzbare Byte

128 Byte

=

256 Byte

=

120 Byte 240 Byte

511 Byte *)

=

450 Byte

1023 Byte *)

=

930 Byte

2047 Byte *)

=

1922 Byte

2048 Byte 8192 Byte

= =

1984 Byte 7936 Byte

*) Die letzte Datenträgerseite steht bei diesen EEPROM-Datenträgern nicht zur freien Verfügung.

C6_2-019_641365_0506-d.p65

11 Anwendung Auswerteeinheit BIS C-6_2 PROFIBUS-DP

Die Kommunikation zwischen der Auswerteeinheit BIS C-6_2 und dem steuernden System erfolgt über den PROFIBUS-DP. Das System PROFIBUS-DP besteht aus 2 Komponenten: – dem Busmaster und – den Busmodulen/Slaves (hier die Auswerteeinheit BIS C-6_2)



Wichtiger Hinweis für den Einsatz mit SPS: Es gibt Steuerungen, bei denen der Datenbereich des PROFIBUS-DP nicht synchron zur Aktualisierung des Ein-/Ausgangsabbildes übertragen wird. In einem solchen Fall muss entweder – zwischen der Auswertung bzw. der Reaktion auf eine Information der Bitleiste und der Bearbeitung der Daten ein SPS-Zyklus als Wartezeit programmiert werden, oder – es wird die Funktion "2. Bitleiste" über die Parametrierung eingeschaltet. Die Übereinstimmung von 1. und 2. Bitleiste besagt, dass die vorliegenden Daten gültig sind.

D

11

12

Parametrierung Gerätestammdaten

Um den Busmaster typgerecht zu parametrieren, liegt der Auswerteeinheit BIS C-6_2 eine Diskette bei, auf der die Gerätestammdaten in Form einer GSD-Datei abgelegt sind. Für Siemens-Busmaster befinden sich auch noch Typdateien auf der Diskette.

Stationsadresse

Jede Auswerteeinheit BIS C-6_2 wird mit der Stationsadresse 126 ausgeliefert. Vor dem Einsatz am Bus muss diese zunächst individuell eingestellt werden. Siehe hierzu die folgende .

Ein-/Ausgangspuffer

Im Eingangs- und im Ausgangspuffer findet der Datenaustausch mit dem steuernden System statt. Die Größe dieser Puffer muss vom Master konfiguriert werden.

☞ Parametrierbyte User-Parameter-Bytes



Die möglichen Einstellwerte sind in der GSD-Datei (und Typ-Datei) hinterlegt. Es können minimal 6 und maximal 32 Byte angepasst werden, wobei die Anzahl immer geradzahlig sein muss.

Außerdem gibt es bei der Auswerteeinheit BIS C-6_2 noch weitere 4 Byte (User-ParameterBytes), die bei der Parametrierung übergeben werden müssen. Die Voreinstellung ist in der GSD-Datei (Typ-Datei) hinterlegt.

Die Bedeutung der 4 Byte zur Parametrierung wird ab

12

D

14 beschrieben.

C6_2-019_641365_0506-d.p65

13

Parametrierung, Adressierung Stationsadresse einstellen

Über den Schiebeschalter S1 kann die Stationsadresse vergeben werden, über die das Gerät auf dem Bus angesprochen wird. Jede Adresse darf nur einmal verwendet werden. Öffnen des Deckels der Auswerteeinheit BIS C-602 siehe 39, BIS C-622 siehe 51. Der Schiebeschalter S1 ist binär codiert. Die Einstellung der Stationsadresse geschieht nach dem in der Tabelle gezeigten Schema: ja = Schalter rechts, nein = Schalter links. In nachfolgendem Bild ist die Adresse 85 eingstellt. Stationsadresse

Schalter S1 1

2

3

2

2

2

0

1

2

0

nein ja

4

5

6

7

23

24

25

26

nicht erlaubt

1

ja

nein

nein

nein

nein

nein

nein

2

nein

ja

nein

nein

nein

nein

nein

3

ja

ja

nein

nein

nein

nein

nein

4

nein

nein

ja

nein

nein

nein

nein

5

ja

nein

ja

nein

nein

nein

nein

ja

nein

ja

nein

ja

nein

ja

... 85 ... 123

ja

ja

nein

ja

ja

ja

ja

124

nein

nein

ja

ja

ja

ja

ja

125

ja

nein

ja

ja

ja

ja

ja

126

nein

ja

ja

ja

ja

ja

ja

127

Schiebeschalter S1 (bei geöffnetem Deckel)

nicht erlaubt

Schiebeschalter S1/8 muss auf "ja" (rechts) eingestellt bleiben. D

14

Parametrierung Parametrierbyte User-Parameter-Bytes (Fortsetzung)

Zur Parametrierung müssen immer alle 4 Byte in HEX übergeben werden. Es dürfen nur die markierten Bit verändert werden. Bei einer Änderung der restlichen Bit kann keine Garantie für die richtige Funktion des BIS C-6_2 übernommen werden.

HEX

Binär

1. Byte 00 00000000 Bit 4 Bit 5

2. Byte 80 10000000

3. Byte 00 00000000

Bit 5

Bitte beachten Sie: Sämtliche Befehle, die den Kopf 2 betreffen, sind bei allen Versionen für einen einzelnen Schreib-/ Lesekopf ungültig.

4. Byte 02 00000010 Bit 5 Bit 2 Bit 6 Bit 7 Bit 8

Die zur Parametrierung dienenden Bit besitzen folgende Funktionen: 1. Byte, Bit 5, CRC_16-Datenprüfung aktivieren: 0 = nein 1 = ja CRC_16-Datenprüfung aktiviert. 1. Byte, Bit 4, angewählten Kopf in der Bitleiste des Eingangspuffers anzeigen: 0 = nein 1 = ja Kopf 1 angewählt: "KN" in der Bitleiste des Eingangspuffers = 0, Kopf 2 angewählt: "KN" in der Bitleiste des Eingangspuffers = 1.



Wichtig: "KN" und "IN" benutzen das gleiche Bit in der Bitleiste. "IN" hat immer Priorität!

2. Byte, Bit 5, Dynamikbetrieb (Auswirkungen auf die Schreib-/Lesezeiten siehe 35/36): 0 = nein Ein Schreib-/Leseauftrag wird mit Fehler-Nr. 1 abgelehnt, wenn sich kein Datenträger im Schreib-/Lesebereich befindet. 1 = ja Der Schreib-/Leseauftrag wird zwischengespeichert und erst ausgeführt, wenn ein Datenträger erkannt wird. 14

D

13

C6_2-019_641365_0506-d.p65

15

Parametrierung Parametrierbyte (Fortsetzung)



4. Byte, Bit 8, 2. Bitleiste am Ende des Eingangs- und des Ausgangspuffers anordnen. 0 = nein 1 = ja Ist diese Funktion angewählt, beträgt die kleinste Größe der beiden Puffer 4 Worte (8 Byte).

4. Byte, Bit 7, Zustand des digitalen Eingangs in der Bitleiste des Eingangspuffers anzeigen: 0 = nein 1 = ja Eingang auf Low: "IN" in der Bitleiste des Eingangspuffers = 0. Eingang auf High: "IN" in der Bitleiste des Eingangspuffers = 1.



Wichtig: "KN" und "IN" benutzen das gleiche Bit in der Bitleiste. "IN" hat immer Priorität!

4. Byte, Bit 6, Kopfanwahl über HD-Bit in der Bitleiste des Ausgangspuffers: Ist die Kopfanwahl über HD-Bit gewählt, dann ist die Funktion "beide Schreib-/Leseköpfe angewählt" außer Kraft. 0 = nein 1 = ja "HD" auf Low: Schreib-/Lesekopf 1 wird angewählt. "HD" auf High: Schreib-/Lesekopf 2 wird angewählt.

Bitte beachten Sie: Sämtliche Befehle, die den Kopf 2 betreffen, sind bei allen Versionen für einen einzelnen Schreib-/ Lesekopf ungültig.

4. Byte, Bit 5, Kopfanwahl über den digitalen Eingang: Ist dies angewählt, dann ist die Funktion "beide Schreib-/Leseköpfe angewählt" außer Kraft. 0 = nein 1 = ja Eingang auf Low: Schreib-/Lesekopf 1 wird angewählt. Eingang auf High: Schreib-/Lesekopf 2 wird angewählt. 4. Byte, Bit 2, Reset der Auswerteeinheit BIS C-6_2 über den digitalen Eingang: 0 = nein 1 = ja Eingang auf Low: keinen Reset ausführen. Eingang auf High: Reset wird ausgeführt. D

15

16

Funktionsbeschreibung Eingangs- und Ausgangspuffer Bitte beachten Sie den prinzipiellen Ablauf auf 25 und die Beispiele auf den 26 ... 34.



16

D

Zur Übertragung von Befehlen und Daten zwischen der Auswerteeinheit BIS C-6_2 und dem steuernden System muss dieses zwei Felder bereitstellen. Die beiden Felder sind: – der Ausgangspuffer für die Steuerbefehle, die zum BIS-Identifikations-System geschickt werden und für die zu schreibenden Daten. – der Eingangspuffer für die zu lesenden Daten und für die Kennungen und Fehlercodes, die vom BIS-Identifikations-System kommen. Die Puffergröße kann zwischen 6 und 32 Byte in 2-Byte-Schritten gewählt werden. Dies muss bei der Parametrierung vom Master angegeben werden. In jedem Puffer ist das erste Byte als Bitleiste ausgeführt und dient zur Steuerung der Befehlsabläufe. Die restlichen Byte werden befehlsabhängig belegt. Es ist zu beachten, dass diese Puffer je nach Steuerungstyp unterschiedlich abgebildet werden. Nachfolgend wird stets die Beschreibung nach Variante 1 dargestellt!

Variante 1

Variante 2

Subadresse 00 01 02 03 04 05 06 07

Subadresse 01 00 03 02 05 04 07 06

C6_2-019_641365_0506-d.p65

17

Funktionsbeschreibung Belegung des Ausgangspuffers

Über die Parametrierung kann das letzte Byte als 2. Bitleiste eingerichtet werden. Bit-Nr. Subadresse 00Hex = Bitleiste 01Hex

7

6

5

4

TI HD Befehlskennung Anfangsadresse (Low Byte) oder Kopfnummer Anfangsadresse (High Byte) Anzahl Byte (Low Byte) Anzahl Byte (High Byte)

3

CT

02Hex 03Hex 04Hex 05Hex 06Hex ... letztes Byte

2. Bitleiste (wie oben)

2

1

GR

AV

oder

Daten

oder

Daten

oder oder oder

Daten Daten Daten Daten Daten Daten

oder

0 Bitname

Bitte beachten Sie den prinzipiellen Ablauf auf 25 und die Beispiele auf den 26 ... 34. D

17

18

Funktionsbeschreibung Erklärungen zum Ausgangspuffer

Subadresse

Bitname

Bedeutung

00HEX Bitleiste

CT

Datenträgertyp Datenträgertyp auswählen: für Datenträgertyp: 0 32 Byte Blockgröße BIS C-1_ _-02, -03, -04, -05 1 64 Byte Blockgröße BIS C-1_ _-10, -11, -30 Toggle-Bit In Zeigt während eines Leseauftrags an, dass die Steuerung für weitere Daten bereit ist. Head direct Wenn der Konfigurationsparameter "HD" = 1 eingestellt ist, kann mit diesem Bit der Bitleiste des Ausgangspuffers der Schreib-/Lesekopf direkt angewählt werden. 0 Den Schreib-/Lesekopf 1 anwählen. 1 Den Schreib-/Lesekopf 2 anwählen. Grundzustand Veranlasst das BIS-System, in den Grundzustand zu gehen. Auftrag Signalisiert dem Identifikations-System, dass ein Auftrag vorliegt.

TI

Bitte beachten Sie: Sämtliche Befehle, die den Kopf 2 betreffen, sind bei allen Versionen für einen einzelnen Schreib-/ Lesekopf ungültig.

HD

GR AV

Bitte beachten Sie den prinzipiellen Ablauf auf 25 und die Beispiele auf den 26 ... 34.

Subadresse

Bedeutung

Funktionsbeschreibung

01HEX

Befehlskennung 00HEX 01HEX 02HEX 03HEX 12HEX Daten

Kein Befehl vorhanden Datenträger lesen Auf Datenträger schreiben Schreib-/Lesekopf-Funktionen Initialisieren der CRC_16-Datenprüfung zum Schreiben auf den Datenträger.

oder

(Fortsetzung siehe nächste ) 18

D

Funktionsbeschreibung

C6_2-019_641365_0506-d.p65

19

Funktionsbeschreibung Erklärungen zum Ausgangspuffer (Fortsetzung)

Subadresse

Bedeutung

02HEX

Anfangsadresse Startadresse, ab der vom Datenträger gelesen bzw. auf den (Low Byte) Datenträger geschrieben werden soll (das Low Byte deckt den Adressbereich von 0 bis 255 ab). Kopfnummer Schreib-/Lesekopf anwählen (für max. zwei Köpfe) oder Datenträger vor Schreib-/Lesekopf suchen. 01HEX Kopf 1 anwählen. 02HEX Kopf 2 anwählen. 03HEX Beide Schreib-/Leseköpfe anwählen. Es muss sichergestellt werden, dass nur an einem der beiden Schreib-/Leseköpfe ein Datenträger vorhanden ist, da immer nur ein Datenträger bearbeitet werden kann. 04HEX An beiden Schreib-/Leseköpfen einmal prüfen, ob ein Datenträger vorhanden ist. Wird ein Datenträger im Schreib-/Lesebereich eines Kopfes gefunden, bleibt dieser angewählt. Seine Kopfnummer 01HEX oder 02HEX und die ersten 4 Byte des Datenträgers werden in die Subadressen 01HEX bis 05HEX des Eingangspuffers geschrieben. Wird an keinem der Köpfe ein Datenträger gefunden, bleibt die ursprüngliche Anwahl aktiv (Kopf 1 oder 2 oder beide gleichzeitig). Als Ergebnis wird an den Eingangspuffers ausgegeben: – die "Kopfnummer" 04HEX an die Subadresse 01HEX – die "Daten" 00HEX an die Subadressen 02HEX bis 05HEX 05HEX Beide Schreib-/Leseköpfen solange überprüfen, bis ein Datenträger gefunden wurde. Weitere Einzelheiten siehe oben unter 04HEX. Daten zum Schreiben auf den Datenträger.

oder Bitte beachten Sie: Sämtliche Befehle, die den Kopf 2 betreffen, sind bei allen Versionen für einen einzelnen Schreib-/ Lesekopf ungültig.

Bitte beachten Sie den prinzipiellen Ablauf auf 25 und die Beispiele auf den 26 ... 34.

oder

Funktionsbeschreibung

(Fortsetzung siehe nächste ) D

19

20

Funktionsbeschreibung Erklärungen zum Ausgangspuffer (Fortsetzung)

Subadresse

Bedeutung

03HEX

Anfangsadresse (High Byte) Startadresse, ab der vom Datenträger gelesen bzw. auf den Codeträger geschrieben werden soll (das High Byte wird zusätzlich für den Adressbereich von 256 bis 8.191 benötigt). Daten zum Schreiben auf den Datenträger.

oder 04HEX

oder 05HEX

20

D

Daten Anzahl Byte (High Byte)

Anzahl Byte, die ab Anfangsadresse gelesen bzw. geschrieben werden sollen (das Low Byte deckt den Umfang von 1 bis 256 Byte ab). zum Schreiben auf den Datenträger.

Daten

Anzahl Byte, die ab Anfangsadresse gelesen bzw. geschrieben werden sollen (das High Byte wird zusätzlich für den Umfang von 257 bis 8.192 Byte benötigt). zum Schreiben auf den Datenträger.

06HEX

Daten

zum Schreiben auf den Datenträger.

...

Daten

zum Schreiben auf den Datenträger.

oder

Bitte beachten Sie den prinzipiellen Ablauf auf 25 und die Beispiele auf den 26 ... 34.

Anzahl Byte (Low Byte)

Funktionsbeschreibung

letztes Byte Daten oder 2. Bitleiste

zum Schreiben auf den Datenträger Stimmen 1. und 2. Bitleiste überein, liegen gültige Daten vor.

C6_2-019_641365_0506-d.p65

21

Funktionsbeschreibung Belegung des Eingangspuffers

Über die Parametrierung kann das letzte Byte als 2. Bitleiste eingerichtet werden. Bit_Nr.

7

6

BB

HF

5

4

3

TO

IN / KN

AF

2

1

AE

AA

0

Subadresse 00Hex = Bitleiste 01Hex

Fehlercode

oder

Kopfnummer

oder

CP

02Hex

Daten

03Hex

Daten

04Hex

Daten

05Hex

Daten

06Hex

Daten

...

Bitname

Daten

Daten

letztes Byte

2. Bitleiste (wie oben)

oder

Daten

Bitte beachten Sie den prinzipiellen Ablauf auf 25 und die Beispiele auf den 26 ... 34. D

21

22

Funktionsbeschreibung Erklärungen zum Eingangspuffer

Subadresse

BitBedeutung name

Funktionsbeschreibung

00HEX Bitleiste

BB

betriebsbereit

Das BIS-Identifikations-System befindet sich in betriebsbereitem Zustand.

HF

Head Fehler

Kabelbruch zum Schreib-/Lesekopf oder kein Schreib-/Lesekopf angeschlossen.

TO

Toggle-Bit Out

beim Lesen: BIS hat neue/weitere Daten bereitgestellt. beim Schreiben: BIS ist bereit, neue/weitere Daten zu übernehmen.

Bitte beachten Sie: Sämtliche Befehle, die den Kopf 2 betreffen, sind bei allen Versionen für einen einzelnen Schreib-/ Lesekopf ungültig.

Bitte beachten Sie den prinzipiellen Ablauf auf 25 und die Beispiele auf den 26 ... 34.

22

D

KN

Kopfnummer

Je nach Parametrierung des 1. Byte, Bit 4 (siehe 14). Wenn der Parameter "Eingang IN" = 1 ist, zeigt dieses Bit den Zustand des Eingangs an. Wichtig: "IN" hat immer Priorität vor "KN"! Wenn in der Parametrierung "KN" = 1 gesetzt ist, zeigt dieses Bit die Nummer des momentan angewählten Kopfes an. 0 = Kopf 1, 1 = Kopf 2. Wichtig: "IN" hat immer Priorität vor "KN"!

AF

Auftrag Fehler

Der Auftrag wurde fehlerhaft bearbeitet oder abgebrochen.

AE

Auftrag Ende

Der Auftrag wurde ohne Fehler beendet.

AA

Auftrag Anfang

Der Auftrag wurde erkannt und begonnen.

CP

Codetag Present Datenträger im Schreib-/Lesebereich des angewählten Schreib-/Lesekopfs.

IN oder KN IN Input

(Fortsetzung siehe nächste )

C6_2-019_641365_0506-d.p65

23

Funktionsbeschreibung Erklärungen zum Eingangspuffer (Fortsetzung)

Subadresse

Bedeutung

Funktionsbeschreibung

01HEX

Fehlercode

Fehlernummer ist eingetragen, wenn Auftrag fehlerhaft bearbeitet oder abgebrochen wurde. Nur mit AF-Bit gültig! kein Fehler. Lesen oder Schreiben nicht möglich, da kein Datenträger im Schreib-/Lesebereich des Schreib-/Lesekopfs vorhanden. Fehler beim Lesen. Datenträger wurde während des Lesens aus dem Schreib-/

00HEX 01HEX 02HEX 03HEX

Bitte beachten Sie:

LeseSämtliche Befehle, die den Kopf 2 betreffen, sind bei allen Versionen für einen einzelnen Schreib-/ Lesekopf ungültig.

bereich des Schreib-/Lesekopfs entfernt. Fehler beim Schreiben. Datenträger wurde während des Schreibens aus dem Schreib-/ Lesebereich des Schreib-/Lesekopfs entfernt. AV-Bit ist gesetzt, aber die Befehlskennung fehlt oder ist ungültig. 07HEX oder: Anzahl Byte ist 00HEX. Kabelbruch zum angewählten Schreib-/Lesekopf oder Kopf 09HEX nicht angeschlossen. Wurden über die Befehlskennung 03HEX mit Kopfnummer 03HEX beide Schreib-/Leseköpfe angewählt, könnte ein Kopf nicht angeschlossen sein. Sind beide Schreib-/ Leseköpfe angewählt, wird die Kabelbruchmeldung unterdrückt, wenn ein Datenträger vor einem angeschlossenen, nicht defekten Schreib-/Lesekopf erkannt wurde. 0DHEX Gestörte Kommunikation mit dem Datenträger. Hinweis: Einbaukriterien oder Abstand des Datenträgers zum Schreib-/Lesekopf überprüfen. 0EHEX Der CRC der gelesenen Daten stimmt nicht mit dem CRC auf dem Datenträger überein! (Fortsetzung siehe nächste ) D 23 04HEX 05HEX

Bitte beachten Sie den prinzipiellen Ablauf auf 25 und die Beispiele auf den 26 ... 34.

24

Funktionsbeschreibung Erklärungen zum Eingangspuffer (Fortsetzung)

Bitte beachten Sie:

Subadresse

Bedeutung

01HEX

Fehlercode (Fortsetzung) 0FHEX Inhalt der 1. und 2. Bitleiste (1. und letztes Byte) des Ausgangspuffers sind ungleich (2. Bitleiste muss aktiviert sein). Kopfnummer Sind beide Schreib-/Leseköpfe angewählt, wird hier nach einem fehlerlosen Lesen oder Schreiben die Nummer des Kopfs eingetragen, über den gelesen oder geschrieben wurde: Kopf 1 31HEX Kopf 2 32HEX Kopfnummer 3 = 33HEX wird ausgegeben, wenn Dynamikbetrieb angewählt ist. Somit beginnen bei einem Lesebefehl die gelesenen Daten im Eingangspuffer erst ab der Subadresse 02HEX. Daten Daten, die vom Datenträger gelesen wurden. (Ausnahme siehe oben bei Kopfnummer).

oder:

Sämtliche Befehle, die den Kopf 2 betreffen, sind bei allen Versionen für einen einzelnen Schreib-/ Lesekopf ungültig.

oder: 02HEX

Daten

Daten, die vom Datenträger gelesen wurden.

...

Daten

Daten, die vom Datenträger gelesen wurden.

letztes Byte Daten oder 2. Bitleiste Bitte beachten Sie den prinzipiellen Ablauf auf 25 und die Beispiele auf den 26 ... 34.

24

D

Funktionsbeschreibung

Daten, die vom Datenträger gelesen wurden, Stimmen 1. und 2. Bitleiste überein, liegen gültige Daten vor.

C6_2-019_641365_0506-d.p65

25

Protokollablauf Prinzipieller Ablauf

Die Steuerung gibt einen Lese- oder Schreibauftrag. Folgender, vereinfacht dargestellter Ablauf ergibt sich (genauere Darstellung in den nachfolgenden Beispielen): 1. Die Steuerung gibt an den Ausgangspuffer – die Befehlskennung an die Subadresse 01HEX, – die Startadresse, ab der gelesen/geschrieben werden soll, – die Anzahl Byte, die gelesen/geschrieben werden sollen, – den Datenträgertyp ( nach Blockgröße) und setzt – das AV-Bit in der Bitleiste des Ausgangspuffers. 2. Die Auswerteeinheit übernimmt den Auftrag ("AA" in der Bitleiste des Eingangspuffers) und beginnt, die Daten zu transportieren (Lesen = vom Datenträger in den Eingangspuffer, Schreiben = vom Ausgangspuffer auf den Datenträger). Größere Datenmengen werden in Blöcken übertragen (Größe = Puffergröße – 1). Dazu wird mit den Toggle-Bits in den beiden Bitleisten eine Art Handshake ausgeführt. Um das Lesen kleiner Datenmengen zu beschleunigen, stellt das Identifikations-System beim Erkennen eines Datenträgers sofort die ersten 5 bis 31 Byte des Datenträgers im Eingangspuffer zur Verfügung (Anzahl richtet sich nach der Puffergröße). Die Daten sind nur nach der steigenden Flanke des CP-Bits in der Bitleiste des Eingangspuffers gültig. Sie bleiben gültig bis zur fallenden Flanke des CP-Bits, oder bis die Steuerung einen Schreibauftrag oder einen Leseauftrag für den anderen Kopf erteilt. 3. Die Auswerteeinheit hat den Auftrag korrekt bearbeitet ("AE" in der Bitleiste des Eingangspuffers). Ist bei der Bearbeitung des Auftrags ein Fehler entstanden, wird eine Fehlernummer in die Subadresse 01HEX des Eingangspuffers geschrieben und das AF-Bit in der Bitleiste des Eingangspuffers gesetzt. Um das Identifikations-System in den Grundzustand zu bringen, setzt die Steuerung das GR-Bit in der Bitleiste des Ausgangspuffers. D

25

26

Protokollablauf 1. Beispiel (mit 8 Byte Puffergröße)

Initialisieren des Datenträgers für die CRC_16-Datenprüfung Dieser Befehl entspricht im Ablauf einem Schreibbefehl. Startadresse und Anzahl Byte müssen der maximal verwendeten Datenmenge entsprechen. Im Beispiel soll der komplette Speicherbereich eines Datenträgers mit 128 Byte verwendet werden (BIS C-1_ _-03/L mit 32 Byte Blockgröße). Da 2 Byte je Block für den CRC verwendet werden, sind lediglich 120 Byte des Datenträgers für die Nutzbyte verfügbar. Somit: Startadresse = 0, Anzahl Byte = 120. Steuerung:

Identifikations-System BIS C-6_2:

1.) Subadressen des Ausgangspuffers in der Reihenfolge der Darstellung bearbeiten:

01Hex 02Hex 03Hex 04Hex 05Hex

Befehlskennung 12 Hex Anfangsadresse 00Hex Anfangsadresse 00Hex Anzahl Byte 78Hex Anzahl Byte 00Hex

3.) Subadressen des Ausgangspuffers bearbeiten:

01...07Hex 00Hex

Die ersten 7 Byte Daten eintragen TI-Bit invertieren

5.) Subadressen des Ausgangspuffers bearbeiten:

01...07Hex 00Hex

Die zweiten 7 Byte Daten eintragen TI-Bit invertieren

2.) Subadressen des Eingangspuffers in der Reihenfolge der Darstellung bearbeiten:

00Hex

AA-Bit setzen, TO-Bit invertieren

4.) Subadressen des Ausgangspuffers bearbeiten:

01...07Hex Die ersten 7 Byte Daten kopieren Subadresse des Eingangspuffers bearbeiten: 00Hex TO-Bit invertieren 6.) Subadressen des Ausgangspuffers bearbeiten:

01...07Hex Die zweiten 7 Byte Daten kopieren Subadresse des Eingangspuffers bearbeiten: 00Hex TO-Bit invertieren

... Solange fortsetzen, bis der gesamte Speicherbereich geschrieben ist. Siehe nächste . 26

D

C6_2-019_641365_0506-d.p65

27

Protokollablauf 1. Beispiel (Fortsetzung)

Steuerung:

Identifikations-System BIS C-6_2:

7.) Subadressen des Ausgangspuffers bearbeiten:

8.) Subadressen des Ausgangspuffers bearbeiten:

01...07Hex

Die achtzehnten 7 Byte Daten eintragen

01...07Hex

00Hex

TI-Bit invertieren

Subadresse des Eingangspuffers bearbeiten: 00Hex TO-Bit invertieren

9.) Subadressen des Ausgangspuffers bearbeiten:

01Hex 00Hex

Das letzte Byte Daten eintragen TI-Bit invertieren

11.)Subadressen des Ausgangspuffers bearbeiten:

00Hex

AV-Bit rücksetzen

Die achtzehnten 7 Byte Daten kopieren

10.)Subadressen des Ausgangspuffers bearbeiten:

01Hex Das letzte Byte Daten kopieren Subadresse des Eingangspuffers bearbeiten: 00Hex AE-Bit setzen 12.)Subadressen des Eingangspuffers bearbeiten:

00Hex

AA-Bit und AE-Bit rücksetzen

D

28

Protokollablauf 2. Beispiel (mit 8 Byte Puffergröße)

Lesen von 19 Byte ab Datenträgeradresse 10 (Datenträgertyp mit 32 Byte Blockgröße): Steuerung: Identifikations-System BIS C-6_2: 1.) Subadressen des Ausgangspuffers in der Reihenfolge der Darstellung bearbeiten:

01Hex 02Hex 03Hex 04Hex 05Hex 00Hex

Befehlskennung 01 Hex Anfangsadresse Low Byte 0A Hex Anfangsadresse High Byte 00 Hex Anzahl Byte Low Byte 13Hex Anzahl Byte High Byte 00 Hex CT-Bit auf 0 (32 Byte Blockgröße), AV-Bit setzen

3.) Subadressen des Eingangspuffers bearbeiten:

01...07Hex Die ersten 7 Byte Daten kopieren Subadresse des Ausgangspuffers bearbeiten: 00Hex TI-Bit invertieren 5.) Subadressen des Eingangspuffers bearbeiten:

01...07Hex Die zweiten 7 Byte Daten kopieren Subadresse des Ausgangspuffers bearbeiten: 00Hex TI-Bit invertieren 7.) Subadressen des Eingangspuffers bearbeiten:

28

D

01...05Hex

Die restlichen 5 Byte Daten kopieren

00Hex

AV-Bit rücksetzen

2.) Subadressen des Eingangspuffers in der Reihenfolge der Darstellung bearbeiten:

00Hex 01...07Hex 00Hex

AA-Bit setzen Die ersten 7 Byte Daten eintragen AE-Bit setzen

4.) Subadressen des Eingangspuffers bearbeiten:

01...07Hex 00Hex

Die zweiten 7 Byte Daten eintragen TO-Bit invertieren

6.) Subadressen des Eingangspuffers bearbeiten:

01...07Hex 00Hex

Die restlichen 5 Byte Daten eintragen TO-Bit invertieren

8.) Subadressen des Eingangspuffers bearbeiten:

00Hex

AA-Bit und AE-Bit rücksetzen

27

C6_2-019_641365_0506-d.p65

29

Protokollablauf 3. Beispiel (mit 8 Byte Puffergröße)

Lesen von 40 Byte ab Datenträgeradresse 10 mit Lesefehler (Datenträgertyp mit 64 Byte Blockgröße): Steuerung:

Identifikations-System BIS C-6_2:

1.) Subadressen des Ausgangspuffers in der Reihenfolge der Darstellung bearbeiten:

2.) Subadressen des Eingangspuffers in der Reihenfolge der Darstellung bearbeiten:

01Hex 02Hex 03Hex 04Hex 05Hex 00Hex

Befehlskennung 01 Hex Anfangsadresse Low Byte 0A Hex Anfangsadresse High Byte 00 Hex Anzahl Byte Low Byte 28Hex Anzahl Byte High Byte 00 Hex CT-Bit auf 1 (64 Byte Blockgröße), AV-Bit setzen

3.) Subadressen des Ausgangspuffers bearbeiten:

01Hex 00Hex

Fehlernummer kopieren AV-Bit rücksetzen

00Hex 01Hex 00Hex

AA-Bit setzen Fehlernummer eintragen AF-Bit setzen

4.) Subadressen des Eingangspuffers bearbeiten:

00Hex

AA-Bit und AF-Bit rücksetzen

D

29

30

Protokollablauf 4. Beispiel (mit 8 Byte Puffergröße)

Schreiben von 16 Byte ab Datenträgeradresse 20 (Datenträgertyp mit 32 Byte Blockgröße): Steuerung: Identifikations-System BIS C-6_2: 1.) Subadressen des Ausgangspuffers in der Reihenfolge der Darstellung bearbeiten:

01Hex 02/03Hex 04/05Hex 00Hex

Befehlskennung 02 Hex Anfangsadresse 14Hex / 00Hex Anzahl Byte 10Hex / 00Hex CT-Bit auf 0 (32 Byte Blockgröße), AV-Bit setzen

3.) Subadressen des Ausgangspuffers bearbeiten:

01...07Hex 00Hex

Die ersten 7 Byte Daten eintragen TI-Bit invertieren

5.) Subadressen des Ausgangspuffers bearbeiten:

01...07Hex 00Hex

Die zweiten 7 Byte Daten eintragen TI-Bit invertieren

7.) Subadressen des Ausgangspuffers bearbeiten:

AA-Bit setzen, TO-Bit invertieren

4.) Subadressen des Ausgangspuffers bearbeiten:

01...07Hex

Die ersten 7 Byte Daten kopieren

00Hex

TO-Bit invertieren

6.) Subadressen des Ausgangspuffers bearbeiten:

01...07Hex Die zweiten 7 Byte Daten kopieren Subadresse des Eingangspuffers bearbeiten: 00Hex TO-Bit invertieren 8.) Subadressen des Ausgangspuffers bearbeiten:

01...02Hex Die restlichen 2 Byte Daten kopieren Subadresse des Eingangspuffers bearbeiten: 00Hex AE-Bit setzen

9.) Subadressen des Ausgangspuffers bearbeiten:

10.)Subadressen des Eingangspuffers bearbeiten:

00Hex D

00Hex

Die restlichen 2 Byte Daten eintragen TI-Bit invertieren

01...02Hex 00Hex

30

2.) Subadressen des Eingangspuffers in der Reihenfolge der Darstellung bearbeiten:

AV-Bit rücksetzen

00Hex

AA-Bit und AE-Bit rücksetzen

C6_2-019_641365_0506-d.p65

31

Protokollablauf 5. Beispiel

Identifikations-System BIS C-6_2 in den Grundzustand bringen: Steuerung:

Identifikations-System BIS C-6_2:

1.) Subadressen des Ausgangspuffers bearbeiten:

00Hex

GR-Bit setzen

3.) Subadressen des Ausgangspuffers bearbeiten:

00Hex

GR-Bit rücksetzen

2.) In den Grundzustand gehen; Subadressen des Eingangspuffers bearbeiten:

00Hex

BB-Bit rücksetzen

4.) Subadressen des Eingangspuffers bearbeiten:

00Hex

BB-Bit setzen

D

32

Protokollablauf 6. Beispiel (mit 8 Byte Puffergröße) Bitte beachten Sie: Sämtliche Befehle, die den Kopf 2 betreffen, sind bei allen Versionen für einen einzelnen Schreib-/ Lesekopf ungültig.

7. Beispiel (mit 8 Byte Puffergröße) Bitte beachten Sie: Sämtliche Befehle, die den Kopf 2 betreffen, sind bei allen Versionen für einen einzelnen Schreib-/ Lesekopf ungültig.

32

D

Kopfumschaltung auf Kopf 2: Steuerung:

Identifikations-System BIS C-6_2:

1.) Subadressen des Ausgangspuffers in der Reihenfolge der Darstellung bearbeiten:

2.) Subadressen des Eingangspuffers in der Reihenfolge der Darstellung bearbeiten:

01Hex 02Hex 00Hex

Befehlskennung 03 Hex Kopffunktion eintragen 02Hex CT-Bit auf 0 (32 Byte Blockgröße), AV-Bit setzen

3.) Subadressen des Ausgangspuffers bearbeiten:

00Hex

AV-Bit rücksetzen

00Hex 00Hex

AA-Bit setzen Kopf 2 anwählen AE-Bit setzen

4.) Subadressen des Eingangspuffers bearbeiten:

00Hex

AA-Bit und AE-Bit rücksetzen

Kopfumschaltung auf beide Köpfe: Steuerung:

Identifikations-System BIS C-6_2:

1.) Subadressen des Ausgangspuffers in der Reihenfolge der Darstellung bearbeiten:

2.) Subadressen des Eingangspuffers in der Reihenfolge der Darstellung bearbeiten:

01Hex 02Hex 00Hex

Befehlskennung 03 Hex Kopffunktion eintragen 03Hex CT-Bit auf 0 (32 Byte Blockgröße), AV-Bit setzen

3.) Subadressen des Ausgangspuffers bearbeiten:

00Hex

AV-Bit rücksetzen

00Hex 00Hex

AA-Bit setzen Beide Köpfe anwählen AE-Bit setzen

4.) Subadressen des Eingangspuffers bearbeiten:

00Hex

AA-Bit und AE-Bit rücksetzen

31

C6_2-019_641365_0506-d.p65

33

Protokollablauf 8. Beispiel (mit 8 Byte Puffergröße)

Datenträger vor beiden Köpfen einmal suchen: Steuerung:

Identifikations-System BIS C-6_2:

1.) Subadressen des Ausgangspuffers in der Reihenfolge der Darstellung bearbeiten:

Bitte beachten Sie: Sämtliche Befehle, die den Kopf 2 betreffen, sind bei allen Versionen für einen einzelnen Schreib-/ Lesekopf ungültig.

01Hex 02Hex 00Hex

Befehlskennung 03 Hex Kopffunktion eintragen 04Hex CT-Bit auf 0 (32 Byte Blockgröße), AV-Bit setzen

2.) Subadressen des Eingangspuffers in der Reihenfolge der Darstellung bearbeiten:

00Hex

AA-Bit setzen

2.1) Es werden beide Köpfe nacheinander angewählt. Datenträger vor einem Kopf gefunden:

01Hex 02...05Hex 00Hex

Kopfnummer des betreffenden Kopfs eintragen Die ersten 4 Byte Daten des Datenträgers eintragen AE-Bit setzen

2.2)Es werden beide Köpfe nacheinander angewählt. Kein Datenträger gefunden. Zuvor angewählten Kopf wieder anwählen:

01Hex 02...05Hex 00Hex 3.) Subadressen des Eingangspuffers bearbeiten:

01Hex 02...05Hex

Kopfnummer kopieren Die ersten 4 Byte Daten kopieren

00Hex

AV-Bit rücksetzen

Kopffunktion eintragen 04Hex 4 mal 00Hex eintragen AE-Bit setzen

4.) Subadressen des Eingangspuffers bearbeiten:

00Hex

AA-Bit und AE-Bit rücksetzen

D

34

Protokollablauf 9. Beispiel (mit 8 Byte Puffergröße) Bitte beachten Sie: Sämtliche Befehle, die den Kopf 2 betreffen, sind bei allen Versionen für einen einzelnen Schreib-/ Lesekopf ungültig.

Datenträger vor beiden Köpfen ständig suchen: Steuerung:

Identifikations-System BIS C-6_2:

1.) Subadressen des Ausgangspuffers in der Reihenfolge der Darstellung bearbeiten:

2.) Subadressen des Eingangspuffers in der Reihenfolge der Darstellung bearbeiten:

01Hex 02Hex 00Hex

Befehlskennung 03 Hex Kopffunktion eintragen 05Hex CT-Bit auf 0 (32 Byte Blockgröße), AV-Bit setzen

3.) Subadressen des Eingangspuffers bearbeiten:

01Hex Kopfnummer kopieren 02...05Hex Die ersten 4 Byte Daten kopieren Subadresse des Ausgangspuffers bearbeiten: 00Hex

34

D

AV-Bit rücksetzen

00Hex AA-Bit setzen Es werden beide Köpfe im Wechsel angewählt, bis ein Datenträger vor einem Kopf gefunden wurde: 01Hex Kopfnummer des betreffenden Kopfs eintragen 02...05Hex Die ersten 4 Byte Daten des Datenträgers eintragen 00Hex AE-Bit setzen 4.) Subadressen des Eingangspuffers bearbeiten:

00Hex

AA-Bit und AE-Bit rücksetzen

33

C6_2-019_641365_0506-d.p65

35

Schreib-/Lesezeiten Lesezeiten vom Datenträger zur Auswerteeinheit im statischen Betrieb (Parametrierung 2. Byte, Bit 5 = 0, keine CRC_16Datenprüfung)

Schreibzeiten von der Auswerteeinheit zum Datenträger im statischen Betrieb (Parametrierung 2. Byte, Bit 5 = 0, keine CRC_16Datenprüfung)

Für zweimaliges Lesen und Vergleichen: Datenträger mit 32 Byte je Block

Datenträger mit 64 Byte je Block

Anzahl Byte

Lesezeit [ms]

Anzahl Byte

Lesezeit [ms]

von 0 bis 31

110

von 0 bis 63

220

für jeweils weitere angebrochene 32 Byte addieren Sie weitere

120

für jeweils weitere angebrochene 64 Byte addieren Sie weitere

230

von 0 bis 255

= 950

von 0 bis 2047

= 7350

Inclusive Rücklesen und Vergleichen: Datenträger mit 32 Byte je Block

Datenträger mit 64 Byte je Block

Anzahl Byte

Schreibzeit [ms]

Anzahl Byte

Schreibzeit [ms]

von 0 bis 31

110 + n * 10

von 0 bis 63

220 + n * 10

> 32

y * 120 + n * 10

> 64

y * 230 + n * 10

n = Anzahl der zusammenhängend zu schreibenden Bytes y = Anzahl der zu bearbeitenden Blöcke

Beispiel: Es sollen 17 Byte ab Adresse 187 geschrieben werden. Datenträger = 32 Byte je Block. Bearbeitet werden Block 5 und 6, da Anfangsadresse 187 in Block 5 und Endadresse 203 in Block 6 ist. t = 2 * 120 + 17 * 10 = 410 Die angegebenen Zeiten gelten, nachdem der Datenträger erkannt wurde. Andernfalls müssen für den Energieaufbau bis zum Erkennen des Datenträgers 45 ms hinzugerechnet werden. D

36

Schreib-/Lesezeiten Lesezeiten vom Datenträger zur Auswerteeinheit im dynamischen Betrieb (Parametrierung 2. Byte, Bit 5 = 1, keine CRC_16Datenprüfung)

Lesezeiten innerhalb des 1. Blocks für zweimaliges Lesen und Vergleichen: Die angegebenen Zeiten gelten, nachdem der Datenträger erkannt wurde. Ist der Datenträger noch nicht erkannt, müssen für den Energieaufbau bis zum Erkennen des Datenträgers 45 ms hinzugerechnet werden.

Datenträger mit 32 Byte je Block Anzahl Byte von 0 bis 3

Anzahl Byte

=

14

von 0 bis 3

3,5

für jedes weitere Byte

=

112

von 0 bis 63

für jedes weitere Byte von 0 bis 31

Datenträger mit 64 Byte je Block

Lesezeit [ms]

Lesezeit [ms] =

14 3,5

=

224

m = größte zu lesende Adresse

36

D

Formel:

t = (m + 1) * 3,5 ms

Beispiel:

Es sollen 11 Byte ab Adresse 9 gelesen werden. D.h. die größte zu lesende Adresse ist 19. Dies ergibt 70 ms.

35

C6_2-019_641365_0506-d.p65

37

LED-Anzeige Funktionsanzeigen am BIS C-6_2

Über die drei seitlichen LED meldet die Auswerteeinheit BIS C-6_2 die wichtigsten Betriebszustände des Identifikations-Systems. Betriebszustand

LED

System Ready

an (grün) Betriebsspannung in Ordnung; kein Hardwarefehler. aus Betriebsspannung/Hardware nicht in Ordnung, oder Kabelbruch zum Schreib-/Lesekopf bzw. nicht angeschlossen.

Bedeutung

Codetag Present

an (gelb) Datenträger schreib-/lesebereit. (Tritt während des Schreibens/Lesens ein Schreib-/Lesefehler auf, erlischt System Ready) blinkt Kabelbruch zum Schreib-/Lesekopf bzw. nicht angeschlossen. aus Kein Datenträger im Schreib-/Lesebereich

Codetag Operating an (gelb) Schreib-/Leseauftrag wird bearbeitet. aus Kein Schreib-/Leseauftrag in Arbeit. Wenn alle drei LED synchron blinken, liegt ein Speicherfehler vor. Das Gerät muss zur Reparatur.

D

37

38 BIS C-602 Montage Auswerteeinheit / Kopf Montage der Auswerteeinheit BIS C-602 und Anordnung des Schreib-/Lesekopfes bzw. des Adapters

38

D

Die Auswerteeinheit wird an den 4 seitlichen Langlöchern befestigt. Je nach Ausführung ist die Auswerteeinheit mit einem Schreib-/Lesekopf oder dem Adapter für abgesetzte Schreib-/Leseköpfe ausgestattet. Sowohl der Schreib-/Lesekopf als auch der Adapter können vom Anwender durch Umsetzen um + oder –90° in die gewünschte Lage gebracht werden (siehe Bild). Sorgen Sie dafür, dass das Gerät spannungsfrei geschaltet ist. Öffnen Sie die beiden Schrauben (im Bild durch Pfeile gekennzeichnet). Ziehen Sie den Kopf bzw. den Adapter vorsichtig nach der Seite heraus (Pfeilrichtung, rechtes Bild). Achtung: interne Kabelverbindung! Montieren Sie ihn in der gewünschten Lage und schrauben Sie ihn wieder an.

Achtung: interne Kabelverbindung!

C6_2-019_641365_0506-d.p65

39 BIS C-602 Montage Auswerteeinheit / Kopf Öffnen der Auswerteeinheit BIS C-602

Um die PROFIBUS-DP-Adresse einzustellen oder um die Jumper für den internen Abschlusswiderstand zu stecken und um die PROFIBUS-DP-Verbindungen herzustellen, ist die Auswerteeinheit BIS C-602 zu öffnen. Sorgen Sie dafür, dass das Gerät spannungsfrei geschaltet ist. Öffnen Sie die 4 Schrauben am BIS C-602 und entfernen Sie den Deckel. Führen Sie die beiden Feldbus-Kabel durch die Klemmverschraubungen. Weitere Einzelheiten zur Verdrahtung siehe folgende . Befestigung des Deckels (4 Schrauben), max. zulässiges Anzugsdrehmoment: 0,15 Nm

Öffnen der Auswerteeinheit D

40 BIS C-602-...-KL2 Montage PG-Verschraubung PROFIBUS-DP Montage der PGVerschraubungen PG 11 für den PROFIBUS-DP an der Auswerteeinheit BIS C-602-...-KL2

Beim Anschluss der Bus-Leitungen ist darauf zu achten, dass der Schirm eine einwandfreie Verbindung zum PG-Gehäuse hat.

Zwischenstutzen

innerer O-Ring Klemmeinsatz

Überwurfmutter mit Drehmoment von 4,17 Nm festziehen

40

D

ca. 3 - 4 mm

39

C6_2-019_641365_0506-d.p65

41 BIS C-602-...-KL2 Anschlusspläne Feldbuskabel und Schnittstelle für PROFIBUS-DP

Um die Auswerteeinheiten in den seriellen PROFIBUS einzuschleifen, befinden sich auf der Klemmleiste die Anschlüsse 1und 2 sowie 5 und 6 für die beiden Feldbuskabel ("ankommend" und "abgehend"). Busteilnehmer

Busteilnehmer BIS C-602-...-KL2

Busteilnehmer

Klemmleiste rot

grün rot

grün

Stellt die Auswerteeinheit das letzte Busmodul in der Kette dar, wird nur das ankommende Kabel angeschlossen; Sie können die Anschlüsse 1 und 2 oder 5 und 6 benutzen. Das letzte Busmodul muss den Bus mit einem Widerstand abschließen. Dieser Abschluss kann bei BIS C-602 auf zwei Arten realisiert werden: 1. Im Gerät durch Schließen der Schalter S2 (Auslieferungszustand offen)

S2

Abschlusswiderstand

geschlossen offen

aktiv passiv

2. Außerhalb des Geräts in einem Stecker. Hierzu sind die Signale VP (Klemme 4) und DGND (Klemme 3) herauszuführen, um die externen Abschlusswiderstände an Potenzial zu legen. Hinweis: S2 muss geöffnet sein! 41

D

42 BIS C-602-...-KL2 Anschlusspläne Anschlussplan für Auswerteeinheit BIS C-602-...-KL2 mit integriertem Schreib-/Lesekopf

7

6

5

4

3

2

1

DGND

A

B

VP

DGND

A

B

PROFIBUS-DP 1 2 3 4 5 6 7 8

S1

Head 1

19

18

+ VS

- VS POWER

17

16...14 n.c.

13

12

+IN

-IN

INPUT

11...8 n.c.

Head 2

19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1

Klemmleiste

Belegung der Klemmleiste n.c. = nichts anschließen

S2

Erdanschluss

PROFIBUS-DP Stromversorgung, digitaler Eingang

Lage und Bezeichnung der Anschlüsse

42

D

Der Erdanschluss ist je nach Anlage (Potenzialausgleich) direkt oder über eine RC-Kombination an Erde zu legen. Beim Anschluss der Bus-Leitungen ist darauf zu achten, dass der Schirm eine einwandfreie Verbindung zum PG-Gehäuse hat. Bitte Einbauanleitung auf 40 beachten.

C6_2-019_641365_0506-d.p65

43 BIS C-602-...-KL2 Anschlusspläne Anschlussplan für Auswerteeinheit BIS C-602-...-KL2 mit Adapter BIS C-650

Anschluss für Schreib-/Lesekopf 1 Anschluss für Schreib-/Lesekopf 2

7

6

5

4

3

2

1

DGND

A

B

VP

DGND

A

B

PROFIBUS-DP

19

18

+ VS

17

- VS

n.c.

POWER Klemmleiste

Erdanschluss

PROFIBUS-DP

Lage und Bezeichnung der Anschlüsse

Stromversorgung, digitaler Eingang

16...14

13

12

+IN

-IN

11...8 n.c.

INPUT

Belegung der Klemmleiste n.c. = nichts anschließen Der Erdanschluss ist je nach Anlage (Potenzialausgleich) direkt oder über eine RC-Kombination an Erde zu legen. Beim Anschluss der Bus-Leitungen ist darauf zu achten, dass der Schirm eine einwandfreie Verbindung zum PG-Gehäuse hat. Bitte Einbauanleitung auf 40 beachten.

43

D

44 BIS C-602-...-KL2 Anschlusspläne Anschlussplan für Auswerteeinheit BIS C-602-...-KL2 mit Adapter BIS C-670

Anschluss für Schreib-/Lesekopf, 8-polig

7

6

5

4

3

2

1

DGND

A

B

VP

DGND

A

B

PROFIBUS-DP

19

18

+ VS

- VS POWER

Head 1

17

16...14 n.c.

13

12

+IN

-IN

INPUT

11...8 n.c.

Belegung der Klemmleiste n.c. = nichts anschließen

Klemmleiste Erdanschluss

PROFIBUS-DP

Lage und Bezeichnung der Anschlüsse

44

D

Stromversorgung, digitaler Eingang

Der Erdanschluss ist je nach Anlage (Potenzialausgleich) direkt oder über eine RC-Kombination an Erde zu legen. Beim Anschluss der Bus-Leitungen ist darauf zu achten, dass der Schirm eine einwandfreie Verbindung zum PG-Gehäuse hat. Bitte Einbauanleitung auf 40 beachten.

C6_2-019_641365_0506-d.p65

45 BIS C-602-...-ST11 Anschlusspläne Feldbuskabel für PROFIBUS-DP

Um die Auswerteeinheiten BIS C-602-...-ST11 in den seriellen PROFIBUS einzuschleifen, befinden sich am Gehäuse der Anschluss X2 als PROFIBUS-Eingang und der Anschluss X3 als PROFIBUS-Ausgang. Busteilnehmer

Busteilnehmer BIS C-602-...-ST11 grün

A

3 DGND

B ...

grün

A 2

2A

rot

DGND 3

A

rot

B 4

4B

Schirm leitend mit Steckergehäuse verbinden.

Ausgang

Busteilnehmer

VP 1

1 VP

B

Schirm leitend mit Steckergehäuse verbinden. 5-poliger Stecker X2, Eingang

5-polige Buchse X3, Ausgang

Eingang

Stellt die Auswerteeinheit das letzte Busmodul in der Kette dar, wird nur das ankommende Kabel an X2 angeschlossen. Das letzte Busmodul muss den Bus mit einem Widerstand abschließen. Dieser Abschluss kann bei BIS C-602 auf zwei Arten realisiert werden: 1. Im Gerät durch Schließen der Schalter S2 (Auslieferungszustand offen) Hinweis: Der PROFIBUS-Ausgang muss mit einer Verschlusskappe verschlossen werden, um die Schutzart zu gewährleisten.

S2

Abschlusswiderstand

geschlossen offen

aktiv passiv

2. Außerhalb des Geräts im Gegenstecker zu Buchse X3. Hierzu sind die Signale VP (Pin 1) und DGND (Pin 3) zu verwenden, um die externen Abschlusswiderstände an Potenzial zu legen. Hinweis: S2 muss geöffnet sein! 45

D

46 BIS C-602-...-ST11 Anschlusspläne Anschlussplan für Auswerteeinheit BIS C-602-...-ST11 mit Adapter BIS C-657

X1, Stromversorgung, digitaler Eingang

Anschluss für Schreib-/Lesekopf

4

3

5 1

X2, PROFIBUSEingang (Stecker) 4

Erdanschluss

Lage und Bezeichnung der Anschlüsse

Stromversorgung, digitaler Eingang

3

4

5 1

2

Funktion

1

+Vs

2

–IN

3

–Vs

4

+IN

5

n.c.

Pin

Funktion

1

VP

X3, PROFIBUSAusgang (Buchse)

3

5

2

Pin

2

1

2

A

3

DGND

4

B

5

n.c.

n.c. = nichts anschließen

PROFIBUS-DP

Der Erdanschluss ist je nach Anlage (Potenzialausgleich) direkt oder über eine RC-Kombination an Erde zu legen. Beim Anschluss der Bus-Leitungen ist darauf zu achten, dass der Schirm eine einwandfreie Verbindung zum Steckergehäuse hat.

46

D

C6_2-019_641365_0506-d.p65

47 BIS C-602-...-ST11 Schnittstelleninformationen / Anschlusspläne Anschlussplan für Auswerteeinheit BIS C-602-...-ST11 mit Adapter BIS C-654

X1, Stromversorgung, digitaler Eingang

Anschluss für Schreib-/Lesekopf BIS C-355/...S92

4

3

5 1

X2, PROFIBUSEingang (Stecker) 4

2

Pin

Funktion

1

+Vs

2

–IN

3

–Vs

4

+IN

5

n.c.

Pin

Funktion

X3, PROFIBUSAusgang (Buchse)

3

3

4

1

5

5 2

1

2

1

VP

2

A

3

DGND

4

B

5

n.c.

n.c. = nichts anschließen Schutzerde PE

Lage und Bezeichnung der Anschlüsse

Stromversorgung, digitaler Eingang

PROFIBUS-DP

Für die Anwendung von Adapter BIS C-654 muss immer die Funktion "Anwahl beider Köpfe" Beispiel 7, nach jedem Einschalten oder nach einem RESET aktiviert werden.

Der Erdanschluss ist je nach Anlage (Potenzialausgleich) direkt oder über eine RC-Kombination an Erde zu legen. Beim Anschluss der Bus-Leitungen ist darauf zu achten, dass der Schirm eine einwandfreie Verbindung zum Steckergehäuse hat. D

48 BIS C-602 Technische Daten Abmessungen, Gewicht

Gehäuse Abmessungen mit Schreib-/Lesekopf BIS C-65_ Abmessungen mit Adapter BIS C-650 Gewicht

Kunststoff ABS ca. 169 × 90 × 35 mm ca. 185 × 90 × 35 mm ca. 400 g

Betriebsbedingungen

Umgebungstemperatur

0 °C bis + 60 °C

Schutzart

Schutzart

IP 65 (mit Schreib-/Lesekopf)

Anschlussart BIS C-602-...-KL2

Klemmleiste Kabeleinführung für PROFIBUS-DP Kabeldurchmesser Kabeleinführung für VS, IN Kabeldurchmesser

19-polig 2× Klemmkorb PG 11 Metall 5 bis 10 mm 1× Klemmkorb PG 9 Metall 4 bis 8 mm

Leitergrößen mit Aderendhülsen

0,14 bis 1 mm2 0,25 bis 0,34 mm2

Anschlussart BIS C-602-...-ST11

Einbaustecker X1 für VS, IN Einbaustecker X2 für PROFIBUS-DP Eingang Einbaubuchse X3 für PROFIBUS-DP Ausgang

5-polig Stift 5-polig Stift 5-polig Buchse

Elektrische Anschlüsse

Betriebsspannung VS, digitaler Eingang IN Restwelligkeit Stromaufnahme

DC 24 V ± 20 % ≤ 10 % ≤ 400 mA

PROFIBUS-DP Slave

galvanisch getrennt

48

D

47

C6_2-019_641365_0506-d.p65

49 BIS C-602 Technische Daten Elektrische Anschlüsse (Fortsetzung)

Digitaler Eingang (+IN, –IN) Steuerspannung aktiv Steuerspannung inaktiv Eingangsstrom bei 24 V Verzögerungszeit typisch

über Optokoppler getrennt 4 V bis 40 V 1,5 V bis –40 V 11 mA 5 ms

Schreib-/Lesekopf *) alternativ bei montiertem Adapter BIS C-650 *) oder bei montiertem Adapter BIS C-657 *)

*) um ± 90° umsetzbar

integriert, BIS C-65_ und folgende; 2× Einbaustecker 4-polig (Stift) 1× Einbaustecker 4-polig (Stift) für alle Schreib-/Leseköpfe BIS C-3_ _ mit 4-poliger Buchse, nicht für BIS C-350 und BIS C-352 1× Anschlussstecker 8-polig (Stift) für einen der Schreib-/Leseköpfe BIS C-350 und BIS C-352

System Ready Codetag Present Codetag Operating

LED grün LED gelb LED gelb

alternativ bei montiertem Adapter BIS C-670 *)

Funktionsanzeigen BIS-Betriebszustände

Mit dem CE-Zeichen bestätigen wir, dass unsere Produkte den Anforderungen der 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, dass die Balluff-Produkte die EMV-Anforderungen der Fachgrundnorm EN 61000-6-4 (Emission), EN 61000-6-2 (Störfestigkeit) erfüllen. D

49

50 BIS C-602 Bestellinformationen BIS C-602-019-_ _ _-03-_ _ _

Typenschlüssel Balluff Identifikations-System Baureihe C Schreib-/Lesesystem Hardware-Typ 602 = Kunstoffgehäuse, PROFIBUS-DP Software-Typ 019 = PROFIBUS-DP

Schreib-/Lesekopf / Adapter 000 = ohne Schreib-/Lesekopf 651 = mit Schreib-/Lesekopf Typ 651 (mit Rundantenne stirnseitig) 652 = mit Schreib-/Lesekopf Typ 652 (mit Rundantenne frontseitig) 653 = mit Schreib-/Lesekopf Typ 653 (mit Stabantenne) 650 = Adapter mit zwei Anschlüssen für externe Schreib-/Leseköpfe BIS C-3_ _ (ausgenommen BIS C-350 und -352) 657 = Adapter mit einem Anschluss für einen externen Schreib-/Lesekopf BIS C-3_ _ (ausgenommen BIS C-350 und -352) 670 = Adapter mit einem abgesetztem Anschlussstecker für einen externen Schreib-/Lesekopf BIS C-350 oder BIS C-352 Schnittstelle 03 = Bus-Varianten Kundenanschluss KL2 = Klemmenanschluss über 2× PG 11 und 1× PG 9 ST11 = Steckanschluss X1, X2, X3 (2× Stecker 5-polig, 1× Buchse 5-polig) 50

D

C6_2-019_641365_0506-d.p65

51 BIS C-622 Montage Auswerteeinheit Montage der Auswerteeinheit BIS C-622

Die Auswerteeinheit wird mit 4 Schrauben M4 befestigt.

D

51

52 BIS C-622 Anschlusspläne Anschlussplan für Auswerteeinheit BIS C-622

Anschluss für Schreib-/Lesekopf 2

Spannungsversorgung, digitaler Eingang

Anschluss für Schreib-/Lesekopf 1 Befestigung des Deckels (4 Schrauben), max. zulässiges Anzugsdrehmoment: 0,15 Nm

PROFIBUS-DP

PROFIBUS-DP

Lage und Bezeichnung der Anschlüsse

Öffnen der Auswerteeinheit BIS C-622

52

D

Schutzerde PE Um die PROFIBUS-DP-Adresse einzustellen oder um die Jumper für den internen Abschlusswiderstand zu stecken, ist die Auswerteeinheit BIS C-622 zu öffnen. Sorgen Sie dafür, dass das Gerät spannungsfrei geschaltet ist. Öffnen Sie die 4 Schrauben am BIS C-622 und entfernen Sie den Deckel. Weitere Einzelheiten siehe folgende .

C6_2-019_641365_0506-d.p65

53 BIS C-622 Anschlusspläne Um die Verbindungen für den PROFIBUS, die Betriebsspannung und den digitalen Eingang herzustellen, sind die konfektionierten Kabel an der Auswerteeinheit anzuschließen. Weitere Einzelheiten zur Verdrahtung siehe folgende . An den Anschlüssen Head 1 und Head 2 schließen Sie die Schreib-/Leseköpfe an. PROFIBUS-DP

Sorgen Sie dafür, dass das Gerät spannungsfrei geschaltet ist. Schließen Sie das ankommende PROFIBUS-Kabel an den PROFIBUS-Eingang an. Schließen Sie das abgehende PROFIBUS-Kabel an den PROFIBUS-Ausgang an. Wenn diese Auswerteeinheit BIS C-622 als letzter Busteilnehmer am Bus angeschlossen ist, muss der PROFIBUS-Ausgang mit einem Widerstand abgeschlossen werden. Dieser Abschluss kann bei BIS C-622 auf zwei Arten realisiert werden: S2 Abschlusswiderstand 1. Im Gerät durch Schließen der Schalter S2 geschlossen aktiv (Auslieferungszustand offen) offen passiv Der PROFIBUS-Ausgang muss mit einer Verschlusskappe verschraubt werden, um die Schutzart zu gewährleisten. 2. Außerhalb des Geräts in einem Stecker. Hierzu sind die Signale VP und DGND herauszuführen, um die externen Abschlusswiderstände an Potenzial zu legen. Hinweis: S2 muss geöffnet sein! Auf den PROFIBUS-Verbindungen darf keine Betriebsspannung vorhanden sein!

Schließen Sie das Kabel für die Betriebsspannung und für den digitalen Eingang am Anschluss X1 an.

D

53

54 BIS C-622 Anschlusspläne Kabelverbindungen bei PROFIBUS-DP

Um die Auswerteeinheiten BIS C-622 in den seriellen PROFIBUS einzuschleifen, befinden sich am Gehäuse der PROFIBUS-Ausgang und der PROFIBUS-Eingang.

BIS C-622-...-ST5

Busteilnehmer

Busteilnehmer BIS C-622-...-ST5 grün

rot

rot Schirm leitend mit Steckergehäuse verbinden.

Schirm leitend mit Steckergehäuse verbinden. 12-polige Buchse X3, Eingang

Ausgang

BIS C-622-...-ST11

grün A

rot ...

Ausgang

54

D

12-polige Buchse X2, Ausgang

Eingang

Busteilnehmer BIS C-622-...-ST11

Busteilnehmer

B

Busteilnehmer

grün

1 VP 2A 3 DGND 4B

VP 1 A 2 DGND 3 B 4

Busteilnehmer grün rot

A B

Schirm leitend mit Steckergehäuse verbinden.

Schirm leitend mit Steckergehäuse verbinden. 5-poliger Stecker X2, Eingang

5-polige Buchse X3, Ausgang

Eingang

C6_2-019_641365_0506-d.p65

55 BIS C-622-...-ST5 Anschlusspläne Anschlussplan für die Auswerteeinheit BIS C-622-...-ST5

Anschluss für Schreib-/Lesekopf 2

X1, Stromversorgung, digitaler Eingang

Anschluss für Schreib-/Lesekopf 1

4

3

Pin

Funktion

1

+Vs

5 2

1

2

–IN

3

–Vs

4

+IN

5

n.c.

X2, PROFIBUS-Ausgang (Buchse) X3, PROFIBUS-Eingang (Buchse) P in

F u n k t io n

1

DGND

2

A

3

n .c .

4

B

5

n .c .

6

VP

7 ... 1 2

n .c .

n.c. = nichts anschließen

Lage und Bezeichnung der Anschlüsse

Schutzerde PE

Der Anschluss Schutzerde PE ist je nach Anlage (Potenzialausgleich) direkt oder über eine RCKombination an Erde zu legen. Beim Anschluss der Bus-Leitungen ist darauf zu achten, dass der Schirm eine einwandfreie Verbindung zum Steckergehäuse hat.

55

D

56 BIS C-622-019-057-...-ST11 Anschlussplan Anschlussplan für die Auswerteeinheit BIS C-622-...-ST11

X1, Stromversorgung, digitaler Eingang

Anschluss für Schreib-/Lesekopf

4

3

5 1

X2, PROFIBUSEingang (Stecker) 4

Lage und Bezeichnung der Anschlüsse

Schutzerde PE

3

4

5 1

2

Funktion

1

+Vs

2

–IN

3

–Vs

4

+IN

5

n.c.

Pin

Funktion

1

VP

X3, PROFIBUSAusgang (Buchse)

3

5

2

Pin

2

1

2

A

3

DGND

4

B

5

n.c.

n.c. = nichts anschließen

Der Anschluss Schutzerde PE ist je nach Anlage (Potenzialausgleich) direkt oder über eine RCKombination an Erde zu legen. Beim Anschluss der Bus-Leitungen ist darauf zu achten, dass der Schirm eine einwandfreie Verbindung zum Steckergehäuse hat.

56

D

C6_2-019_641365_0506-d.p65

57 BIS C-622 Technische Daten Abmessungen, Gewicht

Gehäuse Abmessungen Gewicht

Metall 175 x 120 x 60 mm 820 g 0 °C bis +60 °C

Betriebsbedingungen

Umgebungstemperatur

Schutzart

Schutzart

IP 65 (in angeschlossenem Zustand)

Anschlussart BIS C-622-...-ST5

Einbaustecker X1 für VS, IN Rundsteckverbinder für X2 und X3 für PROFIBUS-DP

5-polig (Stift) 12-polig (Buchse)

Anschlussart BIS C-622-...-ST11

Einbaustecker X1 für VS, IN Einbaustecker X2 für PROFIBUS-DP Einbaubuchse X3 für PROFIBUS-DP

5-polig (Stift) 5-polig (Stift) 5-polig (Buchse)

Elektrische Anschlüsse

Betriebsspannung VS Restwelligkeit Stromaufnahme

DC 24 V ± 20 % ≤ 10 % ≤ 400 mA

Digitaler Eingang X1 (+IN, –IN) Steuerspannung aktiv Steuerspannung inaktiv Eingangsstrom bei 24 V Verzögerungszeit typisch

über Optokoppler getrennt 4 V bis 40 V 1,5 V bis –40 V 11 mA 5 ms

PROFIBUS-DP

serielle Schnittstelle für PROFIBUS-Teilnehmer

D

57

58 BIS C-622 Technische Daten Elektrische Anschlüsse (Fortsetzung)

Head 1, Head 2, Schreib-/Lesekopf

Funktionsanzeigen

BIS-Betriebszustände System Ready Codetag Present Codetag Operating

4-poliger Einbaustecker (Stift) für alle Schreib-/ Leseköpfe BIS C-3_ _ mit 4-poliger Buchse, nicht BIS C-350 und BIS C-352

LED grün LED gelb LED gelb

Mit dem CE-Zeichen bestätigen wir, dass unsere Produkte den Anforderungen der 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, dass die Balluff-Produkte die EMV-Anforderungen der Fachgrundnorm EN 61000-6-4 (Emission), EN 61000-6-2 (Störfestigkeit) erfüllen. 58

D

C6_2-019_641365_0506-d.p65

59 BIS C-622 Bestellinformationen BIS C-622-019-05_-03-ST_ _

Typenschlüssel Balluff Identifikations-System Baureihe C Schreib-/Lesesystem Hardware-Typ 622 = Metallgehäuse, PROFIBUS-DP Software-Typ 019 = PROFIBUS-DP

Ausführung 050 = mit zwei Anschlüssen für externe Schreib-/Leseköpfe BIS C-3_ _ (ausgenommen BIS C-350 und -352) 057 = mit einem Anschluss für einen externen Schreib-/Lesekopf BIS C-3_ _ (ausgenommen BIS C-350 und -352) Schnittstelle 03 = Bus-Varianten Kundenanschluss ST5 = Steckanschluss X1, X2, X3 (1× Stecker 5-polig, 2× Buchse 12-polig) ST11 = Steckanschluss X1, X2, X3 (2× Stecker 5-polig, 1× Buchse 5-polig) Zubehör (optional, nicht im Lieferumfang)

Typ

Bestellbezeichnung für ST5

Bestellbezeichnung für ST11

Gegenstecker für X1 Gegenstecker für X2 Gegenstecker für X3 Verschlusskappe für Head_ Verschlusskappe

BKS-S 79-00 BKS-S 86-00 BKS-S 86-00 BES 12-SM-2 115 475 für X2

BKS-S 79-00 BKS-S103-00 BKS-S105-00 BKS-S105-R01 für X3 (inkl. Abschlusswiderstand) D

59

60

Anhang, ASCII-Tabelle DeciHex mal 0 00 1 01 2 02 3 03 4 04 5 05 6 06 7 07 8 08 9 09 10 0A 11 0B 12 0C 13 0D 14 0E 15 0F 16 10 17 11 18 12 19 13 20 14 21 15

60

D

Control Code Ctrl @ Ctrl A Ctrl B Ctrl C Ctrl D Ctrl E Ctrl F Ctrl G Ctrl H Ctrl I Ctrl J Ctrl K Ctrl L Ctrl M Ctrl N Ctrl O Ctrl P Ctrl Q Ctrl R Ctrl S Ctrl T Ctrl U

ASCII NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI DLE DC1 DC2 DC3 DC4 NAK

Decimal 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43

Hex 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29 2A 2B

Control Code Ctrl V Ctrl W Ctrl X Ctrl Y Ctrl Z Ctrl [ Ctrl \ Ctrl ] Ctrl ^ Ctrl _

ASCII SYN ETB CAN EM SUB ESC FS GS RS US SP ! " # $ % & ' ( ) * +

Decimal 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64

Hex ASCII 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E 3F 40

, . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @

DeciHex ASCII mal 65 41 A 66 42 B 67 43 C 68 44 D 69 45 E 70 46 F 71 47 G 72 48 H 73 49 I 74 4A J 75 4B K 76 4C L 77 4D M 78 4E N 79 4F O 80 50 P 81 51 Q 82 52 R 83 53 S 84 54 T 85 55 U

Decimal 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106

Hex ASCII 56 57 58 59 5A 5B 5C 5D 5E 5F 60 61 62 63 64 65 66 67 68 69 6A

V W X Y Z [ \ ] ^ _ ` a b c d e f g h i j

Decimal 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127

Hex ASCII 6B k 6C l 6D m 6E n 6F o 70 p 71 q 72 r 73 s 74 t 75 u 76 v 77 w 78 x 79 y 7A z 7B { | 7C 7D } 7E ~ 7F DEL

C6_2-019_641365_0506-e.p65

1

Manual ElectronicIdentification IdentificationSystems SystemsBIS BIS Electronic ProcessorBIS BISC-6_2 C-6_2 Processor ProfibusDP DP Profibus

Deutsch– bitte – bitte wenden! Deutsch wenden!

2

No. 641 365 D/E • Edition 0506; Subject to modification. Replaces edition 0210.

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: [email protected]

C6_2-019_641365_0506-e.p65

3

Contents Safety Considerations ................................................................................................................. 4 Introduction BIS C-6_2 Identification Systems ...................................................................... 5-7 Application BIS C-6_2 Processor ......................................................................................... 8-11 Parametering / Addressing.................................................................................................. 12-15 Function Description ........................................................................................................... 16-24 Protocol (with examples) ..................................................................................................... 25-34 Read/Write Times ............................................................................................................... 35/36 LED Display ............................................................................................................................. 37 BIS C-602: Assembling the Processor / Head .................................................................. 38/39 Mounting the PG connectors for PROFIBUS-DP ................................................. 40 Interface Information BIS C-602-...-KL2 .......................................................... 41-44 Interface Information BIS C-602-...-ST11 ....................................................... 45-47 Technical Data .................................................................................................. 48/49 Ordering Information ............................................................................................. 50 BIS C-622: Assembling the Processor ................................................................................... 51 Interface Information BIS C-622-...-ST5 .......................................................... 52-55 Interface Information BIS C-622-...-ST11 ............................................................ 56 Technical Data .................................................................................................. 57/58 Ordering Information ............................................................................................. 59 Appendix: ASCII Table ............................................................................................................ 60

E

4

Safety Considerations Approved Operation

Series BIS C-6_2 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

Installation and operation should be carried out by trained personnel only. Unauthorized work and improper use will void the warranty and liability. When installing the processor, follow the chapters containing the wiring diagrams closely. Special care is required when connecting the processor to external controllers, in particualy with respect to selection and polarity of the signals and power supply, Only approved power supplies may be used for powering the processor. See chapter 'Technical Data' for details.

Use and Checking

Prevailing safety regulations must be adhered to when using the identification system. In particular, steps must be taken to ensure that a failure of or defect in the identification system does not result in hazards to persons or equipment This includes maintaining the specified ambient conditions and regular testing for functionality of the identification system including all its associated components.

Fault Conditions

Should there ever be indications that the identification system is not working properly, it should be taken out of commission and secured from unauthorized use

Scope

This manual applies to processors in the series BIS C-602-019-... and BIS C-622-019-....

4

E

3

C6_2-019_641365_0506-e.p65

5 Introduction BIS C-6_2 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_2 Identification System, and to assure rapid, trouble-free operation. Principles

The BIS C-6_2 Identification System belongs in the category of non-contact systems for reading and writing. This dual function permits applications for not only transporting information in fixedprogrammed data carriers, but also for gathering and passing along up-to-date information as well.

Applications Some of the notable areas of application include – for controlling material flow in production processes (e.g. in model-specific processes), for workpiece conveying in transfer lines, in data gathering for quality assurance , for gathering safety-related data, – in tool coding and monitoring; – in equipment organization; – in storage systems for monitoring inventory movement; – in transporting and conveying systems; – in waste management for quantity-based fee assessment.

E

6 Introduction BIS C-602 Identification Systems System Components

The main components of the BIS C-602 Identification System are – Processor, – Read/Write Heads and – Data carriers. PROFIBUS-DP

Processor

Processor

with adapter

Processor

BIS C-602

with head

BIS C-65_

BIS C-602

Processor

BIS C-602

Processor

BIS C-670

with adapter BIS C-650

Read/write head 2)

BIS C-602 with Head

Read/write heads1)

BIS C-35_

BIS C-3_ _

BIS C-602

with adapter

BIS C-3_ _

Data carriers BIS C-1_ _-...

Schematic representation of an Identification System (example)

6

E

1

) series BIS C-3_ _, except BIS C-350 and -352

2

) only BIS C-350 or -352

BIS C-657

Read/write head1) BIS C-3_ _

5

C6_2-019_641365_0506-e.p65

7 Introduction BIS C-622 Identification System System components

The main components of the BIS C-622 Identification System are – Processor, – Read/write heads, and – Data carriers.

PROFIBUS-DP

Processor BIS C-622 version -050

BIS C-3_ _

Schematic representation of an identification system (example)

BIS C-3_ _

Processor BIS C-622 version -057

Read/write heads1)

BIS C-3_ _

1

) series BIS C-3_ _, except BIS C-350 and -352

E

7

8 Application BIS C-6_2 Processor Selecting System Components

The BIS C-602 processor has a plastic housing. Depending on the version, connections are made either through a terminal strip, with the cable secured using a PG fitting, or via round connectors. A single read/write head from series BIS C-65_ can be directly mounted to the processor, which creates a compact unit. If the BIS C-650 adapter is attached instead of the BIS C-65_ read/write head, two read/write heads may be cable connected. If the BIS C-670 or BIS C-657 Adapter is mounted, a single read/write head can be cable connected. The BIS C-622 processor has a metal housing. Connection is made through round connectors. With version 050 two read/write heads can be cable connected to the BIS C-622 processor. With version 057 one read/write head can be cable connected to the BIS C-622 processor. Whether the compact version of the processor with integrated read/write head makes sense or whether the external solution is preferred depends primarily on the spatial arrangement of the components. There are no functional limitations. All read/write heads are suitable for both static and dynamic reading. Distance and relative velocity are based on which data carrier is selected. Additional information on the read/write heads in series BIS C-65_ and series BIS C-3_ _ including all the possible data carrier/read-write head combinations can be found in the manuals for the respective read/write heads. The system components are electrically supplied by the processor. The data carrier represents an free-standing unit and needs no line-carried power. It receives its energy from the read/write head. The latter constantly sends out a carrier signal which supplies the code head as soon as the required distance between the two is reached. The read/ write operation takes place during this phase. Reading and writing may be dynamic or static.

8

E

C6_2-019_641365_0506-e.p65

9 Application BIS C-6_2 Processor Control Function

The processor writes data from the host system to the data carrier or reads data from the tag through the read/write head and prepares it for the host system. Host systems may include: – a host computer (e.g. industrial PC) or – a programmable logic controller (PLC)

Data checking

When sending data between the read/write head and the data carrier a procedure is required for recognizing whether the data were correctly read or written. The processor is supplied with standard Balluff procedure of double reading and comparing. In addition to this procedure a second alternative is available: CRC_16 data checking. Here a test code is written to the data carrier, allowing data to be checked for validity at any time or location. Advantages of CRC_16 Data checking even during the non-active phase (CT outside read/write head zone). Shorter read times since each page is read only once.

Advantages of double reading No bytes on the data carrier need to be reserved for storing a check code. Shorter write times since no CRC needs to be written.

Since both variations have their advantages depending on the application, the user is free to select which method of data checking he wishes to use (see Configuration on 14).



It is not permitted to operate the system using both check procedures!

E

9

10 Application BIS C-6_2 Processor Data checking (continued)

To use the CRC check method, the data carriers must be initialized. You use either data carriers with the data map factory configured (all data are 0), or you must use the proces26/27). sor to write the special initialization command 'Z' to the data carriers (see If CRC_16 data checking is activated, a special error message is output to the interface whenever a CRC error is detected. If the error message is not caused by a failed write request, it may be assumed that one or more memory cells on the data carrier is defective. That data carrier must then be replaced. If the CRC error is however due to a failed write request, you must reinitialize the data carrier in order to continue using it. The checksum is written to the data carrier as a 2-byte wide datum. Two bytes per page are 'lost', i.e., the page size becomes 30 bytes or 62 bytes depending on data carrier type (see 18). This means that the actual usable number of bytes is reduced! Data carrier type

10

E

Usable bytes

128 bytes

=

120 bytes

256 bytes

=

240 bytes

511 bytes *)

=

450 bytes

1023 bytes *)

=

930 bytes

2047 bytes *)

=

1922 bytes

2048 bytes 8192 bytes

= =

1984 bytes 7936 bytes

*) The last data carrier page for these EEPROMbased data carriers is not available.

C6_2-019_641365_0506-e.p65

11 Application BIS C-6_2 Processor PROFIBUS-DP

Communication between the BIS C-6_2 processor and the host system is via PROFIBUS-DP. The PROFIBUS-DP system consists of 2 components: – the bus master and – the bus modules/slaves (here the BIS C-6_2 processor).



Important hints for use with PLC: In some control systems the PROFIBUS-DP data area is not synchronously transmitted with the updating of the input/output content. In such cases, either – a PLC cycle must be programmed as waiting time between the evaluation of or reaction to the bit header information and the processing of the data, or – the function "2nd bit header" should be switched on while parametering. When the 1st and the 2nd bit header are identical, then this indicates that the current data are valid .

E

12

Parametering Unit's Master Data

For the correct parametering of the bus master as per type, a diskette, containing the unit’s master data in the form of a GSD file is included with the BIS C-6_2 processor. The diskette also contains type files for the Siemens bus master.

Station Address

The Processor BIS C-6_2 is delivered with the station address 126. These has to be set individually before using in a bus system. See informations on following .

Input/Output Buffer

An input buffer and an output buffer are used for the data exchange with the control system. The size of these buffers has to be configured via the master.

☞ Parametering Bytes User-Parameter-Bytes



The possible settings are entered in the GSD file (and Type file). A minimum of 6 and a maximum of 32 bytes can be accommodated. However, it must be an even number.

Besides, in the case of the BIS C-6_2 processor, there are 4 further bytes (User-ParameterBytes) which have to be set while parametering. The preset values are entered in the GSD file (and Type file).

The significance of the 4 bytes for parametering is described starting from

12

E

14.

11

C6_2-019_641365_0506-e.p65

13

Parametering, Addressing Station Address setting

The station address under which the unit is accessed on the bus can be assigned through the sliding switch S1. Each address shall be assigned only once. Open the cover of the processor, see

39 for BIS C-602 or

51 for BIS C-622.

The sliding switch S1 is binary coded. The setting of the station address is carried out according to the scheme shown in the table: yes = switch right, no = switch left. The address 85 is set in the following figure. Station Address

Switch S1 1

2

3

2

2

2

0

1

2

0

no

yes

4

5

6

7

23

24

25

26

not allowed

1

yes

no

no

no

no

no

no

2

no

yes

no

no

no

no

no

3

yes

yes

no

no

no

no

no

4

no

no

yes

no

no

no

no

5

yes

no

yes

no

no

no

no

yes

no

yes

no

yes

no

yes

123

yes

yes

no

yes

yes

yes

yes

124

no

no

yes

yes

yes

yes

yes

125

yes

no

yes

yes

yes

yes

yes

126

no

yes

yes

yes

yes

yes

yes

... 85 ...

127

Sliding switch S1 (with cover opened)

not allowed

Slide switch S1/8 must remain set to the "yes" position. E

13

14

Parametering Parametering Bytes User-Parameter-Bytes (continued)

For parametering all 4 bytes must always be transferred in Hex. Only the bits mentioned may be changed. No guaranty will be given for the proper functioning of the BIS C-6_2 if any of the other bits are changed.

Hex Binary

1st byte 00 00000000 bit 4 bit 5

All commands affecting Head 2 are invalid in all versions for a single read/ write head.



bit 5

4th byte 02 00000010 bit 5 bit 2 bit 6 bit 7 bit 8

1st byte, bit 5, 0 = no 1 = yes

activate CRC_16 data checking:

1st byte, bit 4, 0 = no 1 = yes

display the selected read/write head in the header of the input buffer:

CRC_16 data checking activated.

read/write head 1 selected: "KN" in the header of the input buffer = 0, read/write head 2 selected: "KN" in the header of the input buffer = 1.

Important: "KN" and "IN" use the same bit in the header. "IN" has always priority!

2nd byte, bit 5, 0 = no 1 = yes

E

3rd byte 00 00000000

The bits which serve for parametering have the following functions:

Please note:

14

2nd byte 80 10000000

dynamic mode (for effects on the read/wirte times, see 35/36): A read/write request is denied with Error No. 1 if no data carrier is within the permitted read/write zone. The read/write request is buffered and only executed when a data carrier is recognized.

C6_2-019_641365_0506-e.p65

15

Parametering Parametering Bytes (continued)



4th byte, bit 8, 0 = no 1 = yes

If this function is selected, then the minimum size of both buffers is 4 words (8 bytes) each.

4th byte, bit 7, 0 = no 1 = yes



0 = no 1 = yes

All commands affecting Head 2 are invalid in all versions for a single read/ write head.

display state of the digital input in the bit header of the input buffer: Input is Low: Input is High:

"IN" in the bit header of the input buffer = 0. "IN" in the bit header of the input buffer = 1.

Important: "KN" and "IN" use the same bit in the header. "IN" has always priority!

4th byte, bit 6,

Please note:

arrange a 2nd bit header at the end of the input and output buffers.

4th byte, bit 5, 0 = no 1 = yes 4th byte, bit 2, 0 = no 1 = yes

Head select through the "HD" bit in the bit header of the output buffer: If Head select is selected with the "HD" bit, then the function "both read/write heads selected" is disabled. "HD" is Low: "HD" is High:

Select read/write Head 1. Select read/write Head 2.

Head select through the digital input: If this is selected, then the function "both read/write heads selected" is disabled. Input is Low: Input is High:

Select read/write Head 1. Select read/write Head 2.

Reset the BIS C-6_2 processor through the digital input: Input is Low: Input is High:

Do not reset. Reset. E

15

16

Function Description Input and Output Buffers Please note the basic procedure on 25 and the examples on 26 to 34.

In order to transmit commands and data between the BIS C-6_2 and the host system, the latter must prepare two fields. These two fields are: – the output buffer for the control commands which are sent to the BIS Identification System and for the data to be written. – the input buffer for the data to be read and for the designators and error codes which come from the BIS Identification System. The buffer size can be selected between 6 and 32 bytes in steps of 2 bytes. This must be given by the master during parametering. In each buffer the first byte is used as a bit header and serves to control the command sequences. The remaining bytes are assigned depending on command.



16

E

Note that these 8 bytes can be in two different sequences depending on the type of control. The following description is based on sequence 1!

Sequence 1

Sequence 2

Subaddress 00 01 02 03 04 05 06 07

Subaddress 01 00 03 02 05 04 07 06

C6_2-019_641365_0506-e.p65

17

Function Description Configuring the Output Buffer

The last byte can arranged as a 2nd bit header through parametering. B it N o .

7

6

5

4

3

2

1

0

Subaddress 0 0 H e x = B it H e a d e r

CT

TI

HD

GR or

AV

0 1 H ex

C o m m a n d D e s ig n a to r

0 2 H ex

Start Address (Low Byte) or H ead N um ber

or

D a ta

0 3 H ex

Start Address (High Byte)

or

D a ta

0 4 H ex

N o . o f B y te s (L o w B y te )

or

D a ta

0 5 H ex

N o . o f B y te s (H ig h B y te )

or

B it N a m e

D a ta

D a ta D a ta

0 6 H ex ...

D a ta

L a s t B y te

2 n d B it H e a d e r (a s a b o v e )

or

D a ta

Please note the basic procedure on 25 and the examples on 26 to 34. E

17

18

Function Description Description of Output Buffer

Subaddress 00HEX Bit Header

Please note: All commands affecting Head 2 are invalid in all versions for a single read/ write head.

Please note the basic procedure on 25 and the examples on 26 to 34.

18

E

Bit Meaning Function Description Name CT Data carrier type Select data carrier type: 0 32 Byte block size 1 64 Byte block size TI

Toggle-Bit In

HD

Head direct

GR AV

0 1 Ground state Command

for data carrier type: BIS C-1_ _-02, -03, -04, -05 BIS C-1_ _-10, -11, -30

Shows during a read action that the controller is ready for additional data. If the configuration parameter "HD" is set to 1, this bit in the bit header of the output buffer can be used to directly select the read/write head. Select Head 1. Select Head 2. Causes the BIS system to go into the ground state. Signals to the Identification System that a command is present.

Subaddress

Meaning

01HEX

Command designator No command present 00HEX Read data carrier 01HEX Write to data carrier 02HEX Read/write head functions 03HEX Initializing the data carrier for the CRC_16 data checking 12HEX Data for writing to the data carrier.

or

(continued next )

Function Description

C6_2-019_641365_0506-e.p65

19

Function Description Description of Output Buffer (continued)

Subaddress

Meaning

Function Description

02HEX

Start address (Low Byte) Head number

Address at which reading from or writing to the data carrier begins (the low byte includes the address range from 0 to 255). Select read/write head (for max. two heads) or find data carrier in front of a read/write head. Select Head 1. Select Head 2. Select both read/write heads. It must be determined that only one data carrier is in front of a read/write head, since only one data carrier at a time can be processed. Check both read/write heads to see whether a data carrier is present. If a data carrier is found in the active zone of a head that head remains selected. Its head number 01HEX or 02HEX is written to the subaddress 01HEX of the input buffer. If no data carrier is detected at one of the heads, the originally selected head remains active (Head 1 or 2 or both). As a result is sent to the input buffer: – the "Head number" 04Hex to the subaddress 01Hex – the "Data" 00Hex to the subaddresses 02Hex to 05Hex Check both read/write heads until a data carrier is found. See above under 04HEX for further details. for writing to the data carrier.

or:

Please note: All commands affecting Head 2 are invalid in all versions for a single read/ write head.

01HEX 02HEX 03HEX

04HEX

05HEX Please note the basic procedure on 25 and the examples on 26 to 34.

or:

Data

(continued next )

E

20

Function Description Description of Output Buffer (continued)

Subaddress

Meaning

Function Description

03HEX

Start address (High Byte)

or: 04HEX or: 05HEX

or:

Data

Start address for reading from or writing to the data carrier (the High Byte is additionally used for the address range from 256 to 8,191) for writing to the data carrier.

No. of bytes (Low Byte) Data

Number of bytes to read or write beginning with the start address (the Low Byte includes from 1 to 256 bytes). for writing to the data carrier.

No. of bytes (High Byte)

Number of bytes to read or write beginning with the start address (the High Byte is additionally used for the range between 257 and 8,192 bytes). for writing to the data carrier.

Data

06HEX

Data

for writing to the data carrier.

...

Data

for writing to the data carrier.

Last byte Data for writing to the data carrier. or: 2nd Bit header The data are valid if the 1st and 2nd bit header are identical.

Please note the basic procedure on 25 and the examples on 26 to 34.

20

E

19

C6_2-019_641365_0506-e.p65

21

Function Description Configuring the Input Buffer

The last byte can arranged as a 2nd bit header through parametering. B it N o .

7

6

5

4

3

2

1

0 0 H e x = B it H e a d e r

BB

HF

TO

IN / K N

AF

AE

AA

0 1 H ex

Error Code

or

0

Subaddress H ead N um ber

or

CP

0 2 H ex

D a ta

0 3 H ex

D a ta

0 4 H ex

D a ta

0 5 H ex

D a ta

0 6 H ex

D a ta

...

B it N a m e

D a ta

D a ta

L a s t b y te

2 n d B it H e a d e r (a s a b o v e )

or

D a ta

Please note the basic procedure on 25 and the examples on 26 to 34. E

22

Function Description Description of Input Buffer

Subaddress

Bit Meaning Name

Function Description

00HEX

BB

Ready

The BIS Identification System is in the Ready state.

Bit Header

HF

Head Error

Cable break from read/write head or no read/write head connected.

TO

Toggle-Bit Out

for read: BIS has new/additional data ready. for write: BIS is ready to accept new/additional data.

IN or KN

Please note: All commands affecting Head 2 are invalid in all versions for a single read/ write head.

Please note the basic procedure on 25 and the examples on 26 to 34.

22

E

or:

Depending on the parametering of the Bit 4 of 1st Byte, (see 14). If the "Input IN" parameter is 1, this bit indicates the state of the input. Important: "IN" hat always priority over "KN"! When "KN" = 1 is set in the parametering, then this bit shows the number of the currently selected read/write head: 0 = Head 1, 1 = Head 2. Important: "IN" hat always priority over "KN"!

IN

Input

KN

Head Number

AF

Command Error

The command was incorrectly processed or aborted.

AE

Command end

The command was finished without error.

AA

Command start

The command was recognized and started.

CP

Codetag Present Data carrier present within the active zone of the selected read/write head.

(continued on next )

21

C6_2-019_641365_0506-e.p65

23

Function Description Description of Input Buffer (continued)

Subaddress

Meaning

01HEX

Error code

Function Description

Error number is entered if command was incorrectly processed or aborted. Only valid with AF bit! No error. Reading or writing not possible because no data carrier is present in the active zone of a read/write head. Read error. 02HEX Data carrier was removed from the active zone of the read/write 03HEX head while it was being read. Write error. 04HEX Data carrier was removed from the active zone of the read/write 05HEX head while it was being written. AV-Bit is set but the command designator is missing or invalid. 07HEX or: Number of bytes is 00HEX. Cable break to select read/write head, or head not connected. 09HEX If the command designator 03HEX with head number 03HEX was used to select both read/write heads, it may be that one head is not connected. If both read/write heads are selected, the cable break message is suppressed if a data carrier was recognized in front of a connected, fully functional read/write head. Faulty communication with the data carrier. 0DHEX Note: Check installation criteria or distance of the data carrier from the read/write head. The CRC of the read data does not coincide with the CRC of 0EHEX the data carrier. (continued on next ) 00HEX 01HEX

Please note: All commands affecting Head 2 are invalid in all versions for a single read/ write head.

Please note the basic procedure on 25 and the examples on 26 to 34.

E

24

Function Description Description of Input Buffer (continued)

SubMeaning address 01HEX

or:

Please note: All commands affecting Head 2 are invalid in all versions for a single read/ write head.

or:

Function Description

Error code (continued) Contents of the 1st and 2nd bit header (1st and last bytes) of 0FHEX the output buffers are not identical. (2nd bit header must be activated). Head Number If both read/write heads are selected, the number of the head used is written here after a successful read or write process: Head 1 31HEX Head 2 32HEX Head number 3 = 33HEX will be written if dynamic operation has been selected. Hence the data read with a read command are beginning with subaddress 02HEX of the input buffer. Data Data which was read from the data carrier (for exception see Head Number above).

02HEX

Data

Data which was read from the data carrier.

...

Data

Data which was read from the data carrier.

Data 2nd Bit header

Data which was read from the data carrier. The data are valid if the 1st and 2nd bit headers are in agreement.

Last byte or:

Please note the basic procedure on 25 and the examples on 26 to 34.

24

E

23

C6_2-019_641365_0506-e.p65

25

Protocol Basic Procedure

The host sends a read or write request. The following, simplified procedure takes place (more detail is contained in the subsequent examples): 1. The host sends to the output buffer – the command designator to subaddress 01HEX, – the start address for reading or writing, – the number of bytes for reading or writing, – the data carrier type (block size), and sets – the AV bit in the bit header of the output buffer. 2. The processor takes the request (AA in the bit header of the input buffer) and begins to transport the data (read = from data carrier to input buffer, write = from output buffer to data carrier). Larger data quantities are sent in blocks (block size = buffer size – 1). The toggle bits in the two bit headers are used as a kind of handshaking. In order to speed up the reading of smaller amounts of data, the ID system automatically puts the first 5 to 31 bytes of the data carrier in the input buffer as soon as the tag is recognized (the number of bytes depends on the buffer size). The data are only valid following the leading edge of the CP bit in the bit header of the input buffer, or until the host sends out a read or write request for the other head. 3. The processor has processed the command correctly (AE in the bit header of the input buffer). If an error occurred during execution of the command, an error number will be written to subaddress 01HEX of the input buffer and the AF bit in the bit header of the input buffer will be set. In order to put the Identification System into the ground state, the host sets the GR bit in the bit header of the output buffer.

E

25

26

Protocol Example No. 1 (with buffer size of 8 bytes)

Initializing the data carrier for the CRC_16 data checking The processing of this command is similar to a write command. Start address and number of bytes have to correspond to the maximum number of data to be used. In this example the complete memory range of a data carrier with 128 bytes shall be used (BIS C-1_ _-03/ L with 32 byte block size). Because 2 bytes are used for the CRC only 120 bytes can be used as data bytes, hence: start address = 0, number of bytes = 120. Host:

BIS C-6_2 Identification System:

1.) Process subaddresses of output buffer in order shown:

2.) Process subaddresses of input buffer in order shown:

01Hex

Command designator 12Hex

02Hex

Start address 00Hex

03Hex

Start address 00Hex

04Hex

No. of bytes 78Hex

05Hex

No. of bytes 00Hex

3.) Process subaddresses of output buffer: 01...07Hex

Enter first 7 bytes of data

00Hex

Invert TI- Bit

00Hex

4.) Process subaddresses of output buffer:

01...07Hex

01...07Hex

Enter the second 7 data bytes

00Hex

Invert TI- Bit

Copy first 7 data bytes

Process subaddress of the input buffer: 00Hex

5.) Process subaddresses of output buffer:

Set AA- Bit, invert TO- Bit

Invert TO- Bit

6.) Process subaddresses of output buffer:

01...07Hex

Copy second 7 data bytes

Process subaddress of the input buffer: 00Hex

Invert TO- Bit

...To be continued until the complete memory range is written. See next . 26

E

C6_2-019_641365_0506-e.p65

27

Protocol Example No. 1 (continued)

Host:

BIS C-6_2 Identification System:

7.) Process subaddresses of output buffer:

8.) Process subaddresses of output buffer:

01...07Hex

Enter eighteenth 7 bytes of data

00Hex

Invert TI- Bit

01...07Hex 00Hex

9.) Process subaddresses of output buffer: 01Hex

Enter the remaining data byte

00Hex

Invert TI- Bit

00Hex

Reset AV- Bit

Invert TO- Bit

10.)Process subaddresses of output buffer: 01Hex

Copy the remaining data byte

Process subaddress of the input buffer: 00Hex

11.)Process subaddresses of output buffer:

Copy eigtheenth 7 data bytes

Process subaddress of the input buffer:

Set AE- Bit

12.)Process subaddresses of input buffer: 00Hex

Reset AA- Bit and AE- Bit

E

27

28

Protocol Example No. 2 (with buffer size of 8 bytes)

Read 19 bytes starting at data carrier address 10 (data carrier type with 32 byte block size): Host: BIS C-6_2 Identification System: 1.) Process subaddresses of output buffer in order shown: C o m m a n d d e s ig n a to r 0 1 H ex

0 0 H ex

S e t A A - B it

0 2 H ex

Start address Low Byte 0AHex

0 1 ...0 7 H ex

E n te r f ir s t 7 b y te s o f d a ta

0 3 H ex

Start address High Byte 00Hex

0 0 H ex

S e t A E - B it

0 4 H ex

N o . o f b y te s L o w B y te 1 3 H ex

0 5 H ex

N o . o f b y te s H ig h B y te 0 0 H ex

0 0 H ex

CT-Bit to 0 (32 Byte block size), set AV-Bit

3.) Process subaddresses of input buffer: 0 1 ...0 7 H ex

C o p y f ir s t 7 d a ta b y te s

Process subaddress of the output buffer: 0 0 H ex

0 1 ...0 7 H ex

C o p y s e c o n d 7 d a ta b y te s

Process subaddress of the output buffer: 0 0 H ex

Copy the remaining 5 data bytes

Process subaddress of the output buffer: 0 0 H ex

E

01...07Hex 00Hex

Enter the second 7 data bytes Invert TO-Bit

6.) Process subaddresses of input buffer: 0 1 ...0 5 H ex

Enter the remaining 5 data bytes

0 0 H ex

In v e r t T O - B it

In v e r t T I- B it

7.) Process subaddresses of input buffer: 0 1 ...0 5 H ex

4.) Process subaddresses of input buffer:

In v e r t T I- B it

5.) Process subaddresses of input buffer:

28

2.) Process subaddresses of input buffer in order shown:

0 1 H ex

Reset AV-Bit

8.) Process subaddresses of input buffer:

0 0 H ex

R e s e t A A - B it a n d A E - B it

C6_2-019_641365_0506-e.p65

29

Protocol Example No. 3 (with buffer size of 8 bytes)

Read 40 bytes starting at data carrier address 10 with read error (data carrier type with 64 byte block size): Host:

BIS C-6_2 Identification System:

1.) Process subaddresses of the output buffer in the order shown:

2.) Process subaddresses of the input buffer in the order shown:

0 1 H ex

C o m m a n d d e s ig n a to r 0 1 H ex

0 0 H ex

S e t A A - B it

0 2 H ex

Start address Low Byte 0AHex

0 1 H ex

Enter error number

0 3 H ex

Start address High Byte 00Hex

0 0 H ex

S e t A F - B it

0 4 H ex

N o . o f b y te s L o w B y te 2 8 H ex

0 5 H ex

N o . o f b y te s H ig h B y te 0 0 H ex

0 0 H ex

Set CT-Bit to 1 (64 Byte block size), set AV-Bit

3.) Process subaddresses of the output buffer: 0 1 H ex

Copy error number

0 0 H ex

Reset AV-Bit

4.) Process subaddresses of the input buffer: 0 0 H ex

R e s e t A A - B it a n d A F - B it

E

29

30

Protocol Example No. 4 (with buffer size of 8 bytes)

Write 16 bytes starting at data carrier address 20 (data carrier type with 32 byte block size): Host: BIS C-6_2 Identification System: 1.) Process subaddresses of the output buffer in the order shown: 0 1 H ex

C o m m a n d d e s ig n a to r 0 2 H ex

0 2 H ex / 0 3 H ex

Start address 14Hex / 00Hex

0 4 H ex / 0 5 H ex

N o . o f b y te s 1 0 H ex / 0 0 H ex

0 0 H ex

CT-Bit to 0 (32 Byte block size), set AV-Bit

3.) Process subaddresses of the output buffer: 0 1 ...0 7 H ex

E n te r th e f ir s t 7 d a ta b y te s

0 0 H ex

In v e r t T I- B it

2.) Process subaddresses of the input buffer in the order shown: 0 0 H ex

S e t A A - B it, in v e r t T O - B it

4.) Process subaddresses of the output buffer: 0 1 ...0 7 H ex 0 0 H ex

5.) Process subaddresses of the output buffer: 0 1 ...0 7 H ex

E n te r th e s e c o n d 7 d a ta b y te s

0 0 H ex

In v e r t T I- B it

In v e r t T O - B it

6.) Process subaddresses of the output buffer: 0 1 ...0 7

H ex

0 1 ...0 2 H ex

Enter the remaining 2 bytes

0 0 H ex

In v e r t T I- B it

0 0 H ex

30

E

Reset AV-Bit

In v e r t T O - B it

8.) Process subaddresses of the output buffer: 0 1 ...0 2 H ex

Copy the remaining 2 data bytes

Process subaddress of the input buffer: 0 0 H ex

9.) Process subaddresses of the output buffer:

C o p y th e s e c o n d 7 d a ta b y te s

Process subaddress of the input buffer: 0 0 H ex

7.) Process subaddresses of the output buffer:

C o p y th e f ir s t 7 d a ta b y te s

Process subaddress of the input buffer:

S e t A E - B it

10.) Process subaddresses of the input buffer: 0 0 H ex

R e s e t A A - B it a n d A E - B it

C6_2-019_641365_0506-e.p65

31

Protocol Example No. 5

Put BIS C-6_2 Identification System into ground state: Host:

BIS C-6_2 Identification System:

1.) Process subaddresses of the output buffer: +H[

6HW *5 %LW

3.) Process subaddresses of the output buffer: +H[

5HVHW *5 %LW

2.) Go to ground state; Process subaddresses of the input buffer:

+H[

5HVHW %% %LW

4.) Process subaddresses of the input buffer: 00Hex

Set BB-Bit

E

32

Protocol Example No. 6 (with buffer size of 8 bytes) Please note: All commands affecting Head 2 are invalid in all versions for a single read/ write head.

Switch to Head 2: Host:

BIS C-6_2 Identification System:

1.) Process subaddresses of the output buffer in the order shown:

2.) Process subaddresses of the input buffer in the order shown:

+H[

&RPPDQG GHVLJQDWRU +H[

+H[

(QWHU KHDG QXPEHU +H[

+H[

&7 %LW WR   %\WH EORFN VL]H  VHW $9 %LW

3.) Process subaddresses of the output buffer:

0 0 H ex

Example No. 7 (with buffer size of 8 bytes) Please note: All commands affecting Head 2 are invalid in all versions for a single read/ write head.

32

E

Reset AV-Bit

+H[

6HW $$ %LW 6HOHFW +HDG 

+H[

6HW $( %LW

4.) Process subaddresses of the input buffer:

0 0 H ex

R e s e t A A - B it a n d A E - B it

Select both heads: Host:

BIS C-6_2 Identification System:

1.) Process subaddresses of the output buffer in the order shown:

2.) Process subaddresses of the input buffer in the order shown:

+H[

&RPPDQG GHVLJQDWRU +H[

+H[

(QWHU KHDG IXQFWLRQ +H[

+H[

&7 %LW WR   %\WH EORFN VL]H  VHW $9 %LW

3.) Process subaddresses of the output buffer: 0 0 H ex

Reset AV-Bit

+H[

6HW $$ %LW 6HOHFW ERWK KHDGV

+H[

6HW $( %LW

4.) Process subaddresses of the input buffer: 0 0 H ex

R e s e t A A - B it a n d A E - B it

31

C6_2-019_641365_0506-e.p65

33

Protocol Example No. 8 (with buffer size of 8 bytes) Please note: All commands affecting Head 2 are invalid in all versions for a single read/ write head.

Check both heads one time for a data carrier: Host:

BIS C-6_2 Identification System:

1.) Process subaddresses of the output buffer in the order shown:

2.) Process subaddresses of the input buffer in the order shown:

0 1 H ex

C o m m a n d d e s ig n a to r 0 3 H ex

0 2 H ex

E n te r h e a d f u n c tio n 0 4 H ex

0 0 H ex

CT-Bit to 0 (32 Byte block size), set AV-Bit

00Hex

Set AA-Bit

2.1) The heads are selected one after the other. A data carrier is found at a head.

01Hex 02...05Hex 00Hex

Enter head number of corresponding head Enter the first 4 data bytes of the data carrier Set AE-Bit

2.2) The heads are selected one after the other. No data carrier is found. Reselect previously selected head:

3.) Process subaddresses of the input buffer: 0 1 H ex

C opy head num ber

01Hex

Enter head function 04Hex

02...05Hex

Enter 00Hex 4 times

00Hex

Set AE- Bit

4.) Process subaddresses of the input buffer: 0 0 H ex

R e s e t A A - B it a n d A E - B it

Process subaddress of the output buffer: 0 0 H ex

Reset AV-Bit

E

34

Protocol Example No. 9 (with buffer size of 8 bytes) Please note: All commands affecting Head 2 are invalid in all versions for a single read/ write head.

Continuously look for a data carrier at both heads: Host:

BIS C-6_2 Identification System:

1.) Process subaddresses of the output buffer in the order shown:

2.) Process subaddresses of the input buffer in the order shown:

0 1 H ex

C o m m a n d d e s ig n a to r 0 3 H ex

0 2 H ex

E n te r h e a d f u n c tio n 0 5 H ex

0 0 H ex

CT-Bit to 0 (32 Byte block size), set AV-Bit

3.) Process subaddresses of the input buffer: 01Hex

Copy head number

02...05Hex

Copy the first 4 bytes

Process subaddress of the output buffer: 00Hex

34

E

Reset AV- Bit

00Hex Set AA-Bit Both heads are alternately selected until a data carrier is found in front of a head: Enter head number of the 01Hex corresponding head 02...05Hex Enter the first 4 data bytes of the data carrier 00Hex Set AE-Bit 4.) Process subaddresses of the input buffer:

0 0 H ex

R e s e t A A - B it a n d A E - B it

33

C6_2-019_641365_0506-e.p65

35

Read/Write Times Read times in static mode (configuration 3rd byte, bit 5 = 0, without CRC_16 data check)

Write times in static mode (configuration 3rd byte, bit 5 = 0, without CRC_16 data check)

For double read and compare: Data carrier with 32 byte blocks

Data carrier with 64 byte blocks

No. of bytes

Read time [ms]

No. of bytes

Read time [ms]

from 0 to 31

110

from 0 to 63

220

for each additional 32 bytes add

120

for each additional 64 bytes add

230

from 0 to 255

= 950

from 0 to 2047

= 7350

Including readback and compare: Data carrier with 32 byte blocks

Data carrier with 64 byte blocks

No. of bytes

Write time [ms]

No. of bytes

Write time [ms]

from 0 to 31

110 + n * 10

from 0 to 63

220 + n * 10

for 32 bytes or more

y * 120 + n * 10

for 64 bytes or more

y * 230 + n * 10

n = number of contiguous bytes to write y = number of blocks to be processed

Example: 17 bytes from address 187 have to be written. Data carrier with 32 bytes per block. The blocks 5 and 6 will be processed since the start address 187 is in block 5 and the end address 203 in block 6.t = 2 * 120 + 17 * 10 = 410 ms The indicated times apply after the data carrier has been recognized. If the data carrier is not yet recognized, an additional 45 ms for building the required energy field until the data carrier is recognized must be added. E

36

Read/Write Times Read times in dynamic mode (configuration 3rd byte, bit 5 = 1, without CRC_16 data check)

Read times within the 1st block for dual read and compare: The indicated times apply after the data carrier has been recognized. If the data carrier is not yet recognized, an additional 45 ms for building the required energy field until the data carrier is recognized must be added.

Data carrier with 32 byte blocks

Data carrier with 64 byte blocks

No. of bytes

Read time [ms]

No. of bytes

Read time [ms]

from 0 to 3 for each additional byte add from 0 to 31

14

from 0 to 3 for each additional byte add from 0 to 63

14

3.5 112

3.5 224

m = highest address to be read

Formula: t = (m + 1) * 3.5 ms Example: Read 11 bytes starting at address 9, i.e. the highest address to be read is 19. This corresponds to 70 ms.

36

E

35

C6_2-019_641365_0506-e.p65

37

LED Display Function displays on BIS C-6_2

The BIS C-6_2 uses the three side-mounted LED's to indicate important conditions of the identification system. Status

LED

Meaning

System Ready

on (green) off

Supply voltage OK; no hardware error. Supply voltage/hardware not OK, or cable break to read/write head or not connected.

Codetag Present occurs

on (yellow)

Data carrier read/write-ready (if a read/write error during a read or write, the System Ready LED goes off). Cable break to read/write head or not connected. No data carrier in read/write range.

flashes off Codetag Operating on (yellow) off

Read/write command in process. No read/write command in process.

If all three LED's are on, it means a memory error. The unit must be returned to the factory.

E

38 BIS C-602 Mounting Processor / Head Mounting the BIS C-602 processor and orientation of the read/write head or adapter

38

E

The processor is attached using 4 lateral mounting holes. Depending on model, the processor is equipped with a read/write head or the adapter for offset read/write heads. Both the read/write head and the adapter can be rotated by the user by + or –90 deg. to the desired position (see drawing). Be sure that power is off first. Loosen both screws (indicated with arrows). Carefully pull the head or adapter out towards the side (direction of arrow, right drawing). Caution: wires inside! Reattach at the desired orientation and screw tight again.

Caution: wires inside!

37

C6_2-019_641365_0506-e.p65

39 BIS C-602 Mounting Processor / Head Opening the Processor BIS C-602

In order to set the PROFIBUS-DP address or to place the jumpers for the internal terminating resistor, or to make the PROFIBUS-DP connections, the BIS C-602 processor must be opened. Take care that the device is unpowered. Loosen the 4 screws and remove the cover. Feed the for additional informatwo remote bus cables through the cable clamps. See the following tion. Mounting of the cover (4 screws), max. permissible tightening torque: 0.15 Nm

Opening the processor E

40 BIS C-602 Mounting the PG connectors for PROFIBUS-DP Connecting the shield of the PROFIBUS-DP cable in the connectors PG 11 on the processor BIS C-602

After connecting the (field) bus leads to the termional block, make sure that the shield has proper connection to the PG housing.

Screw socket

Inside O-ring Cable clamp

Screw the swivel nut with a torque of 4.17 Nm

40

E

ca. 3 - 4 mm

39

C6_2-019_641365_0506-e.p65

41 BIS C-602-...-KL2 Wiring Diagrams Remote bus cable and interfaces for PROFIBUS-DP

To insert BIS C-602 processor into the serial PROFIBUS, terminals 1and 2 and 5 and 6 for the PROFIBUS-DP interface are located on the terminal block ("incoming" and "outgoing"). Bus station BIS C-602-...-KL2

Bus station

Bus station

Terminal block green

red

red

green

In case the processor is the last bus module in the chain, then only the incoming cable is connected. You can either use the connections 1 and 2 or 5 and 6. The last bus module must terminate the bus with a resistor. In the case of the BIS C-602, this can be realized in two different ways: X4/1...X4/3 Termination resistor closed open

1. Inside the unit by closing switch S2 (factory set to open)

active passive

2. Outside the unit in a connector. Bring out the signals VP (Terminal 4) and DGND (Terminal 3) to tie the external termination resistors to plus. Note: S2 must be open!

41

E

42 BIS C-602-...-KL2 Wiring Diagrams Wiring diagram for BIS C-602-...-KL2 processor with integrated read/write head

7

6

5

4

3

2

1

DGND

A

B

VP

DGND

A

B

PROFIBUS-DP 1 2 3 4 5 6 7 8

S1

Head 1

18

+ VS

- VS POWER

Head 2

19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1

19

Terminal block

17

16...14 n.c.

13

12

+IN

-IN

INPUT

11...8 n.c.

Terminal block connections n.c. = do not connect!

S2

Protection ground PE

The ground connector should be connected to earth directly or through a RC combination depending on the system (potential counterpoise). PROFIBUS-DP

Terminal location and designation

42

E

Supply voltage and digital input

When connecting the bus leads, make sure that the shield has proper connection to the PG housing. Please note the assembling instructions on 40.

C6_2-019_641365_0506-e.p65

43 BIS C-602-...-KL2 Wiring Diagrams Wiring diagram for BIS C-602-...-KL2 processors with BIS C-650 adapter

Connection for read/write head 1 Connection for read/write head 2

7

6

5

4

3

2

1

DGND

A

B

VP

DGND

A

B

PROFIBUS-DP 19

18

+ VS

17

- VS

n.c.

POWER Terminal block

Protection ground PE

PROFIBUS-DP

Terminal location and designation

Supply voltage and digital input

16...14

13

12

+IN

-IN

11...8 n.c.

INPUT

Terminal block connections n.c. = do not connect! The ground connector should be connected to earth directly or through a RC combination depending on the system (potential counterpoise). When connecting the bus leads, make sure that the shield has proper connection to the PG housing. Please note the assembling instructions on 40.

43

E

44 BIS C-602-...-KL2 Wiring Diagrams Wiring diagram for BIS C-602-...-KL2 processors with BIS C-670 adapter

Terminal for read/write head (8 pin)

7

6

5

4

3

2

1

DGND

A

B

VP

DGND

A

B

PROFIBUS-DP 19

18

+ VS

- VS POWER

17

16...14 n.c.

13

12

+IN

-IN

INPUT

11...8 n.c.

Terminal block connections n.c. = do not connect!

Terminal block Protection ground PE

Terminal location and designation

44

E

PROFIBUS-DP Supply voltage and digital input

The ground connector should be connected to earth directly or through a RC combination depending on the system (potential counterpoise). When connecting the bus leads, make sure that the shield has proper connection to the PG housing. Please note the assembling instructions on 40.

C6_2-019_641365_0506-e.p65

45 BIS C-602-...-ST11 Wiring Diagrams Remote bus cable for PROFIBUS-DP

To insert BIS C-602-...-ST11 processor into the serial PROFIBUS-DP, there are the terminal X2 for the PROFIBUS input and the terminal X3 for the PROFIBUS output. Bus station BIS C-602-...-ST11

Bus station green

A

red

B ...

green

A 2

2A 3 DGND

DGND 3 B 4

4B

A

red

Connect shield to connector housing

Output

Bus station

VP 1

1 VP

B

Connect shield to connector housing 5-pin male X2, input

Input

5-pin female X3, output

In case the processor is the last bus module in the chain, then only the incoming cable is connected to X2. The last bus module must terminate the bus with a resistor. In the case of the BIS C-602, this can be realized in two different ways: 1. Inside the unit by closing switch S2 (factory set to open) Note: The PROFIBUS output must be closed off with a cap in order to maintain the enclosure rating.

X4/1...X4/3

Termination resistor

closed open

active passive

2. Outside the unit in the mating male connector for X3. Bring out the signals VP (Pin 1) and DGND (Pin 3) to tie the external termination resistors to plus. Note: S2 must be open! 45

E

46 BIS C-602-...-ST11 Wiring Diagrams Wiring diagram for BIS C-602-...-ST11 processor with adapter BIS C-657

X1, Supply voltage, digital input

Connection for read/write head

4

3

5 1

X2, PROFIBUSinput (male) 4

2

Pin

Function

1

+Vs

2

–IN

3

–Vs

4

+IN

5

n.c.

Pin

Function

X3, PROFIBUSoutput (female)

3

3

4

1

5

5 1

Terminal location and designation

Supply voltage, digital input

Protection ground

2

2

1

VP

2

A

3

DGND

4

B

5

n.c.

n.c. = do not connect

PROFIBUS-DP

The ground connector should be connected to earth directly or through a RC combination depending on the system (potential counterpoise). When connecting the bus leads, make sure that the shield has proper connection to connector housing.

46

E

C6_2-019_641365_0506-e.p65

47 BIS C-602-...-ST11 Schnittstelleninformationen / Anschlusspläne Wiring diagram for BIS C-602-...-ST11 processor with adapter BIS C-654

X1, Supply voltage, digital input

Connection for read/write head BIS C-355/...S92

4

3

5 2

1

X2, PROFIBUSinput (male) 4

Pin

Function

1

+Vs

2

–IN

3

–Vs

4

+IN

5

n.c.

Pin

Function

X3, PROFIBUSoutput (female)

3

3

4

1

5

5 2

1

2

1

VP

2

A

3

DGND

4

B

5

n.c.

n.c. = do not connect Protection ground

Terminal location and designation

Supply PROFIBUS-DP voltage, digital input

To use the BIS C-654 adapter the "Select both heads" function, Example 7, must always be activated after powering up or after a RESET.

The ground connector should be connected to earth directly or through a RC combination depending on the system (potential counterpoise). When connecting the bus leads, make sure that the shield has proper connection to connector housing. E

48 BIS C-602 Technical Data Dimensions, Weight

Housing Dimensions with read/write head BIS C-65_ Dimensions with adapter BIS C-650 Weight

Plastic ABS ca. 169 × 90 × 35 mm ca. 185 × 90 × 35 mm ca. 400 g

Operating Conditions

Ambient temperature

0 °C to + 60 °C

Enclosure Rating

Enclosure rating

IP 65 (with read/write head)

Connections BIS C-602-...-KL2

Terminal block Cable entry Cable diameter Cable entry Cable diameter

19-pin 2× PG 11 fittings (metal) 5 to 10 mm 1× PG 9 fittings (metal) 4 to 8 mm

Conductor size with ferrules

0.14 to 1 mm2 0.25 to 0.34 mm2

Connections BIS C-602-...-ST11

Round connector X1 for VS, IN Round connector X2 für PROFIBUS-DP input Round connector X3 für PROFIBUS-DP output

5-pin (male) 5-pin (male) 5-pin (female)

Electrical Connections

Supply voltage VS, input Ripple Current draw

DC 24 V ± 20 % ≤ 10 % ≤ 400 mA

PROFIBUS-DP slave

electrically isolated

48

E

47

C6_2-019_641365_0506-e.p65

49 BIS C-602 Technical Data Electrical Connections (continued)

Digital Input (+IN, –IN) Control voltage active Control voltage inactive Input current at 24 V Delay time, typ.

Optocoupler isolated 4 V to 40 V 1.5 V to –40 V 11 mA 5 ms

Read/Write Head option for mounted adapter BIS C-650 *) or for mounted adapter BIS C-657 *)

*) rotatable by 90 degrees

integrated, BIS C-65_ and following *); 2× connectors 4-pin (male) 1× connector 4-pin (male) for all read/writ heads BIS C-3_ _ with 4-pin connector (female), except BIS C-350 and BIS C-352 1× connector 8-pin (male) for one of the read/write heads BIS C-350 or BIS C-352

System Ready Codetag Present Codetag Operating

LED green LED yellow LED yellow

option for mounted adapter BIS C-670 *)

Function Displays BIS status messages

The CE-Mark is your assurance that our products are in conformance with the EC-Guideline 89/336/EEC (EMC-Guideline) and the EMC Law. Testing in our EMC Laboratory, which is accredited by the DATech for Testing of Electromagnetic Compatibility, has confirmed that Balluff products meet the EMC requirements of the Generic Standard EN 61000-6-4 (Emission) and EN 61000-6-2 (Noise Immunity). E

49

50 Ordering Information BIS C-602 Processor Ordering Code

BIS C-602-019-_ _ _-03-_ _ _ Balluff Identification System Type C Read/Write System Hardware Type 602 = plastic housing, PROFIBUS-DP Software-Type 019 = PROFIBUS-DP Read/Write Head / Adapter 000 = no read/write head 651 = with read/write head Type 651 (with circular antenna on top) 652 = with read/write head Type 652 (with circular antenna on front) 653 = with read/write head Type 653 (with rod antenna) 650 = adapter with two connections for external read/write heads BIS C-3_ _ (except BIS C-350 and -352) 657 = adapter with one connection for an external read/write head BIS C-3_ _ (except BIS C-350 and -352) 670 = adapter with one connection for an external read/write head BIS C-350 or BIS C-352) Interface 03 = bus versions User Connection KL2 = terminal block via 2× PG 11 and 1× PG 9 cable fittings ST11 = round connectors X1, X2, X3 (2× 5-pin plug, 1× 5-pin socket)

50

E

C6_2-019_641365_0506-e.p65

51 BIS C-622 Mounting Processor Mounting the BIS C-622 processor

The processor is mounted using 4 M4 screws.

E

51

52 BIS C-622 Interface information Wiring for the BIS C-622 processor

Connection for read/write head 2

Connection for read/write head 1 Mounting of the cover (4 screws), max. permissible tightening torque: 0.15 Nm

Supply voltage and digital input

PROFIBUS-DP

PROFIBUS-DP

Connection locations and names

Opening the BIS C-622 processor

Protection ground PE To set the PROFIBUS-DP address or to place the jumpers for the internal termination resistor, the processor BIS C-622 has to be opened. Ensure that the device is turned off. Remove the 4 screws on the BIS C-622 and lift off the cover. For more details see the following .

52

E

C6_2-019_641365_0506-e.p65

53 BIS C-622 Wiring Diagrams To insert BIS C-622 processor into the serial PROFIBUS and to connect the supply voltage and the digital input, the cables have to be connected to the terminals of the processor. For more details regarding the wiring see the following . The read/write heads have to be connected to the to terminals Head 1 and Head 2. PROFIBUS-DP

Ensure that the device is turned off. Connect the "incoming" PROFIBUS cable to the PROFIBUS-DP input. Connect the "outgoing" PROFIBUS cable to the PROFIBUS-DP output. In case the processor is the last bus module in the chain, then only the incoming cable is connected to the input. The last bus module must terminate the bus with a resistor. In the case of the BIS C-622, this can be realized in two different ways: S2 Termination resistor 1. Inside the unit by closing switch S2 closed active (factory set to open) open passive The PROFIBUS output must be closed off with a cap in order to maintain the enclosure rating. 2. Outside the unit in a connector. Bring out the signals VP and DGND to tie the external termination resistors to plus. Note: S2 must be open! No supply voltage is allowed on the PROFIBUS connections!

Connect cable for the supply voltage and the digital input to terminal X1.

E

53

54 BIS C-622 Wiring Diagrams Remote bus cable for PROFIBUS-DP

To insert BIS C-622 processor into the serial PROFIBUS-DP, there are the terminals for the PROFIBUS output and for the PROFIBUS input.

BIS C-622-...-ST5

Bus station

Bus station BIS C-622-...-ST5 green

red

red

Connect shield to connector housing

Connect shield to connector housing 12-pin female X3, input

Output

BIS C-622-...-ST11

green A

red ...

Output

54

E

12-pin female X2, output

Input

Bus station BIS C-622-...-ST11

Bus station

B

Bus station

green

1 VP 2A 3 DGND 4B

VP 1 A 2 DGND 3 B 4

Connect Connect shield shield to to connector connector housing housing

Bus station green red

A B

Connect Connect shield shield to to connector connector housing housing 5-pin male X2, input

5-pin female X3, output

Input

C6_2-019_641365_0506-e.p65

55 BIS C-622-...-ST5 Wiring Diagram Wiring diagram for BIS C-622-...-ST5 processor

Connection for read/write head 2

X1, supply voltage and digital input

Connection for read/write head 1

4

3

P in

F u n c t io n

1

+Vs

3

–Vs

5

2

– IN

4

+ IN

5

n .c .

P in

F u n c t io n

1

DGND

2

1

X2, PROFIBUS output X3, PROFIBUS input

Terminal location and designation

2

A

3

n .c .

4

B

5

n .c .

6

VP

7 ... 1 2

n .c .

n.c. = do not connect! Protection ground PE

The ground connector should be connected to earth directly or through a RC combination depending on the system (potential counterpoise). When connecting the bus leads, make sure that the shield has proper connection to connector housing.

55

E

56 BIS C-622-019-057-...-ST11 Wiring Diagram Wiring diagram for BIS C-622-...-ST11 processor

X1, supply voltage, digital input

Connection for read/write head

4

3

5 1

X2, PROFIBUS input (male) 4

2

Pin

Function

1

+Vs

2

–IN

3

–Vs

4

+IN

5

n.c.

Pin

Function

X3, PROFIBUS output (female)

3

3

4

1

5

5 1

Terminal location and designation

2

2

1

VP

2

A

3

DGND

4

B

5

n.c.

n.c. = do not connect! Protection ground PE

The ground connector should be connected to earth directly or through a RC combination depending on the system (potential counterpoise). When connecting the bus leads, make sure that the shield has proper connection to connector housing.

56

E

C6_2-019_641365_0506-e.p65

57 BIS C-622 Technical Data Dimensions, weight

Housing Dimensions Weight

Metal 175 x 120 x 60 mm 820 g

Operating conditions Ambient temperature

0 °C to +60 °C

Enclosure

Protection class

IP 65 (when connected)

Connection type BIS C-622-...-ST5

Integral connector X1 Integral connector Head 1, Head 2 Round connector for X2 and X3

5-pin (male) 4-pin (male) 12-pin (female)

Connection type BIS C-622-...-ST11

Round connector X1 for VS, IN Round connector X2 for PROFIBUS-DP input Round connector X3 for PROFIBUS-DP output

5-pin (male) 5-pin (male) 5-pin (female)

Electrical connections

Supply voltage VS Ripple Current draw Connections for supply voltage VS

DC 24 V ± 20 % ≤ 10 % ≤ 400 mA at input X1

Digital input X1 (+IN, –IN) Control voltage active Control voltage inactive Input current at 24 V Delay time, typ.

galvanically isolated (optocoupler) 4 V to 40 V 1.5 V to –40 V 11 mA 5 ms

PROFIBUS-DP

serial interface for PROFIBUS stations

E

58 BIS C-622 Technical Data Electrical connections (continued)

Head 1, Head 2, Read/Write Head

Function displays

BIS operating states: System Ready Codetag Present Codetag Operating

4-pin connector(s) (male) for all read/write heads BIS C-3_ _ with 4-pin connector (female), excluding BIS C-350 and BIS C-352

LED green LED yellow LED yellow

The CE-Mark is your assurance that our products are in conformance with the EC-Guideline 89/336/EEC (EMC-Guideline) and the EMC Law. Testing in our EMC Laboratory, which is accredited by the DATech for Testing of Electromagnetic Compatibility, has confirmed that Balluff products meet the EMC requirements of the Generic Standard EN 61000-6-4 (Emission) and EN 61000-6-2 (Noise Immunity). 58

E

57

C6_2-019_641365_0506-e.p65

59 BIS C-622 Ordering Information BIS C-622-019-_ _ _-03-ST_ _

Ordering code Balluff Identification System Type C Read/Write System Hardware Type 622 = metal housing, PROFIBUS-DP Software Type 019 = PROFIBUS-DP

Version 050 = with two connections for external read/write heads BIS C-3_ _ (except BIS C-350 and -352) 057 = with one connection for an external read/write head BIS C-3_ _ (except BIS C-350 and -352) Interface 03 = bus versions User Connection ST5 = Round connectors X1, X2, X3 (1× 5-pin male, 2× 12-pin female) ST11 = Round connectors X1, X2, X3 (2× 5-pin male, 1× 5-pin female) Accessory (optional, not included)

Type

Ordering code for ST5

Ordering code for ST11

Mating connector for X1 Mating connector for X2 Mating connector for X3 Protective cap for Head_ Protective cap

BKS-S 79-00 BKS-S 86-00 BKS-S 86-00 BES 12-SM-2 115 475 for X2

BKS-S 79-00 BKS-S103-00 BKS-S105-00 BKS-S105-R01 for X3 (with terminating resistor) 59

E

60

Appendix, ASCII Table DeciControl Hex ASCII mal Code

DeciControl Hex ASCII mal Code

DeciHex ASCII mal

DeciHex ASCII mal

DeciHex ASCII mal

DeciHex ASCII mal

0

00

Ctrl @

NUL

22

16

Ctrl V

SYN

44

2C

,

65

41

A

86

56

V

107

6B

1

01

Ctrl A

SOH

23

17

Ctrl W

ETB

45

2D

-

66

42

B

87

57

W

108

6C

k l

2

02

Ctrl B

STX

24

18

Ctrl X

CAN

46

2E

.

67

43

C

88

58

X

109

6D

m

3

03

Ctrl C

ETX

25

19

Ctrl Y

EM

47

2F

/

68

44

D

89

59

Y

110

6E

n

4

04

Ctrl D

EOT

26

1A

Ctrl Z

SUB

48

30

0

69

45

E

90

5A

Z

111

6F

o

5

05

Ctrl E

ENQ

27

1B

Ctrl [

ESC

49

31

1

70

46

F

91

5B

[

112

70

p

6

06

Ctrl F

ACK

28

1C

Ctrl \

FS

50

32

2

71

47

G

92

5C

\

113

71

q

7

07

Ctrl G

BEL

29

1D

Ctrl ]

GS

51

33

3

72

48

H

93

5D

]

114

72

r

8

08

Ctrl H

BS

30

1E

Ctrl ^

RS

52

34

4

73

49

I

94

5E

^

115

73

s

Ctrl _

US

53

35

5

74

4A

J

95

5F

_

116

74

t

SP

54

36

6

75

4B

K

96

60

`

117

75

u

9

09

Ctrl I

HT

31

1F

10

0A

Ctrl J

LF

32

20

11

0B

Ctrl K

VT

33

21

!

55

37

7

76

4C

L

97

61

a

118

76

v

12

0C

Ctrl L

FF

34

22

"

56

38

8

77

4D

M

98

62

b

119

77

w

13

0D

Ctrl M

CR

35

23

#

57

39

9

78

4E

N

99

63

c

120

78

x

14

0E

Ctrl N

SO

36

24

$

58

3A

:

79

4F

O

100

64

d

121

79

y

15

0F

Ctrl O

SI

37

25

%

59

3B

;

80

50

P

101

65

e

122

7A

z

16

10

Ctrl P

DLE

38

26

&

60

3C