Beruflich Dokumente
Kultur Dokumente
Manual
CD-ROM included
721876
DEENESFR
© Festo Didactic GmbH & Co. KG, 73770 Denkendorf, Germany, 2008
Internet: www.festo-didactic.com
e-mail: did@de.festo.com
Hinweis
Soweit in dieser Broschüre nur von Lehrer, Schüler etc. die Rede ist,
sind selbstverständlich auch Lehrerinnen, Schülerinnen etc. gemeint.
Die Verwendung nur einer Geschlechtsform soll keine
geschlechtsspezifische Benachteiligung sein, sondern dient nur der
besseren Lesbarkeit und dem besseren Verständnis der
Formulierungen.
English _______________________________________________ 87
Español ______________________________________________ 171
Français ______________________________________________ 255
1. Einleitung __________________________________________ 5
1.1 Überblick zu EasyPort USB ____________________________ 5
1.2 Wichtige Hinweise __________________________________ 11
1.3 Verpflichtung des Betreibers __________________________ 12
1.4 Verpflichtung der Auszubildenden _____________________ 12
1.5 Gefahren im Umgang mit dem Prozessinterface EasyPort ___ 12
1.6 Gewährleistung und Haftung __________________________ 13
1.7 Bestimmungsgemäße Verwendung ____________________ 13
2. Sicherheitshinweise _________________________________ 14
4. Transport/Auspacken/Lieferumfang ____________________ 21
6. Inbetriebnahme ____________________________________ 29
In all diesen Anwendungen verbindet EasyPort USB die reale Welt mit
der virtuellen Welt des PC.
Maximal 4 EasyPort USB Module können über einen USB Hub oder über
4 USB-Anschlüsse an einem PC zusammengeschaltet werden. Dabei ist
darauf zu achten, dass die Adressen der Module unterschiedlich sind.
USB-Hub
PORT 3 USB RS 232 24V 0V PORT 3 USB RS 232 24V 0V PORT 3 USB RS 232 24V 0V PORT 3 USB RS 232 24V 0V
IN IN IN IN
Für den Austausch der Prozesssignale zwischen EasyPort USB und der
PC-Software steht der OPC-Server EzOPC oder das ActiveX
Steuerelement von EasyPort USB zur Verfügung.
Software, eingesetzt zur Software, eingesetzt zur Software, eingesetzt Software, eingesetzt
Steuerung von Simulation von zur zur Regelung:
Prozessen: Prozessen: Messwerterfassung:
Das EasyPort USB ist die Das EasyPort USB ist die Das EasyPort USB ist Das EasyPort USB ist
Schnittstelle zwischen Schnittstelle zwischen die Schnittstelle die Schnittstelle
PC und realem Prozess. PC und SPS. zwischen PC und zwischen PC und
Vom PC aus wird der Die SPS steuert den realen Sensoren. realer Regelstrecke.
Prozess gesteuert. simulierten Prozess auf
dem PC.
Das komplette Handbuch Kapitel 1 bis 10 finden Sie als PDF-Datei auf
der mitgelieferten CD-ROM.
Darüber hinaus sind die für den Einsatzort geltenden Regeln und
Vorschriften zur Unfallverhütung zu beachten.
1.3 Der Betreiber verpflichtet sich, nur Personen mit dem Prozessinterface
Verpflichtung des EasyPort USB arbeiten zu lassen, die:
Betreibers mit den grundlegenden Vorschriften über Arbeitssicherheit und
Unfallverhütung vertraut und in die Handhabung des EasyPort USB
eingewiesen sind,
das Sicherheitskapitel und die Warnhinweise in diesem Handbuch
gelesen und verstanden haben.
1.4 Alle Personen, die mit Arbeiten am EasyPort USB beauftragt sind,
Verpflichtung der verpflichten sich, vor Arbeitsbeginn:
Auszubildenden das Sicherheitskapitel und die Warnhinweise in diesem Handbuch
zu lesen,
die grundlegenden Vorschriften über Arbeitssicherheit und
Unfallverhütung zu beachten.
1.5 Das Prozessinterface EasyPort USB ist nach dem Stand der Technik und
Gefahren im Umgang mit den anerkannten sicherheitstechnischen Regeln gebaut. Dennoch
dem Prozessinterface können bei seiner Verwendung Gefahren für Leib und Leben des
EasyPort Benutzers oder Dritter bzw. Beeinträchtigungen an der Maschine oder
an anderen Sachwerten entstehen.
1.7 Das Prozessinterface EasyPort USB ist ausschließlich für die Aus- und
Bestimmungsgemäße Weiterbildung im Bereich Automatisierung und Technik entwickelt und
Verwendung hergestellt. Das Ausbildungsunternehmen und/oder die Ausbildenden
hat/haben dafür Sorge zu tragen, dass die Auszubildenden die
Sicherheitsvorkehrungen, die in den begleitenden Handbüchern
beschrieben sind, beachten.
Leistungsaufnahme 3 VA
Kurzschlussschutz Ja
Hysterese der 3V
Digitaleingänge
Filter 5 ms
Schutzart IP20
Gewicht in kg 0,65
3.2 Je 8 digitale Ein- und Ausgänge sind bei EasyPort USB auf eine SysLink-
SysLink-Schnittstelle Steckbuchse 24-polig nach IEEE 488 verdrahtet. Zusätzlich kann der
für digitale Daten Eingang 0 bei Port 1 und Port 2 als schneller Zähleingang genutzt
werden. Die Zähleingänge können mit Spannungspegeln von 5…24 VDC
betrieben werden.
OUTPUT 0 1 OUTPUT 0 1
OUTPUT 1 2 OUTPUT 1 2
OUTPUT 2 3 OUTPUT 2 3
OUTPUT 3 4 OUTPUT 3 4
OUTPUT 4 5 OUTPUT 4 5
OUTPUT 5 6 OUTPUT 5 6
OUTPUT 6 7 OUTPUT 6 7
OUTPUT 7 8 OUTPUT 7 8
INPUT 0 13 INPUT 0 13
INPUT 1 14 INPUT 1 14
INPUT 2 15 INPUT 2 15
INPUT 3 16 INPUT 3 16
INPUT 4 17 INPUT 4 17
INPUT 5 18 INPUT 5 18
INPUT 6 19 INPUT 6 19
INPUT 7 20 INPUT 7 20
3.3 Die 4 analogen Eingänge und 2 analogen Ausgänge von EasyPort USB
Sub D Buchse für sind auf eine 15-polige Sub D-Buchse verdrahtet. Die Analog-Digital-
analoge Daten Umwandlung erfolgt mit einer Auflösung von 12 Bit. Die Abtastfrequenz
beträgt 0,5 kHz.
Port 3 PIN
OUTPUT 0 1
OUTPUT 1 2
0V 3
(frei) 4
(frei) 5
0V 6
INPUT 1 7
INPUT 2 8
(frei) 9
(frei) 10
(frei) 12
(frei) 13
INPUT 3 14
INPUT 4 15
3.4 Der Datenaustausch mit dem PC geschieht entweder über die serielle
Datenschnittstellen RS232- oder über die USB-Schnittstelle von EasyPort USB. Die
zum PC Übertragungsgeschwindigkeit beträgt 115,2 kBaud.
RS232 = PIN
Anschluss Sub D 9-polig, Buchse
(frei) 1
(frei) 4
Signal-Masse SGnd 5
(frei) 6
(frei) 7
(frei) 8
(frei) 9
USB Schnittstelle
EasyPort USB ist mit einer galvanisch getrennten USB 2.0-Schnittstelle
ausgestattet. Maximal 4 EasyPort USB-Module können über einen USB
Hub zusammengeschaltet werden. Dabei ist darauf zu achten, dass die
Adressen der EasyPort-Module unterschiedlich sind. Erlaubt sind die
Adressen 1 bis 4.
Für den Anschluss von EasyPort USB an den USB-Port des PC bzw. eines
Hub verwenden Sie beigelegtes USB-Kabel A-B.
3.5 Die 24 VDC Stromversorgung für EasyPort USB wird extern zugeführt.
Stromversorgung Sie kann entweder über die Ports 1 und 2 oder über zwei getrennte
Schraubklemmen, die an der Rückseite von EasyPort USB angebracht
sind, erfolgen. Zwei Kabel mit 4 mm Sicherheitsstecker sind beigelegt.
Transport
Das Prozessinterface EasyPort USB wird in einem Karton geliefert.
Auspacken
Nach dem Auspacken das Prozessinterface EasyPort USB auf mögliche
Beschädigungen überprüfen. Beschädigungen sind unverzüglich dem
Spediteur und Festo Didactic zu melden.
Lieferumfang
Im Lieferumfang sind folgende Komponenten enthalten:
Prozessinterface EasyPort USB
24 VDC Anschlussleitungen auf 4 mm Sicherheitsstecker
USB-Kabel
CD-ROM mit Software und Dokumentation:
Prozesssimulation EasyVeep, Software EzOPC, USB-Treiber, ActiveX-
Steuerelement als Programmierschnittstelle zu EasyPort USB mit
Online-Hilfe und Programmbeispielen
Handbuch EasyPort USB
5.1
Aufbau von
EasyPort USB
EasyPort USB
Error Status
IN
OUT
0 7 0 7
PORT 1 PORT 2
LCD Anzeige
In der ersten Zeile werden die Ein- bzw. Ausgangsspannungen des
ausgewählten Analogsignals als Wert und zusätzlich als
Balkendiagramm angezeigt.
In der zweiten Zeile werden die Kanalnummer und die Richtung des
Signals dargestellt.
Es bedeuten: In = Eingangssignal, Out = Ausgangssignal.
LED IN 0...7
Zustandsanzeige der digitalen Eingänge durch grüne LEDs
LED OUT 0...7
Zustandsanzeige der digitalen Ausgänge durch gelbe LEDs
Tasten
Über die Taste wird der in der LCD Anzeige dargestellte
Analogkanal ausgewählt.
Als Kanalnummer Ch für Eingangssignal ist möglich: 0…3.
Als Kanalnummer Ch für Ausgangssignal ist möglich: 0…1.
Mit der Taste können verschiedene physikalische Einheiten
ausgewählt werden. Angeboten werden: V, bar, PSI, MPa, l/min, °C.
Durch gleichzeitiges Drücken der beiden Pfeiltasten wird die
Adresseinstellung aktiviert.
5.3 Durch den Adapter mit der Bestell-Nr. 549806 kann das EasyPort USB
Befestigen von Modul direkt auf einer Profilplatte befestigt werden.
EasyPort USB Der Adapter wird über drei M4 Schrauben am Boden des EasyPort USB
Moduls befestigt.
Kabel für das Verbinden von EasyPort USB mit PC und Prozess
Hinweis
Die 24 VDC Stromversorgung für EasyPort USB wird extern zugeführt.
Sie kann entweder über die Ports 1 und 2 oder über zwei getrennte
Schraubklemmen, die an der Rückseite von EasyPort USB angebracht
sind, erfolgen.
Achten Sie darauf, dass Sie nur von einer Seite Versorgungsspannung
anlegen.
5.5 Die Adresse des EasyPort USB wird über die beiden Pfeiltasten
Einstellen der Adresse eingestellt. Sie aktivieren den Modus Adresseinstellung durch
am EasyPort USB gleichzeitiges Drücken der beiden Tasten. Mit und wählen Sie eine
Adresse von 1 bis 4. Durch gleichzeitiges Drücken beider Tasten wird
die Adresse gespeichert und der Adressmodus verlassen.
Werkseitig voreingestellt ist die Adresse 1 für jedes EasyPort USB
Prozessinterface.
EasyPort USB
Error Status
IN
OUT
0 7 0 7
PORT 1 PORT 2
Hilfreich ist
die EasyPort Demo-Anwendung, um einfach und schnell eine
Verbindung zum EasyPort USB herzustellen
eine Simulationsbox, um ohne großen Aufwand Prozesssignale für
EasyPort USB zu erzeugen
Vorgehen
1. Schließen Sie EasyPort USB an eine externe 24 VDC
Stromversorgung an. Nutzen Sie dazu die beigelegten 24 VDC
Anschlussleitungen mit den 4 mm Sicherheitssteckern.
2. Schalten Sie die Stromversorgung des EasyPort USB ein.
‟ Die rote LED ERROR leuchtet kurz auf. Sie wird im Laufe des
Einschalttests gelöscht.
‟ Die grüne LED STATUS blinkt mit einer Frequenz von 1 Hz.
Das bedeutet: das EasyPort USB kommuniziert noch nicht.
3. Nach dem Einschalttest ist EasyPort USB betriebsbereit und wartet
auf die Initialisierung durch den PC. Dabei wird die über die
Pfeiltasten eingestellte Adresse verwendet.
4. Überprüfen Sie die Adresse des EasyPort USB.
‟ Aktivieren Sie dazu den Modus Adresseinstellung durch
gleichzeitiges Drücken der beiden Pfeiltasten.
‟ Stellen Sie mit den Pfeiltasten eine Adresse von 1 bis 4 ein.
‟ Verlassen Sie den Adressmodus durch gleichzeitiges Drücken
der beiden Pfeiltasten.
5. Verbinden Sie den PC mit dem EasyPort USB. Verwenden Sie dazu
das beigelegte USB-Kabel.
10. Die erforderlichen USB-Treiber für den Betrieb von EasyPort USB
sind nun auf Ihrem PC installiert. Damit können Sie EasyPort USB in
Verbindung mit Ihrem PC nutzen.
11. Mit der EasyPort Demo-Anwendung können Sie auf einfache Weise
eine Verbindung zu EasyPort USB herstellen und EasyPort USB
initialisieren.
12. Starten Sie dazu die EasyPort Demo-Anwendung. Sie finden die
Demo-Anwendung im Startmenü in der Programmgruppe EasyPort
unter dem Eintrag EasyPort Demo-Anwendung.
Mit der Installation des EasyPort ActiveX Steuerelementes von der
EasyPort CD-ROM wird die Demo-Anwendung auf Ihren PC kopiert.
15. An der grünen LED STATUS des EasyPort USB erkennen Sie, dass
EasyPort USB korrekt initialisiert wurde: Die LED STATUS blinkt zwei
Mal kurzzeitig und zeigt so die Adresse 2 des EasyPort USB an.
Hinweis
Bei Verwendung von Fremd-Software mit eigenen USB-Treibern
muss sichergestellt sein, dass noch mindestens eine serielle
Schnittstelle für den EasyPort USB-Treiber frei ist.
Wenn der PC, zu dem die USB-Verbindung von EasyPort besteht,
ausgeschaltet wird, sollte auch das USB-Kabel abgezogen werden.
Erst nach Neustart des PC und des Softwareprogramms, das mit
EasyPort USB kommunizieren soll, das USB-Kabel wieder
einstecken.
7.1 Die Übertragung der Daten von und zu einem EasyPort USB
Überblick: Prozessinterface erfolgt durch einzelne, adressierte Schreib- und
Kommunikation Lesebefehle.
mit EasyPort USB
Die Daten können von jedem OPC 2.x konformen OPC Client
geschrieben und gelesen werden.
OPC steht für open connectivity via open standards und ist eine
etablierte Standardschnittstelle in der Automatisierungstechnik. Sie
sorgt für einen effizienten Datenfluss zwischen Windows-Applikationen
und Automatisierungsgeräten.
Softwareschnittstelle: EzOPC
Beispielkonfiguration: Prozessmodelle in CIROS werden von einer externen SPS gesteuert. Der
Datenaustausch geschieht über EasyPort und EzOPC.
Die virtuelle Steuerung ist das „Herz“ des EzOPC. Sie stellt das virtuelle
Klemmbrett dar, das den Signalbereich des einen
Kommunikationspartners mit dem Signalbereich des anderen
Kommunikationspartners verbindet.
8.3 Die EasyPort Demo-Anwendung ist ein Programmbeispiel und zeigt, wie
Beispiel: Sie das ActiveX Steuerelement in C++ verwenden. Mit der Demo-
EasyPort Demo- Anwendung können Sie auf einfache Weise einige zentrale Methoden
Anwendung des ActiveX Steuerelementes ausführen und die Kommunikation
zwischen PC und EasyPort USB beobachten.
Auf Quellcode-Ebene zeigt das Beispiel, wie das ActiveX Steuerelement
von EasyPort in C++ eingebunden werden kann.
EasyPort Demo-Anwendung
10. Umgekehrt können Sie auch den Zustand der digitalen Ausgänge am
EasyPort USB einlesen. Klicken Sie dazu auf die Schaltfläche
GetOutputWord. Der Wert des Ausgangswortes 0 beträgt 15 und
wird links neben der Methode angezeigt.
14. Wollen Sie die Verbindung zu EasyPort USB beenden, dann klicken
Sie auf die Schaltfläche Disconnect.
Hinweis
Mit der EasyPort Demo-Anwendung können Sie schnell und komfortabel
die Verbindung zu einem EasyPort USB herstellen und testen.
Softwareschnittstelle: Befehlsinterpreter
Für einige ältere Befehle ist die Angabe der Adresse des EasyPort USB
Moduls erforderlich, bei jüngeren Befehlen entfällt sie.
9.2 Es gibt zwei zentrale Befehle zum Lesen und Schreiben von
Befehlsstruktur Betriebsmitteln
• Display-Befehl (D) zum Lesen eines Betriebsmittels
• Modify-Befehl (M) zum Ändern eines Betriebsmittels
Ein Wort besteht aus Byte 0 und 1 und enthält die Bitadressen 0 bis 15.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Byte 1 Byte 0
(Port 2) (Port 1)
Wort 0
D E 1. 0. 5
Befehl Beschreibung
Nachfolgend sind einige Beispiele für Befehle und Antworten auf diese
Befehle aufgeführt. Mit dargestellt in diesen Beispielen ist auch das
Carriage Return Zeichen <CR>.
9.4 Neben den Befehlen zum Lesen und Schreiben von Signalen gibt es
Befehle zur weitere Befehle, die vor allem für Inbetriebnahme und Diagnose
Initialisierung und eingesetzt werden.
Diagnose
Dazu gehören die Befehle
Abfragen der Adresse eines EasyPort USB Moduls
Abfragen der Versionsnummer eines EasyPort USB Moduls
Auslesen des Statuswortes eines EasyPort USB Moduls
Das EasyPort USB Modul gibt mit setup<n>, <n>=1…4, seine Moduladresse
zurück.
Beispiel
Das EasyPort USB Modul gibt mit V=2.10 seine Version zurück.
Das Statuswort eines EasyPort USB Moduls wird als hexadezimaler Wert
xx zurückgegeben.
Es bedeuten
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Display Up Down Out- In- Setup Error
Beispiel
9.5 In den nachfolgenden Tabellen sind die Befehle zum Lesen und
Befehle für Schreiben von digitalen Signalen zusammengestellt.
digitale Signale
W (Wort) 0 MAW1.0=101
Modify Ausgangswort 0 in EasyPort USB
Modul 1 auf 101 hexadezimal bzw. 257
dezimal.
DE2.0.E
Display Eingangsbit 14 von Wort 0 in
EasyPort USB Modul 2
DEB3.0.1
Display Eingangsbyte 1 von Wort 0 in
EasyPort USB Modul 3
W (Wort) 0 DEW1.0
Display Eingangswort 0 von EasyPort USB
Modul 1
DA4.0.C
Display Ausgangsbit 12 von Wort 0 in
EasyPort USB Modul 4
DAB2.0.1
Display Ausgangsbyte 1 von Wort 0 in
Modul 2
W (Wort) 0 DAW3.0
Display Ausgangswort 0 in EasyPort USB
Modul 3
Neben den Befehlen zum Lesen und Schreiben von digitalen Signalen
gibt es weitere Befehle, um das Verhalten eines EasyPort USB Moduls
zu steuern.
Ist der Ereignismodus aktiv, dann meldet das EasyPort USB Modul
selbständig geänderte digitale Eingangsdaten zum PC. Die Zeit, in der
eine Eingangsänderung frühestens gemeldet wird, ist einstellbar.
MT2=00
Der Ereignismodus für EasyPort USB Modul 2 wird
beendet. Eingangssignale werden nur noch auf
Anforderung an den PC gemeldet.
0V 5V 10 V
-10 V 0V +10 V
Befehl Beschreibung
Am EasyPort USB Modul mit der Adresse <n>, <n>=1…4, wird der Messbereich für die
analogen Eingänge auf 0…10 V gesetzt.
Dieser Messbereich ist nach Initialisierung eines EasyPort USB Moduls automatisch
voreingestellt.
Am EasyPort USB Modul mit der Adresse <n>, <n>=1…4, wird der Messbereich für die
analogen Eingänge auf ‟10…+10 V gesetzt.
Beispiel
MRE2=1
Am EasyPort USB Modul mit der Adresse 2 den Spannungsbereich für die analogen
Eingänge auf ‟10…+10 V setzen.
Befehl Beschreibung
Am EasyPort USB Modul mit der Adresse <n>, <n>=1…4, wird der Messbereich für die
analogen Ausgänge auf 0…10 V gesetzt.
Dieser Messbereich ist nach Initialisierung eines EasyPort USB Moduls automatisch
voreingestellt.
Am EasyPort USB Modul mit der Adresse <n>, <n>=1…4, wird der Messbereich für die
analogen Ausgänge auf ‟10…+10 V gesetzt.
0 X X X X X X X X X X X X 0 0 0
12-Bit-Analogeingang
Beispiel
DEW1.2
Am EasyPort USB Modul mit Adresse 1 den Eingangskanal
0 einlesen.
Beispiel
DAW3.4
Ausgangskanal 1 von EasyPort USB Modul mit Adresse 3
einlesen.
0 X X X X X X X X X X X X 0 0 0
12-Bit-Analogausgang
Befehl Beschreibung
Beispiel
MAW1.2=2AC5
Am EasyPort USB Modul mit Adresse 1 als Spannungswert am Ausgangskanal
0 den Wert 2AC5 hexadezimal bzw. 10949 dezimal ausgeben.
Befehl Beschreibung
Am LCD Display des EasyPort USB Moduls mit der Adresse <n>, <n>=1…4, werden die
Messwerte des analogen Eingangskanals 0 angezeigt.
Am LCD Display des EasyPort USB Moduls mit der Adresse <n>, <n>=1…4, werden die
Messwerte des analogen Eingangskanals 1 angezeigt.
Am LCD Display des EasyPort USB Moduls mit der Adresse <n>, <n>=1…4, werden die
Messwerte des analogen Eingangskanals 2 angezeigt.
Am LCD Display des EasyPort USB Moduls mit der Adresse <n>, <n>=1…4, werden die
Messwerte des analogen Eingangskanals 3 angezeigt.
Am LCD Display des EasyPort USB Moduls mit der Adresse <n>, <n>=1…4, werden die
Messwerte des analogen Ausgangskanals 0 angezeigt.
Am LCD Display des EasyPort USB Moduls mit der Adresse <n>, <n>=1…4, werden die
Messwerte des analogen Ausgangskanals 1 angezeigt.
Am LCD Display des EasyPort USB Moduls mit der Adresse <n>, <n>=1…4, werden wieder
die Messwerte des analogen Kanals angezeigt, der mit den Pfeiltasten direkt am EasyPort
USB eingestellt wird.
Befehl Beschreibung
Am EasyPort USB Modul mit der Adresse <n>, <n>=1…4, den analogen Eingangskanal 0
für das automatische Senden von Eingangswerten aktivieren.
Am EasyPort USB Modul mit der Adresse <n>, <n>=1…4, den analogen Eingangskanal 1
für das automatische Senden von Eingangswerten aktivieren.
Am EasyPort USB Modul mit der Adresse <n>, <n>=1…4, den analogen Eingangskanal 2
für das automatische Senden von Eingangswerten aktivieren.
Am EasyPort USB Modul mit der Adresse <n>, <n>=1…4, den analogen Eingangskanal 3
für das automatische Senden von Eingangswerten aktivieren.
Am EasyPort USB Modul mit der Adresse <n>, <n>=1…4, die analogen Eingangskanäle
0…3 für das automatische Senden von Eingangswerten aktivieren.
Am EasyPort USB Modul mit der Adresse <n>, <n>=1…4, alle analogen Eingangskanäle
deaktivieren. Ein automatisches Ausgeben der Eingangswerte ist dann nicht mehr
möglich.
Für die Anzeige der analogen Messwerte auf dem LCD Display ist
standardmäßig die Einheit Volt eingestellt.
Für das Einstellen der physikalischen Einheit verwenden Sie den Befehl
MU.
Hinweis
Durch manuelle Eingabe der Einheit mit den Pfeiltasten direkt am
EasyPort USB wird die vom PC aus zugeordnete Einheit überschrieben.
Befehl Beschreibung
Am LCD Display des EasyPort USB Moduls mit der Adresse <n>, <n>=1…4, wird für den
analogen Eingangskanal 0 die Einheit xx angezeigt.
Es bedeutet:
xx=00: V
xx=01: bar
xx=02: PSI
xx=03: MPa
xx=04: l/min
xx=05: oC
Am LCD Display des EasyPort USB Moduls mit der Adresse <n>, <n>=1…4, wird für den
analogen Eingangskanal 1 die Einheit xx angezeigt.
Am LCD Display des EasyPort USB Moduls mit der Adresse <n>, <n>=1…4, wird für den
analogen Eingangskanal 2 die Einheit xx angezeigt.
Am LCD Display des EasyPort USB Moduls mit der Adresse <n>, <n>=1…4, wird für den
analogen Eingangskanal 3 die Einheit xx angezeigt.
Zuordnen einer physikalischen Einheit zur Darstellung auf dem LCD Display
Befehl Beschreibung
Am LCD Display des EasyPort USB Moduls mit der Adresse <n>, <n>=1…4, wird für
den analogen Ausgangskanal 0 die Einheit xx angezeigt.
Am LCD Display des EasyPort USB Moduls mit der Adresse <n>, <n>=1…4, wird für
den analogen Ausgangskanal 1 die Einheit xx angezeigt.
Zuordnen einer physikalischen Einheit zur Darstellung auf dem LCD Display (Fortsetzung)
V 10.0
bar 1.0
PSI 1.0
MPa 1.0
l/min 1.0
o
C 1.0
Beispiel
Sie nehmen die Werte eines pneumatischen Drucksensors auf. 10 V
entsprechen dabei 6 bar. Um die Messwerte am LCD Display in bar
verfolgen zu können, stellen Sie als Einheit bar ein. Als
Verstärkungsfaktor wählen Sie 6.
Befehl Beschreibung
Der am LCD Display des EasyPort USB Moduls mit der Adresse <n>, <n>=1…4,
dargestellte Messwert mit der Einheit Volt wird mit dem Faktor x.xx multipliziert.
Der am LCD Display des EasyPort USB Moduls mit der Adresse <n>, <n>=1…4,
dargestellte Messwert mit der Einheit bar wird mit dem Faktor x.xx multipliziert.
Der am LCD Display des EasyPort USB Moduls mit der Adresse <n>, <n>=1…4,
dargestellte Messwert mit der Einheit PSI wird mit dem Faktor x.xx multipliziert.
Der am LCD Display des EasyPort USB Moduls mit der Adresse <n>, <n>=1…4,
dargestellte Messwert mit der Einheit MPa wird mit dem Faktor x.xx multipliziert.
Der am LCD Display des EasyPort USB Moduls mit der Adresse <n>, <n>=1…4,
dargestellte Messwert mit der Einheit l/min wird mit dem Faktor x.xx multipliziert.
Der am LCD Display des EasyPort USB Moduls mit der Adresse <n>, <n>=1…4,
dargestellte Messwert mit der Einheit oC wird mit dem Faktor x.xx multipliziert.
9.8 Die beiden schnellen Zähler 0 und 1 von EasyPort USB können Sie mit
Befehle für zwei Befehlen ansprechen. Mit dem Befehl MC aktivieren und
schnellen Zähler deaktivieren Sie den Zähler, der Befehl DC liefert den aktuellen
Zählerstand des Zählers.
Als Zählimpuls werden ausgewertet:
für Zähler 0 das Eingangsbit 0 von Port 1,
für Zähler 1 das Eingangsbit 0 von Port 2.
Für das EasyPort USB Modul mit der Adresse <n>, <n>=1…4, wird
der schnelle Zähler mit der Nummer <m>, <m>=0,1 aktiviert.
Beispiel
MC1.0=1
Für das EasyPort USB Modul mit der Adresse 1 wird der Zähler
0 gestartet.
Für das EasyPort USB Modul mit der Adresse <n>, <n>=1…4, wird
der schnelle Zähler mit der Nummer <m>, <m>=0,1 deaktiviert.
Für das EasyPort USB Modul mit der Adresse <n>, <n>=1…4, wird
der Zählerstand des schnellen Zählers mit der Nummer <m>,
<m>=0,1 ausgegeben.
Beispiel
DC1.0<CR> C1.0=2AC5<CR>
Der Zählerstand von Zähler 0 des EasyPort USB Moduls mit der
Adresse 1 wird ausgelesen. Der Zählerstand beträgt 2AC5
hexadezimal bzw. 10949 dezimal.
Vorgehensweise
1. Verbinden Sie EasyPort USB mit dem PC.
2. Schalten Sie die Spannungsversorgung von EasyPort USB ein.
3. Starten Sie im Startmenü unter Systemeinstellungen den Eintrag
Systemsteuerung.
4. Wählen Sie den Eintrag System aus.
5. Es öffnet sich das Fenster Systemeigenschaften.
Klicken Sie im Register Hardware auf die Schaltfläche Geräte-
Manager.
6. Unter dem Eintrag Ports (COM & LPT) entnehmen Sie, dass als
serielle Schnittstelle für den USB-Anschluss COM5 verwendet wird.
8. Als erstes legen Sie eine neue Verbindung an. Bezeichnen Sie die
Verbindung mit EasyPort USB.
12. Im Register Settings klicken Sie auf die Schaltfläche ASCII Setup.
15. Führen Sie als erstes den Befehl setup0 aus. Mit diesem Befehl
initialisieren Sie das EasyPort USB Modul.
Befehle schließen Sie mit der ENTER-Taste ab.
16. Als Antwort erhalten Sie vom EasyPort USB Modul die Zeichenkette
setup1. Das bedeutet: am EasyPort USB Modul ist die Adresse 1
eingestellt.
Der Cursor springt auf die nächste Zeile.
17. Sie können nun weitere Befehle an das EasyPort USB Modul senden
und zum Beispiel den Status abfragen. Dazu senden Sie den Befehl
DS.
18. Die Antwort S=02 zeigt Ihnen, dass das EasyPort USB Modul korrekt
initialisiert wurde.
19. Wenn Ihnen eine Simulationsbox zur Verfügung steht, können Sie
Eingänge am EasyPort USB setzen und den Status dieser Eingänge
abfragen.
20. In unserem Fall liefert EasyPort USB als Zustand der digitalen
Eingänge den Wert 3 zurück. Es sind also die Eingänge 0 und 1 von
Port 1 gesetzt.
Auf der EasyPort CD-ROM sind noch weitere Beispiele zur Anwendung
des ActiveX Steuerelementes für Sie vorbereitet. Die Beispiele zeigen
exemplarisch, wie Sie das ActiveX Steuerelement in Excel, LabVIEW,
InTouch oder auch FluidSIM einbinden.
Sobald Sie die Beispiele installiert haben, finden Sie auch diese im
Startmenü in der Programmgruppe EasyPort.
English Chapters 7 through 10 are in the PDF file for the EasyPort USB manual
on the included CD ROM.
1. Introduction _______________________________________ 89
1.1 Overview of EasyPort USB ____________________________ 89
1.2 Important instructions _______________________________ 95
1.3 Obligations of the operating company __________________ 96
1.4 Obligations of the trainees ___________________________ 96
1.5 Dangers associated with the EasyPort process interface ____ 96
1.6 Guarantee and liability _______________________________ 97
1.7 Use for intended purpose ____________________________ 97
CD ROM contents
EasyVeep process model simulation
OPC server, EasyOPC
EasyPort USB manual
EasyVeep manual
USB drivers for EasyPort
EasyPort USB ActiveX control
Control examples
‟ Example with Excel
‟ Example with FluidSIM®
‟ Example with InTouch
‟ Example with LabVIEW
‟ Example with VC6
With all of these applications, EasyPort USB connects the actual world
to the virtual PC world.
The OPC server EzOPC, or EasyPort USB ActiveX control, can be used to
exchange process signals between the EasyPort USB and the PC
software.
Various software programs are also available for the virtual world.
Programs are available for:
Control
Regulation
Measured value recording
Visualisation
Software used for Software used for Software used for Software used for
controlling processes: simulating processes: recording measured regulation:
values:
‟ FluidSIM (digital only) ‟ EasyVeep ‟ FluidLab PA
‟ S7‟PLCSIM ‟ FluidSIM ‟ FluidLab PA ‟ FluidLab P as of
‟ CoDeSys Soft-SPS ‟ CIROS ‟ FluidLab P ersion 2.0
‟ FluidLab H
EasyPort USB interface: EasyPort USB interface: EasyPort USB EasyPort USB
interface: interface:
EasyPort USB can also be incorporated into your own applications. Use
EasyPort USB ActiveX control for this purpose. This can be programmed
in:
Visual Basic
C++
LabVIEW
InTouch
This manual includes the most important instructions for safe use of
EasyPort USB.
1.3 The operating company undertakes to allow only those persons to work
Obligations of the with EasyPort USB who:
operating company Are familiar with the basic regulations regarding work safety and
accident prevention and have been instructed in the use of EasyPort USB
Have read and understood the section concerning safety, as well as
the safety precautions
1.4 All persons who have been entrusted to work with EasyPort USB
Obligations of the undertake to complete the following steps before beginning work:
trainees Read the section concerning safety, as well as the safety
precautions in this manual
Familiarise themselves with basic regulations regarding work safety
and accident prevention
1.6 Our “general terms and conditions of sale and delivery” are always
Guarantee and liability applicable. These are made available to the operating company no later
than on conclusion of the sales contract. Guarantee and liability claims
resulting from personal injury and/or property damage are excluded if
they can be traced back to one or more of the following causes:
Use of EasyPort USB for other than its intended purpose
Improper commissioning and/or operation of EasyPort USB
Use of EasyPort USB with defective safety equipment, or with
improperly attached or non-functional safety and protective
equipment
Non-compliance with instructions included in the manual with
regard to commissioning and operation
Unauthorized modifications to EasyPort USB
Improperly executed repairs
Disasters resulting from the influence of foreign bodies and acts of God
Festo Didactic hereby excludes any and all liability for damages suffered
by trainees, the training company and/or any third parties, which occur
during use of EasyPort USB in situations which serve any purpose other
than training and/or vocational education, unless such damages have
been caused by Festo Didactic due to malicious intent or gross
negligence.
1.7 The EasyPort USB process interface has been developed and
Use for intended purpose manufactured exclusively for training and vocational education in the
fields of automation and technology. The respective training companies
and/or trainers must ensure that all trainees observe the safety
precautions which are described in the accompanying manuals.
Power consumption 3 VA
Filter 5 ms
Protection IP 20
Weight in kg 0,65
3.2 Each set of 8 digital inputs and outputs is connected to a SysLink 24-pin
SysLink interface socket connector at the EasyPort USB in accordance with IEEE 488. In
for digital data addition, input 0 at ports 1 and 2 can be used as high-speed counter
inputs. The counter inputs can be operated with voltage levels ranging
from 5 to 24 V DC.
OUTPUT 0 1 OUTPUT 0 1
OUTPUT 1 2 OUTPUT 1 2
OUTPUT 2 3 OUTPUT 2 3
OUTPUT 3 4 OUTPUT 3 4
OUTPUT 4 5 OUTPUT 4 5
OUTPUT 5 6 OUTPUT 5 6
OUTPUT 6 7 OUTPUT 6 7
OUTPUT 7 8 OUTPUT 7 8
INPUT 0 13 INPUT 0 13
INPUT 1 14 INPUT 1 14
INPUT 2 15 INPUT 2 15
INPUT 3 16 INPUT 3 16
INPUT 4 17 INPUT 4 17
INPUT 5 18 INPUT 5 18
INPUT 6 19 INPUT 6 19
INPUT 7 20 INPUT 7 20
0 V DC 11/12/ 0 V DC 11/12/
23/24 23/24
24 V DC 9/10/ 24 V DC 9/10/
21/22 21/22
3.3 The 4 analogue inputs and 2 analogue outputs at EasyPort USB are
Sub-D socket for connected to a 15-pin Sub-D socket. Analogue-digital conversion takes
analogue data place at a resolution of 12 bits. The sampling frequency is 0.5 kHz.
Port 3 Pin
OUTPUT 0 1
OUTPUT 1 2
0V 3
(unused) 4
(unused) 5
0V 6
INPUT 1 7
INPUT 2 8
(unused) 9
(unused) 10
+10 V DC ref. 11
(unused) 12
(unused) 13
INPUT 3 14
INPUT 4 15
3.4 Data is exchanged with the PC either via the RS 232 serial port or the
Data interfaces USB interface at EasyPort USB. Transmission speed is 115.2 kBaud.
to the PC
RS 232 = Pin
Connection, 9-pin Sub-D socket
(unused) 1
(unused) 4
(unused) 6
(unused) 7
(unused) 8
(unused) 9
USB port
EasyPort USB is equipped with an electrically isolated USB 2.0 port. Up
to 4 EasyPort USB modules can be connected to one other via a USB
hub. In this case, make sure that each EasyPort module has a different
address. Addresses 1 through 4 are permissible.
Use the included USB A-B cable to connect the EasyPort USB to the USB
port at the PC, or to a USB hub.
Transport
The EasyPort USB process interface is shipped in a carton.
Unpacking
Inspect the EasyPort USB process interface for possible damage after
unpacking. The freight forwarder and Festo Didactic must be notified
immediately of any damage.
Scope of delivery
The following components are included in the scope of delivery:
EasyPort USB process interface
24 V DC connection cables with 4 mm safety plugs
USB cable
CD ROM with software and documentation:
EasyVeep process simulation, EzOPC software, USB drivers, ActiveX
control as programming interface to EasyPort USB with online help
and sample programs
EasyPort USB manual
Check delivered items against the delivery note and your purchase
order.
5.1
Layout of the
EasyPort USB
EasyPort USB
Error Status
IN
OUT
0 7 0 7
PORT 1 PORT 2
The control panel at the EasyPort USB includes the following elements:
Error LED
The red error LED lights up if a short circuit is detected at one of the
outputs. The outputs at the EasyPort USB are then deactivated.
This LED also lights up briefly when the EasyPort USB is started up.
It goes out during the course of the start-up test.
Status LED
The green status LED indicates two states:
‟ Flashing at a frequency of 1 Hz:
Status immediately after start-up, the EasyPort USB module has not
yet started communicating.
‟ Pulsating flashing:
The EasyPort USB module has been addressed. The address is
indicated every 2 seconds by a series of briefly flashing light signals.
LCD panel
The input and output voltages of the selected analogue signal are
displayed in the first line as a value, and additionally in the form of a
bar graph.
Channel number and signal direction appear in the second line.
Meanings of displays: In = input signal, Out = output signal.
LED IN 0...7
Status display of the digital inputs with green LEDs
LED OUT 0...7
Status display of the digital outputs with yellow LEDs
Buttons
The analogue channel displayed on the LCD is selected with the
button.
Possible channel numbers (Ch) for the input signal: 0...3.
Possible channel numbers (Ch) for the output signal: 0...1.
Various physical units of measurement can be selected with the
button. The following are available: V, bar, PSI, MPa, l/min, °C.
The address setting function can be activated by pressing both of
the scroll buttons simultaneously.
5.3 The EasyPort USB module can be mounted directly on a profile plate;
Mounting the the adapter is available under order number 549806.
EasyPort USB The adapter is secured to the bottom of the EasyPort USB module with
three M4 screws.
Various I/O data cables are available for connecting the EasyPort USB to
the actual control process.
Which I/O cable you will need depends on the control application.
The most common applications for the EasyPort USB are summarised
below.
The graphic indicates in which cases a crossover cable is required.
The digital crossover cable has a black mark on the end to make it
easier to differentiate between the digital I/O cables.
Note
24 V DC power supply is fed externally to the EasyPort USB. It can be
connected either via ports 1 and 2, or via two isolated screw terminals
which are included on the back of the EasyPort USB.
Make sure that power supply is only connected on one side.
5.5 The address of the EasyPort USB is selected with the and scroll
Setting the address buttons. The address setting mode is activated by simultaneously
at the EasyPort USB pressing both buttons. An address within a range of 1 and 4 is selected
by pressing the and buttons. The address is saved and the address
setting mode is exited by pressing both buttons simultaneously.
All EasyPort USB process interfaces are set to a default address of 1 at
the factory.
EasyPort USB
Error Status
IN
OUT
0 7 0 7
PORT 1 PORT 2
Procedure
1. Connect the EasyPort USB to a 24 V DC power supply using the 24 V
DC connecting cable with 4 mm safety plugs.
2. Switch on the power supply for the EasyPort USB.
‟ The red error LED lights up briefly. It switches off again during the
start-up test.
‟ The green status LED flashes at a frequency of 1 Hz.
This means that the EasyPort USB is not yet communicating.
3. After the start-up test has been completed, EasyPort USB is ready
for operation and waits to be initialised by the PC. The address
selected with the help of the scroll buttons is used for this.
4. Check the address of the EasyPort USB.
‟ Activate the address setting mode by pressing both scroll buttons
simultaneously.
‟ Select an address within a range of 1...4 with the scroll buttons.
‟ Exit the address setting mode by simultaneously pressing
both scroll buttons.
5. Connect the EasyPort USB to the PC using the USB cable included.
6. If the USB drivers required for operation of the EasyPort USB have
not yet been installed to the PC, a corresponding message appears
and the new hardware wizard is started.
Do not install the USB driver by running a Windows update. If a
dialogue box with this option appears at your screen, click No.
Install the USB drivers from the included CD ROM after the dialogue
box shown below appears.
Insert the EasyPort CD ROM into the CD drive to this end. As soon as
the CD drive is ready for operation, click the Next button.
10. The USB drivers required for operating the EasyPort USB have now
been installed on your PC. You can now use EasyPort USB in
combination with your PC.
11. The EasyPort demo application makes it easy to establish a
connection with EasyPort USB and to initialise EasyPort USB.
12. In order to do so, start the EasyPort demo application. The demo
application can be found under EasyPort demo application in the
EasyPort program group in the Start menu.
The demo application is copied to your PC when EasyPort ActiveX
control is installed from the EasyPort CD ROM.
15. The green status LED at the EasyPort USB indicates that the
EasyPort USB has been correctly installed. The status LED flashes
twice briefly, thus indicating that address 2 has been assigned to
the EasyPort USB.
Note
If third party software with its own USB drivers is used, make sure
that at least one serial port is available for the EasyPort USB driver.
If the PC with the EasyPort’s USB connection is shut down, the USB
cable should also be disconnected.
The USB cable should not be plugged in again until the PC and the
software, which communicates with the EasyPort USB, have been
restarted.
Different access levels are used for executing these write and read
commands depending on how EasyPort USB is incorporated into your
application.
Command interpreter
The command interpreter represents the lowest level, and can be
directly addressed with a terminal program.
ActiveX control
ActiveX control defines the access functions, and is thus the
programming interface to EasyPort USB.
EzOPC
EzOPC is an OPC server which establishes communications
connections for prepared applications with Festo Didactic products.
Data can be written and read by any OPC 2.x compatible OPC client.
OPC stands for open connectivity via open standards, and is a well
established standard interface in the field of automation technology. It
ensures an efficient flow of data between Windows applications and
automation equipment.
The EzOPC graphic user interface enables you to establish data links
between communication partners from several prepared applications in
an easy manner.
First, select the communication partners. Then specify the range of I/Os
whose signals you want to exchange. Configuration is finished. EzOPC
autonomously exchanges data between the communicating partners.
Sample configuration: Process models in CIROS are controlled by an external PLC. Data is exchanged via
EasyPort and EzOPC.
Installing EzOPC
1. Insert the EasyPort CD ROM into the CD drive.
2. The installation program is started automatically.
If installation is not started automatically, double click on the
Start.exe file on the CD ROM.
3. The initial window appears.
Select the language in which EzOPC software will be installed by
clicking on the appropriate button.
ActiveX control and its methods are described in detail in the online
help.
The demo application is also copied to your PC when ActiveX control for
EasyPort is installed.
The demo application can be started by clicking on EasyPort demo
application in the EasyPort program group in the Start menu.
3. If the USB drivers required for operating the EasyPort USB have not
yet been installed on the PC, a corresponding message appears. If
this is the case, install the USB drivers. You’ll need the EasyPort CD
ROM to this end.
4. Make sure that ActiveX control for EasyPort USB has been installed
on your PC.
10. Conversely, you can read in the status of the digital outputs at the
EasyPort USB by clicking on the GetOutputWord button. Output
word 0 has a value of 15, which is displayed to the left of the
method.
14. If you want to terminate the connection to the EasyPort USB, click on
the Disconnect button.
Note
Connection with an EasyPort USB can be quickly and conveniently
established and tested with the EasyPort demo application.
The address of the EasyPort USB module must be entered for several
older commands, but this is not required for newer commands.
9.2 There are two basic commands for reading and writing resources:
Command structure • Display command (D) for reading resources
• Modify command (M) for modifying resources
A word consists of bytes 0 and 1, and contains bit addresses 0 through 15.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Byte 1 Byte 0
(port 2) (port 1)
Word 0
Command Description
Modify commands must be provided with a data value. The data value
follows the resource address and is preceded with an equal sign.
Please note: Address numbers and data values must always be entered
in hexadecimal format.
9.3 The data that are actually transmitted at the point of transmission
Transmission level correspond for the most part to the data entered as ASCII characters at
the user level.
9.4 In addition to commands for reading and writing signals, there are other
Commands for commands that are primarily used for commissioning and diagnostics.
initialisation and
diagnostics These include the following commands:
Query the address of an EasyPort USB module
Query the version number of an EasyPort USB module
Read out the status word of an EasyPort USB module
The EasyPort USB module responds with its module address by reading out
setup <n> (<n> = 1...4).
Example
Meanings:
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Display Up Down Out In Setup Error
Example
9.5 The commands for reading and writing digital signals are summarised in
Commands for the following tables.
digital signals
B (byte) 0, 1 MAB2.0.0=7
Change output byte 0 from word 0 at
EasyPort USB module 2 to 7 hexadecimal.
This means:
bit 0, bit 1 and bit 2 are set.
W (word) 0 MAW1.0=101
Change output word 0 at EasyPort USB
module 1 to 101 hexadecimal or 257
decimal.
DE2.0.E
Display input bit 14 from word 0 at EasyPort
USB module 2.
B (byte) 0, 1 DEB1.0.0
Display input byte 0 from word 0 at
EasyPort USB module 1.
DEB3.0.1
Display input byte 1 from word 0 at
EasyPort USB module 3.
W (word) 0 DEW1.0
Display input word 0 from EasyPort USB
module 1.
DA4.0.C
Display output bit 12 from word 0 at
EasyPort USB module 4.
B (byte) 0, 1 DAB4.0.0
Display output byte 0 from word 0 at
EasyPort USB module 4.
DAB2.0.1
Display output byte 1 from word 0 at
module 2.
W (word) 0 DAW3.0
Display output word 0 at EasyPort USB
module 3.
If the event mode has been activated, the EasyPort USB module
automatically notifies the PC of modified digital input data. The
minimum time within which the PC is notified of an input change is
adjustable.
MT2=00
The event mode for EasyPort USB module 2 is exited. From
now on, input signals are only sent to the PC on request.
9.6 In addition to digital input and output signals, EasyPort USB also
Commands for processes analogue signals.
analogue signals The command interpreter therefore includes commands for:
Reading in analogue input and output channels
Reading out voltage to an analogue channel
The sampling frequency for analogue inputs and outputs is 0.5 kHz.
One of two different voltage ranges can be selected for the analogue
channels:
0...10 V
‟10...+10 V
The two figures show how the analogue voltage range is assigned to the
digital numeric range. The digital numeric range is always a range of
0x0000 to 0x7FFF (32767 decimal).
0V 5V 10 V
-10 V 0V +10 V
Command Description
The measuring range for the analogue inputs is set to 0 to 10 V at the EasyPort USB
module with address <n> (<n> = 1...4).
This measuring range is automatically preset after initialising an EasyPort USB module.
The measuring range for the analogue inputs is set to -10 to +10 V at the EasyPort USB
module with address <n> (<n> = 1...4).
Example
MRE2=1
Set the voltage range for the analogue inputs at the EasyPort USB module with address
2 to ‟10...+10 V.
Command Description
The measuring range for the analogue outputs is set to 0 to 10 V at the EasyPort USB
module with address <n> (<n> = 1...4).
This measuring range is automatically preset after initialising an EasyPort USB module.
The measuring range for the analogue outputs is set to -10 to +10 V at the EasyPort
USB module with address <n> (<n> = 1...4).
0 X X X X X X X X X X X X 0 0 0
Example
DEW1.2
Read in input channel 0 at the EasyPort USB module with
address 1.
Example
DAW3.4
Read in output channel 1 from the EasyPort USB module
with address 3.
0 X X X X X X X X X X X X 0 0 0
Command Description
Example
MAW1.2=2AC5
Read out a value of 2AC5 hexadecimal or 10949 decimal as a voltage value
from output channel 0 at the EasyPort USB module with address 1.
Command Description
Measured values from analogue input channel 0 are displayed on the LCD of the EasyPort
USB module with address <n> (<n> = 1...4).
Measured values from analogue input channel 1 are displayed on the LCD of the EasyPort
USB module with address <n> (<n> = 1...4).
Measured values from analogue input channel 2 are displayed on the LCD of the EasyPort
USB module with address <n> (<n> = 1...4).
Measured values from analogue input channel 3 are displayed on the LCD of the EasyPort
USB module with address <n> (<n> = 1...4).
Measured values from analogue output channel 0 are displayed on the LCD of the
EasyPort USB module with address <n> (<n> = 1...4).
Measured values from analogue output channel 1 are displayed on the LCD of the
EasyPort USB module with address <n> (<n> = 1...4).
Measured values from the analogue channel which is selected directly at the EasyPort
USB using the scroll buttons are once again displayed on the LCD panel of the EasyPort
USB module with address <n> (<n> = 1...4).
9.7 The EasyPort USB supports the recording of analogue measured values
Commands for measuring with the help of special commands.
analogue signals
The measuring mode is activated with the MME command (modify
measuring mode). All analogue input values which are read in are then
read out at maximum speed.
The analogue channel for which values will be read out automatically is
selected with the MS command.
Command Description
Activate analogue input channel 0 at the EasyPort USB module with address
<n> (<n> = 1...4) for automatic transmission of input values.
Activate analogue input channel 1 at the EasyPort USB module with address
<n> (<n> = 1...4) for automatic transmission of input values.
Activate analogue input channel 2 at the EasyPort USB module with address
<n> (<n> = 1...4) for automatic transmission of input values.
Activate analogue input channel 3 at the EasyPort USB module with address
<n> (<n> = 1...4) for automatic transmission of input values.
Activate analogue input channels 0 through 3 at the EasyPort USB module with address
<n> (<n> = 1...4) for automatic transmission of input values.
Deactivate all analogue input channels at the EasyPort USB module with address
<n> (<n> = 1...4). Automatic read-out of input values is then no longer possible.
Data format of Measured values at the activated analogue input channel are
transmitted data: automatically and cyclically read out from the EasyPort USB.
yxx<CR> The time period for read-out is 5 ms.
Note
The unit of measurement assigned at the PC is overwritten if a unit of
measurement is entered directly at the EasyPort USB using the scroll
buttons.
Command Description
The unit of measurement xx is displayed for analogue input channel 0 on the LCD of the
EasyPort USB module with address <n> (<n> = 1...4).
U/M button:
xx=00: V
xx=01: bar
xx=02: PSI
xx=03: MPa
xx=04: l/min
xx=05: oC
The unit of measurement xx is displayed for analogue input channel 1 on the LCD of the
EasyPort USB module with address <n> (<n> = 1...4).
The unit of measurement xx is displayed for analogue input channel 2 on the LCD of the
EasyPort USB module with address <n> (<n> = 1...4).
The unit of measurement xx is displayed for analogue input channel 3 on the LCD of the
EasyPort USB module with address <n> (<n> = 1...4).
Command Description
Please note that the gain factor does not change the actual measured
value applied to the analogue channel. Multiplication only affects how
the values are displayed on the LCD.
V 10.0
bar 1.0
PSI 1.0
MPa 1.0
l/min 1.0
o
C 1.0
Example
Values are recorded from a pneumatic pressure sensor. 10 V correspond
to 6 bar. Set the unit of measurement to bar, in order to be able to
monitor the measured values at the display in bar. Select a gain factor
of 6.
Command Description
The measured value with the unit of measurement volt which is displayed on the LCD
of the EasyPort USB module with address <n> (<n> = 1...4) is multiplied by a factor of
x.xx.
The measured value with the unit of measurement bar which is displayed on the LCD of
the EasyPort USB module with address <n> (<n> = 1...4) is multiplied by a factor of x.xx.
The measured value with the unit of measurement PSI which is displayed on the LCD of
the EasyPort USB module with address <n> (<n> = 1...4) is multiplied by a factor of x.xx.
The measured value with the unit of measurement MPa which is displayed on the LCD
of the EasyPort USB module with address <n> (<n> = 1...4) is multiplied by a factor of
x.xx.
The measured value with the unit of measurement l/min which is displayed on the LCD
of the EasyPort USB module with address <n> (<n> = 1...4) is multiplied by a factor of
x.xx.
The measured value with the unit of measurement oC which is displayed on the LCD
of the EasyPort USB module with address <n> (<n> = 1...4) is multiplied by a factor of
x.xx.
9.8 The two high-speed counters 0 and 1 at the EasyPort USB can be
Commands for addressed with two commands. The command MC is used to activate
high-speed counters and deactivate the counter, and the command DC reads out the current
counter value.
The following are evaluated as counter pulses:
Input bit 0 from port 1 for counter 0
Input bit 0 from port 2 for counter 1
Example
MC1.0=1
Counter 0 is started for the EasyPort USB module with address 1.
Example
DC1.0<CR> C1.0=2AC5<CR>
The counter value for counter 0 at the EasyPort USB module
with address 1 is read out. The counter value is 2AC5
hexadecimal, or 10949 decimal.
Procedure
1. Connect the EasyPort USB to the PC.
2. Switch on the power supply for the EasyPort USB.
3. Go to the Start menu, click on Settings and then on Control Panel.
4. Click on System.
5. The System Properties dialog box is then opened.
Click on Device Manager under the Hardware tab.
6. The entries under Ports (COM & LPT) indicates that COM5 is used as
the USB serial port.
9. The settings for the new connection must then be entered. In the
Connect To dialogue box, enter the serial USB port determined
earlier, i.e. COM5, as the port in Connect using.
10. The settings required for serial data transmission via the COM port
are included in this manual. The following entries are correct:
13. Enter the following settings in the ASCII Setup dialogue box:
14. All data required for the communications link have now been
entered. You can now communicate with EasyPort USB.
15. Execute the setup0 command first. This command initialises the
EasyPort USB module.
Commands are executed after pressing the enter key.
16. The EasyPort USB module returns the setup1 string as a response.
This means that address 1 has been assigned to the EasyPort USB
module.
The cursor jumps to the next line.
17. You can now send other commands to the EasyPort USB module
and, for example, query its status. To do this, enter the DS
command.
18. A response of S=02 indicates that the EasyPort USB module has
been correctly initialised.
19. If a simulation box is available, you can set inputs at the EasyPort
USB and then query their status.
When you install EasyPort ActiveX control on your PC, the EasyPort
program group is added to the Start menu as a standard feature. Online
help and a demo application for ActiveX control can be accessed from
this program group.
As soon as the examples have been initialised, they also appear in the
EasyPort program group in the Start menu.
Software utilizado para Software utilizado para Software utilizado Software utilizado
tareas de control de tareas de simulación de para tareas de para tareas de
procesos: procesos: captación de datos regulación:
de medición:
‟ FluidSim (sólo digital) ‟ EasyVeep
‟ S7‟PLCSIM ‟ FluidSim ‟ FluidLab PA ‟ FluidLab PA
‟ CoDeSys Soft-SPS ‟ CIROS ‟ FluidLab P ‟ FluidLab P
‟ FluidLab H a partir de V. 2.0
Todos los usuarios del EasyPort USB deberán respetar las indicaciones
de seguridad.
1.4 Antes de empezar a trabajar con el EasyPort USB, todos los usuarios
Responsabilidad de los deben comprometerse a lo siguiente:
estudiantes Leer el capítulo de seguridad y las advertencias contenidas en el
presente manual.
Respetar las disposiciones básicas de seguridad laboral y de
prevención de accidentes.
Consumo 3 VA
Protección contra Sí
cortocircuitos
Histéresis de las 3V
entradas digitales
Filtro 5 ms
Peso en kg 0,65
3.2 Las 8 entradas digitales y 8 salidas digitales del EasyPort USB están
Interface SysLink para conectadas según IEEE 488 a un conector tipo zócalo de 24 contactos
señales digitales SysLink. Además, la entrada 0 en el puerto 1 o en el puerto 2 puede
utilizarse como entrada de conteo rápido. Las entradas de conteo
pueden funcionar con niveles de tensión desde 5 hasta 24 VDC.
OUTPUT 0 1 OUTPUT 0 1
OUTPUT 1 2 OUTPUT 1 2
OUTPUT 2 3 OUTPUT 2 3
OUTPUT 3 4 OUTPUT 3 4
OUTPUT 4 5 OUTPUT 4 5
OUTPUT 5 6 OUTPUT 5 6
OUTPUT 6 7 OUTPUT 6 7
OUTPUT 7 8 OUTPUT 7 8
INPUT 0 13 INPUT 0 13
INPUT 1 14 INPUT 1 14
INPUT 2 15 INPUT 2 15
INPUT 3 16 INPUT 3 16
INPUT 4 17 INPUT 4 17
INPUT 5 18 INPUT 5 18
INPUT 6 19 INPUT 6 19
INPUT 7 20 INPUT 7 20
3.3 Las 4 entradas analógicas y las 2 salidas analógicas del EasyPort USB
Conector Sub D para están conectadas a un conector Sub D tipo zócalo de 15 contactos. La
señales analógicas transformación analógica/digital se realiza con una resolución de 12
bit. La frecuencia de exploración es de 0,5 kHz.
Puerto 3 Contactos
OUTPUT 0 1
OUTPUT 1 2
0V 3
(Libre) 4
(Libre) 5
0V 6
INPUT 1 7
INPUT 2 8
(Libre) 9
(Libre) 10
(Libre) 12
(Libre) 13
INPUT 3 14
INPUT 4 15
Datos técnicos del conector Sub D tipo zócalo, para señales analógicas
RS232 = Contactos
Conector Sub D tipo zócalo, de 9
contactos
(Libre) 1
(Libre) 4
(Libre) 6
(Libre) 7
(Libre) 8
(Libre) 9
Puerto USB
EasyPort USB cuenta con una interface USB 2.0 con separación
galvánica. A un hub USB pueden conectarse como máximo 4 módulos
EasyPort USB. Deberá tenerse en cuenta que las direcciones de los
módulos EasyPort son diferentes. Se admiten las direcciones desde 1
hasta 4.
Transporte
La interface de procesos EasyPort USB se entrega en una caja de cartón.
Desembalaje
Después de desembalar la interface de procesos EasyPort USB, deberá
verificarse si ha sufrido algún daño. En caso de ser así, deberá
notificarse de inmediato al transportista y a Festo Didactic.
Contenido
El envío contiene los siguientes componentes:
Interface de procesos EasyPort USB
Cables de 24 VDC con conectores de seguridad tipo clavija de 4 mm
Cable USB
CD-ROM con software y documentación:
Simulador de procesos EasyVeep, software EzOPC, controlador USB,
elemento de control ActiveX como interface de programación entre
el EasyPort USB con ayuda online y ejemplos de programas
Manual del EasyPort USB
5.1
Composición del
EasyPort USB
EasyPort USB
Error Status
IN
OUT
0 7 0 7
PORT 1 PORT 2
LCD de indicación
En la primera línea se muestran las tensiones de entrada y salida de
la señal analógica seleccionada mediante un valor y,
adicionalmente, se muestra un diagrama de barras.
En la segunda línea se indican el número del canal y el sentido de la
señal.
Significados: In = Señal de entrada, Out = Señal de salida.
LED IN 0...7
Indicación de estado de las entradas digitales mediante LEDs verdes
LED OUT 0...7
Indicación de estado de las salidas digitales mediante LEDs
amarillos
Teclas
Con la tecla se selecciona el canal analógico que consta en el
LCD.
El número de canal Ch como señal de entrada puede ser: 0…3.
El número de canal Ch como señal de salida puede ser: 0…1.
Con la tecla pueden seleccionarse diversas magnitudes físicas.
Puede escogerse entre: V, bar, PSI, MPa, l/min, °C.
Pulsando simultáneamente ambas teclas se activa el ajuste de la
dirección.
5.3 Con el adaptador (n° de art. 549806) es posible montar el EasyPort USB
Montaje del directamente en el panel de prácticas perfilado.
EasyPort USB El adaptador se fija a la parte inferior del EasyPort USB mediante tres
tornillos M4.
Para diferenciar mejor los cables E/S digitales, el cable E/S cruzado
está identificado con color negro en el extremo.
Indicación
La alimentación de corriente de 24 VDC para el EasyPort USB es
externa. La conexión puede realizarse a través de los puertos 1 y 2 o
mediante dos bornes roscados separados, que se encuentran en la
parte posterior del EasyPort USB.
Deberá tenerse cuidado en aplicar tensión de alimentación en un solo
lado.
5.5 La dirección del EasyPort USB se ajusta mediante las teclas . Para
Ajuste de la dirección en activar la modalidad de ajuste de la dirección, deberán pulsarse
el EasyPort USB simultáneamente las dos teclas. Con y se selecciona entre las
direcciones desde 1 hasta 4. Pulsando simultáneamente las dos teclas,
se memoriza la dirección y se abandona la modalidad de ajuste de la
dirección.
De fábrica viene ajustada la dirección 1 en cada interface de procesos
del EasyPort USB.
EasyPort USB
Error Status
IN
OUT
0 7 0 7
PORT 1 PORT 2
Ayuda útil:
La aplicación de demostración de EasyPort, para establecer
rápidamente y de manera sencilla una conexión con el EasyPort USB
Una caja de simulación, para generar de manera sencilla señales de
proceso para EasyPort USB
Forma de proceder
1. Conecte el EasyPort USB a una toma de corriente externa de 24 VDC.
Para ello, utilice los cables incluidos de 24 VDC con conectores de
seguridad tipo clavija de 4 mm.
2. Active la alimentación de corriente del EasyPort USB.
‟ Se enciende brevemente el LED ERROR de color rojo. Este LED se
apaga durante el test de conexión.
‟ El LED STATUS verde parpadea con una frecuencia de 1 Hz.
Ello significa que el EasyPort USB aún no está comunicando.
3. Una vez concluido el test de conexión, el EasyPort USB está listo
para funcionar y está esperando la inicialización desde el PC. En ese
caso, se utiliza la dirección que se ajustó con las teclas de las
flechas.
4. Revise la dirección del EasyPort USB.
‟ Para ello, active la modalidad de ajuste de la dirección pulsando
simultáneamente las dos teclas de las flechas.
‟ Utilizando estas teclas, ajuste una dirección desde 1 hasta 4.
‟ Abandone la modalidad de ajuste de la dirección pulsando
simultáneamente las dos teclas de las flechas.
5. Conecte el PC al EasyPort USB. Para ello, utilice el cable USB
incluido en el suministro.
15. El LED STATUS de color verde indica que el EasyPort USB ha sido
inicializado correctamente. El LED STATUS se enciende brevemente
dos veces indicando que la dirección del EasyPort USB es 2.
Indicación
Si se utiliza software de terceros con controladores USB propios,
deberá asegurarse que quede libre por lo menos una interface serie
para el EasyPort USB.
Si se desconecta el PC con conexión USB para EasyPort, también
debería retirarse el cable USB.
El cable USB deberá conectarse sólo después de reiniciar el PC y
activar nuevamente el programa que deberá establecer la
comunicación con el EasyPort USB.
Ejemplo de configuración: los modelos de procesos en CIROS se controlan mediante un PLC externo. El
intercambio de datos se realiza a través de EasyPort y EzOPC.
El control virtual es el «corazón» del EzOPC. Este control hace las veces
de regleta de bornes que une la zona de señales de una unidad con la
zona de señales de la otra unidad.
Indicación
Con la aplicación de demostración EasyPort es posible crear y
comprobar rápidamente y de manera sencilla la conexión con un
EasyPort USB.
COMx: 115200,N,8,1
Debe tenerse en cuenta que el EasyPort USB funciona únicamente
con una velocidad de transmisión fija de 115200 Bd.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Byte 1 Byte 0
(puerto 2) (puerto 1)
Palabra 0
Orden Descripción
9.4 Además de las órdenes para leer y escribir señales, existen otras
Órdenes para la órdenes que se utilizan principalmente durante la puesta en
inicialización y el funcionamiento y el diagnóstico.
diagnóstico
Entre ellas, cabe mencionar los siguientes órdenes
Consulta de la dirección de un módulo EasyPort USB
Consulta del número de versión de un módulo EasyPort USB
Lectura de la palabra de estado de un módulo EasyPort USB
Ejemplo
Inicialización y diagnóstico
Significados
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Display Up Down Out- In- Setup Error
Ejemplos
9.5 En las siguientes tablas se muestran las órdenes para leer y escribir
Órdenes para señales señales digitales.
digitales
W 0 MAW1.0=101
(Palabra) Modificar palabra de salida 0 a 101
hexadecimal o a 257 decimal en el módulo
1 de EasyPort USB.
DE2.0.E
Display bit de entrada 14 de palabra 0 en
módulo 2 del EasyPort USB
DEB3.0.1
Display byte de entrada 1 de palabra 0 en
módulo 3 del EasyPort USB
W 0 DEW1.0
(Palabra) Display palabra de entrada 0 del módulo 1
del EasyPort USB
DA4.0.C
Display bit de salida 12 de palabra 0 en
módulo 4 del EasyPort USB
DAB2.0.1
Display byte de salida 1 de palabra 0 en
módulo 2 del EasyPort USB
W 0 DAW3.0
(Palabra) Display palabra de salida 0 en módulo 3 del
EasyPort USB
MT2=00
Finaliza la modalidad de eventos para el módulo 2 del
EasyPort USB. Las señales de entrada únicamente se
transmiten al PC si se solicitan.
0V 5V 10 V
-10 V 0V +10 V
Orden Descripción
Ejemplo
MRE2=1
Definición del margen de tensión en ‟10…+10 V en el módulo EasyPort USB con la
dirección 2.
Orden Descripción
Con la dirección <n>, <n>=1…4 se define el margen de medición de las salidas analógicas
en 0…10 V en el módulo EasyPort USB.
Este margen de medición está definido automáticamente después de la inicialización
de un módulo EasyPort USB.
Con la dirección <n>, <n>=1…4 se define el margen de medición de las salidas analógicas
en ‟10…+10 V en el módulo EasyPort USB.
0 X X X X X X X X X X X X 0 0 0
Ejemplo
DEW1.2
Cargar el canal de entrada 0 en el módulo EasyPort USB
con la dirección 1.
Ejemplo
DAW3.4
Cargar el canal de salida 1 en el módulo EasyPort USB con
la dirección 3.
0 X X X X X X X X X X X X 0 0 0
Orden Descripción
Ejemplo
MAW1.2=2AC5
Transmitir el valor 2AC5 hexadecimal o 10949 decimal como valor de tensión
en el canal de salida 0 en el EasyPort USB con la dirección 1.
Orden Descripción
En el display LCD del módulo EasyPort USB con la dirección <n>, <n>=1…4 se muestran los
valores de medición del canal de entradas analógicas 0.
En el display LCD del módulo EasyPort USB con la dirección <n>, <n>=1…4 se muestran los
valores de medición del canal de entradas analógicas 1.
En el display LCD del módulo EasyPort USB con la dirección <n>, <n>=1…4 se muestran los
valores de medición del canal de entradas analógicas 2.
En el display LCD del módulo EasyPort USB con la dirección <n>, <n>=1…4 se muestran los
valores de medición del canal de entradas analógicas 3.
En el display LCD del módulo EasyPort USB con la dirección <n>, <n>=1…4 se muestran los
valores de medición del canal de salidas analógicas 0.
En el display LCD del módulo EasyPort USB con la dirección <n>, <n>=1…4 se muestran los
valores de medición del canal de salidas analógicas 1.
En el display LCD del módulo EasyPort USB con la dirección <n>, <n>=1…4 se muestran
nuevamente los valores de medición del canal analógico que se ajusta directamente con
las teclas de flechas del EasyPort USB.
Orden Descripción
Desactivar todos los canales de entradas analógicas en el módulo EasyPort USB con la
dirección <n>, <n>=1…4. Entonces ya no es posible la transmisión automática de los
valores de entrada.
Indicación
Introduciendo manualmente la magnitud directamente utilizando las
teclas de las flechas del EasyPort USB, se sobrescribe la magnitud
atribuida desde el PC.
Orden Descripción
Explicación:
xx=00: V
xx=01: bar
xx=02: PSI
xx=03: MPa
xx=04: l/min
xx=05: oC
Orden Descripción
V 10.0
bar 1.0
PSI 1.0
MPa 1.0
l/min 1.0
o
C 1.0
Ejemplo
Suponga que está captando los valores de un sensor de presión
neumático. 10 V corresponden a una presión de 6 bar. Con el fin de ver
los valores expresados en bar en el display LCD, deberá ajustar la
magnitud bar y utilizar el factor de multiplicación 6.
Orden Descripción
Ejemplo
MC1.0=1
En el módulo EasyPort USB con dirección 1 se activa el
contador 0.
Ejemplo
DC1.0<CR> C1.0=2AC5<CR>
Lectura del estado de conteo del contador 0 del módulo
EasyPort USB con la dirección 1. El estado de conteo es 2AC5
hexadecimal o 10949 decimal.
Forma de proceder
1. Conecte el EasyPort USB al PC.
2. Conecte la alimentación de tensión del EasyPort USB.
3. En el menú Inicio, seleccione Configuración y, a continuación, Panel
de control.
4. Seleccione Sistema.
5. Se abre la ventana Propiedades del sistema.
Haga clic en la pestaña Hardware y, a continuación, en el botón
Administrador de dispositivos.
13. En la ventana ASCII Setup realice los ajustes pertinentes, tal como
se indica a continuación:
15. En primer lugar, ejecute la orden setup0. Con esta orden se inicializa
el módulo EasyPort USB.
Las órdenes deberán concluirse con la tecla INTRO.
Contenu du CD-ROM
Simulation de modèles de process EasyVeep
Serveur OPC EasyOPC
Manuel de l'EasyPort USB
Manuel d'EasyVeep
Pilotes USB pour EasyPort
Contrôle ActiveX de l'EasyPort USB
Exemples de pilotage
‟ Exemple avec Excel
‟ Exemple avec FluidSIM®
‟ Exemple avec InTouch
‟ Exemple avec LabVIEW
‟ Exemple avec VC6
Logiciel, utilisé pour la Logiciel, utilisé pour la Logiciel, utilisé pour Logiciel, utilisé pour
commande de process : simulation de process : l'acquisition de la régulation :
mesures :
‟ FluidSim (numérique ‟ EasyVeep
uniquement) ‟ FluidSim ‟ FluidLab PA ‟ FluidLab PA
‟ S7‟PLCSIM ‟ CIROS ‟ FluidLab P ‟ FluidLab P
‟ API logiciel CoDeSys ‟ FluidLab H à partir de la
version 2.0
1.3 L’exploitant s’engage à ne laisser travailler sur l'EasyPort USB que des
Engagement de personnes:
l'exploitant au fait des prescriptions fondamentales de sécurité et de prévention
des accidents et ayant été initiées à la manipulation de l'EasyPort
USB,
ayant lu et compris le chapitre sécurité et les avertissements du
présent manuel.
Consommation 3 VA
Seuil de commutation 12 V CC
des entrées numériques
Filtre 5 ms
Degré de protection IP 20
Poids en kg 0,65
OUTPUT 0 1 OUTPUT 0 1
OUTPUT 1 2 OUTPUT 1 2
OUTPUT 2 3 OUTPUT 2 3
OUTPUT 3 4 OUTPUT 3 4
OUTPUT 4 5 OUTPUT 4 5
OUTPUT 5 6 OUTPUT 5 6
OUTPUT 6 7 OUTPUT 6 7
OUTPUT 7 8 OUTPUT 7 8
INPUT 0 13 INPUT 0 13
INPUT 1 14 INPUT 1 14
INPUT 2 15 INPUT 2 15
INPUT 3 16 INPUT 3 16
INPUT 4 17 INPUT 4 17
INPUT 5 18 INPUT 5 18
INPUT 6 19 INPUT 6 19
INPUT 7 20 INPUT 7 20
0 V CC 11/12/ 0 V CC 11/12/
23/24 23/24
24 V CC 9/10/ 24 V CC 9/10/
21/22 21/22
Port 3 Broche
OUTPUT 0 1
OUTPUT 1 2
0V 3
(libre) 4
(libre) 5
0V 6
INPUT 1 7
INPUT 2 8
(libre) 9
(libre) 10
+10 V CC REF. 11
(libre) 12
(libre) 13
INPUT 3 14
INPUT 4 15
RS 232 = Broche
Connecteur Sub D, 9 contacts,
femelle
(libre) 1
(libre) 4
(libre) 6
(libre) 7
(libre) 8
(libre) 9
Interface USB
L'EasyPort USB est doté d'une interface USB 2.0 à séparation
galvanique. 4 modules EasyPort USB maximum peuvent être associés
par l'intermédiaire d'un concentrateur (« hub ») USB. Il convient dans ce
cas de noter que les adresses des modules EasyPort sont différentes.
Les adresses permises vont de 1 à 4.
Transport
L'interface de process EasyPort USB est livrée en carton.
Déballage
Une fois déballée l'interface de process EasyPort USB, vérifiez qu'elle
n'est pas endommagée. Les endommagements doivent être
immédiatement signalés au transporteur et à Festo Didactic.
Fourniture
La fourniture comprend les composants suivants:
interface de process EasyPort USB,
câbles de raccordement 24 V CC à connecteurs de sécurité de 4 mm,
câble USB,
CD-ROM avec logiciel et documentation :
simulateur de process EasyVeep, logiciel EzOPC, pilotes USB,
contrôle ActiveX comme interface de programmation avec l'EasyPort
USB, avec aide en ligne et exemples de programmes,
manuel de l'EasyPort USB.
5.1
Présentation de
l'EasyPort USB
EasyPort USB
Error Status
IN
OUT
0 7 0 7
PORT 1 PORT 2
Écran LCD
La première ligne affiche les tensions d'entrée ou de sortie du signal
analogique sélectionné, sous forme de valeur et, en plus, de
bargraphe.
La deuxième ligne indique le numéro de canal et le sens du signal.
On a : In = signal d'entrée, Out = signal de sortie.
LED IN 0...7
Indication d'état des entrées numériques (TOR) par LED vertes
LED OUT 0...7
Indication d'état des sorties numériques (TOR) par LED jaunes
Touches
La touche permet de sélectionner le canal analogique affiché à
l'écran LCD.
Le numéro de canal Ch possible pour signal d'entrée est: 0…3.
Le numéro de canal Ch possible pour signal de sortie est: 0…1.
La touche permet de sélectionner différentes unités physiques.
Les unités proposées sont: V, bar, PSI, MPa, l/min, °C.
L'actionnement simultané des deux touches fléchées active le
réglage d'adresse.
Ce graphique vous indique dans quels cas vous devez utiliser un câble
d'E/S croisé.
Pour pouvoir mieux distinguer les câbles d'E/S numériques, le câble
d'E/S numérique possède un repère noir en bout de câble.
Nota
L'alimentation 24 V CC de l'EasyPort USB s'applique de l'extérieur. Elle
peut l'être soit par l'intermédiaire des ports 1 et 2, soit par
l'intermédiaire de deux vis disposées à l'arrière de l'EasyPort USB.
Veillez à ce que la tension d'alimentation ne soit appliquée que d'un
seul côté.
EasyPort USB
Error Status
IN
OUT
0 7 0 7
PORT 1 PORT 2
Marche à suivre
1. Raccordez l'EasyPort USB à une alimentation 24 V CC externe.
Utilisez à cet effet les cordons de raccordement 24 V CC à
connecteurs de sécurité de 4 mm fournis.
2. Mettez sous tension l'alimentation de l'EasyPort USB.
‟ La LED rouge ERROR s'allume brièvement. Elle s'éteint au cours du
test de mise sous tension.
‟ La LED verte STATUS clignote à une fréquence de 1 Hz.
Cela signifie que l'EasyPort USB ne communique pas encore.
3. À l'issue du test de mise sous tension, l'EasyPort USB est prêt à
fonctionner et attend son initialisation par le PC. L'adresse alors
utilisée est celle réglée par l'intermédiaire des touches fléchées.
4. Vérifiez l'adresse de l'EasyPort USB.
‟ Activez le mode réglage d'adresse en appuyant en même
temps sur les deux touches fléchées.
‟ Réglez à l'aide des touches fléchées une adresse de 1 à 4.
‟ Quittez le mode réglage d'adresse en appuyant en même temps
sur les deux touches fléchées.
5. Reliez le PC à l'EasyPort USB. Utilisez à cet effet le câble USB fourni.
15. La LED verte STATUS de l'EasyPort USB vous montre que l'EasyPort
USB a été correctement initialisé: la diode clignote brièvement deux
fois pour indiquer que l'adresse de l'Easyport USB est 2.
Nota
En cas d'utilisation de logiciels externes apportant leurs propres
pilotes USB, il convient de s'assurer qu'au moins une interface série
est encore libre pour le pilote de l'EasyPort USB.
En cas d'arrêt du PC auquel est raccordé l'EasyPort USB, débranchez
de préférence également le câble USB.
Ne rebranchez le câble USB qu'à l'issue du redémarrage du PC et du
logiciel avec lequel doit communiquer l'EasyPort USB.
Les données peuvent être écrites et lues par tout client OPC conforme à
OPC 2.x.
OPC est l'acronyme de open connectivity via open standards et est une
interface standard bien connue en automatisation. Elle assure un
échange efficace de données entre applications Windows et
équipements d'automatisation.
Exemple de configuration : commande par un API externe de modèles de process en CIROS. L'échange des
données s'opère via EasyPort et EzOPC.
10. Inversement, vous pouvez aussi lire l'état des sorties numériques de
l'EasyPort USB. Cliquer pour ce faire sur le bouton GetOutputWord.
La valeur du mot de sortie 0 est 15 et s'affiche à gauche de la
méthode.
14. Si vous voulez mettre fin à la liaison avec l'EasyPort USB, cliquez sur
le bouton Disconnect.
Nota
L'application de démonstration de l'EasyPort vous permet d'établir et
de tester rapidement et aisément la connexion à un EasyPort USB.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
Octet 1 Octet 0
(Port 2) (Port 1)
Mot 0
Instruction Description
Format de l'octet: xx
Format du bit: x
Exemple
Initialisation et diagnostic
Le mot d'état d'un module EasyPort USB est retourné sous forme de
valeur hexadécimale xx.
On a:
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
Display Up Down Out- In- Setup Error
Exemple
W (mot) 0 MAW1.0=101
Modify mot de sortie 0 sur module EasyPort
USB 1 à 101 en hexadéciaml ou 257 en
décimal.
DE2.0.E
Display bit d'entrée 14 du mot 0 sur module
EasyPort USB 2
DEB3.0.1
Display bit d'entrée 1 du mot 0 sur module
EasyPort USB 3
W (mot) 0 DEW1.0
Display bit d'entrée 0 du module EasyPort
USB 1
DA4.0.C
Display bit de sortie 12 du mot 0 sur
module EasyPort USB 4
DAB2.0.1
Display octet de sortie 1 du mot 0 sur
module 2
W (mot) 0 DAW3.0
Display mot de sortie 0 sur module
EasyPort USB 3
MT2=00
L'instruction met fin au mode événement pour le module
EasyPort USB 2. Les modifications des signaux d'entrée ne
sont plus signalées au PC que sur demande.
0V 5V 10 V
-10 V 0V +10 V
Instruction Description
Sur le module EasyPort USB ayant l'adresse <n>, <n>=1…4, réglage de la gamme de
mesure des entrées analogiques à 0…10 V.
Cette gamme de mesure est celle automatiquement réglée par défaut à l'issue de
l'initialisation d'un module EasyPort USB.
Sur le module EasyPort USB ayant l'adresse <n>, <n>=1…4, réglage de la gamme de
mesure des entrées analogiques à ‟10…+10 V.
Exemple
MRE2=1
Sur le module EasyPort USB ayant l'adresse 2, la gamme de mesure des entrées
analogiques est réglée à ‟10…+10 V.
Instruction Description
Sur le module EasyPort USB ayant l'adresse <n>, <n>=1…4, réglage de la gamme de
mesure des sorties analogiques à 0…10 V.
Cette gamme de mesure est celle automatiquement réglée par défaut à l'issue de
l'initialisation d'un module EasyPort USB.
Sur le module EasyPort USB ayant l'adresse <n>, <n>=1…4, réglage de la gamme de
mesure des sorties analogiques à ‟10…+10 V.
0 X X X X X X X X X X X X 0 0 0
Exemple
DEW1.2
Sur le module EasyPort USB ayant l'adresse 1, lecture du
canal d'entrée 0.
Exemple
DAW3.4
Lecture du canal de sortie 1 sur le module EasyPort USB
ayant l'adresse 3.
0 X X X X X X X X X X X X 0 0 0
Instruction Description
Exemple
MAW1.2=2AC5
Sur le module EasyPort USB ayant l'adresse 1, délivrer comme valeur de
tension au canal de sortie 0 la valeur 2AC5 en hexadécimal ou 10949 en
décimal.
Instruction Description
Sur l'écran LCD du module EasyPort USB ayant l'adresse <n>, <n>=1…4, sont affichées les
valeurs mesurées du canal d'entrée analogique 0.
Sur l'écran LCD du module EasyPort USB ayant l'adresse <n>, <n>=1…4, sont affichées les
valeurs mesurées du canal d'entrée analogique 1.
Sur l'écran LCD du module EasyPort USB ayant l'adresse <n>, <n>=1…4, sont affichées les
valeurs mesurées du canal d'entrée analogique 2.
Sur l'écran LCD du module EasyPort USB ayant l'adresse <n>, <n>=1…4, sont affichées les
valeurs mesurées du canal d'entrée analogique 3.
Sur l'écran LCD du module EasyPort USB ayant l'adresse <n>, <n>=1…4, sont affichées les
valeurs mesurées du canal de sortie analogique 0.
Sur l'écran LCD du module EasyPort USB ayant l'adresse <n>, <n>=1…4, sont affichées les
valeurs mesurées du canal de sortie analogique 1.
Sur l'écran LCD du module EasyPort USB ayant l'adresse <n>, <n>=1…4, sont à nouveau
affichées les valeurs mesurées du canal de sortie analogique réglé directement sur
l'EasyPort USB à l'aide des touches fléchées.
Instruction Description
Sur le module EasyPort USB ayant l'adresse <n>, <n>=1…4, activer le canal d'entrée
analogique 0 en vue de l'envoi automatique de valeurs d'entrée.
Sur le module EasyPort USB ayant l'adresse <n>, <n>=1…4, activer le canal d'entrée
analogique 1 en vue de l'envoi automatique de valeurs d'entrée.
Sur le module EasyPort USB ayant l'adresse <n>, <n>=1…4, activer le canal d'entrée
analogique 2 en vue de l'envoi automatique de valeurs d'entrée.
Sur le module EasyPort USB ayant l'adresse <n>, <n>=1…4, activer le canal d'entrée
analogique 3 en vue de l'envoi automatique de valeurs d'entrée.
Sur le module EasyPort USB ayant l'adresse <n>, <n>=1…4, activer les canaux d'entrée
analogiques 0...3 en vue de l'envoi automatique de valeurs d'entrée.
Sur le module EasyPort USB ayant l'adresse <n>, <n>=1…4, désactiver tous les canaux
d'entrée analogiques. La délivrance automatique des valeurs d'entrée n'est plus alors
possible.
Format des données Les valeurs mesurées du canal d'entrée analogique activé
envoyées: sur l'EasyPort USB sont automatiquement délivrées de
yxx<CR> manière cyclique. La trame de temps pour la délivrance est
de 5 ms.
Nota
L'entrée manuelle directe de l'unité à l'aide des touches fléchées sur
l'EasyPort USB a pour effet d'écraser l'unité attribuée depuis le PC.
Instruction Description
Sur l'écran LCD du module EasyPort USB ayant l'adresse <n>, <n>=1…4, l'unité affichée
pour le canal d'entrée analogique 0 est xx.
On a :
xx=00: V
xx=01: bar
xx=02: PSI
xx=03: MPa
xx=04: l/min
xx=05: oC
Sur l'écran LCD du module EasyPort USB ayant l'adresse <n>, <n>=1…4, l'unité affichée
pour le canal d'entrée analogique 1 est xx.
Sur l'écran LCD du module EasyPort USB ayant l'adresse <n>, <n>=1…4, l'unité affichée
pour le canal d'entrée analogique 2 est xx.
Sur l'écran LCD du module EasyPort USB ayant l'adresse <n>, <n>=1…4, l'unité affichée
pour le canal d'entrée analogique 3 est xx.
Instruction Description
Sur l'écran LCD du module EasyPort USB ayant l'adresse <n>, <n>=1…4, l'unité
affichée pour le canal de sortie analogique 0 est xx.
Sur l'écran LCD du module EasyPort USB ayant l'adresse <n>, <n>=1…4, l'unité
affichée pour le canal de sortie analogique 1 est xx.
V 10.0
bar 1.0
PSI 1.0
MPa 1.0
l/min 1.0
o
C 1.0
Exemple
Vous relevez les valeurs d'un capteur de pression pneumatique. 10 V
correspondent à 6 bar. Pour pouvoir suivre les valeurs mesurées à
l'écran LCD, vous réglez le bar comme unité. Comme coefficient
multiplicateur, vous choisissez 6.
Instruction Description
La valeur mesurée affichée à l'écran LCD du module EasyPort USB ayant l'adresse
<n>, <n>=1…4, dans l'unité volt, est multipliée par le coefficient xx.
La valeur mesurée affichée à l'écran LCD du module EasyPort USB ayant l'adresse
<n>, <n>=1…4, dans l'unité bar, est multipliée par le coefficient xx.
La valeur mesurée affichée à l'écran LCD du module EasyPort USB ayant l'adresse
<n>, <n>=1…4, dans l'unité PSI, est multipliée par le coefficient xx.
La valeur mesurée affichée à l'écran LCD du module EasyPort USB ayant l'adresse
<n>, <n>=1…4, dans l'unité MPa, est multipliée par le coefficient xx.
La valeur mesurée affichée à l'écran LCD du module EasyPort USB ayant l'adresse
<n>, <n>=1…4, dans l'unité l/min, est multipliée par le coefficient xx.
La valeur mesurée affichée à l'écran LCD du module EasyPort USB ayant l'adresse
<n>, <n>=1…4, dans l'unité oC, est multipliée par le coefficient xx.
Exemple
MC1.0=1
Démarre sur l'EasyPort USB ayant l'adresse 1 le compteur 0.
Exemple
DC1.0<CR> C1.0=2AC5<CR>
Lecture de la valeur du compteur 0 de l'EasyPort USB ayant
l'adresse 1. La valeur du compteur est 2AC5 en hexadécimal ou
10949 en décimal.
Marche à suivre
1. Reliez l'EasyPort USB au PC.
2. Mettez sous tension l'alimentation de l'EasyPort USB.
3. Lancez dans le menu Démarrer, à la rubrique Paramètres système,
l'option Panneau de configuration.
4. Sélectionnez l'option Système.
5. La fenêtre Propriétés du système s'ouvre.
Cliquez sous l'onglet Matériel sur le bouton Gestionnaire de
périphériques.
6. L'option Ports (COM & LPT) vous indique que l'interface série
utilisée pour la connexion USB est COM5.
18. La réponse S=02 vous montre que le module EasyPort USB a été
correctement initialisé.
20. Dans notre cas, l'EasyPort USB retourne comme état des entrées
numériques la valeur 3. Les entrées à 1 sont donc les entrées 0 et 1
du port 1.
Pour créer des applications dans lesquelles doit avoir lieu un échange
de données avec l'EasyPort USB, utilisez le contrôle ActiveX de
l'EasyPort.
Dès que vous avez installé les exemples, vous les trouverez également
dans le menu Démarrer, dans le groupe de programmes EasyPort.