Supplementary information relating to the users‘ manual Interfaces USB/RS232 Deutsch Schnittstellen USB/RS232 English Ergänzung zum Benutzerhandbuch Sach-Nr. 2 773 001 deutsch + english; 05/2011, Deutsch Originalsprache p1_tico_773_2773001_Betriebsanweisung_06062011_de_en.indb 1 02.02.
II p1_tico_773_2773001_Betriebsanweisung_06062011_de_en.indb 2 02.02.
Inhaltsverzeichnis 1 Allgemeines 1.1 1.2 2 4 Informationen zur Bedienungsanleitung Symbolerklärung Sicherheit 2.1 2.2 6 Sicherheit Bestimmungsgemäße Verwendung der Schnittst 3 Anschluss 7 4 Einstellung der zusätzlichen Funktionscodes 8 5 Programmierassistent 5.1 5.2 5.3 6 10 Allgemeines Installation des Programmierassistenten Anschluss des Zählers Konfigurieren mit dem Programmierassistenten 15 6.1 Schreiben und lesen der Konfigurationsdaten 6.
1 Allgemeines 1 Allgemeines 1.1 Informationen zur Bedienungsanleitung Diese Bedienungsanleitung gilt ergänzend zur Bedienungsanleitung 2772082 für die Zähler 0773xxx und 0774xxx und beschreibt die zusätzlichen Funktionen der Schnittstellen USB und RS232. Sie gibt wichtige Hinweise zum Umgang mit dem Multifunktionszähler. Die Bedienungsanleitung 2772082 ist Bestandteil dieser Bedienungsanleitung und in vollem Umfang zu beachten. Dies gilt insbesondere für das Kapitel Sicherheit.
1 Allgemeines Warnung! Weist auf eine möglicherweise gefährliche Situation hin, die zum Tod oder zu schweren Verletzungen führen kann, wenn sie nicht vermieden wird. Vorsicht! Weist auf eine möglicherweise gefährliche Situation hin, die zu geringfügigen oder leichten Verletzungen führen kann, wenn sie nicht vermieden wird. Hinweis! Weist auf eine möglicherweise gefährliche Situation hin, die zu Sach- oder Umweltschäden führen kann, wenn sie nicht vermieden wird.
2 Sicherheit 2 Sicherheit 2.1 Sicherheit Die Bedienungsanleitung 2772082 ist Bestandteil dieser Bedienungsanleitung und in vollem Umfang zu beachten. Sie enthält Sicherheitshinweise und Handlungsanweisungen zum Multifunktionszähler. Diese Bedienungsanleitung enthält ergänzende Sicherheitsaspekte zu den Schnittstellen USB und RS232. Bei Nichtbeachten der in dieser Anleitung aufgeführten Handlungsanweisungen und Sicherheitshinweise können erhebliche Gefahren entstehen.
3 Anschluss 3 Anschluss Wenn beide USB-Stecker am Zähler belegt sind, hat der Host (USB-Kabel) Vorrang. Der Drive (USB-Stick) wird dann automatisch deaktiviert. (entspricht Werkseinstellung) p1_tico_773_2773001_Betriebsanweisung_06062011_de_en.indb 7 7 02.02.
4 Einstellung der zusätzlichen Funktionscodes 4 Einstellung der zusätzlichen Funktionscodes Diese Funktionscodes gelten bei allen Grundfunktionen ergänzend zur Bedienungsanleitung 2772082. Bei Verwendung des USB-Sticks bzw. bei Arbeiten mit dem Programmierassistenten ist die Werkseinstellung erforderlich.
4 Einstellung der zusätzlichen Funktionscodes Funktionscode F24, Anzeige Zeile 1: Funktion Nr. Anzeige Zeile 2 Baudrate Schnittstelle 0 1200 1 2400 2 4800 3 9600 4 19200 5* 38400 Funktionscode F25, Anzeige Zeile 1: Parity 0 none 1* even 2 odd Funktionscode F26, Anzeige Zeile 1: Stopbit 0 1 Stopbit 1* 2 Stopbits p1_tico_773_2773001_Betriebsanweisung_06062011_de_en.indb 9 9 02.02.
5 Programmierassistent 5 Programmierassistent 5.1 Programmierassistent allgemein Da Sie sich für den Kauf eines tico Zählers mit Schnittstelle entschieden haben, bietet sich Ihnen nun die Möglichkeit den Zähler zeitsparend über unseren Programmierassistenten zu programmieren. Diesen können Sie kostenlos auf unserer Homepage unter www.hengstler.de oder www.tico-counter.de herunterladen. Zum Betreiben des Programmierassistenten müssen Sie vorab Microsoft .Net Frame Work 3.5 auf Ihrem Rechner installieren.
5 Programmierassistent 5.2 Programmierassistent Installation Wenn Sie die Installation des Programms starten, wird überprüft ob Sie .Net Framework installiert haben, sollte dies nicht der Fall sein, erscheint folgende Meldung: Zur Installation des .Net Frameworks müssen Sie den Lizenzbestimmungen zustimmen, nachdem Sie diese sorgfältig gelesen haben, klicken Sie bitte auf Accept. Die restliche Installation des erforderlichen .
5 Programmierassistent Über den Knopf „Browse…“ können Sie den Installationspfad anpassen. Sobald Sie mit dem Installationspfad zufrieden sind, drücken Sie wieder auf „Next“ Hier werden Sie noch einmal informiert ob Sie das Programm wirklich installieren wollen, bestätigen Sie diese Abfrage indem Sie erneut auf „Next“ klicken und die Installation starten. 12 p1_tico_773_2773001_Betriebsanweisung_06062011_de_en.indb 12 02.02.
5 Programmierassistent Wenn Sie dieses Fenster sehen, ist die Installation geglückt und Sie können nun Ihren Zähler anschließen und beginnen ihn zu programmieren. 5.3 Zähleranschluss Nachdem Sie den Programmierassistenten installiert haben, können Sie den Zähler mit dem Computer verbinden um ihn zu installieren. Das folgende Fenster sollte nach etwa 10 Sekunden, nachdem Sie den Zähler per USB eingesteckt haben, erscheinen.
5 Programmierassistent Klicken Sie nun auf „Software automatisch installieren (empfohlen)“ und danach auf „Weiter“. Die erforderlichen Treiber werden nun installiert. 14 p1_tico_773_2773001_Betriebsanweisung_06062011_de_en.indb 14 02.02.
6 Konfigurieren mit dem Programmierassistenten Die Installation ist abgeschlossen, Sie können auf „Fertig stellen“ klicken und ab nun den Zähler über den Programmierassistenten einstellen. 6 Konfigurieren mit dem Programmierassistenten 6.1 Schreiben und lesen der Konfigurationsdaten Der Zähler kann mittels des Programmierassistenten direkt vom PC programmiert werden. Hierzu ist der Zähler mittels USB-Kabel mit dem Rechner zu verbinden (kleine Buchse am Zähler).
6 Konfigurieren mit dem Programmierassistenten 6.2 Konfigurierung über USB-Stick Der USB-Stick kann eine globale oder beliebig viele individuelle Konfigurationsdateien enthalten. Mit globalen Konfigurationsdateien kann jeder Zähler programmiert werden, mit individuellen nur der Zähler mit der passenden Seriennummer des Zählers. Die Dateien müssen auf dem Stick im Ordner „tico“ abgelegt werden. Wird der USB-Stick in die Buchse eingesteckt bzw.
6 Konfigurieren mit dem Programmierassistenten USB noFILE USB GLObAL Keine Datei gefunden Es wurde weder eine globale noch eine individuelle Konfigurationsdatei gefunden. Der Konfigurationsvorgang wurde abgebrochen. Die Anzeige kehrt nach wenigen Sekunden in die Standard-Ansicht zurück. Globale Konfigurationsdatei gefunden Es wurde eine globale Konfigurationsdatei gefunden. Durch Drücken von „E“ wird der Konfigurationsvorgang bestätigt und ausgeführt.
6 Konfigurieren mit dem Programmierassistenten USB E1 Error 1: Drive wurde vor Starten der Konfiguration abgezogen Es wurde eine Konfigurationsdatei gefunden, jedoch nach manuellem Starten des Konfigurationsvorgangs wurde vom Interface kein Drive mehr gefunden. Der Vorgang wird abgebrochen und es erfolgt kein Neustart, da es zu keinem Konfigurationsvorgang gekommen ist. Die Anzeige kehrt nach wenigen Sekunden in die Standard-Ansicht zurück.
7 7 Kommunikationsschnittstelle Kommunikationsschnittstelle 7.1 Definition der Kommunikationsschnittstelle Generic Interface für tico 77x Allgemein: Begriffsklärung „Generic Interface“ Das Generic Interface stellt Basisfunktionalitäten zur Verfügung, um Zählwerte und Funktionseinstellungen vom/zum Zähler zu lesen/schreiben. Die Kommunikation ist ein ASCII-Protokoll, das sich auf andere, höhere Protokolle umsetzen lässt.
7 Kommunikationsschnittstelle 7.2 Überblick der Funktionen des Generic Interfaces: Grundfunktionen: 1. lesen / schreiben der Zähler Grundfunktionen 2. lesen / schreiben der Funktionscodes 3. lesen / schreiben der USER-Monozeiten Werte lesen / schreiben: 1. lesen / schreiben der Vorwahlwerte 2. lesen / schreiben des Prescalerwertes 3. lesen / schreiben der Zählwerte 4. lesen des Tachowertes Spezialfunktionen: 1. Rücksetzen der Zählwerte 2. Zähler Reset 3.
7 Kommunikationsschnittstelle UT1 R/W 000.01 to 599.99 Ausgangs - User Monozeit 1 UT2 R/W 000.01 to 599.99 Ausgangs - User Monozeit 2 UT3 R/W 000.01 to 599.99 Ausgangs - User Monozeit 3 PR0 R/W -999999 .. .999999 Wert für Vorwahl 0 PR1 R/W -999999 .. .999999 Wert für Vorwahl 1 PR2 R/W -999999 .. .999999 Wert für Vorwahl 2 PSC R/W 000001 .. 999999 Prescalerwert CNT R/W -999999 .. 999999 Zählwert TAV R -999999 .. 999999 Tachowert TOT R/W 000000 ..
7 Kommunikationsschnittstelle NOP F Keine Funktion PNG F Ping ->Antwort = “TICO 772” CSE F Checksumme enable CSD F Checksumme disable BLI R/W 0 .. 15 Helligkeitsstufe der Displaybeleuchtung REM W 0 .. 99 Funktion für Displayzugriff WFK W 0 .. 99 Warte auf Tastendruck durch Bediener D00 W 0 .. 255 Display löschen bei Displayzugriff D01-D15 W 0 .. 255 Muster auf Display schreiben R = Read W = Write F = Funktion 22 p1_tico_773_2773001_Betriebsanweisung_06062011_de_en.
7 Kommunikationsschnittstelle 7.4 Syntax für Lese-, Schreib- und Funktionskommandos Syntax für Lesekommandos: Die Kommandos bestehen aus dem Kommandonamen ( 3 Zeichen) gefolgt von einem Leerzeichen und der Lesekennung (‚R’). Das Kommando wird mit CR (0Dh) abgeschlossen. (0Dh) C M D R CR Der Zähler antwortet durch Rückgabe des Kommandonamens und durch ein Leerzeichen getrennt, dem Rückgabewert. Die Antwort wird mit CR abgeschlossen.
7 Kommunikationsschnittstelle Kommando wurde ausgeführt: C M D O K CR E R CR Kommandofehler: C M D Syntax von Funktionskommandos: Funktionskommandos sind Kommandos, die zählerinterne Funktionen aufrufen, ohne Werte zu lesen oder zu schreiben. Syntax: C M D CR Antwort : Kommando wurde ausgeführt: C M D O K CR E R CR Kommandofehler: C M 7.
7 Kommunikationsschnittstelle 2.Wenn der Prescaler geändert wird, dann werden alle Zählwerte automatisch gelöscht. Soll also der Prescaler geändert werden, dann muss das immer vor der Änderung der Zählwerte geschehen. 3.Alle Werte werden zunächst nur im Arbeitsspeicher geändert. Nachdem die Werte übertragen wurden müssen sie mit dem STV-Kommando ind EEPROM übertragen werden. Änderungen in den Funktionscodes werden erst nach einem Neustart/Reset der Zählers („RST“) wirksam.
8 Technische Daten 8 Technische Daten Diese Bedienungsanleitung enthält ausschließlich die ergänzenden Technischen Daten der Schnittstellen. Weitere technische Daten sind der Bedienungsanleitung 2772082 zu entnehmen. RS-232 - Schnittstelle (Tico 774) Auch als EIA-232 bezeichnet, ist ein Standard für eine serielle Schnittstelle. Steckeranschluß am Zähler: Micro Fit 3.0 von Molex, 3-polig Datenkabel: Buchse Micro Fit 3.0 auf 9-pol.- D-Sub-Stecker (Kabel nach S/UTP CAT-5) Kabellänge: max.
9 Bestellangaben 9 Bestellangaben Anzeige Relais LCD reflektiv LCD reflektiv LCD transflektiv positiv LCD transflektiv positiv LCD transmissiv weiss LCD transmissiv weiss LCD transmissiv rot LCD transmissiv rot LCD transmissiv grün LCD transmissiv grün 1 2 1 2 1 2 1 2 1 2 Anzeige LCD reflektiv LCD reflektiv LCD transflektiv positiv LCD transflektiv positiv LCD transmissiv weiss LCD transmissiv weiss LCD transmissiv rot LCD transmissiv rot Relais 1 2 1 2 1 2 1 2 USB 12 - 30 VDC USB 100 - 240 VAC 0
10 Zubehör 10 Zubehör Zubehör USB-Kabel, ASS 3953 CA / 1,5 m 3 539 835 „USB-Stick 2.0 - 2GB (Beinhaltet die Software für den Programmierassistenten)“ 3 539 839 Kabel RS232 3m 1 774 001 Kabel RS232 5m 1 774 002 Kabel RS232 10m 1 774 003 Kabel RS232 15m 1 774 004 28 p1_tico_773_2773001_Betriebsanweisung_06062011_de_en.indb 28 02.02.
p1_tico_773_2773001_Betriebsanweisung_06062011_de_en.indb 29 29 02.02.
Version: 1 211211 AK1 Hengstler GmbH | Uhlandstr. 49 | 78554 Aldingen Telefon +49 (0) 7424-890 | info@hengstler.com www.hengstler.com p1_tico_773_2773001_Betriebsanweisung_06062011_de_en.indb 30 02.02.
English Supplementary information relating to the users‘ manual Interfaces USB/RS232 Sach-Nr. 2 773 001 deutsch + english; 05/2011, Deutsch Originalsprache p1_tico_773_2773001_Betriebsanweisung_06062011_de_en.indb 1 02.02.
II p1_tico_773_2773001_Betriebsanweisung_06062011_de_en.indb 2 02.02.
Contents 1 General 4 1.1 Information about the operating instructions 1.2 Explanation of symbols 2 Security 6 2.1 Security 2.2 Proper use of the interfaces 3 Connection 7 4 Setting the additional function codes 8 5 Programming assistant 10 5.1 General 5.2 Installing the programming assistant 5.3 Connecting the counter 6 Configuring with the programming assistant 15 6.1 Writing and reading configuration data 6.2 Configuring via USB stick 6.3 Text messages 7 Communication interface 7.
1 General 1 General 1.1 Information about the operating instructions These operating instructions are intended to supplement the operating instructions 2772083 for 0773xxx and 0774xxx counters, and describe the additional functions of the USB and RS232 interfaces. They contain important information for working with the multifunctional counter. Operating instructions 2772083 form an integral part of these operating instructions and must be observed in full.
1 General Warning! Indicates a possibly dangerous situation that can result in death or severe injury if not avoided. Caution! Indicates a possibly dangerous situation that can result in minor injury if not avoided. Note! Indicates a possibly dangerous situation that can result in property or environmental damage if not avoided. Tips and recommendations Highlights useful tips and recommendation, together with information for efficient, troublefree operation.
2 Security 2 Security 2.1 Security Operating instructions 2772083 form an integral part of these operating instructions and must be observed in full. They contain safety warnings and procedural instructions for the multifunction counter. These operating instructions address additional security aspects relating to the USB and RS232 interfaces. Ignoring the procedural instructions and safety information in these instructions could produce extremely dangerous situations.
3 Connection 3 Connection If both USB connectors on the counter are occupied, the host (USB cable) takes precedence. The drive (USB stick) is automatically deactivated in such cases. (factory setting) p1_tico_773_2773001_Betriebsanweisung_06062011_de_en.indb 7 7 02.02.
4 Setting the additional function codes 4 Setting the additional function codes These function codes apply for all basic functions, over and above the operating instructions 2772083. The factory setting is compulsory when using the USB stick and/or working with the programming assistant. Programming mode Change function settings: + Keep pressed and turn on the voltage at the same time Alternative display of function codes Save, move to next function: Return to display mode: press press o.
4 Setting the additional function codes Function code F24, Display, row 1: Function No. Display, row 2 Baud rate interface 0 1200 1 2400 2 4800 3 9600 4 19200 5* 38400 Function code F25, Display, row 1: Parity 0 none 1* even 2 odd Function code F26, Display, row 1: Stop bit 0 1 Stop bit 1* 2 Stop bits p1_tico_773_2773001_Betriebsanweisung_06062011_de_en.indb 9 9 02.02.
5 Programming assistant 5 Programming assistant 5.1 Programming assistant, general Having decided to buy a tico counter with interface, you now have the option of using our programming assistant to quickly program the counter. You can download the assistant free of charge from our home page at www.hengstler.com or www.tico-counter.com. You must install Microsoft .Net Frame Work 3.5 before you can use the programming assistant. The needed files are part of the installation file.
5 Programming assistant 5.2 Installing the programming assistant When you start installing the program, it will first check whether you have installed .Net Framework. If not, you will see the following message: To install . Net Framework please accept the license terms. Once you have read through the terms carefully, please click on Accept. .Net Framework is then installed automatically, you do not need to do anything else.
5 Programming assistant Use the “Browse...” button to select the installation path. Once you are happy with the installation path, click “Next”. You will be asked again if you really want to install the program; confirm by clicking “Next” again to start the installation. 12 p1_tico_773_2773001_Betriebsanweisung_06062011_de_en.indb 12 02.02.
5 Programming assistant Installation has been successfully completed if you see this window. You can now connect your counter and start programming. 5.3 Counter connection Once you have installed the programming assistant, you can connect the counter to the computer for installation purposes. The following window should appear about 10 seconds after connecting the counter by USB. Click “Yes, just this once” and then “Next” to start driver installation.
5 Programming assistant Then click “Automatically install software (recommended)”, followed by “Next”. The necessary drivers will then be installed. 14 p1_tico_773_2773001_Betriebsanweisung_06062011_de_en.indb 14 02.02.
6 Configuring with the programming assistant Installation is complete; you can click “Finish” and start setting your counter with the aid of the programming assistant. 6 Configuring with the programming assistant 6.1 Writing and reading configuration data The counter can be programmed straight from a computer using the programming assistant. The counter must be connected to the computer. Click the button “Begin transfer” in the File/Transfer menu to transfer the configuration data to the counter.
6 Configuring with the programming assistant 6.2 Configuring via USB stick The USB stick can contain one global file or any number of individual configuration files. Any counter can be programmed with a global configuration file, whereas single files can only be used for the counter with the matching serial number. The files must be stored in the “tico” folder on the stick.
6 Configuring with the programming assistant USB noFILE No file found Neither a global nor single configuration file has been found. The configuration process has been aborted. The display returns to standard view after a couple of seconds. USB GLObAL Global configuration file found A global configuration file has been found. Press “E” to confirm and start the configuration process. Press any other key to abort the process.
6 Configuring with the programming assistant rESEt E2 Error 2: Drive was removed during the configuration process The USB drive was removed during configuration. The process is aborted. The counter must be restarted to reset any possible errors in the configuration. This is shown by the message “rESEt” on the display. Press any key on the counter to restart it. In order to reconfigure the counter, remove the USB drive and insert again.
7 Communication interface 7 Communication interface 7.1 Definition of the communication interface Generic Interface for tico 77x General: Explanation of the term “Generic Interface” The generic interface provides basic functions for reading/writing counter values and function settings to/from the counter. An ASCII protocol is used for communication, but other, higher protocols can be set. This documentation describes the functionality of the generic interface between the counter and the interface PCB.
7 Communication interface 7.2 Overview of generic interface functions: Basic functions: 1. Read / write the basic counter functions 2. Read / write the function codes 3. Read / write the USER monolayer times Read / write values: 1. Read / write the preset values 2. Read / write the prescaler value 3. Read / write the counter values 4. Read the tachometer value Special functions: 1. Reset the counting values 2. Reset the counter 3. Activate/deactivate status reports (changes in preset status) 4.
7 Communication interface UT2 R/W 000.01 to 599.99 Output user monolayer time 2 UT3 R/W 000.01 to 599.99 Output user monolayer time 3 PR0 R/W -999999 .. .999999 Value for preselect 0 PR1 R/W -999999 .. .999999 Value for preselect 1 PR2 R/W -999999 .. .999999 Value for preselect 2 PSC R/W 000001 .. 999999 Prescaler value CNT R/W -999999 .. 999999 Counting value TAV R -999999 .. 999999 Tachometer value TOT R/W 000000 .. 999999 Totalizer BAT R/W 000000 ..
7 Communication interface CSE F Checksum enable CSD F Checksum disable BLI R/W 0 .. 15 Brightness setting for display illumination REM W 0 .. 99 Function for display access WFK W 0 .. 99 Wait for key to be pressed by operator D00 W 0 .. 255 Delete display when accessing display D01-D15 W 0 .. 255 Write sample to display R = Read W = Write F = Function 22 p1_tico_773_2773001_Betriebsanweisung_06062011_de_en.indb 22 02.02.
7 Communication interface 7.4 Syntax for read, write and function commands Syntax for read commands: The commands are comprised of the command name (3 characters) followed by a space and the code for read (“R”). The command ends with CR (0Dh). (0Dh) C M D R CR The counter responds by repeating the command name and indicates the return value, separated by a space.
7 Communication interface Command error: C M D E R CR Syntax for function commands: Function commands are commands for calling up functions within the counter, without reading or writing values. C M D CR Response: Command has been executed: C M D O K CR E R CR Command error: C M D 7.5 Sequence for setting and altering Sequence for setting values Some values / settings can be transferred whenever you like, others require adherence to a specific sequence. 1.
7 Communication interface 3. Initially, all values are altered only in the working memory. Once the values have been transferred, they must be saved to the EEPROM using the STV command. Changes to function codes do not become effective until the counter has been restarted/reset (“RST”).
7 Communication interface 8 Technical data These operating instructions only contain the supplementary technical data for the interfaces. Further technical data can be found in the operating instructions 2772083. RS-232 interface (Tico 774) Also known as EIA-232, it is one of the standards for serial interfaces. Socket on the counter: Micro Fit 3.0 from Molex, 3-pin Data cable: Micro Fit 3.0 socket to 9-pin D-Sub connector (S/UTP CAT-5 cable) Cable length: max.15 m Baud rate: 38.
8 Technical data 9 Ordering information Display Relay USB 12 - 30 VDC USB 100 - 240 VAC 0 773 141 0 773 142 0 773 241 0 773 242 0 773 341 0 773 342 0 773 441 0 773 442 0 733 541 0 773 542 RS232 100 - 240 VAC 0 774 141 0 774 142 0 774 241 0 774 242 0 774 341 0 774 342 0 774 441 0 774 442 0 774 541 0 774 542 LCD reflective LCD reflective LCD transflective positive LCD transflective positive LCD transmissive white LCD transmissive white LCD transmissive red LCD transmissive red LCD transmissive green LCD
9 Ordering information 10 Accessories Accessories USB cable, ASS 3953 CA / 1.5 m 3 539 835 "USB stick 2.0 - 2GB (includes the software for the programming assistant)" 3 539 839 Cable RS232 3m 1 774 001 Cable RS232 5m 1 774 002 Cable RS232 10m 1 774 003 Cable RS232 15m 1 774 004 28 p1_tico_773_2773001_Betriebsanweisung_06062011_de_en.indb 28 02.02.
p1_tico_773_2773001_Betriebsanweisung_06062011_de_en.indb 29 10 Accessories 29 02.02.
Version: 1 211211 AK1 Hengstler GmbH | Uhlandstr. 49 | D - 78554 Aldingen Tel.: +49 (0) 7424-890 | info@hengstler.com www.hengstler.com p1_tico_773_2773001_Betriebsanweisung_06062011_de_en.indb 30 02.02.