Professional Documents
Culture Documents
Manual
CD-ROM included
721876
DEENESFR
Order No.: 721876
Edition: 11/2008
Authors: Eberhardt, Lffler
Graphics: Schwarzenberger
Layout: 11/2008
Festo Didactic GmbH & Co. KG, 73770 Denkendorf, Germany, 2008
Internet: www.festo-didactic.com
e-mail: did@de.festo.com
Hinweis
Soweit in dieser Broschre nur von Lehrer, Schler etc. die Rede ist,
sind selbstverstndlich auch Lehrerinnen, Schlerinnen etc. gemeint.
Die Verwendung nur einer Geschlechtsform soll keine
geschlechtsspezifische Benachteiligung sein, sondern dient nur der
besseren Lesbarkeit und dem besseren Verstndnis der
Formulierungen.
2
Inhalt
English _______________________________________________ 87
Espaol ______________________________________________ 171
Franais ______________________________________________ 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 Gewhrleistung und Haftung __________________________ 13
1.7 Bestimmungsgeme 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 knnen ber einen USB Hub oder ber
4 USB-Anschlsse 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
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.
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
Unfallverhtung 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
Unfallverhtung 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 knnen bei seiner Verwendung Gefahren fr Leib und Leben des
EasyPort Benutzers oder Dritter bzw. Beeintrchtigungen an der Maschine oder
an anderen Sachwerten entstehen.
1.7 Das Prozessinterface EasyPort USB ist ausschlielich fr die Aus- und
Bestimmungsgeme Weiterbildung im Bereich Automatisierung und Technik entwickelt und
Verwendung hergestellt. Das Ausbildungsunternehmen und/oder die Ausbildenden
hat/haben dafr Sorge zu tragen, dass die Auszubildenden die
Sicherheitsvorkehrungen, die in den begleitenden Handbchern
beschrieben sind, beachten.
Leistungsaufnahme 3 VA
Kurzschlussschutz Ja
Hysterese der 3V
Digitaleingnge
Filter 5 ms
Schutzart IP20
Gewicht in kg 0,65
3.2 Je 8 digitale Ein- und Ausgnge sind bei EasyPort USB auf eine SysLink-
SysLink-Schnittstelle Steckbuchse 24-polig nach IEEE 488 verdrahtet. Zustzlich kann der
fr digitale Daten Eingang 0 bei Port 1 und Port 2 als schneller Zhleingang genutzt
werden. Die Zhleingnge knnen mit Spannungspegeln von 524 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 Eingnge und 2 analogen Ausgnge von EasyPort USB
Sub D Buchse fr sind auf eine 15-polige Sub D-Buchse verdrahtet. Die Analog-Digital-
analoge Daten Umwandlung erfolgt mit einer Auflsung von 12 Bit. Die Abtastfrequenz
betrgt 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 betrgt 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 knnen 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.
Fr den Anschluss von EasyPort USB an den USB-Port des PC bzw. eines
Hub verwenden Sie beigelegtes USB-Kabel A-B.
Transport
Das Prozessinterface EasyPort USB wird in einem Karton geliefert.
Auspacken
Nach dem Auspacken das Prozessinterface EasyPort USB auf mgliche
Beschdigungen berprfen. Beschdigungen sind unverzglich 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
ausgewhlten Analogsignals als Wert und zustzlich 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 Eingnge durch grne LEDs
LED OUT 0...7
Zustandsanzeige der digitalen Ausgnge durch gelbe LEDs
Tasten
ber die Taste wird der in der LCD Anzeige dargestellte
Analogkanal ausgewhlt.
Als Kanalnummer Ch fr Eingangssignal ist mglich: 03.
Als Kanalnummer Ch fr Ausgangssignal ist mglich: 01.
Mit der Taste knnen verschiedene physikalische Einheiten
ausgewhlt werden. Angeboten werden: V, bar, PSI, MPa, l/min, C.
Durch gleichzeitiges Drcken 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.
Hinweis
Die 24 VDC Stromversorgung fr EasyPort USB wird extern zugefhrt.
Sie kann entweder ber die Ports 1 und 2 oder ber zwei getrennte
Schraubklemmen, die an der Rckseite 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 Drcken der beiden Tasten. Mit und whlen Sie eine
Adresse von 1 bis 4. Durch gleichzeitiges Drcken beider Tasten wird
die Adresse gespeichert und der Adressmodus verlassen.
Werkseitig voreingestellt ist die Adresse 1 fr 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 groen Aufwand Prozesssignale fr
EasyPort USB zu erzeugen
Vorgehen
1. Schlieen 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 gelscht.
Die grne 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. berprfen Sie die Adresse des EasyPort USB.
Aktivieren Sie dazu den Modus Adresseinstellung durch
gleichzeitiges Drcken der beiden Pfeiltasten.
Stellen Sie mit den Pfeiltasten eine Adresse von 1 bis 4 ein.
Verlassen Sie den Adressmodus durch gleichzeitiges Drcken
der beiden Pfeiltasten.
5. Verbinden Sie den PC mit dem EasyPort USB. Verwenden Sie dazu
das beigelegte USB-Kabel.
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 grnen 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 fr 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 knnen von jedem OPC 2.x konformen OPC Client
geschrieben und gelesen werden.
OPC steht fr open connectivity via open standards und ist eine
etablierte Standardschnittstelle in der Automatisierungstechnik. Sie
sorgt fr einen effizienten Datenfluss zwischen Windows-Applikationen
und Automatisierungsgerten.
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 knnen Sie auf einfache Weise einige zentrale Methoden
Anwendung des ActiveX Steuerelementes ausfhren 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 knnen Sie auch den Zustand der digitalen Ausgnge am
EasyPort USB einlesen. Klicken Sie dazu auf die Schaltflche
GetOutputWord. Der Wert des Ausgangswortes 0 betrgt 15 und
wird links neben der Methode angezeigt.
14. Wollen Sie die Verbindung zu EasyPort USB beenden, dann klicken
Sie auf die Schaltflche Disconnect.
Hinweis
Mit der EasyPort Demo-Anwendung knnen Sie schnell und komfortabel
die Verbindung zu einem EasyPort USB herstellen und testen.
Softwareschnittstelle: Befehlsinterpreter
Fr einige ltere Befehle ist die Angabe der Adresse des EasyPort USB
Moduls erforderlich, bei jngeren Befehlen entfllt 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 enthlt 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
Datenformat fr Byte: xx
Datenformat fr Bit: x
9.4 Neben den Befehlen zum Lesen und Schreiben von Signalen gibt es
Befehle zur weitere Befehle, die vor allem fr Inbetriebnahme und Diagnose
Initialisierung und eingesetzt werden.
Diagnose
Dazu gehren 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>=14, seine Moduladresse
zurck.
Beispiel
Das EasyPort USB Modul gibt mit V=2.10 seine Version zurck.
Das Statuswort eines EasyPort USB Moduls wird als hexadezimaler Wert
xx zurckgegeben.
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 fr 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
selbstndig genderte digitale Eingangsdaten zum PC. Die Zeit, in der
eine Eingangsnderung frhestens gemeldet wird, ist einstellbar.
MT2=00
Der Ereignismodus fr 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>=14, wird der Messbereich fr die
analogen Eingnge auf 010 V gesetzt.
Dieser Messbereich ist nach Initialisierung eines EasyPort USB Moduls automatisch
voreingestellt.
Am EasyPort USB Modul mit der Adresse <n>, <n>=14, wird der Messbereich fr die
analogen Eingnge auf 10+10 V gesetzt.
Beispiel
MRE2=1
Am EasyPort USB Modul mit der Adresse 2 den Spannungsbereich fr die analogen
Eingnge auf 10+10 V setzen.
Befehl Beschreibung
Am EasyPort USB Modul mit der Adresse <n>, <n>=14, wird der Messbereich fr die
analogen Ausgnge auf 010 V gesetzt.
Dieser Messbereich ist nach Initialisierung eines EasyPort USB Moduls automatisch
voreingestellt.
Am EasyPort USB Modul mit der Adresse <n>, <n>=14, wird der Messbereich fr die
analogen Ausgnge 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>=14, werden die
Messwerte des analogen Eingangskanals 0 angezeigt.
Am LCD Display des EasyPort USB Moduls mit der Adresse <n>, <n>=14, werden die
Messwerte des analogen Eingangskanals 1 angezeigt.
Am LCD Display des EasyPort USB Moduls mit der Adresse <n>, <n>=14, werden die
Messwerte des analogen Eingangskanals 2 angezeigt.
Am LCD Display des EasyPort USB Moduls mit der Adresse <n>, <n>=14, werden die
Messwerte des analogen Eingangskanals 3 angezeigt.
Am LCD Display des EasyPort USB Moduls mit der Adresse <n>, <n>=14, werden die
Messwerte des analogen Ausgangskanals 0 angezeigt.
Am LCD Display des EasyPort USB Moduls mit der Adresse <n>, <n>=14, werden die
Messwerte des analogen Ausgangskanals 1 angezeigt.
Am LCD Display des EasyPort USB Moduls mit der Adresse <n>, <n>=14, 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>=14, den analogen Eingangskanal 0
fr das automatische Senden von Eingangswerten aktivieren.
Am EasyPort USB Modul mit der Adresse <n>, <n>=14, den analogen Eingangskanal 1
fr das automatische Senden von Eingangswerten aktivieren.
Am EasyPort USB Modul mit der Adresse <n>, <n>=14, den analogen Eingangskanal 2
fr das automatische Senden von Eingangswerten aktivieren.
Am EasyPort USB Modul mit der Adresse <n>, <n>=14, den analogen Eingangskanal 3
fr das automatische Senden von Eingangswerten aktivieren.
Am EasyPort USB Modul mit der Adresse <n>, <n>=14, die analogen Eingangskanle
03 fr das automatische Senden von Eingangswerten aktivieren.
Am EasyPort USB Modul mit der Adresse <n>, <n>=14, alle analogen Eingangskanle
deaktivieren. Ein automatisches Ausgeben der Eingangswerte ist dann nicht mehr
mglich.
Fr die Anzeige der analogen Messwerte auf dem LCD Display ist
standardmig die Einheit Volt eingestellt.
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>=14, wird fr 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>=14, wird fr den
analogen Eingangskanal 1 die Einheit xx angezeigt.
Am LCD Display des EasyPort USB Moduls mit der Adresse <n>, <n>=14, wird fr den
analogen Eingangskanal 2 die Einheit xx angezeigt.
Am LCD Display des EasyPort USB Moduls mit der Adresse <n>, <n>=14, wird fr 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>=14, wird fr
den analogen Ausgangskanal 0 die Einheit xx angezeigt.
Am LCD Display des EasyPort USB Moduls mit der Adresse <n>, <n>=14, wird fr
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 knnen, stellen Sie als Einheit bar ein. Als
Verstrkungsfaktor whlen Sie 6.
Befehl Beschreibung
Der am LCD Display des EasyPort USB Moduls mit der Adresse <n>, <n>=14,
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>=14,
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>=14,
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>=14,
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>=14,
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>=14,
dargestellte Messwert mit der Einheit oC wird mit dem Faktor x.xx multipliziert.
9.8 Die beiden schnellen Zhler 0 und 1 von EasyPort USB knnen Sie mit
Befehle fr zwei Befehlen ansprechen. Mit dem Befehl MC aktivieren und
schnellen Zhler deaktivieren Sie den Zhler, der Befehl DC liefert den aktuellen
Zhlerstand des Zhlers.
Als Zhlimpuls werden ausgewertet:
fr Zhler 0 das Eingangsbit 0 von Port 1,
fr Zhler 1 das Eingangsbit 0 von Port 2.
Fr das EasyPort USB Modul mit der Adresse <n>, <n>=14, wird
der schnelle Zhler mit der Nummer <m>, <m>=0,1 aktiviert.
Beispiel
MC1.0=1
Fr das EasyPort USB Modul mit der Adresse 1 wird der Zhler
0 gestartet.
Fr das EasyPort USB Modul mit der Adresse <n>, <n>=14, wird
der schnelle Zhler mit der Nummer <m>, <m>=0,1 deaktiviert.
Fr das EasyPort USB Modul mit der Adresse <n>, <n>=14, wird
der Zhlerstand des schnellen Zhlers mit der Nummer <m>,
<m>=0,1 ausgegeben.
Beispiel
DC1.0<CR> C1.0=2AC5<CR>
Der Zhlerstand von Zhler 0 des EasyPort USB Moduls mit der
Adresse 1 wird ausgelesen. Der Zhlerstand betrgt 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. Whlen Sie den Eintrag System aus.
5. Es ffnet sich das Fenster Systemeigenschaften.
Klicken Sie im Register Hardware auf die Schaltflche Gerte-
Manager.
6. Unter dem Eintrag Ports (COM & LPT) entnehmen Sie, dass als
serielle Schnittstelle fr 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 Schaltflche ASCII Setup.
15. Fhren Sie als erstes den Befehl setup0 aus. Mit diesem Befehl
initialisieren Sie das EasyPort USB Modul.
Befehle schlieen 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 nchste Zeile.
17. Sie knnen 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 Verfgung steht, knnen Sie
Eingnge am EasyPort USB setzen und den Status dieser Eingnge
abfragen.
20. In unserem Fall liefert EasyPort USB als Zustand der digitalen
Eingnge den Wert 3 zurck. Es sind also die Eingnge 0 und 1 von
Port 1 gesetzt.
Auf der EasyPort CD-ROM sind noch weitere Beispiele zur Anwendung
des ActiveX Steuerelementes fr 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
S7PLCSIM 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 EasyPorts 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. Youll 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 simulacin de para tareas de para tareas de
procesos: procesos: captacin de datos regulacin:
de medicin:
FluidSim (slo digital) EasyVeep
S7PLCSIM 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 debern 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 captulo de seguridad y las advertencias contenidas en el
presente manual.
Respetar las disposiciones bsicas de seguridad laboral y de
prevencin de accidentes.
Consumo 3 VA
Proteccin contra S
cortocircuitos
Histresis 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 estn
Interface SysLink para conectadas segn IEEE 488 a un conector tipo zcalo de 24 contactos
seales digitales SysLink. Adems, la entrada 0 en el puerto 1 o en el puerto 2 puede
utilizarse como entrada de conteo rpido. Las entradas de conteo
pueden funcionar con niveles de tensin 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 analgicas y las 2 salidas analgicas del EasyPort USB
Conector Sub D para estn conectadas a un conector Sub D tipo zcalo de 15 contactos. La
seales analgicas transformacin analgica/digital se realiza con una resolucin de 12
bit. La frecuencia de exploracin 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 tcnicos del conector Sub D tipo zcalo, para seales analgicas
RS232 = Contactos
Conector Sub D tipo zcalo, 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 separacin
galvnica. A un hub USB pueden conectarse como mximo 4 mdulos
EasyPort USB. Deber tenerse en cuenta que las direcciones de los
mdulos EasyPort son diferentes. Se admiten las direcciones desde 1
hasta 4.
Transporte
La interface de procesos EasyPort USB se entrega en una caja de cartn.
Desembalaje
Despus de desembalar la interface de procesos EasyPort USB, deber
verificarse si ha sufrido algn dao. En caso de ser as, deber
notificarse de inmediato al transportista y a Festo Didactic.
Contenido
El envo 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 documentacin:
Simulador de procesos EasyVeep, software EzOPC, controlador USB,
elemento de control ActiveX como interface de programacin entre
el EasyPort USB con ayuda online y ejemplos de programas
Manual del EasyPort USB
5.1
Composicin del
EasyPort USB
EasyPort USB
Error Status
IN
OUT
0 7 0 7
PORT 1 PORT 2
LCD de indicacin
En la primera lnea se muestran las tensiones de entrada y salida de
la seal analgica seleccionada mediante un valor y,
adicionalmente, se muestra un diagrama de barras.
En la segunda lnea se indican el nmero del canal y el sentido de la
seal.
Significados: In = Seal de entrada, Out = Seal de salida.
LED IN 0...7
Indicacin de estado de las entradas digitales mediante LEDs verdes
LED OUT 0...7
Indicacin de estado de las salidas digitales mediante LEDs
amarillos
Teclas
Con la tecla se selecciona el canal analgico que consta en el
LCD.
El nmero de canal Ch como seal de entrada puede ser: 03.
El nmero de canal Ch como seal de salida puede ser: 01.
Con la tecla pueden seleccionarse diversas magnitudes fsicas.
Puede escogerse entre: V, bar, PSI, MPa, l/min, C.
Pulsando simultneamente ambas teclas se activa el ajuste de la
direccin.
Para diferenciar mejor los cables E/S digitales, el cable E/S cruzado
est identificado con color negro en el extremo.
Indicacin
La alimentacin de corriente de 24 VDC para el EasyPort USB es
externa. La conexin puede realizarse a travs 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 tensin de alimentacin en un solo
lado.
5.5 La direccin del EasyPort USB se ajusta mediante las teclas . Para
Ajuste de la direccin en activar la modalidad de ajuste de la direccin, debern pulsarse
el EasyPort USB simultneamente las dos teclas. Con y se selecciona entre las
direcciones desde 1 hasta 4. Pulsando simultneamente las dos teclas,
se memoriza la direccin y se abandona la modalidad de ajuste de la
direccin.
De fbrica viene ajustada la direccin 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 aplicacin de demostracin de EasyPort, para establecer
rpidamente y de manera sencilla una conexin con el EasyPort USB
Una caja de simulacin, para generar de manera sencilla seales 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 alimentacin de corriente del EasyPort USB.
Se enciende brevemente el LED ERROR de color rojo. Este LED se
apaga durante el test de conexin.
El LED STATUS verde parpadea con una frecuencia de 1 Hz.
Ello significa que el EasyPort USB an no est comunicando.
3. Una vez concluido el test de conexin, el EasyPort USB est listo
para funcionar y est esperando la inicializacin desde el PC. En ese
caso, se utiliza la direccin que se ajust con las teclas de las
flechas.
4. Revise la direccin del EasyPort USB.
Para ello, active la modalidad de ajuste de la direccin pulsando
simultneamente las dos teclas de las flechas.
Utilizando estas teclas, ajuste una direccin desde 1 hasta 4.
Abandone la modalidad de ajuste de la direccin pulsando
simultneamente 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 direccin del EasyPort USB es 2.
Indicacin
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 conexin USB para EasyPort, tambin
debera retirarse el cable USB.
El cable USB deber conectarse slo despus de reiniciar el PC y
activar nuevamente el programa que deber establecer la
comunicacin con el EasyPort USB.
Ejemplo de configuracin: los modelos de procesos en CIROS se controlan mediante un PLC externo. El
intercambio de datos se realiza a travs de EasyPort y EzOPC.
El control virtual es el corazn del EzOPC. Este control hace las veces
de regleta de bornes que une la zona de seales de una unidad con la
zona de seales de la otra unidad.
Indicacin
Con la aplicacin de demostracin EasyPort es posible crear y
comprobar rpidamente y de manera sencilla la conexin con un
EasyPort USB.
COMx: 115200,N,8,1
Debe tenerse en cuenta que el EasyPort USB funciona nicamente
con una velocidad de transmisin 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 Descripcin
9.4 Adems de las rdenes para leer y escribir seales, existen otras
rdenes para la rdenes que se utilizan principalmente durante la puesta en
inicializacin y el funcionamiento y el diagnstico.
diagnstico
Entre ellas, cabe mencionar los siguientes rdenes
Consulta de la direccin de un mdulo EasyPort USB
Consulta del nmero de versin de un mdulo EasyPort USB
Lectura de la palabra de estado de un mdulo EasyPort USB
Ejemplo
Inicializacin y diagnstico
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 seales seales digitales.
digitales
W 0 MAW1.0=101
(Palabra) Modificar palabra de salida 0 a 101
hexadecimal o a 257 decimal en el mdulo
1 de EasyPort USB.
DE2.0.E
Display bit de entrada 14 de palabra 0 en
mdulo 2 del EasyPort USB
DEB3.0.1
Display byte de entrada 1 de palabra 0 en
mdulo 3 del EasyPort USB
W 0 DEW1.0
(Palabra) Display palabra de entrada 0 del mdulo 1
del EasyPort USB
DA4.0.C
Display bit de salida 12 de palabra 0 en
mdulo 4 del EasyPort USB
DAB2.0.1
Display byte de salida 1 de palabra 0 en
mdulo 2 del EasyPort USB
W 0 DAW3.0
(Palabra) Display palabra de salida 0 en mdulo 3 del
EasyPort USB
M (Modify) T 14 MT2=01
(Tempori- Activar el mdulo de eventos del mdulo EasyPort USB con
zador) direccin 2 y tiempo de 1 ms
MT2=00
Finaliza la modalidad de eventos para el mdulo 2 del
EasyPort USB. Las seales de entrada nicamente se
transmiten al PC si se solicitan.
0V 5V 10 V
-10 V 0V +10 V
Orden Descripcin
Ejemplo
MRE2=1
Definicin del margen de tensin en 10+10 V en el mdulo EasyPort USB con la
direccin 2.
Orden Descripcin
Con la direccin <n>, <n>=14 se define el margen de medicin de las salidas analgicas
en 010 V en el mdulo EasyPort USB.
Este margen de medicin est definido automticamente despus de la inicializacin
de un mdulo EasyPort USB.
Con la direccin <n>, <n>=14 se define el margen de medicin de las salidas analgicas
en 10+10 V en el mdulo 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 mdulo EasyPort USB
con la direccin 1.
Ejemplo
DAW3.4
Cargar el canal de salida 1 en el mdulo EasyPort USB con
la direccin 3.
0 X X X X X X X X X X X X 0 0 0
Orden Descripcin
Ejemplo
MAW1.2=2AC5
Transmitir el valor 2AC5 hexadecimal o 10949 decimal como valor de tensin
en el canal de salida 0 en el EasyPort USB con la direccin 1.
Orden Descripcin
En el display LCD del mdulo EasyPort USB con la direccin <n>, <n>=14 se muestran los
valores de medicin del canal de entradas analgicas 0.
En el display LCD del mdulo EasyPort USB con la direccin <n>, <n>=14 se muestran los
valores de medicin del canal de entradas analgicas 1.
En el display LCD del mdulo EasyPort USB con la direccin <n>, <n>=14 se muestran los
valores de medicin del canal de entradas analgicas 2.
En el display LCD del mdulo EasyPort USB con la direccin <n>, <n>=14 se muestran los
valores de medicin del canal de entradas analgicas 3.
En el display LCD del mdulo EasyPort USB con la direccin <n>, <n>=14 se muestran los
valores de medicin del canal de salidas analgicas 0.
En el display LCD del mdulo EasyPort USB con la direccin <n>, <n>=14 se muestran los
valores de medicin del canal de salidas analgicas 1.
En el display LCD del mdulo EasyPort USB con la direccin <n>, <n>=14 se muestran
nuevamente los valores de medicin del canal analgico que se ajusta directamente con
las teclas de flechas del EasyPort USB.
Orden Descripcin
Desactivar todos los canales de entradas analgicas en el mdulo EasyPort USB con la
direccin <n>, <n>=14. Entonces ya no es posible la transmisin automtica de los
valores de entrada.
Indicacin
Introduciendo manualmente la magnitud directamente utilizando las
teclas de las flechas del EasyPort USB, se sobrescribe la magnitud
atribuida desde el PC.
Orden Descripcin
Explicacin:
xx=00: V
xx=01: bar
xx=02: PSI
xx=03: MPa
xx=04: l/min
xx=05: oC
Orden Descripcin
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 presin
neumtico. 10 V corresponden a una presin 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 multiplicacin 6.
Orden Descripcin
Ejemplo
MC1.0=1
En el mdulo EasyPort USB con direccin 1 se activa el
contador 0.
Ejemplo
DC1.0<CR> C1.0=2AC5<CR>
Lectura del estado de conteo del contador 0 del mdulo
EasyPort USB con la direccin 1. El estado de conteo es 2AC5
hexadecimal o 10949 decimal.
Forma de proceder
1. Conecte el EasyPort USB al PC.
2. Conecte la alimentacin de tensin del EasyPort USB.
3. En el men Inicio, seleccione Configuracin y, a continuacin, Panel
de control.
4. Seleccione Sistema.
5. Se abre la ventana Propiedades del sistema.
Haga clic en la pestaa Hardware y, a continuacin, en el botn
Administrador de dispositivos.
13. En la ventana ASCII Setup realice los ajustes pertinentes, tal como
se indica a continuacin:
15. En primer lugar, ejecute la orden setup0. Con esta orden se inicializa
el mdulo EasyPort USB.
Las rdenes debern concluirse con la tecla INTRO.
Contenu du CD-ROM
Simulation de modles de process EasyVeep
Serveur OPC EasyOPC
Manuel de l'EasyPort USB
Manuel d'EasyVeep
Pilotes USB pour EasyPort
Contrle 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 rgulation :
mesures :
FluidSim (numrique EasyVeep
uniquement) FluidSim FluidLab PA FluidLab PA
S7PLCSIM CIROS FluidLab P FluidLab P
API logiciel CoDeSys FluidLab H partir de la
version 2.0
1.3 Lexploitant sengage ne laisser travailler sur l'EasyPort USB que des
Engagement de personnes:
l'exploitant au fait des prescriptions fondamentales de scurit et de prvention
des accidents et ayant t inities la manipulation de l'EasyPort
USB,
ayant lu et compris le chapitre scurit et les avertissements du
prsent manuel.
Consommation 3 VA
Seuil de commutation 12 V CC
des entres numriques
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 sparation
galvanique. 4 modules EasyPort USB maximum peuvent tre associs
par l'intermdiaire d'un concentrateur ( hub ) USB. Il convient dans ce
cas de noter que les adresses des modules EasyPort sont diffrentes.
Les adresses permises vont de 1 4.
Transport
L'interface de process EasyPort USB est livre en carton.
Dballage
Une fois dballe l'interface de process EasyPort USB, vrifiez qu'elle
n'est pas endommage. Les endommagements doivent tre
immdiatement signals au transporteur et Festo Didactic.
Fourniture
La fourniture comprend les composants suivants:
interface de process EasyPort USB,
cbles de raccordement 24 V CC connecteurs de scurit de 4 mm,
cble USB,
CD-ROM avec logiciel et documentation :
simulateur de process EasyVeep, logiciel EzOPC, pilotes USB,
contrle ActiveX comme interface de programmation avec l'EasyPort
USB, avec aide en ligne et exemples de programmes,
manuel de l'EasyPort USB.
5.1
Prsentation de
l'EasyPort USB
EasyPort USB
Error Status
IN
OUT
0 7 0 7
PORT 1 PORT 2
cran LCD
La premire ligne affiche les tensions d'entre ou de sortie du signal
analogique slectionn, sous forme de valeur et, en plus, de
bargraphe.
La deuxime ligne indique le numro de canal et le sens du signal.
On a : In = signal d'entre, Out = signal de sortie.
LED IN 0...7
Indication d'tat des entres numriques (TOR) par LED vertes
LED OUT 0...7
Indication d'tat des sorties numriques (TOR) par LED jaunes
Touches
La touche permet de slectionner le canal analogique affich
l'cran LCD.
Le numro de canal Ch possible pour signal d'entre est: 03.
Le numro de canal Ch possible pour signal de sortie est: 01.
La touche permet de slectionner diffrentes units physiques.
Les units proposes sont: V, bar, PSI, MPa, l/min, C.
L'actionnement simultan des deux touches flches active le
rglage d'adresse.
Ce graphique vous indique dans quels cas vous devez utiliser un cble
d'E/S crois.
Pour pouvoir mieux distinguer les cbles d'E/S numriques, le cble
d'E/S numrique possde un repre noir en bout de cble.
Nota
L'alimentation 24 V CC de l'EasyPort USB s'applique de l'extrieur. Elle
peut l'tre soit par l'intermdiaire des ports 1 et 2, soit par
l'intermdiaire de deux vis disposes l'arrire de l'EasyPort USB.
Veillez ce que la tension d'alimentation ne soit applique que d'un
seul ct.
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 scurit de 4 mm fournis.
2. Mettez sous tension l'alimentation de l'EasyPort USB.
La LED rouge ERROR s'allume brivement. Elle s'teint au cours du
test de mise sous tension.
La LED verte STATUS clignote une frquence 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 prt
fonctionner et attend son initialisation par le PC. L'adresse alors
utilise est celle rgle par l'intermdiaire des touches flches.
4. Vrifiez l'adresse de l'EasyPort USB.
Activez le mode rglage d'adresse en appuyant en mme
temps sur les deux touches flches.
Rglez l'aide des touches flches une adresse de 1 4.
Quittez le mode rglage d'adresse en appuyant en mme temps
sur les deux touches flches.
5. Reliez le PC l'EasyPort USB. Utilisez cet effet le cble USB fourni.
15. La LED verte STATUS de l'EasyPort USB vous montre que l'EasyPort
USB a t correctement initialis: la diode clignote brivement 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 srie
est encore libre pour le pilote de l'EasyPort USB.
En cas d'arrt du PC auquel est raccord l'EasyPort USB, dbranchez
de prfrence galement le cble USB.
Ne rebranchez le cble USB qu' l'issue du redmarrage du PC et du
logiciel avec lequel doit communiquer l'EasyPort USB.
Les donnes 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 donnes entre applications Windows et
quipements d'automatisation.
Exemple de configuration : commande par un API externe de modles de process en CIROS. L'change des
donnes s'opre via EasyPort et EzOPC.
10. Inversement, vous pouvez aussi lire l'tat des sorties numriques 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
mthode.
14. Si vous voulez mettre fin la liaison avec l'EasyPort USB, cliquez sur
le bouton Disconnect.
Nota
L'application de dmonstration de l'EasyPort vous permet d'tablir et
de tester rapidement et aisment 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 hexadcimale 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 hexadciaml ou 257 en
dcimal.
DE2.0.E
Display bit d'entre 14 du mot 0 sur module
EasyPort USB 2
DEB3.0.1
Display bit d'entre 1 du mot 0 sur module
EasyPort USB 3
W (mot) 0 DEW1.0
Display bit d'entre 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 vnement pour le module
EasyPort USB 2. Les modifications des signaux d'entre ne
sont plus signales 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>=14, rglage de la gamme de
mesure des entres analogiques 010 V.
Cette gamme de mesure est celle automatiquement rgle par dfaut l'issue de
l'initialisation d'un module EasyPort USB.
Sur le module EasyPort USB ayant l'adresse <n>, <n>=14, rglage de la gamme de
mesure des entres analogiques 10+10 V.
Exemple
MRE2=1
Sur le module EasyPort USB ayant l'adresse 2, la gamme de mesure des entres
analogiques est rgle 10+10 V.
Instruction Description
Sur le module EasyPort USB ayant l'adresse <n>, <n>=14, rglage de la gamme de
mesure des sorties analogiques 010 V.
Cette gamme de mesure est celle automatiquement rgle par dfaut l'issue de
l'initialisation d'un module EasyPort USB.
Sur le module EasyPort USB ayant l'adresse <n>, <n>=14, rglage 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'entre 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, dlivrer comme valeur de
tension au canal de sortie 0 la valeur 2AC5 en hexadcimal ou 10949 en
dcimal.
Instruction Description
Sur l'cran LCD du module EasyPort USB ayant l'adresse <n>, <n>=14, sont affiches les
valeurs mesures du canal d'entre analogique 0.
Sur l'cran LCD du module EasyPort USB ayant l'adresse <n>, <n>=14, sont affiches les
valeurs mesures du canal d'entre analogique 1.
Sur l'cran LCD du module EasyPort USB ayant l'adresse <n>, <n>=14, sont affiches les
valeurs mesures du canal d'entre analogique 2.
Sur l'cran LCD du module EasyPort USB ayant l'adresse <n>, <n>=14, sont affiches les
valeurs mesures du canal d'entre analogique 3.
Sur l'cran LCD du module EasyPort USB ayant l'adresse <n>, <n>=14, sont affiches les
valeurs mesures du canal de sortie analogique 0.
Sur l'cran LCD du module EasyPort USB ayant l'adresse <n>, <n>=14, sont affiches les
valeurs mesures du canal de sortie analogique 1.
Sur l'cran LCD du module EasyPort USB ayant l'adresse <n>, <n>=14, sont nouveau
affiches les valeurs mesures du canal de sortie analogique rgl directement sur
l'EasyPort USB l'aide des touches flches.
Instruction Description
Sur le module EasyPort USB ayant l'adresse <n>, <n>=14, activer le canal d'entre
analogique 0 en vue de l'envoi automatique de valeurs d'entre.
Sur le module EasyPort USB ayant l'adresse <n>, <n>=14, activer le canal d'entre
analogique 1 en vue de l'envoi automatique de valeurs d'entre.
Sur le module EasyPort USB ayant l'adresse <n>, <n>=14, activer le canal d'entre
analogique 2 en vue de l'envoi automatique de valeurs d'entre.
Sur le module EasyPort USB ayant l'adresse <n>, <n>=14, activer le canal d'entre
analogique 3 en vue de l'envoi automatique de valeurs d'entre.
Sur le module EasyPort USB ayant l'adresse <n>, <n>=14, activer les canaux d'entre
analogiques 0...3 en vue de l'envoi automatique de valeurs d'entre.
Sur le module EasyPort USB ayant l'adresse <n>, <n>=14, dsactiver tous les canaux
d'entre analogiques. La dlivrance automatique des valeurs d'entre n'est plus alors
possible.
Format des donnes Les valeurs mesures du canal d'entre analogique activ
envoyes: sur l'EasyPort USB sont automatiquement dlivres de
yxx<CR> manire cyclique. La trame de temps pour la dlivrance est
de 5 ms.
Nota
L'entre manuelle directe de l'unit l'aide des touches flches sur
l'EasyPort USB a pour effet d'craser l'unit attribue depuis le PC.
Instruction Description
Sur l'cran LCD du module EasyPort USB ayant l'adresse <n>, <n>=14, l'unit affiche
pour le canal d'entre 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>=14, l'unit affiche
pour le canal d'entre analogique 1 est xx.
Sur l'cran LCD du module EasyPort USB ayant l'adresse <n>, <n>=14, l'unit affiche
pour le canal d'entre analogique 2 est xx.
Sur l'cran LCD du module EasyPort USB ayant l'adresse <n>, <n>=14, l'unit affiche
pour le canal d'entre analogique 3 est xx.
Instruction Description
Sur l'cran LCD du module EasyPort USB ayant l'adresse <n>, <n>=14, l'unit
affiche pour le canal de sortie analogique 0 est xx.
Sur l'cran LCD du module EasyPort USB ayant l'adresse <n>, <n>=14, l'unit
affiche 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 mesures
l'cran LCD, vous rglez le bar comme unit. Comme coefficient
multiplicateur, vous choisissez 6.
Instruction Description
La valeur mesure affiche l'cran LCD du module EasyPort USB ayant l'adresse
<n>, <n>=14, dans l'unit volt, est multiplie par le coefficient xx.
La valeur mesure affiche l'cran LCD du module EasyPort USB ayant l'adresse
<n>, <n>=14, dans l'unit bar, est multiplie par le coefficient xx.
La valeur mesure affiche l'cran LCD du module EasyPort USB ayant l'adresse
<n>, <n>=14, dans l'unit PSI, est multiplie par le coefficient xx.
La valeur mesure affiche l'cran LCD du module EasyPort USB ayant l'adresse
<n>, <n>=14, dans l'unit MPa, est multiplie par le coefficient xx.
La valeur mesure affiche l'cran LCD du module EasyPort USB ayant l'adresse
<n>, <n>=14, dans l'unit l/min, est multiplie par le coefficient xx.
La valeur mesure affiche l'cran LCD du module EasyPort USB ayant l'adresse
<n>, <n>=14, dans l'unit oC, est multiplie par le coefficient xx.
Exemple
MC1.0=1
Dmarre 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 hexadcimal ou
10949 en dcimal.
Marche suivre
1. Reliez l'EasyPort USB au PC.
2. Mettez sous tension l'alimentation de l'EasyPort USB.
3. Lancez dans le menu Dmarrer, la rubrique Paramtres systme,
l'option Panneau de configuration.
4. Slectionnez l'option Systme.
5. La fentre Proprits du systme s'ouvre.
Cliquez sous l'onglet Matriel sur le bouton Gestionnaire de
priphriques.
6. L'option Ports (COM & LPT) vous indique que l'interface srie
utilise pour la connexion USB est COM5.
20. Dans notre cas, l'EasyPort USB retourne comme tat des entres
numriques la valeur 3. Les entres 1 sont donc les entres 0 et 1
du port 1.
Pour crer des applications dans lesquelles doit avoir lieu un change
de donnes avec l'EasyPort USB, utilisez le contrle ActiveX de
l'EasyPort.
Ds que vous avez install les exemples, vous les trouverez galement
dans le menu Dmarrer, dans le groupe de programmes EasyPort.