Home

PROFIBUS Handbuch / Manual

image

Contents

1. 2u002020020n0ennnnnennnnnnnennn nenne nnnnnnnnnnenn 107 Table 14 Examples from the calculation of the maximum travel range 24uus24440se nennen nennen 109 Table 15 encoTRive warnings Parameter 953 uus040440000snnnnnnnnnnnnennnn nennen nnnnnnn nennen nnennnnennn 111 Table 16 PROFIDrive data types used by encoTRive uuussssuuensssnennnennnnnnennnnnnennnn nennen nennen 115 Table 17 Description of parameters 222002220022000nsnnsnnnennnnnnnnennnnennnn nenn nnnne nano nenn nenn nenn nennen 116 Table 18 PRW WN een dicen nen ea ee a ee en ren ee en inne are eis 127 Table 19 Parameter identification PKE u02220002200022nnnenennennnnnnnnnnnnnnnnnnnennenennn nenne nnnnnenn 128 Table 20 PKW DPV1 error numbers 2 00022400020000200000n0nnn nenne nenn nnnnnennnnne nennen nenne nnnnnennnnennnnneenn 128 Table 21 Example of an INITIATE request ussuuussssnensssenennenennennnnnnnnnnnnnnnnonennnnnnnnennnnnnnnnnnnn 130 Table 22 DPYLTEGUOSI ne ae ee ee ne ae ee Acer ir re me ne 131 Table 23 DPVITOSPONSE rcs at ee een ee ee ee ee ee ak oped ie rennen 132 Table 24 Structure of the parameter 807 Dig In Function us0244000202nnennnnnnennennnn nennen 139 Table 25 Limit switch function overview uuenssuesssssesssnnennnnnenennnnnnnenennnnnnnnonnnnnnnnnnnnnnnnnnnnnnnnnnnennnnnnenn 140 List of figures Figure 1 Drives on th
2. 0224002440020000nnno nenne nenne nenn nenn enenn nenn nenn nennenenn nenn nnnen nennen 26 Tabelle 9 Parameter die eine Positionierung beeinflussen 0022200022200000200 nenn nenne nennen 28 Tabelle 10 Tabelle 11 Tabelle 12 Tabelle 13 Tabelle 14 Tabelle 15 Tabelle 16 Tabelle 17 Tabelle 18 Tabelle 19 Tabelle 20 Tabelle 21 Tabelle 22 Tabelle 23 Tabelle 24 Tabelle 25 Parameter zur Umrechnung von Einheiten u 444404444snennn nenne nenne nenne nenne nennen 30 Steuerwort Geschwindigkeitsregelung 2 0022200020200000000nnnnn nenne nenne nenne nenne nennen 32 Zustandswort Geschwindigkeitsregelung 000444400000nnne nennen nnennn nennen nennen 32 Parameter die eine Positionierung beeinflussen u000004000B0ennnn nennen nennen nennen 33 Beispiele aus der Berechnung des maximalen Verfahrbereichs 0 35 Warnungen bei encoTRive Parameter 953 2uu0042400000nnnn nennen nnnnnnnnnennnn nennen 37 PROFIDrive Datentypen die von encoT Rive verwendet werden 0222200222seen 220 41 Parameterbeschreibung ccccccccsececesececeseccssceceececsececsececeuececauecesaseeseseessaeeessesensegeeens 42 PRIV BET ee ee Ehe ee ea 53 Parameterkennung PKE 24000440000Rnnennnennennnn nennen nnnnnnnnnennn nennen nnnnnnnn nennen nnenennen 54 PKW DPV1 Fehlernum
3. 22200022200020000 nenne nenne een 69 LETREN ET ee ee nen 70 2 122 HPOO TOD eee enone eee me e a ee ee E ee 70 Ps OS ONE en ee ee 71 8 Die h ufigsten Kundenfragen 222 2020 00000 nn0nnnnnnnnnnnnnnnnunnnnnunnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 72 TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 4 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic Inhaltsverzeichnis Tabellenverzeichnis Tabelle 1 Identifier Byte cccccccsssccccessceeceseeeceeececseaseeccsaueeecsaecesseueeeseaseeessageeessageeesssegeeesssageeesas 15 Tabelle 2 Standardsignale bei encoTRive cccccccccccsecceceeceeseeeeeseececeececsueeeseceeseeeesseecessueeesaneeesagees 17 Tabelle 3 Unterst tzte Standardtelegramme P922 ccccccceecccecseeeeeaeeeeeeeeeeeeeseeeeeeesaeeeeeseeeeeeaeeeeeens 18 Tabelle 4 encoTRive Betriebsarten Werte f r Parameter 930 4us0424000000nnnn nennen nnenne nenne 23 Tabelle 5 Steuerwort STW u02200002220002nnennnnnennnnnennnnnenennn nenne anne nenne nnnnnennnnnnnennennennennnnnennnnnenenn 23 Tabelle 6 Zustandswort ZSW uuussnsseeennensnennennnnnnnennnnnennnnnnennnnnnnnnnnnnnennnnnnennnnnnennnnnnnnnnenennnnnnnennnnn 24 Tabelle 7 Steuerwort Positionieren u0022200020000nnnnnnnennnnnennennnnnnnnnnnnnnnnnnnnnnnennnnnennennnnesnnnnnnnenn 26 Tabelle 8 Zustandswort Positionieren
4. Wert Telegrammaufbau Standardtelegramm 8 PROFldrive Version 3 0 Parameter PZD Aufbau Position Nummer Bezeichnung Steuerwort Zielposition 5 DPM1 gt encoTRive WORDS Verfahrsatznummer Geschwindigkeit Zustandswort u Ist Position 5 gt nn Aktueller Satz N Ist Geschwindigkeit Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 19 of 147 PROFIBUS Kommunikation TRelectronic Fortsetzung Tabelle 3 Telegrammaufbau 2 z B notwendig f r den Einsatz des S7 Herstellerspezifisches Telegramm 100 Funktionsbausteins control_pzd Parameter PZD Aufbau Position Nummer Bezeichnung Steuerwort Zielposition Geschwindigkeit Beschleunigung Bremsbeschleunigung DPM1 gt encoTRive Maximaler Dauerstrom Verfahrsatznummer Digitale Ausgange Betriebsart Nicht benutzt Zustandswort Lageistwert Elektroniktemperatur Drehzahlistwert Stromistwert encoTRive gt DPM1 Aktueller Satz Digitale Eingange Storungsnummer Warnungsnummer Nicht benutzt TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 20 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS Kommunikation Beispiel Konfiguration der in Abbildung 2 Seite 13 dargestellten Prozessdaten In Richtung DPM1 encoTRive soll das Steuerwort und Zielposition als PZD bertragen werden in Gege
5. Abbildung 2 Zyklische Kommunikation mit unten und ohne PKW Kanal oben Abbildung 2 zeigt die Telegramme welche im Rahmen des zyklischen Datenverkehrs zwischen DPM1 und Slave ausgetauscht werden Als Prozessdaten wird dabei vom DPM1 zum Slave das Steuerwort und Zielposition in Gegenrichtung das Statuswort sowie der Positionswert Ubertragen 4 2 1 encoTRive als PROFIBUS DP Slave 4 2 1 1 Ubertragungsgeschwindigkeit Baudrate encoTRive erkennt beim Einschalten automatisch die am PROFIBUS DP eingestellte Baudrate Diese wird vom Master bei der Inbetriebnahme von PROFIBUS DP einheitlich fur alle Gerate festgelegt Es werden alle gangigen Baudraten unterstutzt 4 2 1 2 Slave Adresse PROFIBUS Teilnehmeradresse Die PROFIBUS Teilnehmeradresse identifiziert jedes Gerat am PROFIBUS eindeutig Die PROFIBUS Teilnehmeradresse wird bei encoTRive hardwarem ig am Ger t fest eingestellt Sie kann softwarem ig aus Parameter 918 gelesen werden Die Einstellungsm glichkeiten sind aus der ger tespezifischen Steckerbelegung zu entnehmen Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 13 of 147 PROFIBUS Kommunikation Relectronic 4 2 1 3 Hochlauf Parametrierung Konfigurierung Bevor der zyklische Datenaustausch zwischen einem DPM1 und den ihm zugeordneten Slaves beginnt muss ein DP Slave parametriert und konfiguriert werden Nach dem Einschalten ge
6. 0x04 4 elements 0x03 PNU high byte 0x93 PNU low byte first subindex 0x0001 0 Request reference 0x01 Parameters read successfully 0x00 Axis S 0x00 Axis 4 0x42 Format Word LI 6 Ox00 Value 1 0x0001 8 Ox00 Value 200 9 OxC8 0x00C8 0x012C Value 0 0x0000 Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 135 of 147 PROFIBUS communication TRelectronic 4 Reading the whole parameter description from Parameter 915 0x393 DPV1 Request Byte Content 0 Request reference o 1 0x01 Read parameters 0x01 1 element 6 Bo a 0x03 PNU high byte 0x93 PNU low byte Subindex 0x0000 full description TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 136 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS communication DPV1 response if carried out successfully Byte Content 0 Request reference ooo o 6 10x40 Identifier 0x4006 Array from UNSIGNED16 8 50x00 Number of array elements 6 9 Normalization factor Floating point number 1 0 Attribute 0x0000 reserved 20 108550 P Name PZD Setpt conf 22 0 x4 D 23 x20 25 0x65 te 27 O70 p 29 mE 31 OXOF o 34 mE 35 OxOO lower limit value 0x00000000 upper limit value Ox
7. 127 vorzeichenbehafteter ganzzahliger 16 Bit Wert INTEGER16 16 Bit Wertebereich 32768 32767 vorzeichenbehafteter a 32 Bit Wert INTEGER32 32 Bit 31 31 Wertebereich 2 2 vorzeichenloser os 8 Bit Wert UNSIGNED8 amp 8 Bit Wertebereich 0 255 vorzeichenloser ganzzahliger 16 Bit Wert UNSIGNED16 16 Bit Wertebereich 0 65535 7 UNSIGNED32 32Bit 0 271 000 9 Visible String Zeichenkette aus pF ase a Zeichen Linear normierter Wert 0 entspricht Wert 0 33 0x21 N2 16 Bit 100 entspricht Wert 16384 0x4000 Aufl sung 100 24 0 0061 N2 Wert x entspricht 100 x 16384 Linear normierter Wert 0 entspricht O 0x22 32 Bit 30 100 entspricht 2 IE Aufl sung 100 2 0 000000093 9 0x27 39 Bit Der Wert wird in Vielfachen der konstanten Abtastrate von 1ms angegeben Linearer Festpunktwert mit vier Nachkommastellen Wert 0 in C4 Darstellung 0 Wert 0 0001 in C4 Darstellung 1 Wert 1 in C4 Darstellung 10000 42 Ox2A C4 32 Bit gt Wertebereich wie INTEGER32 Der C4 Wert stellt den durch 10000 dividierten Wert 4 Nachkommastellen dar C4 Wert 1234567 wird als 123 4567 interpretiert Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 41 of 147 PROFIBUS Kommunikation Relectronic 4 2 6 4 Parameterbeschreibung Jeder Parameter im encoTRive OV besitzt eine Parameterbeschreibung welch
8. 07 02 28 2008 Konfigurationsbeispiel SIMATIC Manager 6 Konfigurationsbeispiel SIMATIC Manager 6 1 GSD Datei Installation e Uber HW Konfigurator die auf CD ROM mitgelieferte GSD Datei installieren e HW Konfig gt Extras gt Neue GSD installieren 6 2 Antrieb in Profibus Netzwerk einfugen Entsprechend des Profils kann nun aus dem _ HW Katalog der Antrieb EncoTRive VC001 300W entnommen und an das Profibus Netz angeh ngt werden 6 3 Telegrammauswahl Bedingt durch die voreingestellte PZD Konfiguration antriebsseitig k nnen zur Vereinfachung die TR Telegramme verwendet werden Damit ist es m glich die genannten Parameter zyklisch zu bertragen Weitere Konfigurierungen sind somit nicht erforderlich Die Telegrammauswahl kann mit und ohne PKW Kanal erfolgen Der Parameterzugriff ber DPV1 Kanal erfordert kein zus tzliches Telegramm Ru HW Konfig SIMATIC 400 1 Staton Bearbeiten Einf gen Zielsystem Ansicht Extras Fenster Hilfe olele S sia ial JED xe All SIMATIC 400 1 Konfiguration GOEBEL_300W aldi Prof Ei E IPC E NC 5 Netzkomponenten J Regler J Schaltger te E SIMADYN 0 SIMATIC 0J SIMODRIYE 0 SIMOREG 0 SIMOVERT J SIPOS Q Weitere FELDGERATE H A Allgemein aa Antiebe 8 09 SIMODRIVE _ A DKCO3 3 NE EncoTRive VAD GSD PROFIBUS i DP Mastersystem 1 4 EncoTRive YC001 300w Steckplatz 3 DP Kenung Bestellnummer Bezeichnung E Ad
9. Bit Wert Bedeutung Beschreibung Oreo Betriebsbedingung Antrieb fahrt an Stromgrenze herunter Stromrichter bleibt Hochiaugeber sperren sperren l eingeschaltet HES Hochlaufgeber freigeben Aun Hochlaufgeber stoppen Antrieb f hrt mit konfigurierter Bremsrampe P203 herunter Antrieb f hrt mit konfigurierter Hochlauframpe P202 hoch bis Geschwindigkeitssollwert P201 erreicht ist Antrieb f hrt mit konfigurierter Bremsrampe P203 herunter Sollwert sperren bis Antrieb steht Sollwert freigeben In dieser Betriebsart keine Bedeutung Tabelle 12 Zustandswort Geschwindigkeitsregelung Bit Wert Bedeutung Beschreibung Wird von EncoTRive nicht unterst tzt stattdessen Schleppfehlerfehler berwachung aktiv oe one EINIDEISKEN Die vorgew hlte Geschwindigkeit P201 ist erreicht erreicht 10 SI PSCHMINDIOKEN Die vorgew hlte Geschwindigkeit P201 ist noch nicht kleiner als Soll erreicht geschwindigkeit Keine Bedeutung Keine Bedeutung Keine Bedeutung TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 32 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS Kommunikation an Die f r diese Betriebsart relevanten Positionierparameter P201 P203 beziehen sich auf den Index 0 Drehzahlgeregelter Betrieb durchf hren Geschwindigkeitsrampen Einstellungen siehe Betriebsart Positionieren Abbildung 5 Seite 27 Geschwi
10. Durch eine Flanke 1 0 bei diesem Parameter werden s mtliche Parameter des OV mit ihren Default Werten belegt PNU Name Attribut Datentyp Default Min Max Im Flash speichern rw w UNSIGNEDI6 o 0 65535 Durch eine Flanke 0 1 wird das Speichern der aktuellen Inhalte aller speicherbaren Parameter im Flash veranlasst Pnu name Tanibut Datoniyp oetan min Max Liste aller Parameter Array 79 Nummern aller 65535 UNSIGNED16 definierten Parameter Dieser Parameter enth lt in aufsteigender Reihenfolge die Liste aller definierten Parameter Ein Eintrag mit Wert 0 signalisiert das Ende der Liste TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 52 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS Kommunikation 4 2 6 6 Parameterzugriff uber PROFIBUS DP Fur den Zugriff auf die Parameter des OV uber PROFIBUS DP gibt es zwei Mechanismen e PKW Kanal im Rahmen des zyklischen Datenaustauschs zwischen DPM1 und DP Slave e azyklische DPV1 Dienste Wird ein PKW Kanal benutzt so belegt dieser die ersten 8 Byte der Telegramme die zyklisch zwischen DPM1 und DP Slave ausgetauscht werden siehe Abbildung 2 Seite 13 Der Antrieb erkennt im Rahmen der Konfigurierung vgl 4 2 1 3 2 ob mit oder ohne PKW Kanal gearbeitet wird Ist das erste Konfigurierungsbyte OxF3 so enthalten die zyklischen Daten einen PKW Kanal ansonsten nicht ber PKW und
11. Error number see Table 20 format 0x44 Number of values 2 Value1 Error number see Table 20 Value2 Subindex of the first array element in which the error occurred Printed in the Federal Republic of Germany 02 28 2008 Relectronic Examples 1 Parameter 930 0x3A2 is to be set to the value 2 DPV1 Request Request reference 0x02 Write parameters 0x00 Axis 0x01 0x10 value 0x00 simple parameter 0x03 PNU high byte 7 OxA2 PNU low byte 0x00 Subindex Low Byte 0x42 Format Word 0x01 Number of values 1 0x02 Value 2 Byte o C T T n DPV1 Response a If carried out successfully 0 Requestreference 3 Oxoid 0x01 b In the event of failure The error number is assumed to be 0x1234 0 Request reference 1 0x82 write error with parameter 2 0x00 Axis o 4 0x44 Format Error UL 5 T 0x01 Number of values 1 6 0x12 Error number high byte 0x34 Error number low byte Printed in the Federal Republic of Germany 02 28 2008 TR EMO BA DGB 0006 07 PROFIBUS communication TR Electronic GmbH 2005 All Rights Reserved Page 133 of 147 PROFIBUS communication 2 Let Parameter 915 0x393 contain the values 967 Relectronic une O 0 The values with the gray background are to be overwritten with the values 200 201 202 203 DPV1 Request 0 Reuestreferene 0x04 4 elemen
12. Stillsetzen zur ck in Zustand Einschaltbereit Herunterfahren an der AUS 1 Hochfahrrampe a Betriebsbedingung Alle AUS 2 Befehle sind aufgehoben a AUS 2 Spannungsfreischaltung E Betriebsbedingung Alle AUS 3 Befehle sind aufgehoben Schnellhalt falls notwendig Betriebssperre aufheben AUS 3 Eoo T Herunterfahren 4 Betrieb freigeben Freigabe Elektronik und Impulse Elektronik und Impulse Betrieb sperren Antrieb trudelt aus und geht in den Zustand Betriebsbereit Betriebsart spezifisch cu Betriebsart spezifisch 6 Betriebsart spezifisch St rung wird mit positiver Flanke 0 gt 1 quittiert Es folgt ein Quittieren Zustands bergang nach Einschaltsperre wenn die St rung erfolgreich behoben wurde 5 ohne Bedeutung EEE 1 TppntEn o Tippen Tippen 1Ein Ein Voraussetzung Betrieb freigegeben kein Positioniervorgang aktiv Tippen 1 Aus a Tippen 2 Ein Voraussetzung Betrieb freigegeben kein Positioniervorgang aktiv Tippen 2 Aus F hrung von Steuerung F hrung erfolgt durch Steuerung Prozessdaten g ltig o0 keine F hrung Prozessdaten ungultig 11 Betriebsart spezifisch 1245 nichtbenutzt o Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 23 of 147 PROFIBUS Kommunikation TRelectronic Tabelle 6 Zustandswort ZSW Bit Wert Bedeutung Beschreibung Stromversorgung eingeschaltet Elek
13. BA DGB 0006 07 02 28 2008 Relectronic Continuation Table 3 PROFIBUS communication Value Telegram configuration Standard telegram 7 PZD structure DPM1 gt encoTRive encoTRive gt DPM1 Position Telegram configuration Standard telegram 8 PROFIdrive version 3 0 Parameter Significance Control word No of traveling record Status word Current command set PROFIdrive version 3 0 PZD structure DPM1 gt encoTRive encoTRive gt DPM1 Printed in the Federal Republic of Germany 02 28 2008 Position TR EMO BA DGB 0006 07 Parameter Significance Control word Target position No of traveling record WORDS Speed WORDS TR Electronic GmbH 2005 All Rights Reserved Page 93 of 147 Status word Actual position Current command set Actual speed PROFIBUS communication TRelectronic Continuation Table 3 Telegram configuration Manufacturer specific telegram 100 enge function block control_pzd Parameter PZD structure Position i Significance Control word Target position Speed Acceleration Deceleration 13 DPM1 gt encoTRive WORDS Max continuous current No of traveling record Digital outputs Operation mode not used Status word Actual value of position Electronic temperature Actual speed Actual value of current 13 encoTRive gt DPM1 WORDS Current command set Digital inputs Error number Warning number not use
14. In parallel operation with encoTRive Tool should be consider that before the encoTRive Tool is closed the highest priority must be handed to the PLC DPM1 about the parameter 928 PZD control priority see parameter 928 Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 147 of 147
15. Positionsangaben mm PNU 1 Getriebefaktor 50000 C4 Datentyp entspricht i 5 PNU 2 Steigung 2199114 C4 Datentyp entspricht Umfang der treibenden Scheibe U Pi d 219 9114 mm 3 14 70 mm Beispiel 3 Positionsangaben Grad PNU 1 Getriebefaktor 50000 C4 Datentyp entspricht i 5 PNU 2 Steigung 3600000 C4 Datentyp entspricht 360 Grad pro Getriebeumdrehung Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 29 of 147 PROFIBUS Kommunikation TRelectronic Geschwindigkeiten PNU 201 und Beschleunigungen PNU 202 werden in Prozent angegeben Dabei wird der Datentyp N2 verwendet vgl Tabelle 16 Ein N2 Wert x entspricht 100 x 16384 Die Bezugsgr e 100 ist dabei Uber die maximale Drehzahl Parameter 514 bzw die maximale Beschleunigung Parameter 515 gegeben Diese sind in U min Parameter 514 bzw U min sec Parameter 515 angegeben und sind systembedingt Uber ein Passwort gesch tzt Interpretation des N2 Wertes in physikalischen Einheiten verdeutlicht folgendes Beispiel Tabelle 10 Parameter zur Umrechnung von Einheiten PNU Parameternummer Bedeutung Getriebefaktor Steigung Maximale Beschleunigung Feste Werte Geberauflosung PNU 505 1024 Inc Maximale Drehzahl PNU 514 4350 U min 74240 Inc sec Maximale Beschleunigung PNU 515 10000 U min sec 170667 Inc sec Beispiel G
16. STW 1 gt Enable electronics and pulses Feedback ZSW 00110_0010_0011_0 10l0 gt Bit2 ZSW 1 gt Ready gt Bit13 ZSW 1 gt Drive Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 143 of 147 Procedure for positioning referencing and jogging electronic 7 1 1 Referencing To reference the drive it is simply a matter of setting Bit11 of the control word When this is done the drive assumes the reference point coordinates defined in POO3 as the new position setpoint STW 0000_ 1 1 00 0000 _1111 gt Bit11 STW 1 gt Referencing started Feedback ZSW 0000 _ 1 010_001 1_0100 gt Bit11 ZSW 1 gt Reference point set 7 1 2 Jog mode To jog in the positive and negative direction it is simply a matter of setting Bit8 or Bit 1 Jogging as standard in the positive direction STW 0000_01 1 0_0000_1111 gt Bit9 STW 1 gt Jog 1 On 2 Jogging as standard in the negative direction STW 0000 01 of1 _0000_1 111 gt Bit8 STW 1 gt Jog 1 On Feedback for both ZSW 000l0_0010_001 1_0100 gt Bit13 ZSW 0 gt Drive running TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 144 of 147 TR EMO BA DGB 0006 07 02 28 2008 electronic Procedure for positioning referencing and jogging 7 1 3 Positioning For positioning the s
17. ber PKW uuuussssneesnesnnenennnnennennnn nennen ennnn 53 4 2 6 8 Parameterzugriff ber DPV 2220000202200nennnnennnnnne nennen 56 Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 3 of 147 Inhaltsverzeichnis TRelectronic 5 Funktion Digital Eing nge Ausg nge ccccesseeeeeseeeeseeeneeeseeneeeseeseeseesneesseenseseoanneeseneneesenees 64 SHEE a SiS g n es east E E ee ee ee een rnee 64 8 1 MINN ANGE ee ee een reale ee 64 g2 AUIS IIA een een ee ee re ee een 64 9 2 FUNKIONSZU OTONU Greene ee ee 65 9 2 1 E NG NAO actos arsed as er ee ar a ee 65 5 2 1 1 Realisierung der Hardware Endschalter Funktion 65 9 22 AUSGANG annette nice ea cic etm NE 66 6 Konfigurationsbeispiel SIMATIC Manag f cic seca EIER NIE A AA EAG 67 6 1 GSD Datei Installation 2200022000240022n0ennnnnnnnennnnennnnennnennnn nenn nenn nenne nenne nennen 67 6 2 Antrieb in Profibus Netzwerk einf gen us22224000404400 nennen nnnnnnnnnennn nennen nnnnnne nennen 67 0 3 Telegrammauswahl een ee 67 6 4 Erstinbetriebnahme ber manuelles Ansteuern mithilfe Variablentabelle 68 7 Vorgehensweise zum Positionieren Referenzieren und Tippen uuus2u202020000nannnnnnnen 69 7 1 Antrieb in Betriebsart Positioning Mode versetzen
18. has not yet been reached set speed No meaning 9 ana TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 106 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS communication an The positioning parameters related to this mode of operation P201 P203 refer to the index 0 Run under speed control For speed ramp settings see Positioning mode Figure 5 Page 101 Speed P201 Figure 7 Ramp settings In order to be able to run under speed control it is necessary to go through state transitions TB1 to TB3 After TB3 the drive begins to move according to the set ramp When the preset speed has been reached this is indicated in the status word Bit10 The speed is maintained until either the fastest possible stopping is initiated by resetting Bit 4 in the control word or the drive is ramped down at the set deceleration by resetting Bit 5 or 6 In state SB4 i e the drive has reached the preset speed the drive accepts a changed speed setpoint without delay P2071 The following parameters affect a positioning order Table 13 Parameters affecting a positioning movement Parameter Significance Tracking distance see Positioning mode page 99 Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 107 of 147 PROFIBUS communication TRelectronic 4 2 4
19. m 514 Max Drehzahl rwifws C4 4350 0 2000000000 Maximale Drehzahl in Umdreh min MD 300 4350 Umdreh min Keine C4 Datentypinterpretation PNU Name Attribut Datentyp Default Min Max Max_Beschleunigung rw f w s 10000 o 2000000000 Maximale Beschleunigung und Bremsbeschleunigung in Umdreh min sec Keine C4 Datentypinterpretation PNU Name Attribut Datentyp Default Min Max Betriebsstunden rwi is_ UNSIGNED32 0 O 4294967295 Betriebsstundenz hler Inkrementierung erfolgt nur bei aktiviertem Regler TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 48 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS Kommunikation PNU Name Attribut Datentyp Default Min Max Parameter initialisieri unsinedig o o o o o SS Zeigt an ob im Flash Speicher ein gultiges Abbild des encoTRive OV abgelegt ist Falls der Parameter den Wert 0xAB18 enth lt ist im Flash ein g ltiges encoTRive OV gespeichert Pnu name arat paoro Toetan win me 803 Digital_Input ro p UNSIGNED16 Zeigt Status der digitalen Eingange Pnu name Atibut Datentyp Defau mm Max 804 DigitalOutput rw p_ UNSIGNEDI6 o Jo es CS Uber diesen Parameter k nnen bitcodiert die digitalen Ausg nge Bit 0 3 Byte 0 angesteuert werden Uber Bit 7 1 Byte 1 kann bergeordnet die mechanische Bremse gel ftet werden Beispiel 1000 00
20. so kann es vorkommen dass ein Positionierauftrag nicht beendet wird Der Zielbereich h ngt von den Parametern 505 Geberaufl sung 1 Getriebefaktor und 2 Steigung ab Der Default Wert entspricht 0 01 mm TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 46 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS Kommunikation PNU Name Attribut Datentyp Default Min Max Schleppabstand 10240 o 20oooooooo Der maximale Schleppabstand definiert die maximal zul ssige Differenz zwischen internen Positions sollwert und aktuellen Positionsistwert Wert 0 bedeutet dass die Schleppfehleruberwachung deak tiviert ist Defaultwert Interpretation 1024 Encoderinkremente x 10 Motorumdrehungen PNU Name Attribut Datentyp Default Min Max 1000000 2 10 12000000000 Maximal zul ssige Elektroniktemperatur in C PNU Name Attribut Datentyp Default Mn Max_ 150000 200000 Mit diesem Parameter wird der maximale Uberstrom in A definiert Dieser Strom wird kurzzeitig beim Beschleunigen f r 500ms zugelassen um das Losbrechmoment zu berwinden arnung Beim berschreiten der Elektroniktemperatur ber diesen definierten Parameterwert wird eine zugeh rige Warnung ausgegeben PNU Name Attribut Datentyp Default Min Mm STW2 null UNSIGNEDI6 o fo ess3s ber das Steuerwort 2 kann der Parameter Satzanwahl P402 ebenfalls geschrieben werden N
21. 06 30 05 Positioning with table of travel commands New P804 Digital output A mechanical brake can be released by setting Bit 4 1 Error number 560 Positioning time too long 07126105 Modified Parameter attribute p PZD configuration updated accordingly Neu 11 16 05 Document bilingual General document revisions to the actual condition 05 16 07 Modifications PNU804 07 06 07 General document revisions to the actual condition layout modifications 08 13 07 Modifications Table DPV1 Request PNU1 and 2 02 28 08 Project Engineering Manual TR EMO BA DGB 0015 PNU 804 TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 80 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic General information 1 General information This encoTRive PROFIBUS manual includes the following topics e Safety instructions in additional to the basic safety instructions defined in the Project Engineering Manual e PROFldrive drive profile e PROFIBUS communication e Configuration Parameterization e Troubleshooting and diagnosis options As the documentation is made up in a modular manner this encoTRive PROFIBUS manual constitutes an addition to other documentation such as customer specific user manuals project engineering manual dimension drawings brochures etc The encoTRive PROFIBUS Manual may be included in the customers specific delivery package or it may be reque
22. 0x40 Identifier 0x4006 Array aus UNSIGNED16 8 0x00 Anzahl Array Elemente 6 9 Normierungsfaktor Gleitkommazahl 1 0 Attribut 0x0000 reserviert 120 10 50 P Name PZD Setpt conf 22 _ 0x44 D 23 0x20 25 0x65 fe 27 O70 Jp 29 177 3141 Ox6F_ Jo 34 mE 35 Ox0O Unterer Grenzwert 0x00000000 Oberer Grenzwert OxOOOOFFFF 65535 Reserviert ID Extension PZD Ref PZD Normierung Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 63 of 147 Funktion Digital Eing nge Ausg nge Relectronic 5 Funktion Digital Eing nge Ausg nge 5 1 Grundfunktionen 5 1 1 Eing nge Die vier integrierten digitalen Eing nge bernehmen auf der Feldebene die Funktion eines zus tzlichen Eingangsmoduls Signale der angeschlossenen Sensoren werden ber den Parameter P803 Digital _Input bitcodiert abgebildet und haben keinen direkten Einfluss auf die Antriebsaktivit t Ist der Parameter P803 in den Prozessdaten enthalten werden diese zyklisch an den Master weitergeleitet Weitere Informationen zu digitalen Eing ngen sind aus folgenden Dokumentationen zu entnehmen e Steckerbelegung TR EMO TI DGB 0016 e encoTRive Projektierungsanleitung TR EMO BA DGB 0015 5 1 2 Ausg nge Die vier integrierten digitalen Ausg nge bernehmen auf der Feldebene die Funktion eines zu
23. BA DGB 0006 07 Page 73 of 147 Die haufigsten Kundenfragen Relectronic TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 74 of 147 TR EMO BA DGB 0006 07 02 28 2008 Relectronic User Manual Decentralized positioning drives MD 300 PB CXXX Printed in the Federal Republic of Ger Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 75 of 147 Relectronic TR Electronic GmbH D 78647 Trossingen Eglishalde 6 Tel 0049 07425 228 0 Fax 0049 07425 228 33 E mail info tr electronic de http www tr electronic de Copyright protection This Manual including the illustrations contained therein is subject to copyright protection Use of this Manual by third parties in contravention of copyright regulations is forbidden Reproduction translation as well as electronic and photographic archiving and modification require the written content of the manufacturer Offenders will be liable for damages Subject to amendments Any technical changes that serve the purpose of technical progress reserved Document information Release date Rev date 02 28 2008 Document rev no TR EMO BA DGB 0006 07 File name TR EMO BA DGB 0006 07 DOC Author MUJ Font styles eee Italic or bold font styles are used for the title of a document or are used for highlighting Courier font displays text which is visible on the display or
24. O Pi __ Proportionakintegral OOO O Po Proportonakmtegrar Derva SSS PKW STW PLC ZSW TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 82 of 147 TR EMO BA DGB 0006 07 02 28 2008 FRelectronic Additional safety instructions 2 Additional safety instructions 2 1 Definition of symbols and instructions A means that death serious injury or major damage to property could occur if the required precautions are not met WARNING A means that minor injuries or damage to property can occur if the stated precautions are not met CAUTION af indicates important information or features and application tips for the product used 2 2 Organizational measures e This encoTRive PROFIBUS manual must always be kept accessible at the place of operation of the encoTRive e Prior to commencing work personnel working with the encoTRive must have read and understood the Project Engineering Manual in particular the chapter entitled Basic safety instructions and this encoTRive PROFIBUS manual in particular the chapter entitled Additional safety instructions This particularly applies for personnel who are only deployed occasionally e g in the parameterization of the encoTRive Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 83 of 147 PROFIdrive drive pr
25. Request die Referenz Request ID Ox01 77a parameter Parameter lesen 0x02 0x02 Change parameter Parameter schreiben parameter Parameter schreiben Axis Achsen AE eng f r Mehrachsenantriebe En DE por Bei Multi Parameter Zugriffen enth lt dieses Feld die Anzahl der Parameter Bei enco TRive Wert 0x01 Attribut Spezifiziert auf was zugegriffen wird 0x10 Zugriff auf Wert 0x20 Zugriff auf Beschreibung 8 faen Bememe Elemente Bei Zugriff auf einfache Parameter Wert 0x00 Aan Eememe ma Anzahl Array Elemente auf die zugegriffen wird T Pr 8 suwine Honey OOOO e swin towe OOO 10 Format Datentyp gem Tabelle 16 Dieser Teil ist nur bei einem Seite 41 Zus tzlich erlaubt Schreibzugriff auf Parameter sind vorhanden 0x41 Byte 0x42 Word 0x43 Double Word Anzahl Werte Anzahl der folgenden Werte 2 Werte Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 57 of 147 PROFIBUS Kommunikation TRelectronic Tabelle 23 DPV1 Response Beschreibung Ta Request Referenz gespiegelt Ox01 Parameter lesen erfolgreich 0x81 Parameter lesen nicht erfolgreich 1 Response ID l l 0x02 Parameter schreiben erfolgreich 0x82 Parameter schreiben nicht erfolgreich 9 Axis gespiegelt Achsen Adressierung fur Mehrachsenantriebe Wird derzeit nicht ausgewertet Anzahl Parameter Bei encoTRive Wert 0x01 Datentyp gem Tabelle 16 Dieser
26. STW Bit6 gt Bit13 ZSW 0 gt Antrieb f hrt Positionierung beendet d h Zielposition erreicht ZSW 00 1 0_0 1 10_0011_0100 gt Bit10 ZSW 1 gt Zielposition erreicht gt Bit13 ZSW 1 gt Antrieb steht Zum erneuten Starten einer Positionierung muss nur eine neue Zielposition vorgegeben werden und anschlie end Bit 6 im Steuerwort getoggelt werden Daraufhin verfahrt der Antrieb an die vorgegebene Zielposition Es ist sogar moglich einen Fahrauftrag fliegend zu andern 1 Neue Zielposition Geschwindigkeit oder Beschleunigung PZD Telegramm schreiben 2 Bit6 STW Flanke gt Neue Sollwerte freigeben 3 Antrieb verfahrt gem neuen Fahrparametern Eine Positionierung kann ber Bits 0 im Steuerwort unterbrochen werden Durch erneutes Setzen des selben Bits kann die Fahrt fortgesetzt werden Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 71 of 147 Die haufigsten Kundenfragen electronic 8 Die h ufigsten Kundenfragen Dieses Kapitel beantwortet die h ufigsten Kundenfragen die w hrend der Inbetriebnahme oder zum allgemeinen Verst ndnis herangezogen werden k nnen Allgemeine Fragen zur Software Allgemeine Fragen zur Hardware Betriebsart Positionieren Betriebsart Geschwindigkeitsregelung oe YS SPS Funktionsbausteine Kommunikation 1 Allgemeine Fragen zur Software F 1 Wie interpretiere ich
27. Saving the object directory in flash Factory settings When the encoTRive is switched on the object directory is initially preloaded with the factory settings If the flash memory contains a valid image of the object directory then the object directory is overwritten with this image Otherwise the works settings will be retained Changes to the object directory can be made during operation by changing the value of Parameter 971 from 0 to 1 The values stored in this way are used in the next run up The object directory can be reloaded with the factory settings by changing the value of Parameter 970 from 1 to 0 These can be stored in flash by means of Parameter 971 4 2 6 2 Types of parameter lal PROF I Drive differentiates between simple parameter values simple variables and those which are made up of several similar types of information array variables An array consists of a number n of elements of the same data type In the case of arrays the individual elements can be accessed by means of the subindex When accessing parameters via the PKW the indexing of an array starts with subindex 1 and when accessing via the DPV1 with subindex 0 Subindex 0 is always used with simple variables 4 2 6 3 Data types Amongst other things PROFIDrive defines integer data types of different length which can be used with and without sign In the case of integer data types with sign the most significant bit indicates whether the num
28. Travel range and reference point coordinate aA Internal in the drive the reference point is always assumed as center point of the max travel range 4 2 4 1 Reference point coordinate If the Max Software Limit Switch Positions shall be kept a displacement of the Reference Point Coordinate is not possible The adjusted Reference Point must be considered as difference to both Software Limit Switch Positions in order to avoid an exceeding of the Travel Range Max Travel Range X amp X 2 Y Y X 2 Y Min Reference Point Coordinate Max Software Limit Software Limit Switch Position Switch Position Figure 8 Software limit switch positions Reference point coordinate TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 108 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS communication 4 2 4 2 Calculation of the max software limit switch position values Internal the range of numbers is limited to 32 bit 4 294 967 296 d li Ascertainable revolutions Ascertainable revolutions mechanically Software limit switch calculation 65 536 65 472 Revolution ascerainabie F OR reed 40000 C4 Gear speed reduction Travel Range we C4 Formula 1 Calculation of the max travel range Example 1 Example 2 Example 3 C4 Data type C4 Data type C4 Data type PNO1 Gear factor 10 000 80 000 80 000 PNO2 Pitch 10 000 30
29. aktiv Stufe1 ZSW 1 0 TAT STW 0 0 SA4 Betriebsbereit ZSW 1 1 TA4 STW 3 1 Betriebsartspezifische Aktionen Einstellung der Betriebsart P930 TA5 STW 3 0 SA5 Betrieb sperren aktiv ZSW 2 0 TA13 STW 1 0 TA12 Lastschutz ge ffnet TA15 interner oder externer Fehler AUS3 Stufe2 Lastschutz ffnen ZSW 5 0 SA9 TA11 Drehzahl Strom 0 SA8 Antrieb schnellst m glich stoppen ZSW 5 0 TA 10 STW 2 0 Abbildung 3 PROFIDrive Zustandsmaschine allgemeiner Teil TR Electronic GmbH 2005 All Rights Reserved Page 22 of 147 TR EMO BA DGB 0006 07 Printed in the Federal Republic of Germany 02 28 2008 TRelectronic PROFIBUS Kommunikation Nach dem Zustandsubergang TA4 konnen Aktionen ausgefuhrt werden die abhangig von der gew hlten Betriebsart sind Die Betriebsart wird in Parameter 930 eingestellt encoTRive unterst tzt folgende Betriebsarten Tabelle 4 encoTRive Betriebsarten Werte fur Parameter 930 Kodierung Beschreibung 0x0001 Geschwindigkeitsregelung 0x0002 Positionieren 4 2 3 2 Steuerwort und Zustandswort Im Steuerwort bermittelt der Master Befehle an den Antrieb Im Zustandswort teilt der Antrieb Informationen ber seinen Zustand mit Tabelle 5 Steuerwort STW Bit Wert Bedeutung Beschreibung Kira o Betriebsbereit Spannung an Stromrichter
30. bei DPV1 k nnen Parameter geschrieben und gelesen werden Dabei gelten folgende Konventionen e Bei Arrays erfolgt der PKW Zugriff auf das erste Element mit Subindex 1 Bei DPV1 mit Subindex 0 e Bei einfachen Parametern wird als Subindex stets 0 verwendet e Parameternummer und Parameterwerte werden in Big Endian Format Ein ganzzahliger 16 Bit Wert 0x1234 wird so bertragen dass zuerst 0x12 dann 0x34 folgt Bei einem 32 Bit Wert 0x12345678 erscheint im Telegramm an zuerst an der niedrigsten Adresse der Wert 0x12 dann 0x34 dann 0x56 dann 0x78 4 2 6 7 Parameterzugriff uber PKW Die 8 Byte des PKW Kanals sind wie folgt belegt Tabelle 18 PKW Bereich IND PKE Subindex PWE Parameterkennung Parameterwert Supine o Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 53 of 147 PROFIBUS Kommunikation TRelectronic Der PKE Bereich dient zur Identifikation von Parameter und Zugriffsart Tabelle 19 Parameterkennung PKE Bit Bedeutung Auftragskennung Richtung DPM1 Slave Antwortkennung Richtung Slave gt DPM1 Richtung DPM1 Slave Richtung Slave gt DPM1 keine Antwort Parameterwert bertragen Wort Parameterwert bertragen Doppelwort Parameterbeschreibung bertragen Parameterwert bertragen Array Wort Parameterwert bertragen Array Doppelwort Anzahl Arrayelement bertragen
31. for operation Voltage on converter ES OFF 1 Stop return to Ready to switch on state decelerate on acceleration ramp 14 Operating condition All OFF 2 commands are canceled 0 OFF 2 Disconnection of voltage is Operating condition All OFF 3 commands are canceled OFF 3 Fast stop if necessary remove operating inhibit stop as fast as possible 1 Run enable Enable electronics and pulses Run inhibit Drive coasts to a stop and goes to Ready state Biss to operating mode Eu Specific to operating mode 6 Specific to operating mode Fault acknowledged with positive edge 0 gt 1 This is followed by a Acknowledge state transition to Switch on inhibit when the fault has been successfully removed mes without significance D oe 1 on Prerequisite Run enabled no positioning operation active 0 Jog 1 off Max Jog 2 on Prerequisite Run enabled no a TE operation active Jog 2 off p10 f 4 a econ Command undertaken PETE Er EEE control system Process data valid o a No command Process data invalid 11 Specific to operating mode 1245 notus o Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 97 of 147 PROFIBUS communication TRelectronic Table 6 Status word ZSW Bit Value Significance Description 1 Ready to switch on Power supply switched on electronics initialized Ma
32. in The reference value 100 is determined by the maximum acceleration Parameter 515 300 Software limit rw f w Array 4 2000000000 2000000000 switch min C4 The parameter specifies the left hand software limit switch The default value depends from the gear used 2000000000 301 Software limit rw f w Array 4 2000000000 switch max C4 The parameter specifies the right hand software limit switch The default value depends from the gear used rwifhwip 95000 150000 This parameter defines the maximum continuous current in A Attribute Data type Target range 100000 The parameter specifies the accuracy window in mm If the actual value of position is within the range defined by this parameter then a positioning movement is looked upon as being complete If the target range is chosen to be too small then it is possible that a positioning order may not be completed The target range depends on Parameters 505 encoder resolution 1 gearbox factor and 2 pitch The default value is 0 01 mm TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 120 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS communication 305 Tracking rw f w C4 10240 2000000000 distance The maximum tracking distance defines the maximum permissible difference between the internal setpoint and the current actual value of position A value O means that the tracking erro
33. jogging 7 1 Set drive to Positioning Mode To enable the drive to be positioned referenced or jogged via Profibus the drive must first be put into Positioning Mode according to PROFIDRIVE V3 0 This can be done by using the following procedure current status by means of the status word must be maintained as otherwise the pA The order of the control commands control word and the interrogation of the command sent cannot be executed 1 Status word ZSW P968 returned after switch on ZSW 0000_0010 0100 _0000 gt Bit6 ZSW 1 gt Switch on inhibit gt Bit9 ZSW 1 gt Command required the control system is requested to take over command Status SWITCH ON INHIBIT Action required none 2 Change from SWITCH ON INHIBIT to READY TO SWITCH ON STW 0000_0 1 00_0000_0 11 0 gt Bit1 2 STW 1 gt All OFF2 and OFF3 commands are canceled gt Bit10 STW 1 gt Command assumed by control system process data valid Must always be set for cyclical communication via Profibus Feedback ZSW 0000_0010_00011 _000N gt Bit0 ZSW 1 gt Ready to switch on gt Bit4 5 ZSW 1 gt No OFF2 OFF3 3 Change from READY TO SWITCH ON to READY STW 0000_0100_0000_01 Ah gt Bit0 STW 1 gt Ready voltage on converter Feedback ZSW 0000_0010 001 1_ 00 40 gt Bitl ZSW 1 gt Ready 4 Change from READY to OPERATION ENABLE STW 0000_01 00 0000 1 1 11 gt BitO
34. muss lediglich das Bit8 oder Bit 9 gesetzt werden 1 Tippen standardm ig in positive Richtung STW 0000_0110_0000_1 111 gt Bit9 STW 1 gt Tippen 1 Ein 2 Tippen standardm ig in negative Richtung STW 0000_01 of1 _0000_1 111 gt Bit8 STW 1 gt Tippen 1 Ein R ckmeldung f r beide ZSW 000l0_0010_001 1_0100 gt Bit13 ZSW 0 gt Antrieb f hrt TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 70 of 147 TR EMO BA DGB 0006 07 02 28 2008 electronic Vorgehensweise zum Positionieren Referenzieren und Tippen 7 1 3 Positionieren Zum Positionieren mussen die im PZD Telegramm gemappten Sollwertparameter entsprechend der PZD Konfiguration P915 und P916 beschrieben werden Das sind im einzelnen P200 0 Zielposition in mm C4 10000 P201 0 Geschwindigkeit in N2 100 Wert 16384 P202 0 Beschleunigung in N2 P302 Stromsollwert in Ampere C4 10000 Zum Starten des Positioniervorgangs mussen zuerst folgende Bits vorbelegt werden 1 Vorbelegung Positionierbits STW 0000_0100_00111 1111 gt Bit4 STW 1 gt Betriebsbedingung f r Positionieren gt Bits STW 1 gt Betriebsbedingung f r Positionieren 2 Positionierstart STW 0000_0100_01 011_1111 gt Bit6 STW Flanke gt Positionierung starten Ruckmeldung ZSW 0001 0 0010_0011_ 0100 gt Bit12 ZSW Flanke gt Sollwert quittiert Pegel
35. screen and software menu selections Mg gt indicates keys on your computer keyboard such as lt RETURN gt PROFIBUS DP and the PROFIBUS logo are registered trademarks of PROFIBUS Nutzerorganisation e V PNO PROFIBUS User Organization CoDeSys is a registered trademark of 3S Smart Software Solutions GmbH encoTRive is a registered trademark of TR Electronic GmbH TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 76 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic Contents Contents GOMEN ee eee erect a ae Eure ein en ee Bene enne eumecoeteee cece ee ee ee 77 REVISION INGO X vermengen 80 1 General information ensure 81 aT OU nenne ee ee ersehen 81 1 2 POG ANN ne nee eier ne EA EE E A 81 1 3 Abbreviations used Terminol gy au a a 82 2 Additional safety instructions ueuuurnns0n0nnnnnnnnonnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnennnnnn 83 2 1 Definition of symbols and instructions 4us00404000Bnennnn nennen nnnnnn nennen nnnnnnennennnnnnn 83 2 2 Organizalionalmeas ressu ennse ee eu 83 3 PROFIdrive drive Profile ee men aE EEEE EEEa 84 3 1 The object CIRC COLON ya ee een 84 3 2 PROFIDRIVE ODJect dl ECO een EEA 84 3 3 State machine status and control word 422424444 RR Rennen anne en nen ann anne nennen nennen nenn 84 4 PROFIBUS COMMUNICATION 2222202n0000 n00nnnnnonnnnnnnnnnnnnnnnnnnnnnn
36. the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 65 of 147 Funktion Digital Eing nge Ausg nge Relectronic Tabelle 25 Funktions bersicht der Endschalter Wert aktiver Pegel Funktion Reaktion High a Endschaltereingang positiv Schnellhalt mit St rung 580 PB Ow 4 Hoh a a Endschaltereingang negativ Schnellhalt mit Storung 581 Ow 6 High a Bremse luften Integrierte Haltebremse l ften li Aktivierung der Hardware Endschalter Funktionen muss vor der Regler Freigabe erfolgen Beispiel Es sind 2 Hardware Endschalter als Offner an den digitalen Eing ngen 0 und 1 angeschlossen Um die entsprechende Funktion zu aktivieren muss folgender Wert f r Parameter P807 geschrieben werden Eingang 0 als positiver Endschalter Low aktiv gt Byte 0 03 Eingang 1 als negativer Endschalter Low aktiv gt Byte 1 05 Byte 3 Byte 2 Byte 1 DEE TE a EL TE BE Parameter P807 Ox0000 0503 1283 dez 5 2 2 Ausg nge ber den 4 Byte Parameter P808 Dig Out Funktion k nnen den 4 Digital Ausg ngen unterschiedliche Funktionen zugeordnet werden Hierbei ist f r jeden Ausgang ein Byte reserviert P808 Byte 3 Byte 2 Byte 1 Byte 0 Ausgang 3 Ausgang 2 Ausgang 1 Ausgang 0 0 255 0 255 0 255 TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 66 of 147 TR EMO BA DGB 0006
37. 00 327 360 000 122 760 000 5 115 000 000 32 Bit Ergebnis Keine 32 Bit Bereichsverletzung Bereichsverletzung Tabelle 14 Beispiele aus der Berechnung des maximalen Verfahrbereichs Der 32 bit Zahlenbereich wird bei der Software Endschalter Dimensionierung li gepr ft Tritt eine Bereichsuberschreitung auf kann beispielsweise der Steigungswert um Faktor 10 reduziert werden Der Steigungswert entspricht jetzt nicht mehr dem C4 Datentyp Dies gilt auch f r den Lageistwert die Zielposition und die Software Endschalterpositionswerte 1 Zahlenwert f r Berechnung des maximalen Verfahrbereichs Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 35 of 147 PROFIBUS Kommunikation Relectronic 4 2 4 3 Definition des Verfahrbereichs Ist der ber die Software Endschalterpositionen definierte tats chliche Verfahrbereich gr er als die H lfte des maximal Verfahrbereichs kann eine maximale Referenzpunktkoordinate aus der Differenz zwischen dem maximalen und dem tats chlichen Verfahrbereich definiert werden Maximaler Verfahrbereich x Tats chlicher Verfahrbereich Z Z gt XI2 Y W X Z2 Ya W X Z 2 S1 Y S2 X 2 Y Software Referenzpunktkoordinate Software Endschalterposition Endschalterposition W S1 S2 2 Abbildung 9 Maximale Referenzpunktkoordinate Z gt X 2 Ist der definierte Verfahrber
38. 00 0000 1111 Co rw w UNSIGNED16 gesetzt Zeigt an ob der Antrieb referenziert ist Wert 1 Antrieb referenziert Wert 0 Antrieb nicht referenziert Nach der Referenzierung wird der Parameterwert remanent auf eins gesetzt Option Werksvoreinstellung laden oder ein manuelles berschreiben stellen sofort den Defaultwert 0 remanent wieder her Attribut Datentyp 807 Dig In Funktion rw UNSIGNED2 0 o 2000000000 ber den 4 Byte Parameter k nnen den 4 Digital Eing ngen unterschiedliche Funktionen zugeordnet werden z B Aktivierung der Hardwareendschalter Hierbei ist f r jeden Eingang ein Byte reserviert siehe Kapitel Funktion Digital Eing nge Ausg nge Seite 64 Attribut Datentyp 808 Dig Out Funktion rw w__ UNSIGNED32 0 o 2000000000 ber den 4 Byte Parameter k nnen den 4 Digital Ausg ngen unterschiedliche Funktionen zugeordnet werden Hierbei ist f r jeden Ausgang ein Byte reserviert PNU Name Attribut Datentyp Default Min Max EntprelidauerE rwew _ T4 10 o 1000 bernahme des Signal Pegels nach der definierten Entprelldauer ms Name Attribut Datentyp COCOH rw Array 32 UNSIGNED32 Parameter mit dem Firmware Update ber das EncoTRiveTool erm glicht wird Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 49 of 147 PROFIBUS Kommunikation Relectronic 4 2 6 5 2 Profilspe
39. 000 1 250 000 Max Software Limit Switch 654 720 000 245 520 000 10 230 000 000 Max 654 720 000 245 520 000 10 230 000 000 Travel Range Default value PNO 300 327 360 000 122 760 000 5 115 000 000 Default value PNO 301 327 360 000 122 760 000 5 115 000 000 Result No 32 bit overflow 32 bit overflow Table 14 Examples from the calculation of the maximum travel range With the software limit switches dimensioning the 32 bit number range will be checked If an overflow occurs for example the value for the pitch can be reduced li by factor 10 Now the value of the pitch is no more a C4 data type This applies also for the actual value of position the target position and the software limit switch position values Numerical value for calculation of the maximum travel range Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 109 of 147 PROFIBUS communication TRelectronic 4 2 4 3 Definition of the travel range Is the Real Travel Range which is defined about the Software Limit Switch Positions larger than Max Travel Range a maximum Reference Point Coordinate can be defined from the difference between the Max Travel Range and the Real Travel Range Max Travel Range X Real Travel Range Z Z gt X 2 Yao W X Z 2 Yaa W X Z 2 Y Soft Ri Limit Reference Point Son S2 ot X 2 Y
40. 0000FFFF 68535 Reserved ID extension PZD Ref PZD normalization Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 137 of 147 Function of the digital inputs and outputs electronic 5 Function of the digital inputs and outputs 5 1 Basic function 5 1 1 Inputs On the field bus level the four integrated digital inputs are working as an additional input module Signals of the connected sensors are mapped bit coded by parameter P803 Digital Input and have no direct influence to the drive activity If the parameter P803 is contained in the process data the parameter data are transmitted cyclically to the master Further information s to the digital inputs are given in the following documentations e Pin assignment TR EMO TI DGB 0016 e encoTRive Project Engineering Manual TR EMO BA DGB 0015 5 1 2 Outputs On the field bus level the four integrated digital outputs are working as an additional output module Over the parameter P804 Digital_Output the actuators are controlled directly by the master and have therefore no direct influence to the drive activity Further information s to the digital outputs are given in the following documentations e Pin assignment TR EMO TI DGB 0016 e encoTRive Project Engineering Manual TR EMO BA DGB 0015 TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republ
41. 2 1 Integer 8 bit value without sign 5 UNSIGNED8 8 bit Range of values 0 255 Integer 16 bit value without sign UNSIGNED16 16 bit Range of values 0 65535 7 UNSIGNED32 32bit 0 2 4 00 9 Visible String pe eee string of ASCII characters Linear normalized value 0 corresponds to value O 33 0x21 N2 16 bit 100 corresponds to value 16384 0x4000 Resolution 100 2 0 0061 N2 value x corresponds to 100 x 16384 Linear normalized value 0 corresponds to 0 0x22 32 bit 30 100 corresponds to 2 IE Resolution 100 2 0 000000093 9 0x27 32 bit The value is specified in multiples of the constant scan rate of ims Linear fixed point value with four places after the decimal point Value 0 in C4 representation 0 Value 0 0001 in C4 representation 1 42 0x2A C4 39 bit Value 1 in C4 representation 10000 Range of values as INTEGER32 The C4 value represents the value divided by 10000 4 places after the decimal point C4 value 1234567 is interpreted as 123 4567 Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 115 of 147 PROFIBUS communication Relectronic 4 2 6 4 Description of parameters Each parameter in the encoTRive object directory has a parameter description which contains information relating to the parameter The parameter description is stored in the encoTRive memory and can be read
42. 2 5 Diagnosis and maintenance uus24uusnnsneenennnenennn nenne nenne nenne nnennennnnennnnnnnnenn 111 4 2 5 1 Faults and warningS 2uusnsssennnneenennnnennnnenne nenne nnnne nenne nnnnnen ern 111 4 2 6 The object directory 200022000000000nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnennnnnenennnen 114 4 2 6 1 Saving the object directory in flash Factory settings 114 4 2 6 2 Types of parameter u0sssssuenennenennnnennnnennennnnne nenne nennen 114 4 2 6 3 Data YPES energie nee een een eng 114 4 2 6 4 Description of paramelters 0022200204000nennennennennnnnennnnnenenennennn 116 4 2 6 5 List of encoTRive ParaMeteElS cccccecccseececeeececeeeeeseeeeeeeeeeseeeeeas 117 4 2 6 6 Access to parameters via PROFIBUS DP uenene 127 4 2 6 7 Access to parameters via PKW usssuessssenesnenenenennenennnnenennnnen 127 4 2 6 8 Access to parameters via DPV u0222002240022n0nnnnnnnne nennen 130 Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 77 of 147 Contents TRelectronic 5 Function of the digital inputs and outputs 22u20 2u0000nn00nannnnnnnnunnnnnnnnnnnnnnnnunnnnnnnnnnnnnnnnenn 138 Oc asl WUC OM eea E E nedansenenedeaasscede ee esse 138 ro ee Dd Fal 216 3 Cc ete ee ene nee nn ce E E EE E 138 SEZONU a E
43. 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 84 of 147 TR EMO BA DGB 0006 07 02 28 2008 a electronic PROFIBUS communication 4 PROFIBUS communication All signals and information that are required for controlling the electrical drive are transmitted via the field bus PC 1111197777777 DPM2 u Amen Fe ee EES Figure 1 Drives on the field bus 4 1 Cyclical data traffic data required The object directory contains all parameters which are relevant to a drive These include parameters which do not change during the whole running period e g serial number of the device software version Other parameters e g speed acceleration deceleration are changed rather infrequently Finally some parameters are always required to be as up to date as possible the so called process data PZD As a general rule these always include the control word STW the status word ZSW and often the current position value and the target position 4 2 PROFIBUS DP encoTRive is incorporated into a PROFIBUS DP network as a slave A slave may only receive and acknowledge messages and respond to inquiries from a master It communicates with a master which is also referred to as an active bus node There are two types of master e DP master Class 1 DPM1 This exchanges information with the decentralized stations slaves in fixed message cycles As a rule a DPM is a programmable logic c
44. 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 86 of 147 TR EMO BA DGB 0006 07 02 28 2008 J electronic PROFIBUS communication encoTRive supports parameter access by means of the PKW channel and by means of the acyclic DPV1 services Header STW 2 Byte Target position 4 bytes DP Slave drive DP Master Header ZSW 2 Byte Actual value of position 4 bytes Trailer Header PKW 8 Byte STW 2 Byte DP Slave drive DP Slave drive DP Mastr gt Actual value PKG Byte Z W 2 Byte of position 4 bytes Figure 2 Cyclic communication with PKW channel bottom and without top Figure 2 shows the telegrams which are exchanged between DPM1 and slave as part of the cyclic data traffic At the same time the control word and target position are transmitted from the DPM1 to the slave as process data and in the opposite direction the status word and the position value 4 2 1 encoTRive as PROFIBUS DP slave 4 2 1 1 Transmission speed Baud rate encoTRive automatically detects the Baud rate set on PROFIBUS DP when it is switched on This is defined by the master to be the same for all devices when PROFIBUS DP is commissioned All common Baud rates are supported 4 2 1 2 Slave address PROFIBUS node address The PROFIBUS node address uniquely identifies each device on the PROFIBUS In the case of the encoTRive the PROFIBUS node address is permanently set in the device by ha
45. 3 bei dem der Fehler auftrat In diesem Fall sind die ersten beiden Array Elemente erfolgreich berschrieben P915 hat also nach dem teilweise fehlgeschlagenen Schreibzugriff den Inhalt 967 200 ee O 0 3 Parameter 915 0x393 enthalte die Werte 967 1 200 300 0 0 0 Die grau unterlegten Werte sollen gelesen werden DPV1 Request Inhalt o O Request Referenz 0x01 Parameter lesen 0x00 Axis Ox S 0x01 0x04 4 Elemente erster Subindex 0x0001 Anhalt S O Request Referenz 0x01 Parameter lesen erfolgreich 0x00 Axis o 0x00 Axis 6 0x00 Wert 1 0x0001 8 Ox00 Wert 200 9 0xC8_ 0x00C8 0x012C Wert 0 0x0000 Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 61 of 147 PROFIBUS Kommunikation TRelectronic 4 Lesen der gesamten Parameterbeschreibung von Parameter 915 0x393 DPV1 Request Byte Inhalt 0 Request Referenz Oo O oo o o 1 0x01 Parameter lesen 0x01 1 Element oo Bo a 0x03 PNU High Byte 0x93 PNU Low Byte Subindex Ox0000 gesamte Beschreibung TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 62 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS Kommunikation DPV1 Response bei erfolgreicher Ausfuhrung Byte Inhalt 0 Request Referenz o gt oo o oo 6
46. 4240 PKW order 0x00 PKW response Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 129 of 147 PROFIBUS communication Relectronic 4 2 6 8 Access to parameters via DPV1 Up to a maximum of 4 bytes of user data can be transported with a PKW order With DPV1 on the other hand considerably larger amounts of data can be transported In particular sub areas of arrays can be transmitted in one order PROFIDrive 3 0 even allows so called multi parameter orders where several parameters can be read or written in one DPV1 order encoTRive does not support multi parameter orders A write or read order always refers to only one parameter A DPV1 order is transmitted from the master to the slave as a data range of an acyclic write order For this purpose the master uses the service MSAC1_WRITE for DPM1 or MSAC2_WRITE for DPM2 Correct transmission of the order is acknowledged to the master The master tries to obtain the response to the DPV1 order DPV1 response from the slave with the service MSAC1_READ or MSAC2_READ As long as the order is being processed this read order is acknowledged in the negative error code State Conflict When the DPV1 response is available at the slave the slave sends a positive acknowledgement as a reply to the MSAC1_READ MSAC2_READ which contains the DPV1 response in the data range The acyclic c
47. 6384 a 6384 Geschwindigkeit Geschwindigkeit beim Tippen in Die Bezugsgr e 100 wird ber die maximale Drehzahl Parameter 514 festgelegt Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 45 of 147 PROFIBUS Kommunikation Relectronic a paaa T a a eS 205 JOG rw f w 4096 nn Beschleunigung Beschleunigung beim Tippen in Die Bezugsgr e 100 wird ber die maximale Beschleunigung Parameter 515 festgelegt a eS 206 JOG rw f w 16384 Verzogerung Bremsbeschleunigung beim Tippen in Die Bezugsgr e 100 wird ber die maximale Beschleunigung Parameter 515 festgelegt 300 Software rw f w Array 4 un Dee DE _ _ ae Der See gibt den SW Endschalter links an Der Defaultwert ist je nach eingesetztem Getriebe verschieden LL rw f w Array 4 C4 er CB A Der Seen gibt den SW Endschalter rechts an Der Defaultwert ist je nach eingesetztem Getriebe verschieden PNU Name Attribut Datentyp Default Mn Ma rfl 95000 150000 Mit diesem Parameter wird der maximale Dauerstrom in A definiert PNU Name Attribut Datentyp Default Min Max Zielbereich 100000 Der Parameter gibt das Genauigkeitsfenster in mm an Befindet sich der Lageistwert in dem hiermit spezifizierten Intervall um den Lagesollwert so wird eine Positionierung als beendet angesehen Wird der Zielbereich zu klein gew hlt
48. 7 Page 39 of 147 PROFIBUS Kommunikation TRelectronic 4 2 6 Das Objektverzeichnis 4 2 6 1 Speicherung des OV im Flash Werksvoreinstellungen Nach dem Einschalten von encoTRive wird zun chst das OV mit den Werksvoreinstellungen vorbelegt Enth lt der Flash Speicher ein g ltiges Abbild des OV so wird das OV mit diesem Abbild berschrieben Ansonsten werden die Werksvoreinstellungen beibehalten Im laufenden Betrieb k nnen nderungen im OV im Flash gespeichert werden indem der Wert des Parameters 971 von O auf 1 ver ndert wird Die so gespeicherten Werte werden beim n chsten Hochlauf verwendet Durch eine nderung des Werts von Parameter 970 von 1 auf 0 kann das OV wieder mit Werksvoreinstellungen geladen werden Diese lassen sich ber Parameter 971 wieder im Flash speichern 4 2 6 2 Parameterarten an PROFIDrive unterscheidet einfache Parameterwerte Simple Variable und solche die sich aus mehreren gleichartigen Informationen zusammensetzen Array Variable Ein Array besteht aus einer Anzahl n von Elementen gleichen Datentyps Bei Arrays kann ber den Subindex auf die einzelnen Elemente zugegriffen werden Bei Parameterzugriff ber PKW beginnt die Indizierung eines Array mit Subindex 1 bei Zugriff ber DPV1 mit Subindex 0 Bei einfachen Variablen wird stets Subindex 0 verwendet 4 2 6 3 Datentypen PROFIDrive definiert unter anderem ganzzahlige Datentypen verschiedener L nge die mit und ohne Vorzeichen verwen
49. A DGB 0006 07 PROFIBUS Kommunikation TR Electronic GmbH 2005 All Rights Reserved Page 59 of 147 PROFIBUS Kommunikation Parameter 915 0x393 enthalte die Werte 967 1 200 werden DPV1 Request 0 _____ Request Referenz O 0x04 4 Elemente 6 0x03 PNU High Byte 0x93 PNU Low Byte 8 10x00 erster Subindex 0x0001 CHE KT 0x00C8 Wert 201 0x00C9 Wert 202 Ox00CA Wert 203 19 0xCB Ox00CB DPV1 Response a Bei erfolgreicher Ausfuhrung Request Referenz 0x02 Parameter schreiben erfolgreich 0x00 Axis b Bei fehlerhafter Ausf hrung Als Fehlernummer wird OxABCD unterstellt Request Referenz 0x82 Fehler bei Parameter schreiben 0x00 Axis o 0x00 Axis 0x44 Format Fehler 0x01 Anzahl Werte 1 6 OxAB Fehlernummer High Byte OxCD Fehlernummer Low Byte TR Electronic GmbH 2005 All Rights Reserved Page 60 of 147 TR EMO BA DGB 0006 07 Relectronic 300 0 0 0 Die grau unterlegten Werte sollen mit den Werten 200 201 202 203 berschreiben Printed in the Federal Republic of Germany 02 28 2008 TRelectronic PROFIBUS Kommunikation Falls der Fehler erst beim Schreiben des dritten Elements Wert 202 auftritt kann die DPV1 Response folgendes Format haben Byte Inhalt _ S 0 Request Referenz _ _ _ 0x01 OXON 6 ______ OxAB Fehlernummer High Byte 8 10x00 Subindex des ersten Elements 9 0x0
50. Absolut DIOE Lineargeber Motion System CD Seite 2 74 57 LOY GB Page 75 147 encolzive PROFIBUS Handbuch Manual Dezentrale Stellantriebe Decentralized positioning drives MD 300 PB CXXX Series with Profibus DP interface electronic TR EMO BA DGB 0006 07 02 28 2008 Relectronic TR Electronic GmbH D 78647 Trossingen Eglishalde 6 Tel 0049 07425 228 0 Fax 0049 07425 228 33 E mail info tr electronic de http www tr electronic de Urheberrechtsschutz Dieses Handbuch einschlie lich den darin enthaltenen Abbildungen ist urheberrechtlich gesch tzt Drittanwendungen dieses Handbuchs welche von den urheberrechtlichen Bestimmungen abweichen sind verboten Die Reproduktion bersetzung sowie die elektronische und fotografische Archivierung und Ver nderung bedarf der schriftlichen Genehmigung durch den Hersteller Zuwiderhandlungen verpflichten zu Schadenersatz Anderungsvorbehalt Jegliche nderungen die dem technischen Fortschritt dienen vorbehalten Dokumenteninformation Ausgabe Rev Datum 02 28 2008 Dokument Rev Nr TR EMO BA DGB 0006 07 Dateiname TR EMO BA DGB 0006 07 DOC Verfasser MUJ Kursive oder fette Schreibweise steht fur den Titel eines Dokuments oder wird zur Hervorhebung benutzt Courier Schrift zeigt Text an der auf dem Display bzw Bildschirm sichtbar ist und Men auswahlen von Software lt gt weist auf Tasten der Tastatur I
51. Attribute Specifies what is to be accessed 0x10 Access to value e 0x20 Access to description 5 Number of elements When accessing simple parameters value 0x00 N a CH Paameternumoer Honse OSSO O 10 Format Data type according to This part is only available Table 16 Page 115 Also when write accessing allowed are parameters 0x41 Byte 0x42 Word 0x43 Double Word Number of values Number of following values azn vas O S Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 131 of 147 PROFIBUS communication TRelectronic Table 23 DPV1 response i Request reference mirrored C Name I Sigmifleanee 0x01 Parameter read successfully 0x81 Parameter not read successfully Response ID 0x02 Parameter written successfully 0x82 Parameter not written successfully Axis mirrored Not currently evaluated Axis addressing for multi axis drives _ Number of parameters With encoTRive value 0x01 Data type according to Table 16 Page 115 Also allowed are Format 0x41 Byte 0x42 Word 0x43 Double Word 0x44 Error Number of values Number of following values Values Error information TR Electronic GmbH 2005 All Rights Reserved Page 132 of 147 TR EMO BA DGB 0006 07 This part is not available when a write access is successful In the event of a partially failed request format 0x44 Number of values 1 Value
52. Auftrag nicht ausf hrbar kein Auftrag Parameterwert anfordern Parameterwert ndern Wort Parameterwert ndern Doppelwort Parameterbeschreibung anfordern Parameterwert anfordern Array No oO BR WD Parameterwert ndern Array Wort Parameterwert ndern Array Doppelwort O CON OO FP WN O0 Anzahl Arrayelemente anfordern Parameternummer PNU Ist als Antwortkennung der Wert 7 Auftrag nicht ausf hrbar angegeben so enth lt der PWE Bereich eine Fehlernummer welche die Fehlerursache angibt In der folgenden Tabelle sind diese dargestellt Fehlernummer Bedeutung Tabelle 20 PKW DPV1 Fehlernummern TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 54 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS Kommunikation So lange der Slave als Antwortkennung O keine Antwort angibt ist der PKW Auftrag in Bearbeitung Beispiele 1 Der Master will das erste Element bei PKW Subindex 1 von Parameter 947 lesen Auftragskennung 7 Parameterwert anfordern Array Wort PNU 947 0x3B3 Subindex 1 der Slave antwortet positiv und liefert den Wert 1000 Ox3E8 PKW Auftrag PKW Antwort 2 Der Master will Parameter 100 mit Wert 1000 000 beschreiben Der Slave antwortet mit Fehlerkennung Parameter nicht beschreibbar vgl Tabelle 20 PKW DPV1 Fehlernummern Auftragskennung 3 Parameterwert
53. DPV1 Antwort bereit so sendet der Slave als Antwort auf den MSAC1_READ MSAC2_READ eine positive Quittung die im Datenbereich die DPV1 Antwort enth lt Die azyklische Verbindung zwischen DPM1 und Slave wird automatisch aufgebaut INITIATE Request Ein DPM2 muss die azykische Verbindung zum Slave explizit aufbauen Dazu definiert PROFIBUS ein spezielles Sprachmittel den sog INITIATE Der Aufbau dieser Nachricht ist in der PROFIBUS Norm beschrieben encoTRive wertet nur bestimmte Teile der Nachricht aus Es folgt ein Beispiel f r eine INITIATE Request die von encoTRive akzeptiert wird Tabelle 21 Beispiel f r INITIATE Request Byte Beschreibung 0 Send Timeout High Byte 0x00 1 Send Timeout Low Byte 0x64 2 Features Supported 1 0x01 MSAC2_READ und MSAC2 WRITE unterst tzt 4 Profile Features Supported 1 0x00 5 Profile Features Supported 2 0x00 6 Profile Ident Number High Byte 0x00 Profile Ident Number Low Byte 0x00 O s Source Address Destination Address TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 56 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS Kommunikation Aufbau einer DPV1 Request Response Die Gesamtlange einer DPV1 Request DPV1 Response betragt maximal 124 Byte Tabelle 22 DPV1 Request Beschreibung Request Referenz Identifiziert Request Response eindeutig Der Master ndert bei jeder neuen
54. Kennungsbyte Identifier Byte beschrieben Dieses kann im Simple Format oder im Special Format genutzt werden Diese Formate sind durch die Bits 4 und 5 unterschieden Sind beide Bits mit O belegt so handelt es sich um das Special Format encoT Rive verwendet nur das Simple Format Tabelle 1 Identifier Byte Bit Beschreibung Werte 0 Byte bzw Word 1 gesamte Lange Data Unit Size 0 Byte 1 Word a speciai sang T ausgang Eingang Ausgang epee 1 Eingang Ausgang 1 Eingang Ausgang 0000 1 Byte bzw Wort je nach Bit6 0001 2 Byte bzw 2 Worte Lange der Daten 1111 16 Byte bzw 16 Worte Bei den Konfigurationsdaten kommen erst die Ausgange danach die Eingange Der Inhalt des Konfigurierungstelegramms wird durch folgende Daten bestimmt e Wird ein PKW Kanal genutzt e Konfiguration der Prozessdaten Der PKW Kanal wird stets den Prozessdaten vorangestellt Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 15 of 147 PROFIBUS Kommunikation TRelectronic Beispiele 1 Kein PKW Kanal PZD DPM1 encoTRive Steuerwort 16 Bit encoTRive gt DPM1 Statuswort 16 Bit Positions Istwert 32 Bit vgl Abbildung 2 Seite 13 Damit 2 Byte 1 Wort Ausgangsdaten 6 Byte 3 Worte Eingangsdaten Identifier Byte Ausgangsdaten 0xEO 1110 0000 bin Bit 7 1 also Konsistenz uber die gesamte Lange Bit6 1 a
55. RERIEERERBICHRGRERRSERESRBREAGER RA ACERERBEIHEENERANERERNEREB 138 9 2 FUNCION ASSIMO neues ee ee en REEL 139 2 1 IDEE ee ee ee er ee 139 5 2 1 1 Implementation of the hardware limit switch function 139 9 2 2 OUMU ee ee en een 140 6 Configuration example SIMATIC Manage ea EE EE 141 6 1 GSD file installation 0022200020000020nnennnnnenennn nenne nenne nnnnennnnnonnnnnnnennn nenne nennen 141 6 2 Adding a drive to the Profibus network us 2u0s040ss0nnennnnennennne nenne nennen nennen nennen 141 6 3 PICO ART SSIS CHOU aan er arena ie 141 6 4 Initial commissioning by manual control with the help of the variables table 142 7 Procedure for positioning referencing and jogging scccceseeceeeeeeeeeeeeeneeeeneeseeneeseenessoeneees 143 LAV Setdrive to POSITIONING Mode u een nee 143 gia ra ge 912 e eee ee ner ee ee ee ee wen ee 144 DMZ OS MOOS ee edie carseat deat oldest een 144 Pa oO POS OH ING een enden 145 8 FAO Sn ee ee reger 146 TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 78 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic Contents List of tables Table 1 Identifier Byte 000200002200002ennnennnnnnnnennnnnennnnnonnnnn nenne nnnnnennnnnnnnnnennnnnnnnnnnennnnnennnnnenenn 89 Table 2 Standard signals for encoTRive ccccccsseccceec
56. Relectronic Die h ufigsten Kundenfragen 2 Allgemeine Fragen zur Hardware F1 Alle Antriebsdiagnose LED s sind erloschen berpr fen Sie die Spannungsversorgung Ihres Antriebs gegebenenfalls die Konfektionierung Ihres Spannungsversorgungssteckers 3 Betriebsart Positionieren F 1 Kann w hrend einer Positionierung ein neuer Positionierauftrag fliegend gestartet werden Ja Wenn die neuen Verfahrparameter bereitstehen reicht ein Flankenwechsel am STW Bit 6 Es erfolgt ein fliegender Start Jede Flanke am STW Bit 6 startet einen neuen Fahrauftrag Siehe Kapitel 4 2 3 3 Tabelle 7 4 Betriebsart Geschwindigkeitsregelung F 1 Wie gehe ich vor wenn ich w hrend der Drehzahlregelung eine neue Geschwindigkeit vorgeben m chte Hier ist ein zus tzlicher Flankenwechsel am STW Bit 6 nicht erforderlich Sobald eine neue Drehzahl an den Antrieb bergeben wird Parameter 201 Geschwindigkeit wird diese fliegend bernommen 5 SPS Funktionsbausteine Kommunikation F 1 Ist der gleichzeitige Schnittstellenzugriff SPS PROFIBUS und encoTRive Tool RS 232 zum Antrieb m glich Wird das encoTRive Tool parallel betrieben sollte darauf geachtet werden dass beim Schlie en des Tools die F hrungshoheit ber den Parameter 928 PZD Fuhrungshoheit an die SPS DPM1 bergeben wird Siehe Parameter 928 Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO
57. Rights Reserved Printed in the Federal Republic of Germany Page 118 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS communication rol ip ca 1000000 2000000 Electronics temperature in C 16 Actual speed in Power voltage ro ip cA 10000000 Supply voltage to the power section in V Target position rw fiw p Array 32 De 2000000000 2000000000 C4 Target position in mm Attribute Data type rwifwip Array 32 N2 16384 0 16384 Speed in The reference value 100 is determined by the maximum speed Parameter 514 rwifiwip Array 32 N2_ 16384 0 116384 Acceleration in The reference value 100 is determined by the maximum acceleration Parameter 515 rwifiwip Array 32 N2 16384 O 16384 Deceleration in The reference value 100 is determined by the maximum acceleration Parameter 515 e JOG speed 16384 0 16384 Speed when jogging in The reference value 100 is determined by the maximum speed Parameter 514 Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 119 of 147 PROFIBUS communication Relectronic 205 JOG rw f w N2 4096 16384 acceleration Acceleration when jogging in The reference value 100 is determined by the maximum acceleration Parameter 515 206 JOG rw f w N2 16384 16384 deceleration Deceleration when jogging
58. Sprofllii ze ean eek nn ideen len eaeneeke 10 3 1 Das Objektverzeichnis 02220000242000000800000nnnnnonnnnnnnnnnnnnnnnnnnnne nennen nennen nnnnnne nennen 10 3 2 PROFIDRIVE Objektverzeichnis ccccssscccceseeecceescecceseeecsegseeceeaeesssageeessageeesseneeeenes 10 3 3 Zustandsmaschine Status und Steuerwott 222u2424unnannnnnnnenannenannnnnn nennen nennen 10 4 PROFIBUS KOMMURIKSTON anne near 11 4 1 Zyklischer Datenverkehr Bedarfsdaten 244004424400000nnnn nenne nnennnn nennen nnennnennn 11 42 PROFIEU DEE ae ran ande ae Renee nen 11 4 2 1 encolRive als PROFIBUS DP SIAVE swscsssiinsstanraapatiea ionstassccantencebtnatanrssaneterceeats 13 4 2 1 1 Ubertragungsgeschwindigkeit Baudrate 00sse nn 13 4 2 1 2 Slave Adresse PROFIBUS Teilnehmeradresse 13 4 2 1 3 Hochlauf Parametrierung Konfigurierung 2444s04444se eo 14 4 2 1 3 1 Parametrierungstelegramm Chk_Prm eeeeeeeeeen gt 14 4 2 1 3 2 Konfigurierungstelegramm Chk CL 15 4 2 2 Konfigurierung der ProZeSsSdaten ccccccceceeeeeeeeeeeeeeeeeeeeeseaeeeeaeeeeeeseeeeeeeas 17 4 2 3 Antriebsspezifische FUNKtIONGN cccccceecccceececeeeeeceeececeeeeeseeeeseeeeseneessaeees 21 4 2 3 1 Allgemeine Zustandsmaschine uu0444s0Bnenne nenne nenne nennen 21 4 2 3 2 Steuerwort und Zustandswortt us2224uusnennnenennnnennnnnn
59. Teil ist bei einem Seite 41 Zus tzlich erlaubt erfolgreichen Schreibzugriff sind nicht vorhanden Format 0x41 Byte 0x42 Word Im Fall einer teilweise 0x43 Double Word fehlgeschlagenen Request ist 0x44 Fehler Anzahl Werte Anzahl der folgenden Werte 5 Format 0x44 Anzahl Werte 1 Wert Fehlernummer siehe Tabelle 20 oder Werte Fehlerinformation Comat Oxi Anzahl Werte 2 Wert1 Fehlernummer siehe Tabelle 20 Wert2 Subindex des ersten Array Elements bei dem der Fehler auftrat TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 58 of 147 TR EMO BA DGB 0006 07 02 28 2008 Relectronic Beispiele 1 Parameter 930 0x3A2 soll auf Wert 2 gesetzt werden DPV1 Request Byte Request Referenz 0x02 Parameter schreiben 0x00 Axis 0x10 Wert 0x00 einfacher Parameter 7 0x00 Subindex Low Byte 0x01 Anzahl Werte 1 0x02 Wert 2 DPV1 Response a Bei erfolgreicher Ausf hrung a hat 0 Request Referenz 3 OXO o 0x01 b Bei fehlerhafter Ausf hrung Als Fehlernummer wird 0x1234 unterstellt Byte imate 0 Request Referenz 1 0x82 Fehler bei Parameter schreiben 2 0x00 axis 0x01 OXON 4 0x44 Format Fehler DD S 0x01 Anzahl Werte 1 6 0x12 Fehlernummer High Byte 0x34 Fehlernummer Low Byte Printed in the Federal Republic of Germany 02 28 2008 TR EMO B
60. ach ProfiDrive Profil 3 0 ist dies innerhalb des Standardtelegramms 7 erforderlich PNU Name Attribut Datentyp Default Min Max zw w p UNSIGNEDT6 0 065535 Uber das Statuswort 2 kann der Parameter Aktueller Satz P403 ebenfalls gelesen werden Nach ProfiDrive Profil 3 0 ist dies innerhalb des Standardtelegramms 7 erforderlich PNU Name Attribut Datentyp Default Min Max SATZANW rw wip UNSIGNED16 o Jo __ 65535 Mit diesem Parameter kann ein Fahrsatz aus der Fahrsatztabelle vorgew hlt werden Dieser wird beim n chsten Positionierstart ausgef hrt PNU Name Attribut Datentyp Default Min man AKTSATZ rw wip UNSIGNED16 O O 65535 Dieser Parameter zeigt den aktuellen Fahrsatz an Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 47 of 147 PROFIBUS Kommunikation Relectronic Visible String Passwort fur den Schreibzugriff auf die Parameter 501 520 KV_Integral rwif w s UNSIGNED16 Kreisverstarkungsfaktor vom I Anteil PNU Name Attribut Datentyp Default Min Max Geberaufl sung rwif w s 1024 O 2000000000 Geberaufl sung Der Parameter gibt die Anzahl Positionsinkremente pro Motorumdrehung an Keine C4 Datentypinterpretation PNU Name Attribut Datentyp Default Min Max Haltebremse rw f w s UNSIGNED16 4 JO Haltebremse vorhanden Pnu name Tarot Datentyp Defau mm
61. ae Tobe tee je P101 Stromistwert 1 Word Input i 72 77 P947 St rungswort oo J 1 Word Output 478 P803 Digitale Eing nge J 2 worde Input 13 BE Men 4 2 words Output 14 gg Hiperdrive HD 70 gg iServo DP H Schaltger te eH 170 xl Dr cken Sie F1 um Hilfe zu erhalten And Printed in the Federal Republic of Germany 02 28 2008 TR EMO BA DGB 0006 07 TR Electronic GmbH 2005 All Rights Reserved Page 141 of 147 Configuration example SIMATIC Manager electronic 6 4 Initial commissioning by manual control with the help of the variables table It is recommended that the drive be controlled manually for initial commissioning This can be achieved with the help of the variables table in the S7 Manager This makes it possible to read the parameters directly from the drive and to write them indirectly using marker words MW and marker double words MD EA O x Eig Tabelle Bearbeiten Einf gen lelsystem Marable Ansicht Estras Fenster Hilfe x oela S Webel Te EI Epler aol a era er Mw D ele 2 OOOO_O100_0171_1111 0000 0100 0111 1111 L 50000 GOEBEL_sO0MW SIMATIC 400 1 s 45 Prograrnmt 1 lt gt RUN Abs lt 5 2 me TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 142 of 147 TR EMO BA DGB 0006 07 02 28 2008 electronic Procedure for positioning referencing and jogging 7 Procedure for positioning referencing and
62. ally Further configuration is therefore unnecessary Telegrams can be selected with and without PKW channel Parameter access via DPV1 channel does not require any additional telegram Ru HW Konfig SIMATIC 400 1 Staton Bearbeiten Einf gen Zielsystem Ansicht Extras Fenster Hilfe olele S sia ial JED xe AN SIMATIC 400 1 Konfiguration GOEBEL_300W x Profit Standard z 6 IFC E NC 5 Netzkomponenten J Regler J Schaltger te 0 SIMADYN E SIMATIC 0 SIMODRIYE E SIMOREG 0 SIMOVERT 3 SIPOS 0J Weitere FELDGERATE H A Allgemein aa Antiebe 8 09 SIMODRIVE gt 6 DKC033 PROFIBUS i DP Mastersystem 1 4 EncoTRive YC001 300w Steckplatz 3 DP Kennung Bestelnummer 7 Bezeichnung E Adresse A Adresse Kommentar EE Encol Rive A001 GSD 1 TR Telegram 1 8 8 PZD 0 1 P967 Steuerwort 2 EncoTRive CO01 300w GSD 4 2 P200 Zielposition o gt J Universalmodul Ei PO 22071 Geschwindigkeit pe Std Telegram 7 2 2 PZD Fi Beseklaunigung 1 b 4 Std Telegram amp 5 5 PZD a Telegram 110 PKW 171 PZD amp Bee L ERRED 477 P804 Digitale Ausg nge 63 A Telegram 111 PKW 3 3 PZD i a Tee AD 7 P968 Zustandswort TR Telegram 1 8 8 PZD amp Er P100 Positionsistwert ee J TR Telegram 2 PKw 8 8 FZD Ei HE gt fees L UBED 6 7 P103 Drehzahlistwert g PKW possible only for slot 1 ja
63. an be described by an identifier byte Identifier byte PZD OxF2 1111 0010 bin Bit 7 1 i e consistency over the whole length Bit 6 1 i e counting in words Bit 5 1 Bit 4 1 i e output input Bit 3 0 Bit 2 0 Bit 1 1 Bit 0 0 i e 3 words Configuration data overall OxF3 OxF2 TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 90 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS communication 4 2 2 Configuration of process data PROF Drive allows the process data PZD to be defined in different ways e Parameter 922 This parameter Telegram selection enables a choice to be made from a series of pre defined telegrams If Parameter 922 has the value 0 then the telegrams can be freely configured in both directions of transmission In this case Parameters 915 and 916 define the structure of the PZD e Parameter 915 916 These parameters constitute arrays in which parameter numbers are stored Parameter 915 is responsible for the transmission direction DPM1 slave and Parameter 916 for the opposite direction The entries are interpreted as far as the first index which contains the value 0 In doing so the first entry of Parameter 915 must be the parameter number of the control word STW and the first entry of Parameter 916 the parameter number of the status word ZSW As PROFIDrive does not specify specific parameter numbers f
64. ate and Software limit switch positions Negative hardware limit switch reached Drive was stopped as fast as possible and put into the SA2 status Check Target position Reference point coordinate and Software limit switch positions Tracking error The maximum tracking distance has been exceeded Profibus communication Profibus communication has failed TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 112 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS communication Continuation of the fault messages PZD configuration Telegram from slave gt master too short PZD configuration Telegram from master gt slave too short PZD configuration Consistency problem 804 PZD configuration PKW identifier OxF3 in the wrong place in the configuration telegram PZD configuration No PZD configured in the direction master gt slave PZD configuration No PZD configured in the direction slave gt master PZD configuration Format error length calculation not possible 810 PZD configuration Telegram in the direction Slave gt Master too large 811 PZD configuration Telegram in the direction Master gt Slave too large Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 113 of 147 PROFIBUS communication TRelectronic 4 2 6 The object directory 4 2 6 1
65. ayelemente Default Werksvoreinstellung Min Minimalwert Max Maximalwert Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 43 of 147 PROFIBUS Kommunikation TRelectronic 4 2 6 5 1 Herstellerspezifische Parameter PNU Name Attribut Datentyp Default Min Max Getriebefaktor 7 10000 2000000000 Der Getriebefaktor ist das Verhaltnis vom Motorumdrehungen zu Umdrehungen der Getriebeantriebswelle M Getriebefaktor ____Motorumdrehungen Umdrehungen der Antriebswelle Der Defaultwert ist je nach eingesetztem Getriebe verschieden Beispiel Defaultwert 400000 40 Motorumdrehungen pro Umdrehung der Antriebswelle PNU Name Attribut Datentyp Default Min Max Steigung 10000 2000000000 Dieser Parameter legt die Spindelsteigung fest Spindelsteigung ee es Umdrehung der Antriebswelle Der Defaultwert 10000 entspricht 1 mm pro Umdrehung ne rw f w er a koordinate Der Parameter gibt die Position in mm am Referenzpunkt an PNU Name Attribut Datentyp Default Min Max_ UNSIGNEDI6 OO Drehrichtung der Motorwelle beim Blick auf die Abgangswelle des Motors Parameterwert 0 1 Positive Fahrrichtung Im Uhrzeigersinn Im Gegenunhrzeigersinn Negative Fahrrichtung Im Gegenunhrzeigersinn Im Uhrzeigersinn PNU Name Attribut Datentyp Default Min Man Lageistwert ro l ip C4 2000000000 2000000000 A
66. be 0x80 0x00 0x00 A configuration tool generally takes the above information from the GSD Device Data File TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 88 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS communication 4 2 1 3 2 Configuration telegram Chk_Cfg The configuration telegram defines the structure of the cyclic telegrams Input and output ranges are combined in groups and each described by an Identifier Byte This can be used in simple format or in special format These formats differ with regard to bits 4 and 5 If both bits are 0 then the format is the special format encoT Rive uses only the simple format Table 1 Identifier Byte a onsen a Data Unit Size 0 Byte 1 Word Bits 0 speciai 0 O ouput C BiS Input Output Spee Input Output Input Output Z orem fm CH p 0000 1 Byte or word depending on Bit6 0001 2 bytes or 2 words Length of the data 1111 16 bytes or 16 words In the configuration data the outputs come first then the inputs The content of the configuration telegram is determined by the following data e ls a PKW channel being used e Configuration of process data The PKW channel is always placed before the process data Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 89 of 147 PROFIBUS communica
67. ber is positive or negative If this bit is set 1 then the number is negative In this case the value of the number is displayed internally by means of the two s complement The one s complement of x is obtained by inverting all the bits of x If 1 is added to the one s complement then the two s complement Z x is obtained Z x is the internal representation of x Examples 1 Inthe case of an 8 bit number with sign 1100 0001 bin OxC1 represents a negative number The one s complement of the number is 0011 1110 bin and the two s complement 0011 1111 bin The number is therefore 63 2 Leta 16 bit value with sign contain OxFF73 As the most significant bit is set then the number is negative The two s complement has the form 0x008D The value is therefore the value 141 TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 114 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS communication encoTRive uses the following subset of the PROF Drive data types Table 16 PROF Drive data types used by encoTRive Coding Data type Length Description BOOLEAN Two possible values 0 false or 1 true Integer 8 bit value with sign 2 INTEGER3 8 bit Range of values 128 127 Integer 16 bit value with sign 3 INTEGER16 16 bit Range of values 32768 32767 Integer 32 bit value with sign 4 INTEGER32 32 bit a a Range of values 2
68. bildung 4 in den Zustand SAD TA4 TA5 TB10 STW 8 1 oder STW 9 1 oder STW 8 1 and STW 9 1 TB9 STW 8 1 oder STW 9 1 oder STW 8 1 and STW 9 1 SB1 Betrieb freigegeben ZSW 2 1 Bw r o l TB11 TB8 STW 8 0 and STW 9 0 Drehzahl 0 SB5 TB1 i Bremse mit max Betriebszustand STW 4 1 Beschleunigung SB2 Ausgang freigeschaltet SB3 l TB5 Rampe aufw rts freigeschaltet TB4 STW 6 0 SB4 Betriebsstatus ZSW 10 1 Abbildung 6 PROFIDrive Zustandsmaschine Betriebsart Geschwindigkeitsregelung TR Electronic GmbH 2005 All Rights Reserved TR EMO BA DGB 0006 07 Page 31 of 147 PROFIBUS Kommunikation TRelectronic A Gefahr von K rperverletzung und Sachschaden durch berschreiten der parametrierten Softwareendschalter P300 und P301 WARNUNG e Im Sinne der Betriebsart Geschwindigkeitsregelung sind die parametrierten Softwareendschalter P300 und P301 welche sich auf den Lageistwert beziehen ohne Funktion Durch das integrierte Positions Messsystem z B ergeben sich bei umlaufenden Anwendungen Bereichs berschreitungen Abh ngig von der Drehrichtung u ert sich dies durch einen Sprung des Positionsistwerts P100 Max gt Min Min gt Max Die Anwendung darf deshalb nicht vom Lageistwert abh ngig sein Tabelle 11 Steuerwort Geschwindigkeitsregelung
69. bjektverzeichnis PROFIDrive benutzt f r Parameternummern die dezimale Notation Die Parameternummern 900 bis 999 und 60000 bis 65535 sind als profilspezifische Bereiche definiert und reserviert Parameternummern au erhalb dieser beiden Bereiche sind herstellerspezifisch 3 3 Zustandsmaschine Status und Steuerwort Ein zentrales Element im Antriebsprofil ist die Zustandsmaschine Hier werden die Betriebszust nde und die Zustands berg nge definiert Es wird festgelegt welche Zust nde das Ger t nach dem Einschalten durchl uft und wie es in den Zustand Betriebsbereit berf hrt wird so dass z B eine Positionierung durchgef hrt werden kann Die meisten Zustands berg nge werden vom Master sequenziell veranlasst indem dieser im Steuerwort bestimmte Befehle in Form von Bitmuster absetzt TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 10 of 147 TR EMO BA DGB 0006 07 02 28 2008 electronic PROFIBUS Kommunikation 4 PROFIBUS Kommunikation Alle Signale und Informationen die fur die Ansteuerung des elektrischen Antriebs erforderlich sind werden uber den Feldbus ubertragen DPM2 m ze BELLE LE ay a See aa Abbildung 1 Antriebe am Feldbus 4 1 Zyklischer Datenverkehr Bedarfsdaten Das OV enth lt s mtliche Parameter die bei einem Antrieb relevant sind Hierzu geh ren Parameter die sich w hrend der gesamten Laufzeit nicht ndern z B Seriennummer d
70. contactor open SA7 SA10 Not ready OFF2 Power contactor SA11 Main switch OFF open Error Fault ZSW 1 0 ZSW 4 0 ZSW 3 1 TA3 STW 0 1 TA8 speed current 0 TA13 STW 1 0 A6 OFF1 active stage 1 ZSW 1 0 TA12 TA7 STW 0 0 Power contactor open TA15 internal or external fault SA9 OFF3 Stage 2 Power contactor open ZSW 5 0 SA4 Ready for operation ZSW 1 1 TA11 speed current 0 Mode specific actions SA8 Stop drive as quickly as possible ZSW 5 0 Mode setting P930 TAS STW 3 0 SA5 Run inhibit active ZSW 2 0 TA10 STW 2 0 Figure 3 PROFIDrive state machine general part TR Electronic GmbH 2005 All Rights Reserved Page 96 of 147 Printed in the Federal Republic of Germany TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS communication Actions which are dependent on the selected operating mode can be carried out after state transition TA4 The operating mode is set in Parameter 930 encoTRive supports the following operating modes Table 4 encoTRive operating modes values for Parameter 930 Coding Description 0x0001 Speed control 4 2 3 2 Control word and status word The master transmits commands to the drive in the control word The drive passes back information on its status in the status word Table 5 Control word STW Bit Value Significance Description CE Ready
71. d TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 94 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS communication Example Configuration of the process data shown in Figure 2 page 87 The control word and target position are to be transmitted as process data in the direction DPM1 encoTRive and the status word and the actual value of position in the opposite direction Content of parameter 922 0 Content of parameter 915 15 967 200 O Content of parameter 916 15 968 100 O The remaining elements of the two parameters can be set with capable of PZD parameter numbers see chapter Manufacturer specific parameters page 118 The length of the telegram which is given by the PZD configuration or the PKW channel must not exceed the lengths specified in the configuration telegram cf 4 2 1 3 2 Sequence of the activation for the new configured telegram 1 Save all parameter values remanent Parameter 971 Save in flash 2 Execute system cold start disconnect Power supply from the drive 4 2 3 Drive specific functions 4 2 3 1 General state machine The state machine defines the internal states which a PROF IDrive drive can assume and the events which lead to the transition between these states In Figure 3 the states are designated by Sax and the transitions by Tax Most states are identified by particular status bits in t
72. der Referenzpunktkoordinate nicht m glich Der eingestellte Referenzpunkt muss als Differenz zu den beiden Software Endschalterpositionen ber cksichtigt werden um den maximalen Verfahrbereich nicht zu berschreiten Maximaler Verfahrbereich X amp X 2 Y Y X 2 Y Minimale Referenzpunktkoordinate Maximale Software Software Endschalterposition Endschalterposition Abbildung 8 Software Endschalterpositionen Referenzpunktkoordinate TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 34 of 147 TR EMO BA DGB 0006 07 02 28 2008 lRelectronic PROFIBUS Kommunikation 4 2 4 2 Berechnung max Software Endschalterpositionswerte Intern ist der Zahlenbereich auf 32 Bit 4 294 967 296 d beschr nkt li Erfassbare Umdrehungen Erfassbare Umdrehungen mechanisch Software Endschalter Berechnung 65 536 65 472 Umdrehungen erassbar StEIQUNG yorschub x 10000 C4 Getriebeuntersetzung Verfahrbereich C4 Formel 1 Berechnung des max Verfahrbereichs BEISPIEL 1 BEISPIEL 2 BEISPIEL 3 C4 Datentyp C4 Datentyp C4 Datentyp PNU1 Getriebefaktor 10 000 80 000 80 000 PNU2 Steigung 10 000 30 000 1 250 000 Maximaler Software Endschalter 654 720 000 245 520 000 10 230 000 000 Maximaler Verfahrbereich Defaultwert PNU 300 Defaultwert PNU 301 654 720 000 245 520 000 10 230 000 000 327 360 000 122 760 000 5 115 000 0
73. det werden k nnen Bei vorzeichenbehafteten ganzzahligen Datentypen signalisiert das hochstwertige Bit ob es sich um eine negative Zahl handelt Ist dieses Bit gesetzt 1 so handelt es sich um eine negative Zahl In diesem Fall wird der Zahlerwert intern durch das Zweierkomplement dargestellt Man erh lt das Einerkomplement von x indem man alle Bits von x invertiert Addiert man 1 zum Einerkomplement so erh lt man das Zweierkomplement Z x Z x ist die interne Darstellung von x Beispiele 1 Bei einer vorzeichenbehafteten 8 Bit Zahl stellt 1100 0001 bin OxC1 eine negative Zahl dar Das Einerkomplement der Zahl ist 0011 1110 bin das Zweierkomplement 0011 1111 bin Daher handelt es sich um die Zahl 63 2 Ein vorzeichenbehafteter 16 Bit Wert enthalte OxFF73 Da das h chstwertige Bit gesetzt ist handelt es sich um eine negative Zahl Das Zweierkomplement hat die Darstellung Ox008D Es handelt sich also um den Wert 141 TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 40 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS Kommunikation encoTRive verwendet folgende Teilmenge der PROFIDrive Datentypen Tabelle 16 PROFIDrive Datentypen die von encoTRive verwendet werden Kodierung Datentyp L nge Beschreibung BOOLEAN Zwei m gliche Werte 0 false oder 1 true vorzeichenbehafteter ganzzahliger 8 Bit Wert 2 INTEGER8 8 Bit Wertebereich 128
74. die unterschiedlichen Datentypen Kapitel 4 2 6 3 und wie ist der Bezug auf die physikalischen Gr en zur ckzuf hren Die verwendeten Datentypen wurden von der PNO PROFIBUS Nutzerorganisation in PROFldrive Profil definiert So z B stellt der C4 Datentypformat bis auf zehntausendstel genau einen Nachkommawert der sonst durch Gleitpunktzahlen ber den Datentyp z B REAL oder FLOAT DOUBLE LONG DOUBLE zu realisieren w re Informationen zur Interpretation aller Datentypen erl utert Kapitel 4 2 6 3 Die Umrechnung in physikalische Einheiten erl utert das Kapitel 4 2 3 3 F 2 Was bedeutet Schleppabstand Der Schleppabstand Parameter 305 definiert die maximale Differenz zwischen der berechneten Sollposition des Lagereglers und der tats chlichen Istposition die vom Gebersystem gemeldet wird Spricht die Schleppabstand berwachung an St rungsmeldung 700 Schleppfehler so sollten folgende m gliche Fehlerursachen betrachtet werden Schwerg ngigkeit der Achse Zu hohe Beschleunigung Geschwindigkeit Die Anpassung des Schleppabstandes ist dem Anwender berlassen Je h her dieser Abstand definiert wird um so l nger dauert es bis der Antrieb auf eine Fehlerursache reagiert Von einer m glichen Deaktivierung der Schleppfehler berwachung sollte abgesehen werden TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 72 of 147 TR EMO BA DGB 0006 07 02 28 2008
75. e Informationen ber den Parameter enth lt Die Parameterbeschreibung ist im Speicher des encoTRive abgelegt und kann ber PKW bzw DPV1 ausgelesen werden Die Parameterbeschreibung f r einen Parameter hat eine feste L nge von 46 Byte ber den Subindex kann auf die einzelnen Elemente der Parameterbeschreibung zugegriffen werden Verwendet man Subindex 0 so ist die gesamte Parameterbeschreibung gemeint Tabelle 17 Parameterbeschreibung Subindex Bedeutung Bemerkung encoTRive verwendet nur die Bits Bedeutung 0 7 9 14 15 u _ vegane Werte fest eingestellt 1 Array 0 einfacher Parameter 1 Parameter kann nur ruckgesetzt werden z B Zeitdifferenz Bit 13 0 12 1 Parameter wurde gegenuber Bit 12 0 Werksvoreinstellung verandert Bit 10 0 1 w 1 zus tzliches Textarray vorhanden 90 1 Parameter nicht beschreibbar i 1 Normierung und Gr enattribut nicht relevant Datentyp vgl Tabelle 16 Anzahl Array Elemente bzw Stringl nge 2 Byte Handelt es sich um einen Array Parameter so ist hier die Anzahl der Array Elemente angegeben Bei einer Zeichenkette enth lt dieses Element die L nge der Zeichenkette Normierungsfaktor 4 Byte Bei encoTRive nicht verwendet Gleitkommazahl mit der ein interner Wert in eine physikalische Darstellung umgerechnet werden kann Attribute 2 Byte Bei encoTRive nicht verwendet Physikalische Einheit Gr e Reserviert 4 Byte Name 16 Byte Name des Parameters Zeic
76. e field DUS cccccccccccssseecceeseeeceseeeceaececsaseecceaseeessageeeseaseeessageeessegeseesseaseeeses 85 Figure 2 Cyclic communication with PKW channel bottom and without top cceeeeeeeeeeeeeee ees 87 Figure 3 PROF Drive state machine general part cccccecccecseeeceeeeeeeeeeaeeeeeseeeeeesseeeesaeeeeeesaeseeeeas 96 Figure 4 PROF IDrive state machine positioning MOE cccccecceecseeeeeeaeeeeeeaeeeeeeeeeeeeesaeeesaeeeeeeeaees 99 Figure 9 Ramp SeIUNgS nn AAN 101 Figure 6 PROFIDrive state machine speed control Mode us2424400002nnne nenne nennen nnennnn nenne 105 Figure 7 Ramp SEWNIS ansehe EAA nenne 107 Figure 8 Software limit switch positions Reference point coordinate 0222002222002ene en 108 Figure 9 Max Reference point coordinate Z gt X 2 neeeeesssnnnsnnsnnnnnnennnnnnnnnnnnnnennnnnnennnnnnnnnnnnennnn nennen 110 Figure 10 Max Reference point coordinate Z lt X 2 ueeanssunensssnnennennnnnnennnnnnnnnnnnennnennennnnnnnennne nenn 110 Figure 11 Functional principle of the hardware limit switches 200022200022200 nenne nenneenneenen 139 Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 79 of 147 Revision index TRelectronic Revision index Revision Date Index First release 04 22 05 00 New Speed control mode
77. ed by setting Bits 0 in the control word The movement can be resumed by resetting the same bit Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 145 of 147 FAQ s TRelectronic 8 FAQ s This section answers the most frequent questions during start up or serves for general understanding General software questions General hardware questions Positioning mode Speed control mode a FF O N PLC Function blocks Communication 1 General software questions Q 1 How are the different data types to be interpreted section 4 2 6 3 and how are their real physically dimensions The used data types were defined by the PROFIBUS User organization PNO and can be referred in the PROF Idrive drive profile Example C4 data type Corresponds to a linear fixed point value with four decimal places 0 corresponds to O 0x0 0 0001 corresponds to 2 0x0000 0001 To realize this data type you need floating point numbers E g REAL FLOAT DOUBLE or LONG DOUBLE Definition of the data types see section 4 2 6 3 Physical units see section 4 2 3 3 Q 2 What means tracking distance The tracking distance Parameter 305 defines the maximum difference between the calculated setpoint of position controller and the current actual value of position that be reported from encoder system If tracking distance monitoring is activated Faul
78. eeceeceeaeeeeeaeeeeeeececaueeeseueeeseecesseeeeseueeesaneeesaees 91 Table 3 Standard telegrams supported P922 0022200020200020nonnnnnnnnnnnnnnnnnnnennn nenne nenne nnnnnnnen 92 Table 4 encoTRive operating modes values for Parameter 930 22200222000220000nnnnennnnnenennenen 97 Table 5 Control word STW uu2220002200002ennennnnnennnnnnnnnnennnnnennnnnnnenne nenne nnnnnennnnnnnennenennennennnennnnnenenn 97 Table 6 Status word ZSW uussssuessssuensnnnonennennnnnennnnennnnnennnnnonnnnnnnennennnnnennnnnennnnnnnennensnnennnnnnennnnnenenn 98 Table 7 Control word positioning u002020002000nnnnennnnnonnnnnnnennennnnnnnnnnnnnnnnnnennennennnnnnnnnennnnnnnn 100 Table 8 Status word positioning 4us0s44400nnennnnnennnennnnnnnnnennnnnnennnennnnnnnnnnennnnnnennnnnnsnnnnnnnen 100 Table 9 Parameters affecting a POSITIONING movement u22200222000nennnnennnnennnnnnnennnne nenne nennen 102 Table 10 Parameters for converting units s 22440s0404 0nnnennnnennnnnnnnennnnnnennnnnnnnnnnn nennen nennen nennen 104 Table 11 Control word speed control u 200020000020nenennnnennennnnnennnnnnnnnnnnnnnnnnenne nenne nnnnnennnnennn 106 Table 12 Status word speed control 20002000020000 000000 nnnnn nenne nenne nnnnne nenne nnnnne nenne nnnnnennnnnenn 106 Table 13 Parameters affecting a positioning movement
79. egeben seien PNU 1 Getriebefaktor 50000 C4 Datentyp PNU 2 Steigung 40000 C4 Datentyp Die Umrechnung in mm sec bzw mm sec erfolgt Uber einen Positionsfaktor Poon see EEE Steigung Positions angabe Umdrehung Positionsfaktorberechnung Positionsfaktor gt IInc mm 1280 Inc mm Maximale Geschwindigkeitsberechnung 74240 Inc sec 1280 Inc mm 58 mm sec 100 16384 4350 U min Maximale Geschwindigkeit 58 mm sec Maximale Beschleunigungsberechnung 170667 Inc sec 1280 Inc mm 133 mm sec 100 16384 10000 U min sec Maximale Beschleunigung 133 33 mm sec TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 30 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS Kommunikation 4 2 3 4 Betriebsart Geschwindigkeitsregelung Printed in the Federal Republic of Germany 02 28 2008 In dieser Betriebsart kann geschwindigkeitsgeregelt verfahren werden Es werden verschiedene interne Zustande SBx eingenommen Diese Zustande sowie die berg nge TBx zwischen diesen Zust nden sind im Profil PROF IDrive definiert Bei der folgenden Abbildung 6 gelten die gleichen Konventionen wie bei der allgemeinen Zustandsmaschine Abbildung 3 In der Betriebsart Geschwindigkeitsregelung wird nach Zustandsubergang TA4 vgl Abbildung 3 der Zustand SB1 eingenommen Zustandsubergang TA5 f hrt aus jedem der Zust nde in Ab
80. eich kleiner als die H lfte des maximal zul ssigen Verfahrbereichs kann eine frei definierbare Referenzpunktkoordinate bergeben werden Maximaler Verfahrbereich X Tats chlicher Verfahrbereich Z Z lt XI2 Y W X Z 2 Y a W X Z 2 Y Referenzpunktkoordinate S1 S2 Software Software Endschalterposition Endschalterposition W S1 S2 2 Abbildung 10 Maximale Referenzpunktkoordinate Z lt X 2 TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 36 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS Kommunikation 4 2 5 Diagnose und Wartung 4 2 5 1 Storungen und Warnungen Storungen sind interne Fehlersituationen die eine Reaktion des Antriebs verursachen Der Antrieb geht in den Zustand St rung SA11 St rungen m ssen nach Beseitigung der Fehlerursachen im STW quittiert werden Warnungen sind vor bergehende Fehlersituationen Sie m ssen nicht quittiert werden Liegt die Ursache f r die Warnung nicht mehr vor verschwindet die Warnung Eine St rung wird im Bit St rung angezeigt Ist ZSW 3 1 so liegt eine St rung an Liegt eine Warnung an so wird dies durch das Bit Warnung signalisiert ZSW 7 1 Im Fall einer Warnung enth lt Parameter 953 Warnung bitkodiert die Ursache der Warnung Folgende Situationen werden als Warnungen gemeldet Tabelle 15 Warnungen bei encoTRive Parameter 953 Kodieru
81. eported as warnings Table 15 encoTRive warnings Parameter 953 Coding Significance 1 bit 0 Temperature too high 2 bit 1 Target position outside the range defined by the software limit switches Parameter 300 301 Hardware limit switch was reached 8 bit 4 Driving in Jog Mode only possible in reverse direction until the drive is standing inside the defined travel range If a fault is present then the cause of the fault can be seen from Parameter 947 Parameter 947 is an array of 64 UNSIGNED16 values which describe the cause of the fault The information relating to a fault can consist of two consecutive array elements The first value gives the error identification and the second contains a more detailed description of the error A fault situation can contain up to 8 faults In turn the fault buffer stores a total of 8 fault situations The first array element contains the oldest fault which has led to the fault situation More recent fault information is obtained with each increasing index If an array index contains the value 0 then no further fault information follows A fault is acknowledged by means of the Acknowledge bit in the control word A fault situation is acknowledged by STW 7 1 This automatically switches the fault memory Parameter 947 to the next fault situation i e by 8 entries A prerequisite for this is that the cause of the fault has been removed If following this the ZSW still sh
82. er is Move order is being executed drive in motion executed drive in motion TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 100 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS communication Referencing The measuring system must be referenced to the machine datum once during assembly initial commissioning As the encoTRive is fitted with an absolute multi turn encoder re referencing is not required following a supply failure or emergency stop In states SC1 Run enabled and SC4 Pause referencing is initiated by setting Bit 11 of the STW When referencing is complete the system reverts automatically to the initial state SC1 or SC4 The value stored in Parameter 3 Reference point coordinate P003 is transferred to the actual value of position Positioning A positioning movement can be carried out in state SC1 A prerequisite for this is that the drive has been referenced This is signaled by ZSW 11 1 Positioning is started by an edge on STW 6 Activate move order The positioning movement is carried out on a ramp which is derived from the current settings for the speed P201 acceleration P202 and deceleration P203 Speed P201 Figure 5 Ramp settings The acceleration is initially constant according to P202 until the required speed P201 is reached This is then followed by a phase at constant speed Finally
83. ern Dies kann mithilfe der Variablentabelle im S7 Manager erfolgen Dadurch ist es m glich direkt die Parameter vom Antrieb zu lesen und indirekt ber Merkerwort MW und Merkerdoppelwort MD zu schreiben TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 68 of 147 TR EMO BA DGB 0006 07 02 28 2008 electronic Vorgehensweise zum Positionieren Referenzieren und Tippen 7 Vorgehensweise zum Positionieren Referenzieren und Tippen 7 1 Antrieb in Betriebsart Positioning Mode versetzen Damit der Antrieb positioniert referenziert oder tippend ber Profibus verfahren werden kann muss der Antrieb nach PROFIDRIVE V3 0 vorab in den Zustand Positioning Mode berf hrt werden Dies kann mit der folgenden Vorgehensweise realisiert werden Die Reihenfolge der Steuerkommandos Steuerwort und die Abfragen des af aktuellen Zustandes ber das Zustandswort m ssen eingehalten werden da sonst das gesendete Kommando nicht ausgef hrt werden kann 1 Zustandswort ZSW P968 meldet nach Einschalten ZSW 0000_0010_ 0100 0000 gt Bit6 ZSW 1 gt Einschaltsperre gt Bit9 ZSW 1 gt F hrung gefordert die Steuerung wird aufgefordert die F hrung zu bernehmen Zustand SWITCH ON INHIBIT Aktion erforderlich keine 2 Wechsel von SWITCH ON INHIBIT nach READY TO SWITCH ON STW 0000_0 100_0000_011l0 gt Bit1 2 STW 1 gt Alle AUS2 und AUS3 Befehle sind auf
84. erung erfolgt gem einer Rampe die sich aus den aktuellen Einstellungen fur die Geschwindigkeit P201 die Beschleunigung PP202 und die Bremsbeschleunigung P203 ergibt Geschwindigkeit P201 Abbildung 5 Rampeneinstellungen Zun chst wird konstant entsprechend P202 beschleunigt bis die gew nschte Geschwindigkeit P201 erreicht ist Es folgt eine Phase mit konstanter Geschwindigkeit Schlie lich wird entsprechend P203 bis zum Stillstand abgebremst Die zur ckzulegende Wegstrecke ergibt sich aus dem Lageistwert P100 beim Start der Positionierung und der Zielposition P200 Liegen diese Werte nahe beieinander so kann es vorkommen dass die Phase mit konstanter Geschwindigkeit fehlt die in P201 angeforderte Geschwindigkeit also nicht erreicht wird Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 27 of 147 PROFIBUS Kommunikation TRelectronic Das Ende der Positionierung wird vom Antrieb in ZSW 10 Sollposition erreicht signalisiert Dieses Bit wird intern gesetzt wenn der Istwert sich im definierten Zielbereich P304 befindet Der maximale Schleppabstand P305 definiert die maximal zulassige Differenz zwischen internen Sollwert und aktuellen Istwert Wird dieser Wert Uberschritten so wird der Fehler 700 Schleppfehler siehe Fehlerliste Seite 38 generiert und der Antrieb geht in den Zustand St rung SA11 Zus tzlich wi
85. es Ger ts Software Version Andere Parameter z B Geschwindigkeit Beschleunigung Bremsbeschleunigung sind eher selten zu ndern Schlie lich werden manche Parameter stets mit hoher Aktualit t ben tigt die so genannten Prozessdaten PZD Hierzu z hlen i d R immer Steuerwort STW Statuswort ZSW h ufig der aktuelle Positionswert und die Zielposition 4 2 PROFIBUS DP encoTRive wird als Slave in ein PROFIBUS DP Netzwerk eingebunden Ein Slave darf nur Nachrichten empfangen quittieren und auf Anfragen eines Masters antworten Er kommuniziert mit einem Master welcher auch als aktiver Busteilnehmer bezeichnet wird Als Master kommen zwei Typen in Frage e DP Master Klasse 1 DPM1 Dieser tauscht in festgelegten Nachrichtenzyklen Informationen mit den dezentralen Stationen Slaves aus In der Regel handelt es sich bei einem DPM1 um eine speicherprogrammierbare Steuerung SPS oder einen PC Der DPM1 liest in festen Abst nden die Eing nge der Feldger te und schreibt die Ausg nge Sollwerte der Aktuatoren Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 11 of 147 PROFIBUS Kommunikation TRelectronic e DP Master Klasse 2 DPM2 Hierbei handelt es sich um Engineering Projektierungs und Bediengerate Ein DPM2 muss nicht standig am Bus angeschlossen sein Er greift wie der DPM1 aktiv auf den Bus Zu Die Kommunikation zwi
86. etpoint parameters mapped in the PZD telegram must be written according to the PZD configuration P915 and P916 In detail these are P200 0 Target position in mm C4 10000 P201 0 Speed in N2 100 Value 16384 P202 0 Acceleration in N2 P302 Current setpoint in Ampere C4 10000 The following bits must first be preset before starting the positioning process 1 Presetting for positioning bits STW 0000_0100_00111 1111 gt Bit4 STW 1 gt Operating condition for positioning gt Bits STW 1 gt Operating condition for positioning 2 Start positioning STW 0000_0100_011 011_1111 gt Bit6 STW Edge gt Start positioning Feedback ZSW 0001 0 0010_0011_ 0100 gt Bit12 ZSW Edge gt Setpoint acknowledged level STW Bit6 gt Bit13 ZSW 0 gt Drive running Positioning complete i e target position reached ZSW 00 1 0_0 1 10_0011_0100 gt Bit10 ZSW 1 gt Target position reached gt Bit13 ZSW 1 gt Drive stopped To restart a positioning movement it is only necessary to specify a new target position and then toggle Bit 6 in the control word The drive will then move to the specified target position It is even possible to change a drive command on the fly 1 Write new target position speed or acceleration PZD telegram 2 Bit6 STW Edge gt Enable new setpoints 3 Drive runs according to new movement parameters A positioning movement can be interrupt
87. gehoben gt Bit10 STW 1 gt F hrung erfolgt durch Steuerung Prozessdaten g ltig Muss immer gesetzt sein bei zyklischer Kommunikation ber Profibus R ckmeldung ZSW 0000_0010_0 011 _000 1 gt BitO ZSW 1 gt Einschaltbereit gt Bit4 5 ZSW 1 gt Kein AUS2 AUS3 3 Wechsel von READY TO SWITCH ON nach READY STW 0000_0100_0000_01 Ah gt Bit0 STW 1 gt Betriebsbereit Spannung an Stromrichter R ckmeldung ZSW 0000_0010_001 1_0010 gt Bit1 ZSW 1 gt Betriebsbereit 4 Wechsel von READY nach OPERATION ENABLE STW 0000_01 00_0000 111 11 gt Bit0 STW 1 gt Freigabe Elektronik und Impulse R ckmeldung ZSW 00110_0010_0011_0 10l0 gt Bit2 ZSW 1 gt Betriebsbereit gt Bit13 ZSW 1 gt Antrieb Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 69 of 147 Vorgehensweise zum Positionieren Referenzieren und Tippen electronic 7 1 1 Referenzieren Zum Referenzieren des Antriebes muss lediglich im Steuerwort Bit11 gesetzt werden Daraufhin bernimmt der Antrieb die in P003 definierte Referenzpunktkoordinate als neuen Lageistwert STW 0000_ 1 1 00 0000 1111 gt Bit11 STW 1 gt Referenzierung wird gestartet R ckmeldung ZSW 0000 1 010_001 1_0100 gt Bit11 ZSW 1 gt Referenzpunkt gesetzt 7 1 2 Tippbetrieb Zum Tippen in positive und negative Richtung
88. gpuffer remanent gespeichert Liegt eine neue St rung vor so wird dies durch ZSW 3 1 angezeigt St rung liegt an Siehe 4 2 5 1 65535 Pnu Name atribut Datentyp Dein mn m 0 jo ro wip UNSIGNED16 Zeigt an ob eine Warnung anliegt Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 51 of 147 PROFIBUS Kommunikation Relectronic Pnu Name Jasribur Datentyp petat mm Ger teidentifikation Array 9 aktuelle Identi UNSIGNED16 fikation von HW und SW Ger teidentifikation Die einzelnen Elemente sind in folgender Reihenfolge zu lesen Hersteller OxAAAE Ger tetyp 0x0001 Herstellerspezifisch Version xxyy 200 bedeutet 2 00 Firmware Datum Jahr Firmware Datum ddmm Tag Monat Anzahl Achsen 1 Hardware Version xxyy Seriennummer dddd PNU Name Attribut Datentyp _ Default Min Man UNSIGNEDTE 00303 0 e5535 Profilnummer Profilnummer 03 PROFIDrive Version 3 PNU Name Attribut Datentyp Default Min Max UNSIGNED16 0 0 165585 Steuerwort STW Uber das STW wird die Zustandsmaschine gesteuert Vgl Abschnitt 4 2 3 1 PNU Name Attribut Datentyp Default Min Max UNSIGNED16 64 O 165585 Statuswort ZSW Das ZSW gibt Auskunft Uber aktuelle Zust nde Vgl Abschnitt 4 2 3 1 PNU Name Attribut Datentyp Default Min Max Werksvoreinstellung UNSIGNED16 1 65535 laden
89. h Pnu Name Jatibute Datatype oetan mn mr 803 Digital_Input ro p UNSIGNED16 JO J6 Shows the status of the digital inputs Pnu name Jatnbute Datatype oetan mn m 804 Digital_Output rw p UNSIGNED16 OJOS The digital outputs bit 0 3 Byte 0 can be controlled using bit coding by means of this parameter The mechanical brake can be energized independently by means of bit 7 1 Byte 1 Example 1000 0000 0000 1111 Pnu Name Atri Datatype Det min Max 0 1 805 Reference point set rw UNSIGNED16 O Indicates whether the drive has been referenced Value 1 Drive referenced Value 0 Drive not referenced After referencing the parameter value is set permanent to 1 Restore default value 0 permanently Load factory default setting or overwrite manually with O Digital IN Function rw w UNSIGNED32 0 0 2000000000 About this 4 byte parameter to the 4 digital inputs different functions can be assigned E g activation of the hardware limit switches For each input one byte is reserved see chapter Function of the digital inputs and outputs page 138 Dig Out Function rw w UNSIGNED32 0 0 2000000000 About this 4 byte parameter to the 4 digital outputs different functions can be assigned For each output one byte is reserved Pnu name Atibute Datatype Defau mm m 809 DebouncetimeE rw w Tt4 10 Jo 100 0 Takeover of the signal level when the defined debouncing time in ms is e
90. halterpositionen Referenzpunktkoordinate 2002222002220o 34 Abbildung 9 Maximale Referenzpunktkoordinate Z gt X 2 unueeuessnessnsnnennnnennnnnnnnnennnnnnennn nennen nennen 36 Abbildung 10 Maximale Referenzpunktkoordinate Z lt X 2 u uuuuesessunnnensnnnnnnnnnnnnennnnnennnnonnnnnnennennnnenn 36 Abbildung 11 Funktionsprinzip Hardware Endschalter 002220022000240000400nenn nenn nnnn nenn ennenenn 65 Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 5 of 147 Anderungs Index Relectronic nderungs Index nderung Erstausgabe 22 04 05 Neu Betriebsart Geschwindigkeitsregelung Positionieren mit Fahrsatztabelle Neu l ften Fehlernummer 560 Positionierdauer zu gro Ge ndert Parameterattribut p PZD Konfiguration entsprechend aktualisiert Neu Dokument zweisprachig Allgemeine Anpassungen an den Ist Zustand Anpassungen PNU 804 Allgemeine Anpassungen an den Ist Zustand Layoutanpassungen Anpassungen Tabelle DPV1 Request PNU 1 und 2 Projektierungsanleitung TR EMO BA DGB 0015 PNU 804 TR Electronic GmbH 2005 All Rights Reserved Page 6 of 147 TR EMO BA DGB 0006 07 P804 Digital Output ber Bit 4 1 l sst sich mechanische Bremse 26 07 05 Datum Index 30 06 05 28 02 08 07 O1 OO NO Printed in the Federa
91. he case of DPV1 with subindex 0 e Inthe case of simple parameters O is always used as the subindex e Parameter numbers and parameter values are in Big Endian Format An integer 16 bit value 0x1234 is transmitted so that 0x12 is sent first and then 0x34 With a 32 bit value 0x12345678 the value 0x12 appears first in the telegram at the lowest address then 0x34 then 0x56 and then 0x78 4 2 6 7 Access to parameters via PAW The 8 bytes of the PKW channel are occupied as follows Table 18 PKW range IND PKE Parameter Subindex PWE identification Parameter value sene o Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 127 of 147 PROFIBUS communication TRelectronic The PKE range is used to identify parameters and the type of access Table 19 Parameter identification PKE oe somone Order identification direction DPM1 gt slave response identification direction slave gt DPMI Direction DPM1 slave Direction slave gt DPM1 no response Transmit parameter value word Transmit parameter value double word Transmit parameter description Transmit parameter value array word Transmit parameter value array double word Transmit number of array elements Order cannot be executed no order Request parameter value Change parameter value word Change parameter value double w
92. he status word ZSW In the Figure these are described by ZSW x y Here ZSW 3 1 means Bit 3 of the ZSW is set value 1 Most status transitions are initiated by bit patterns which are set in the control word STW This is identified in the Figure by STW 1 0 Set Bit 1 of the STW to 0 for example STW 7 0 gt 1 means that an edge from O to 1 must be generated on Bit 7 of the STW Other conditions which give rise to changes of state are noted after the respective change of state With certain changes of state a range of initial states is permissible So for example in practice it is possible to change from any state into a fault state Such transitions are characterized by the initial states being bounded by a rectangle with a solid circle positioned on its edge This indicates that the initial state can be any state within the rectangle on the edge of which the solid circle is located Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 95 of 147 Relectronic PROFIBUS communication SAT Switch on supply voltage TA1 Supply ON TA2 STW 2 1 STW 1 1 SA2 TA16 Rectify fault STW 7 0 gt 1 STW 10 1 STW O 0 an SA3 gt Ready to switch on ZSW 0 1 TAS Power contactor TA14 open Power
93. henkette Oberer Grenzwert 4 Byte Reserviert 2 Byte Bei encoTRive nicht verwendet TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 42 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS Kommunikation 4 2 6 5 Liste der encoTRive Parameter Es folgt eine nach Parameternummer geordnete Liste samtlicher encoTRive Parameter Dabei wird jeder Parameter in der Form PNU Namo _ Aatirout Datontyp met win max spezifiziert wobei PNU Parameternummer 900 999 60000 65535 PROFIDrive Profilparameter andere PNUs herstellerspezifische Parameter Name Bezeichnung des Parameters Attribut Angabe in der Form Zugriff Flash Speicherung Werkvoreinstellung Zugriff rw read write Parameter kann gelesen und geschrieben werden ro read only Parameter schreibgeschutzt Flash Speicherung f Parameter wird bei 0 1 Ubergang des Werts von Parameter 971 im Flash gespeichert Parameter wird nicht im Flash gespeichert Werksvoreinstellung w Parameter wird bei Laden der Werksvoreinstellungen Parameter 970 1 0 Ubergang mit Default vorbelegt Wert wird nicht mit Default vorbelegt Passwortgeschutzt s Parameter kann erst nach Freigabe des Passwortes geschrieben werden PZD Konfiguration p Parameter kann im PZD Telegramm gemappt werden Datentyp Datentyp gem Tabelle 16 Seite 41 bei einfachen Parametern Bei Arrays Array AnzahlElemente Datentyp der Arr
94. here would be a corresponding number of applications which always perform the same task in their own different ways 3 1 The object directory A basic feature of drive profiles is the object directory OV All the information parameters relevant to a device is brought together in the object directory A parameter is identified by its parameter number 16 Bit Certain ranges of parameter numbers are occupied or reserved others are available for so called manufacturer specific parameters Included in the pre defined parameters are optional parameters and those which must be supported by every slave that conforms to the profile mandatory parameters 3 2 PROFIDRIVE object directory PROFIDrive uses decimal notation for the parameter numbers Parameter numbers 900 to 999 and 60000 to 65535 are defined and reserved as profile specific ranges Parameter numbers outside these two ranges are manufacturer specific 3 3 State machine status and control word The state machine is a central element in the drive profile This is where the operating states and the state transitions are defined The states that the device goes through after switch on and how it is transferred into the ready state are defined so that a positioning movement for example can be carried out Most state transitions are initiated sequentially by the master transmitting certain commands in the control word in the form of bit patterns TR Electronic GmbH
95. hres Computers hin wie etwa lt RETURN gt Marken lt lt PROFIBUS DP und das PROFIBUS Logo sind eingetragene Warenzeichen der PROFIBUS Nutzerorganisation e V PNO CoDeSys ist ein eingetragenes Warenzeichen der 3S Smart Software Solutions GmbH encoTRive ist ein eingetragenes Warenzeichen der TR Electronic GmbH TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 2 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic Inhaltsverzeichnis Inhaltsverzeichnis INDAKSVETLZEICHMIIS races tet mania an Ae AE EGAR aaia 3 ANGerUnNGS INA 2 aan ee en en nee 6 1 AlISEMEINES se piicsucsmececndopsenetesencesienntasinenciapetontestesaxdeessnedesstaconancnaasncaiencesucebutsausaenescienbetuensbedesneusexwatek 7 1 1 ZIE od e e PTT T ee ee es ee T 1 2 Geltungsbereich 2 00242200220000000000n0nnnnnnnonnnnnnennnnnnn nennen nennen nnnnnne nennen nnnnnnnnnnnnnnennnn 7 1 3 Verwendete Abk rzungen Begriffe uuu 04u00000nnnn nennen nennen nnennnnnennnnnnnnnnnnnnennnnenn 8 2 Zus tzliche Sicherheitshinweise uuuu0s u0000n0n00nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn 9 2 1 Symbol und Hinweis Definitionen 224400224000Bnennn nn nennen nnennnn nennen ennnnn nennen 9 2 2 Organisatorische Ma nahmen ccccsssceccssseeccesseecceuseecceugeeecsugeeecseeesssueeessesseessaaes 9 3 PROFldrive Antrieb
96. ht der Slave in den Zustand WAIT_PRM Warten auf Parametrierung Der Master sendet ein Parametrierungstelegramm an den Slave Nachdem der Slave den Empfang des Parametrierungstelegramms best tigt hat geht der Slave in den Zustand WAIT_CFG Warten auf Konfigurierung Nun sendet der Master das Konfigurierungstelegramm an den Slave welches L nge und Aufbau der zyklisch zu bertragenden Telegramme festlegt 4 2 1 3 1 Parametrierungstelegramm Chk_Prm Das Parametrierungstelegramm enth lt u a folgende Informationen ber den Slave e _ Ident Nummer des Slave e Ansprechuberwachung Watchdog e Gruppenzugehorigkeit e minimale Antwortzeit des Slave e _ unterst tzte Protokolle FMS und oder DP unterst tzte Baudraten Diese Informationen befinden sich in den ersten 7 Bytes des Parametrierungstelegramms Die benutzerspezifischen Daten des Parametrierungstelegramms m ssen 3 Byte lang sein Ihr Inhalt Bytes 8 9 10 muss 0x80 0x00 0x00 sein Ein Konfigurationstool entnimmt die o g Informationen i d R aus der GSD Ger testammdatei TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 14 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS Kommunikation 4 2 1 3 2 Konfigurierungstelegramm Chk_Cfg Das Konfigurierungstelegramm definiert den Aufbau der zyklischen Telegramme Ein und Ausgangsdatenbereiche sind in Gruppen zusammengefasst und jeweils durch ein
97. ic of Germany Page 138 of 147 TR EMO BA DGB 0006 07 02 28 2008 electronic Function of the digital inputs and outputs 5 2 Function assignment 5 2 1 Inputs About this 4 byte parameter P807 Dig In Function to the 4 digital inputs different functions can be assigned For each input one byte is reserved Table 24 Structure of the parameter 807 Dig In Function Figure 11 Functional principle of the hardware limit switches Negative limit switch EH Positive limit switch Negative soft limit switch DPH Positive soft limit switch permissible 1 required edge sequence movement direction to return to 1 pease positive negative high active low active movement direction Range Description only possible if the fault P947 Hardware limit switch reached with fault number 580 581 was acknowledged 1 Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 139 of 147 Function of the digital inputs and outputs electronic Table 25 Limit switch function overview Value active Level Function Response High 2h Limit switch input positive Fast stop with fault 580 OW o 4 High OW 6 High GE Release brake Release of the integrated brake li The activation of the hardware limit switch functions must be executed first after this the controller can be switched active Example On the digital in
98. in contactor de energized if applicable pulses inhibited 0 Notreadytoswichon J O 1 Ready for operation Ready for operation Voltage on converter ro nores 4 Runenablea Enable electronics and puses o Ramia SSS a ET Fault present Drive in Fault state o ratte o O lo wor O S t o o2 OFF2command preset a wors O S o o o o3 OFF 3 command preset Er aa Warnin Drive continues to run Warning present and can be seen j from P953 no Te no no Warning qo to operating mode ga Command required The control system is requested to take over command 10 Local operation Only local control possible E Specific to operating mode Ea Specific to operating mode Specific to operating mode 13 Specific to operating mode ms fos SSCS TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 98 of 147 TR EMO BA DGB 0006 07 02 28 2008 Relectronic PROFIBUS communication 4 2 3 3 Positioning mode Positioning operations can be carried out in this mode Various internal states are assumed SCx These states and the transitions TCx between these states are defined in the PROFIDrive profile The same conventions apply in the following Figure 4 as in the general state machine Figure 3 In positioning mode state SC1 is assumed after state transition TA4 cf Figure 3 State transition TAS leads to state SA5 from any of the
99. is resumed when Bit 5 changes to 1 l Each edge enables a move order or a setpoint A toggle Activate move order l without changed the movement parameter is not allowed Referencing operation started ZSW 11 is set to 0 Start referencing Prerequisite Run enabled Jes Stop referencing lily referencing operation is interrupted Drive stops Table 8 Status word positioning Bit a Te Taliiler laters Description Norrackiraerrei The dynamic comparison of setpoint and actual value lies J within the tracking window P305 Teaser The dynamic comparison of setpoint and actual value lies J outside the tracking window P305 Taraetoocionreached The position value is within the positioning window at the get p end of a move order P304 a Not in target position l value lies outside the positioning window Referencing has been carried out and is valid 4 Reference point set Reference poh set sel ZSW 11 1 Response of the referencing procedure and is only active until the system is rebooted cold starting The parameter 805 represents the permanently adjusted No reference point set reference point see chapter 4 2 6 5 1 Manufacturer specific parameters The acceptance of a new move order is acknowledged by Acknowiedoe SEPON an edge same level as STW 6 Signalizes the completion of a move order or standstill in 1 Drive stopped the case of pause and stop BECS running Move order is being executed drive in motion ord
100. ktuelle Position in mm PNU Name Attribut Datentyp Default Min Max Stromistwert rop o4 1 10000000 Motorstrom in A TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 44 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS Kommunikation PNU Name Attribut Datentyp Default Min Max rol ip C4 sf 1000000 2000000 Elektroniktemperatur in C PNU Name Attribut Datentyp Default Min Max_ NIST_A rol l Ip__ UNSIGNED16 065535 Ist Geschwindigkeit in PNU Name Attribut Datentyp Default Min Max Spg Leistung ro p JO 10000000 Versorgungsspannung der Leistung in V Attribut Datentyp Zielposition rwiflw p Array 32 C4 O 2000000000 2000000000 Zielposition in mm Attribut Datentyp Geschwindigkeit rw fiw p Array 32 N2 16384 0 116384 Geschwindigkeit in Die Bezugsgr e 100 wird ber die maximale Drehzahl Parameter 514 festgelegt PNU Attribut Datentyp Default Min Max Beschleunigung rw f w p Array 32 N2 16384 0 16384 Beschleunigung in Die Bezugsgr e 100 wird ber die maximale Beschleunigung Parameter 515 festgelegt PNU Name Attribut Datentyp Default Min Max rwlwip Array s2iN2 16384 o 16384 Bremsbeschleunigung in Die Bezugsgr e 100 wird Uber die maximale Beschleunigung Parameter 515 festgelegt Lam rw f w 1
101. l Republic of Germany 02 28 2008 Relectronic Allgemeines 1 Allgemeines Das vorliegende encoTRive PROFIBUS Handbuch beinhaltet folgende Themen e Erg nzende Sicherheitshinweise zu den bereits in der Projektierungsanleitung definierten grundlegenden Sicherheitshinweisen e PROF Idrive Antriebsprofil e PROFIBUS Kommunikation e Konfiguration Parametrierung e Storungsbeseitigung und Diagnosemoglichkeiten Da die Dokumentation modular aufgebaut ist stellt dieses encoTRive PROFIBUS Handbuch eine Erg nzung zu anderen Dokumentationen wie z B kundenspezifische Benutzerhandb cher Projektierungsanleitung Ma zeichnungen Prospekte etc dar Das encoTRive PROFIBUS Handbuch kann kundenspezifisch im Lieferumfang enthalten sein oder kann auch separat angefordert werden 1 1 Zielgruppe Die vorliegende Dokumentation richtet sich an e Inbetriebnahme Bedien und Wartungspersonal die beauftragt sind ent sprechende T tigkeiten am dezentralen Stellantrieb MD 300 PB vorzunehmen Die entsprechende Qualifikation des Personals ist in der Projektierungsanleitung in Kapitel Personalauswahl und qualifikation grunds tzliche Pflichten definiert 1 2 Geltungsbereich Das encoTRive PROFIBUS Handbuch gilt ausschlie lich f r folgende dezentrale Stellantriebs Typen mit PROFIBUS DP Schnittstelle e MD 300 PB CXXX Die Produkte sind durch aufgeklebte Typenschilder gekennzeichnet und sind Bestandteil einer Anlage Es gelten somit
102. le Fahrauftrag wird verworfen 1 Betriebsbedingung f r Positionieren 5 Antrieb bremst aus einem aktiven Fahrauftrag an Rampe Zwischenhalt auf Drehzahl 0 und bleibt mit Haltemoment stehen Der Fahrauftrag wird nicht verworfen Bei Wechsel auf Bit 5 1 wird der Fahrauftrag fortgef hrt Jede Flanke gibt einen Fahrauftrag oder einen Sollwert Fahrauftrag aktivieren frei Ein Togglen ohne veranderten Verfahrparameter ist nicht Zulassig Referenziervorgang wird gestartet ZSW 11 wird auf 0 Start Referenzieren gesetzt Voraussetzung Betrieb freigegeben Ein laufender Referenziervorgang wird abgebrochen Stop Referenzieren Antrieb stoppt an Rampe Tabelle 8 Zustandswort Positionieren Bit oa Bedeutung Beschreibung Kain Schienotehier Der dynamische Soll Istwertvergleich liegt innerhalb des PP Schleppfehlerfensters P305 Schleppfehler Der dynamische Soll Istwertvergleich liegt au erhalb des pp Schleppfehlerfensters P305 Zielposition erreicht Der Positionswert steht am Ende eines Fahrauftrags im p Positionierfenster P304 Der Positionswert liegt au erhalb des Positionierfensters au erhalb Zielposition P304 Systemkaltstart aktiv Der Parameter 805 repr sentiert den remanent gesetzten Referenzpunkt siehe Kapitel 4 2 6 5 1 Herstellerspezifische Parameter 12 Sollwert Quittierun Durch eine Flanke wird die bernahme eines neuen J Fahrauftrags quittiert gleicher Pegel wie STW 6 Antrieb steht Signalisiert den Abschlus
103. lso Z hlung in Worten Bit 5 1 Bit 4 0 also Ausgang Bit 3 Bit 2 Bit 1 Bit 0 0 also 1 Wort Identifier Byte Eingangsdaten 0xD2 1101 0010 bin Bit 7 1 also Konsistenz uber die gesamte Lange Bit 6 1 also Z hlung in Worten Bit 5 0 Bit 4 1 also Eingang Bit 3 0 Bit 2 0 Bit 1 1 Bit 0 0 also 3 Worte Konfigurationsdaten insgesamt 0xEO 0xD2 2 PKW Kanal PZD wie in 1 vgl Abbildung 2 Seite 13 Der PKW Kanal wird als ein Modul mit je 4 Worten Ein und Ausgangsdaten aufgefasst Identifier Byte f r PKW Kanal OxF3 1111 0011 bin Bit 7 1 also Konsistenz ber die gesamte L nge Bit 6 1 also Z hlung in Worten Bit 5 1 Bit 4 1 also Ausgang Eingang Bit 3 0 Bit 2 0 Bit 1 1 Bit 0 1 also 4 Worte Konfigurationsdaten insgesamt 0xF3 0xE0 OxD2 3 PKW Kanal PZD Ausgangsdaten Steuerwort 16 Bit und Zielposition 32 Bit Eingangsdaten Statuswort 16 Bit und Ist Position 32 Bit In diesem Fall ergeben sich bei den PZD in jeder Ubertragungsrichtung 3 Worte und die PZD lassen sich wie der PKW Kanal durch ein Identifier Byte beschreiben Identifier Byte PZD OxF2 1111 0010 bin Bit 7 1 also Konsistenz uber die gesamte Lange Bit 6 1 also Z hlung in Worten Bit 5 1 Bit 4 1 also Ausgang Eingang Bit 3 0 Bit 2 0 Bit 1 1 BitO 0 also 3 Worte Konfigurationsdaten insgesamt 0xF3 0xF2 TR Electronic GmbH 2005 All Rights Reserved P
104. mands has been selected Set 0 is processed automatically The following parameters affect a positioning order Table 9 Parameters affecting a positioning movement Parameter Significance TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 102 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS communication Conversion into physical units Position information is generally given in mm linear and degree rotative Here data type C4 is used cf Table 16 A C4 value of 12345678 therefore corresponds to the value 1234 5678 Position information can be defined application specific as demonstrated in examples Example 1 spindle Position information mm PNO 1 Gearbox factor 50000 C4 data type complies 5 PNO 2 Pitch 40000 C4 data type complies 4 mm path per gearbox revolution Example 2 belt Position information mm PNO 1 Gearbox factor 50000 C4 data type complies 5 PNO 2 Pitch 2199114 C4 data type complies Volume of driving panel V Pi d 219 9114 mm 3 14 70 mm Example 3 Position information degree PNO 1 Gearbox factor 50000 C4 data type complies 5 PNO 2 Pitch 3600000 data type complies 360 degree per gearbox revolution Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 103 of 147 PROFIBUS communication elec
105. memory Fault messages are stored permanently in a ring buffer If a new fault is present then this is indicated by ZSW 3 1 Fault present see 4 2 5 1 Pnu Name anrbute Datatype Defaut mn m 953 Warning ro wip UNSIGNED16 0 JO Te Indicates whether a fault is present Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 125 of 147 PROFIBUS communication Relectronic Pnu Name atribute Datatype Defauk mm Device Array 9 Current identification UNSIGNED16 identification of hardware and software Device identification The individual elements must be read in the following order Manufacturer OxAAAE Device type 0x0001 manufacturer specific Version xxyy 200 means 2 00 Firmware date Year Firmware date ddmm day month Number of axes 1 Hardware version xxyy serial number dddd Profile number UNSIGNED16 0x0303 0 _ 65535 Profile number Profile number 03 PROF Drive Version 3 UNSIGNED16 0 O 165585 Control word STW The state machine is controlled by means of the control word Cf Section 4 2 3 1 Pnu Name aumbute Datatype Defau win w 968 zsw ro UNSIGNED16 64 0 HSH Status word ZSW The status word provides information related to current states Cf Section 4 2 3 1 Load factory setting UNSIGNED16 1 0 65535 All parameters of the object directory are set to thei
106. menn 022220022000220020n0nnnnnnnne nenn nenn nenne nenn nnnnn anne nenne nenn Aaaa 54 Beispiel f r INITIATE Request 2u002020002nseensnnennennennnnnnnnnnnnnennnnnnnnnnenne nenne nnnnnenennnn 56 DPV1 REQUEST once ee ee ee ers en sen ee ee 57 DPV1 Response ee ee ee ee el ee 58 Struktur des Parameters 807 Dig In Funktion 002222002200022nnenennennnnennnnnnennnenn 65 Funktions bersicht der Endschalter 0022400224002000B0nn nenne nenn ann ennnn nenn nennen 66 Abbildungsverzeichnis Abbildung 1 Antriebe am Feldbus uu 42440044400Bn0nnennnnn nennen nenne nennen nenne nnnnnn nennen ennnenennennennnenennnn 11 Abbildung 2 Zyklische Kommunikation mit unten und ohne PKW Kanal oben 13 Abbildung 3 PROFIDrive Zustandsmaschine allgemeiner Teil uus0004000020nnR nennen nnennneen 22 Abbildung 4 PROFIDrive Zustandsmaschine Betriebsart Positionieren 200222200222se 22220 25 Abbildung 5 Rampeneinstellungen u 4440444s0Rnnnn nenne nenne nennen nenne nenne nnnnnenennnnnnnnnnennennennennnnnnn 27 Abbildung 6 PROFIDrive Zustandsmaschine Betriebsart Geschwindigkeitsregelung 31 Abbildung 7 Rampeneinstellungen uu 444044400nnenn nenne nenn nennen nenne nenne nnnnnenennnnnnnnnnennennennen nennen 33 Abbildung 8 Software Endsc
107. n gekennzeichnet STW 7 0 gt 1 bedeutet dass an Bit 7 des STW eine Flanke von O nach 1 erzeugt werden muss Andere Bedingungen die zu Zustands nderungen Anlass geben sind hinter der entsprechenden Zustands nderung vermerkt Bei gewissen Zustands nderungen sind eine Reihe von Ausgangszust nden zul ssig So kann man praktisch aus jedem Zustand in den Zustand St rung gelangen Solche berg nge sind dadurch gekennzeichnet dass die Ausgangszust nde durch ein Rechteck begrenzt sind auf dessen Rand ein ausgef llter Kreis platziert ist Dies deutet an Ausgangszustand kann jeder Zustand im innern des Rechtecks sein auf dessen Rand sich der ausgef llte Kreis befindet Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 21 of 147 PROFIBUS Kommunikation TA2 STW 2 1 STW 1 1 SA3 Einschaltbereit ZSW 0 1 Relectronic SAT Spannung einschalten TAT Spannung EIN STW 10 1 TAQ Lastschutz STW 0 0 SA2 TA 16 Fehler beheben STW 7 0 gt 1 Einschaltsperre ZSW 6 1 N ge ffnet TA 14 Lastschutz ge ffnet SA7 Nicht betriebsbereit Hauptschalter AUS ZSW 1 0 SA10 AUS2 Lastschutz ffnen ZSW 4 0 SA11 Fehler St rung ZSW 3 1 N TA3 STW 0 1 TA8 Drehzahl Strom 0 SA6 AUS1
108. n nennen 23 4 2 3 3 Betriebsart Positionieren uuu 4u40444sRenne nenne nnnnn nenne nennen 25 4 2 3 4 Betriebsart Geschwindigkeitsregelung u04044000nernee en 31 4 2 4 Verfahrbereich und Referenzpunktkoordinate 022200222000222ee 222 34 4 2 4 1 Referenzpunktkoordinate 0222000224000200000nnnn nenne nnnnnenennn 34 4 2 4 2 Berechnung max Software Endschalterpositionswerte 35 4 2 4 3 Definition des Verfahrbereichs 24000244400RRnennn nennen 36 4 2 5 DIAGNOSE und Warnung needs 37 4 2 5 1 St rungen und Warnungen ee 37 4 2 6 Das Objektverzeichnis 022242002200000000000000nnnnnnnnnnn nennen nennen nnnnnne nennen 40 4 2 6 1 Speicherung des OV im Flash Werksvoreinstellungen 40 4 2 6 2 Parameterarten ccccccccssececeseceseseeeeseecseeeseaeeeseeeenseseneuesenseeeens 40 4 2 6 3 DateniVPeni smiein nn ein wann aan daw ker eeiei ahn 40 4 2 6 4 Parameterbeschreibung u 444044400n0nnn nenne nnnne nenne nenne nennen 42 4 2 6 5 Liste der encoTRive Parameter 4s40444sRnenn nenne nennen 43 4 2 6 5 1 Herstellerspezifische Parameter 0 00 44 4 2 6 5 2 Profilspezifische Parameter 20022220022nee nennen 50 4 2 6 6 Parameterzugriff ber PROFIBUS DP 0 2222002222s0nnenneeennnn 93 4 2 6 7 Parameterzugriff
109. nach Zustands bergang TA4 vgl Abbildung 3 der Zustand SC1 eingenommen Zustandsubergang TA5 f hrt aus jedem der Zust nde in Abbildung 4 in den Zustand SAD TC14 STW 11 0 oder Referenzpunkt gesetzt SC8 Referenzieren ZSW 11 1 Re SC1 Betrieb freigegeben ZSW 2 1 TCL STW 4 1 STW 5 1 TC15 Flanke bei STW 6 referenziert STW 8 1 oder SC7 Bremsen mit max Bremsbeschleunigung STW 10 1 Fahrauftrag fertig TC11 STW 4 0 TC2 Flanke bei STW 6 SC2 Fahrauftrag aktiv ZSW 10 0 ZSW 13 0 TC4 STW 5 0 SC3 Bremsen mit Rampe TC8 STW 11 0 oder TCS Referenzpunkt gesetzt V 0 ZSW 13 1 TC10 STW 8 0 STW 9 0 SC5 Referenzieren ZSW 11 1 HH _ TC7 SC4 Zwischenhalt ZSW 13 1 a M SC6 Tippen TC9 STW 8 1 oder STW 9 1 Abbildung 4 PROF IDrive Zustandsmaschine Betriebsart Positionieren Printed in the Federal Republic of Germany 02 28 2008 TR EMO BA DGB 0006 07 TR Electronic GmbH 2005 All Rights Reserved Page 25 of 147 PROFIBUS Kommunikation TRelectronic Tabelle 7 Steuerwort Positionieren Bit Wert Bedeutung Beschreibung Antrieb bremst aus einem aktiven Fahrauftrag mit Fahrauftrag verwerfen maximaler Beschleunigung bis zum Stillstand Der aktuel
110. ndardsignal Nr Bedeutung Parameter Nr encoTRive Geschwindigkeits Istwert Input digital 803 Output digital 804 Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 17 of 147 PROFIBUS Kommunikation TRelectronic Bei Parameter 922 unterstutzt encoTRive folgende Parameterwerte Tabelle 3 Unterstutzte Standardtelegramme P922 Wert Telegrammaufbau PZD frei konfigurierbar Uber 915 und 916 PROFIdrive Version 3 0 Voreingestelles Telegramm bei Auslieferung Telegrammaufbau Herstellerspezifisches Telegramm Bei Werksvoreinstellung laden wird dieses TR Telegram 1 8 8 PZD Telegramm voreingestellt Parameter PZD Aufbau Position Nummer Bezeichnung Steuerwort Zielposition Geschwindigkeit DPM1 gt encoTRive Beschleunigung Maximaler Dauerstrom Digitale Ausgange Zustandswort Lageistwert Drehzahlistwert encoT Rive gt DPM1 Stromistwert St rungsnummer Digitale Eing nge TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 18 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS Kommunikation Fortsetzung Tabelle 3 Wert Telegrammaufbau Standardtelegramm 7 PROFIdrive Version 3 0 Parameter PZD Aufbau Position Nummer Bezeichnung Steuerwort DPM1 gt encoTRive Verfahrsatznummer Zustandswort encoT Rive gt DPM1 Aktueller Satz
111. ndern Doppelwort PNU 100 0x64 Subindex 0 Parameterwert 1000 000 OxF4240 PKW Auftrag PKW Antwort ByteO Byte1 Byte2 Byte3 Byte4 Byte5 Byte6 Byte7 Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 55 of 147 PROFIBUS Kommunikation Relectronic 4 2 6 8 Parameterzugriff ber DPV1 Mit einem PKW Auftrag k nnen maximal 4 Byte Nutzdaten transportiert werden Bei DPV1 dagegen k nnen wesentlich gr ere Datenmengen transportiert werden Insbesondere lassen sich Teilbereiche von Arrays in einem Auftrag bertragen PROFIDrive 3 0 l t sogar sog Multi Parameter Auftr ge zu bei denen in einem DPV1 Auftrag mehrere Parameter gelesen oder geschrieben werden k nnen encoTRive unterst tzt keine Multi Parameter Auftr ge Ein Schreib oder Leseauftrag bezieht sich stets auf nur einen Parameter Ein DPV1 Auftrag wird als Datenbereich eines azyklischen Schreibauftrags vom Master an den Slave bertragen Dazu nutzt der Master den Dienst MSAC1_WRITE bei DPM1 bzw MSAC2_WRITE bei DPM2 Die korrekte bertragung des Auftrags wird dem Master quittiert Mit dem Dienst MSAC1_READ bzw MSAC2_READ versucht der Master die Antwort auf den DPV1 Auftrag DPV1 Response vom Slave abzuholen Solange der Auftrag in Bearbeitung ist wird dieser Leseauftrag negativ quittiert Fehler Code State Conflict Liegt beim Slave die
112. ndigkeit P201 Abbildung 7 Rampeneinstellungen Um drehzanhlgeregelt verfahren zu k nnen m ssen die Zustands berg nge TB1 bis TB3 durchlaufen werden Nach TB3 beginnt der Antrieb gem der eingestellten Rampe zu verfahren Wenn die vorgew hlte Geschwindigkeit erreicht ist wird dies im Statuswort Bit10 signalisiert Die Geschwindigkeit wird solange beibehalten bis entweder durch zur cksetzen des Bits 4 im Steuerwort das schnellstm gliche Stillsetzen initiiert wird oder durch zur cksetzen des Bit 5 oder 6 mit eingestellter Bremsbeschleunigung herunter gerampt wird Im Zustand SB4 d h Antrieb hat die vorgegebene Drehzahl erreicht bernimmt dieser unverz glich einen ge nderten Drehzahlsollwert P201 Folgende Parameter beeinflussen einen Positionierauftrag Tabelle 13 Parameter die eine Positionierung beeinflussen Parameter Bedeutung 201 Geschwindigkeit 202 Beschleunigung 305 Schleppabstand siehe Betriebsart Positionieren Seite 25 Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 33 of 147 PROFIBUS Kommunikation TRelectronic 4 2 4 Verfahrbereich und Referenzpunktkoordinate aA Der Referenzpunkt wird antriebsintern immer als Mittelpunkt des maximalen Verfahrbereichs betrachtet 4 2 4 1 Referenzpunktkoordinate Sollen die maximalen Software Endschalterpositionen beibehalten werden ist eine Verschiebung
113. ng Bedeutung 1 Bit 0 Temperatur zu hoch Zielposition au erhalb des Bereichs welcher 2 Bit 1 durch die Software Endschalter Parameter 300 301 definiert ist Hardware Endschalter wurde angefahren Verfahren ber Tipp Betrieb nur in umgekehrte Richtung m glich solange bis der Antrieb wieder innerhalb des definierten Verfahrbereichs steht Liegt eine Storung an so kann die Ursache der St rung aus Parameter 947 entnommen werden Parameter 947 ist ein Array von 64 UNSIGNED16 Werten welche die Fehlerursachen beschreiben Die Information zu einem Fehler kann aus zwei aufeinander folgenden Array Elementen bestehen Der erste Wert gibt die Fehlerkennung an der zweite enth lt eine n here Fehlerbeschreibung Eine Fehlersituation kann bis zu 8 Fehler beinhalten Der St rpuffer speichert wiederum insgesamt 8 Fehlersituationen Das erste Array Element enth lt den ltesten Fehler der zu der Fehlersituation gef hrt hat Mit zunehmendem Index erh lt man neuere Fehlerinformationen Enth lt ein Array Index den Wert 0 so folgen keine weiteren Fehlerinformationen Die Quittierung einer St rung erfolgt durch das Bit Quittieren im Steuerwort Mit STW 7 1 wird eine Fehlersituation quittiert Damit wird der St rungsspeicher Parameter 947 automatisch zur n chsten Fehlersituation d h um 8 Eintr ge weitergeschaltet Voraussetzung hierf r ist dass die Ursache des Fehlers beseitigt wurde Wird danach immer noch im ZSW a
114. ngezeigt dass eine St rung vorliegt so ist der Quittierungsvorgang zu wiederholen indem STW 7 zun chst auf 0 dann auf 1 gesetzt wird Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 37 of 147 PROFIBUS Kommunikation TRelectronic Folgende Storungen sind definiert Allgemeiner Systemfehler im Applikationsmodul 100 Hier sind alle Fehler des Applikationsmoduls implementiert welche nicht explizit aufgefuhrt sind 101 Interner Kommunikationsfehler CANopen 102 Fehler im FEPROM Checksummenfehler im Flash 4 Kommunikationsfehler DPV1 Positionieren uber digitale Eingange O Es wurde uber die digitalen Eingange positioniert Allgemeiner Systemfehler im Grundmodul Fehler Uberspannung Leistungsspannung gt 55 0 V Fehler Unterspannung Leistungsspannung lt 21 0 V Temperatur berschritten O1 530 Die interne Temperatur ist gr er als der eingestellte maximal zul ssige Grenzwert 531 Temperatursensor defekt Der interne Temperatursensor ist defekt Geberfehler 550 Die Signale des internen Gebers sind unzul ssig Es kann kein Positions und Geschwindigkeitssignal generiert werden Positionierdauer zu gro 560 Die Fahrparameter sind so gew hlt dass eine Positionierung zu lange dauern w rde Positiver Hardware Endschalter angefahren Antrieb wurde schnellstm glich gestop
115. nnnnnnnnnnunnnnnnnnnnnnnnnnnnnannnnnnnnenn 85 4 1 Cyclical data traffic Gata required a u uu ene a 85 4 2 PROFIBUS DP as ne ee ea ee rare ee Enten 85 4 2 1 encoTRive as PROFIBUS DP slave u 20002220002snsennnnnennnnnenennnnnennenen 87 4 2 1 1 Transmission speed Baud rate 0s2200s22nseenennenennennnnnenennn 87 4 2 1 2 Slave address PROFIBUS node address 002 2u002200 87 4 2 1 3 Start up Parameterization Configuration ccccccseceeeeeeeeeeeeees 88 4 2 2 Configuration of process data ccccccccccsseeeeeceeeeeeeeeeeeeeeeeeeeeeeeeeesseeeeeeseeeeeeeas 91 4 2 3 Drive specific functions 2220022040020000nnnnnennnnn nenne nnnnn nenne nenne nase nennen 95 4 2 3 1 General state machine 2200222000200000n0nne nenne nnnne anne nennen 95 4 2 3 2 Control word and status word cccceccecseeceeeeeeeeeeeeeeeeeeseeeeseeeeeas 97 2 23 3 FP OSIMONING MO une euere 99 4 2 3 4 Speed control mode 222200222200200000nnnne nenne nnnnnennnne nennen 105 4 2 4 Travel range and reference point Coordinate us44244400n0nnne nennen ennnn 108 4 2 4 1 Reference point coordinate 200022400020000 nenne nnnnnennnnenennn 108 4 2 4 2 Calculation of the max software limit switch position values 109 4 2 4 3 Definition of the travel range uus2224u0ssnennnennnnnnennennne nennen 110 4
116. nrichtung das Statuswort und der Positions Istwert Inhalt von Parameter 922 0 Inhalt von Parameter 915 15 967 200 0 Inhalt von Parameter 916 15 968 100 0 Die restlichen Elemente der beiden Parameter k nnen mit PZD f higen Parameternummern belegt sein siehe Kapitel Herstellerspezifische Parameter Seite 44 Die Telegramml nge die sich aus PZD Konfiguration und ggf PKW Kanal ergibt darf die im Konfigurierungstelegramm vgl 4 2 1 3 2 spezifizierten L ngen nicht berschreiten Aktivierungsreihenfolge des neu konfigurierten Telegramms 1 ber Parameter 971 Im Flash speichern alle Parameterwerte remanent speichern 2 Systemkaltstart ausf hren Antrieb von der kompletten Spannungsversorgung trennen 4 2 3 Antriebsspezifische Funktionen 4 2 3 1 Allgemeine Zustandsmaschine Die Zustandsmaschine definiert die internen Zust nde die ein PROFIDrive Antrieb einnehmen kann und die Ereignisse die zum bergang zwischen diesen Zust nden f hren In Abbildung 3 sind die Zust nde mit SAx bezeichnet die berg nge mit TAx Die meisten Zust nde werden durch bestimmte Statusbits im Zustandswort ZSW identifiziert In der Abbildung wird dies durch ZSW x y beschrieben Dabei bedeutet ZSW 3 1 Bit 3 des ZSW ist gesetzt Wert 1 Die meisten Zustands berg nge werden durch Bitmuster die im Steuerwort STW abgesetzt werden initiiert Dies ist in der Abbildung z B durch STW 1 0 Bit 1 des STW auf O setze
117. of the array elements Default Factory setting Min Minimum value Max Maximum value Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 117 of 147 PROFIBUS communication TRelectronic 4 2 6 5 1 Manufacturer specific parameters Gearbox factor 70000 2000000000 The gearbox factor is the ratio of motor revolutions to the revolutions of the gearbox output shaft Motor revolutions Gearbox factor Drive shaft revolutions The default value depends from the gear used Example Default value 400000 40 motor revolutions for each revolution of the drive shaft Pnu name Jatrinute Datatype Detaut mn Max This parameter defines the spindle pitch Displ t Spindle pitch eee a Drive shaft revolutions The default value 10000 corresponds to 1 mm per revolution Pnu name annou oat pe era mn Reference rw f w 2000000000 DE point coordinate The parameter specifies the position in mm at the reference point uNsIGNEDIG Oo O 0o o Direction of rotation of the motor shaft with view onto the motor output shaft Parameter value 0 1 Positive drive direction clockwise counter clockwise Negative drive direction counter clockwise clockwise LI value of ro p _ a position Current position in mm Name Attribute Data type e LIT value of ro p N current Motor current in A TR Electronic GmbH 2005 All
118. ofile Relectronic 3 PROFlIdrive drive profile The linguistic devices for controlling the drive are extensively independent of the manufacturer For this reason communication between the drive and the superimposed control system has been standardized in so called drive profiles A drive profile specifies how an electrical drive is controlled via a field bus It defines the behavior of the device and the method of accessing the drive data The following sub areas in particular are controlled e Control and status monitoring e Standardized parameterization e Changing operating modes The profile for electrical drives on PROFIBUS is called PROFIDrive PNO 2002b As a PROFIBUS node encoTRive supports the PROFIDrive 3 0 profile PNO 2000 The profile divides drives into different application classes The encoTRive is assigned to application class 3 positioning drive The following information is typically exchanged between a master e g control system and a drive which assumes a slave function The drive provides information on its current status e g Drive running and possibly additional information such as the current position current speed etc In the other direction the control system assigns positioning orders for example Move at speed x to position y Without profiles such as PROF I Drive every manufacturer would have to specify his own protocol for transmitting commands and status messages and t
119. on Coordinate oftware Limi Switch Position Switch Position W 51 S2 2 Figure 9 Max Reference point coordinate Z gt X 2 Is the defined Travel Range smaller than Max Travel Range a freely definable Reference Point Coordinate can be transferred Max Travel Range X Real Travel Range Z Z lt XI2 Y W X Z 2 Y a W X Z 2 Y Reference Point Coordinate S1 S2 Software Limit Software Limit Switch Position Switch Position W S1 S2 2 Figure 10 Max Reference point coordinate Z lt X 2 TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 110 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS communication 4 2 5 Diagnosis and maintenance 4 2 5 1 Faults and warnings Faults are internal fault situations which cause the drive to respond the drive switches to the Fault state SA11 Faults must be acknowledged in the STW after removing the cause of the fault Warnings are temporary fault situations These do not have to be acknowledged If the reason for the warning is no longer present the warning disappears A fault is indicated in the Fault bit A fault is present if ZSW 3 1 If a warning is present then this is indicated by the Warning bit ZSW 7 1 In the event of a warning Parameter 953 Warning contains the reason for the warning as a bit code The following situations are r
120. onnection between the DPM1 and slave is set up automatically INITIATE Request A DPM2 must explicitly set up the acyclic connection to the slave For this purpose PROFIBUS defines a special linguistic device the so called INITIATE request The structure of this message is described in the PROFIBUS standard encoTRive evaluates only certain parts of this message Below is an example of an INITIATE request which is accepted by encoTRive Table 21 Example of an INITIATE request Byte Description oo 2 Features Supported 1 0x01 MSACZ_READ and MSACZ WRITE suppor 3 Features Supported 20x00 4 Profile Features Supported 1 0x00 S 16 Profile Ident Number High Byte 0x00 Profile Ident Number Low Byte 0x00 8 Address Type Source 0x01 S SO 9 Address Length Source Ox0A _ SSS Source Address e e e Destination Address TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 130 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS communication Structure of a DPV1 request response The total length of a DPV1 request DPV1 response is a maximum of 124 bytes Table 22 DPV1 request ee tara reference for each new request name Significanee 1 Request ID 0x01 Request parameter read parameter to pese 0x02 Change parameter write parameter 2 Axis Axis addressing for multi axis drives DEE a number of parameters With encoTRive value 0x01 4
121. ontroller PLC or a PC The DPM1 reads the inputs of the field devices and writes the outputs setpoints of the actuators at fixed intervals Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 85 of 147 PROFIBUS communication TRelectronic e DP master Class 2 DPM2 These are engineering development and control units A DPM2 does not have to be continuously connected to the bus Like the DPM1 it actively accesses the bus Communication between a DPM1 and PROFIBUS DP slave runs cyclically The master transmits output data for the slave at regular intervals and the slave transmits its input data to the master in a reply telegram The telegrams used have the same structure throughout the whole of the run time This type of communication is suitable for information which has to be continuously updated the so called process data PZD To reserve a fixed space in the telegram for parameters which are only changed infrequently would be inefficient This lengthens the telegram unnecessarily and thus increases the transmission time For this reason the DP V1 power stage of PROFIBUS DP provides acyclic services for reading and writing With these services parameters can be interrogated or written as required In doing so parameters are accessed using special linguistic devices DPVT With this approach only that information which must be continu
122. or the actual value of position or for the actual value of speed for example the association between so called standard signals and manufacturer specific parameters which can be seen in Table 2 is defined in a special parameter 923 With the encoTRive this is as follows Table 2 Standard signals for encoTRive Standard signal No Significance encoTRive parameter No Output digital 804 Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 91 of 147 PROFIBUS communication TRelectronic With Parameter 922 encoTRive supports the following parameter values Table 3 Standard telegrams supported P922 Telegram configuration PZD freely configurable by means of l oo P915 and P916 PROFIdrive version 3 0 Preadjust telegram when the drive is delivered Telegram configuration Manufacturer specific telegram When the command Load factory settings TR Telegram 1 8 8 PZD is executed this telegram is active Parameter PZD structure Position j Significance Control word Target position Speed DPM1 gt encoTRive Acceleration Max continuous current Digital outputs Status word Actual value of position Actual speed encoTRive gt DPM1 Actual value of current Error number Digital inputs TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 92 of 147 TR EMO
123. ord Request parameter description NO oP WD O Request parameter value array Change parameter value array word Change parameter value array double word oo OTF WN CO Request number of array elements Parameter number PNU If the value 7 is given as the response identification Order cannot be executed then the PWE range is assigned an error number which specifies the cause of the fault These are shown in the following table Error number Significance Table 20 PKW DPV1 error numbers TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 128 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS communication The PKW order is being processed as long as the slave gives the response identification O no response Examples 1 The master wants to read the first element subindex 1 in the case of PKW of Parameter 947 Order identification 7 Request parameter value array word PNU 947 Ox3B3 Subindex 1 the slave responds positively and returns the value 1000 Ox3E8 PKW order PKW response 2 The master wants to write Parameter 100 with the value 1000 000 The slave responds with error identification Parameter cannot be written cf Table 20 PKW DPV1 error numbers Order identification 3 Change parameter value double word PNU 100 0x64 Subindex 0 Parameter value 1000 000 OxF
124. ously up to date is transmitted cyclically and the on demand data are transmitted acyclically in the form of a DPV1 request and a DPV1 response A DPM1 can use cyclic and acyclic services Acyclic data transmission takes place using a dedicated connection which is set up by the DPM1 This can only be used by the master which has also parameterized and configured the slave A DPM2 uses exclusively acyclic services To do so it sets up a connection to the appropriate slave A slave can support several active connections of this kind at the same time Unfortunately the DPV1 services are not yet in very wide use although they have been specified for some years For this reason the current version of PROFIDrive PNO 2002b also still allows access to on demand data as part of the normal cyclic data exchange For this purpose 8 transmission bytes are reserved in each case for a parameter channel in both directions of transmission The master transmits information on this PKW channel Parameter Identification Value for selecting a parameter parameter number subindex on the type of access read write and if necessary the parameter value After processing the order the slave formulates its response If processing in the slave takes a long time then no response is signaled in the PKW part of the slave reply in the meantime By this means all parameters can be accessed as part of the cyclic data traffic TR Electronic GmbH
125. out by means of the PKW or DPV1 The parameter description for a parameter has a fixed length of 46 bytes The individual elements of the parameter description can be accessed by means of the subindex If subindex O is used then this means the whole of the parameter description Table 17 Description of parameters Subindex Significance Meaning Identifier 2 bytes encoTRive uses only bits 0 7 9 bit significance 2 The following values are fixed for l the remaining bits 1 Array 0 Simple parameter 13 1 Parameter can only be reset e g time difference bit 13 0 12 1 Parameter has been changed from bit 12 0 the factory setting bit 10 0 11 reserved 1 Additional text array available Qo 1 Parameter cannot be written 1 Normalization and size attribute not relevant Data type cf Table 16 Number of array elements or string length 2 bytes bit 8 0 If the parameter is an array parameter then the 2 number of array elements is specified here In the case of a character string this element contains the length of the string Normalization factor 4 bytes Not used for encoTRive 3 Floating point number with which an internal value can be converted to a physical representation Attribute 2 bytes Not used for encoTRive 4 Physical unit quantity Reserved 4 Byte OO Name 16 Byte Parameter name Character string Lower limit value 4 Byte Reserved 2 Byte T ID extension Reserved 2 By
126. ows that there is a fault present then the acknowledge process must be repeated by first setting STW 7 to O and then to 1 Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 111 of 147 PROFIBUS communication TRelectronic The following faults are defined General system fault in the application module 100 All application module faults which are not explicitly listed are implemented here 101 Internal communications fault CANopen FEPROM fault Checksum error in Flash Communications fault DPV1 Positioning by means of digital inputs ik NO O KR ak O Positioning has been carried out by means of digital inputs General system fault in the basic module Overvoltage fault Power voltage gt 55 0 V 510 Encoder fault 550 Signals from the internal encoder are unreliable Position and speed signals cannot be generated Undervoltage fault Power voltage lt 21 0 V Temperature exceeded The internal temperature is greater than the set maximum permissible limit Temperature sensor defective The internal temperature sensor is defective Positioning time too long 560 The run parameters have been chosen so that positioning would take too long Positive hardware limit switch reached Drive was stopped as fast as possible and put into the SA2 status Check Target position Reference point coordin
127. pt und in den SA2 Zustand versetzt Zielposition Referenzpunktkoordinate und Software Endschalterpositionen berpr fen Negativer Hardware Endschalter angefahren 581 Antrieb wurde schnellstm glich gestoppt und in den SA2 Zustand versetzt Zielposition Referenzpunktkoordinate und Software Endschalterpositionen berpr fen Schleppfehler Der maximale Schleppabstand wurde berschritten Profibuskommunikation Profibuskommunikation ist ausgefallen TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 38 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS Kommunikation Fortsetzung der Storungsmeldungen PZD Konfiguration Telegramm in Richtung Slave gt Master zu kurz PZD Konfiguration Telegramm in Richtung Master gt Slave zu kurz PZD Konfiguration Konsistenzproblem 804 PZD Konfiguration PKW Identifier OxF3 im Konfigurationstelegramm an falscher Stelle PZD Konfiguration Keine PZD in Richtung Master gt Slave konfiguriert PZD Konfiguration Keine PZD in Richtung Slave gt Master konfiguriert PZD Konfiguration Formatfehler L ngenberechnung nicht m glich 810 PZD Konfiguration Telegramm in Richtung Slave gt Master zu lang 811 PZD Konfiguration Telegramm in Richtung Master gt Slave zu lang Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 0
128. puts EO and E1 two hardware limit switches as normally closed contacts are connected To activate the corresponding function the following value must be transferred for parameter P807 Input EO as positive limit switch low active gt Byte 0 03 Input E1 as negative limit switch low active gt Byte 1 05 Byte 3 Byte 2 Byte 1 Byte 0 me 6 Parameter P807 0x0000 0503 1283 dec 5 2 2 Outputs About this 4 byte parameter P808 Dig out Function to the 4 digital outputs different functions can be assigned For each output one byte is reserved P808 Byte 3 Byte 2 Byte 1 Byte 0 Output 3 Output 2 Output 1 Output 0 0 255 0 255 0 255 TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 140 of 147 TR EMO BA DGB 0006 07 02 28 2008 Configuration example SIMATIC Manager 6 Configuration example SIMATIC Manager 6 1 GSD file installation e Install the GSD file supplied on the CD ROM using the hardware configurator e HW config gt Extras gt install new GSD 6 2 Adding a drive to the Profibus network In accordance with the profile the drive EncoTRive VC001 300W can now be taken from the hardware catalogue and attached to the Profibus network 6 3 Telegram selection As the PZD configuration has been pre set in the drive the TR telegrams can be used for simplification This makes it possible to transmit the above mentioned parameters cyclic
129. r default values by means of an edge 1 0 on this parameter Save in Flash rw w UNSIGNED16 o 10 165535 The current content of all savable parameters is stored in Flash by means of an edge 0 1 980 List of all ro w Array 79 Numbers of all 65535 parameters UNSIGNED16 defined parameters This parameter contains a list of all defined parameters in ascending order An entry with a value O signals the end of the list TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 126 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS communication 4 2 6 6 Access to parameters via PROFIBUS DP There are two mechanisms for accessing the parameters of the object directory via PROFIBUS DP e PKW channel as part of the cyclic data exchange between DPM1 and DP slave e acyclic DPV1 services If a PKW channel is used then this occupies the first 8 bytes of the telegrams which are cyclically exchanged between DPM1 and DP slave see Figure 2 Page 87 The drive recognizes as part of the configuration cf 4 2 1 3 2 whether the system is working with or without PKW channel If the first configuration byte is OxF3 then the cyclic data contain a PKW channel otherwise not Parameters can be written and read by means of PKW and with DPV1 In this case the following conventions apply e Inthe case of arrays the PKW access is to the first element with subindex 1 In t
130. r monitoring is deactivated Interpretation of the default value 1024 encoder increments x 10 motor revolutions 306 Max rw f w C4 1000000 2000000000 temperature Maximum permissible temperature of the electronics in C 150000 200000 This parameter defines the maximum overcurrent in A This current is allowed for a short time when accelerating for 500 ms in order to overcome the break free torque warning An appropriate warning is output if the temperature of the electronics exceeds this defined parameter value STW2 rw lwip I UNSIGNED16 0 oO 68535 The command set selection parameter P402 can also be written by means of control word 2 According to ProfiDrive profile 3 0 this must be carried out within the standard telegram 7 ZSW2 rw p UNSIGNED16 O O 65535 The current command set parameter P403 can also be read by means of control word 2 According to ProfiDrive profile 3 0 this must be carried out within the standard telegram 7 SATZANW rwi w p UNSIGNED16 o Jo 65535 This parameter can be used to preselect a command set from the command set table This will occur the next time a positioning movement is started AKTSATZ rwi wip UNSIGNED16 o Jo 165535 This parameter indicates the current set of travel commands Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 121 of 147 PROFIBUS communication Relect
131. rameters In addition to PROFIBUS DP encoTRive supports access to the parameters of the object directory via serial interface If access is made via the serial interface then access to parameters via PROFIBUS DP is blocked Value 1 Control priority local i e via serial interface Value 2 Control priority PROFIBUS DP TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 124 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS communication Name Attribute Data Datatype GOET control rw w UNSIGNED16 a SER priority Defines who can have write access to the process data It is possible that parameters of the object directory may be accessed simultaneously by a DPM1 and a DPM2 As the PZD is updated cyclically it must be ensured that only one master influences the PZD Value 1 DPM1 has PZD control priority DPM2 write access to PZD parameters is denied Value 2 DPM2 has PZD control priority PZD from DPM1 are ignored When the link is established about DPM2 EncoTRive Tool At the time of establishing the communication the EncoTRive Tool has the highest priority With writing of the parameter value 1 the highest priority is handed back to the PLC DPM1 Operating mode rw w p UNSIGNED16 2 0 65535 Selection of operating mode values see Table 4 page 97 Name Attribute Data Datatype CICE ro w p Array 64 CC E UNSIGNED16 Fault
132. rd im Statuswort Bit 8 auf 0 zur ckgesetzt Fahrsatztabelle Es besteht die M glichkeit bis zu 32 Parameters tze f r Positionierungen im Antrieb zu hinterlegen Dies geschieht ber Indizes der Parameter 200 bis 203 Jede Indexnummer von 1 bis 31 entspricht hierbei einer Fahrsatznummer die ber die Parameter 400 STW2 oder 402 Satzanwahl aufgerufen werden kann Die Parameter P401 ZSW2 und P403 Aktueller Satz zeigen den aktuellen Fahrsatz an Falls keine Satzanwahl erfolgt ist wird automatisch der Satz 0 bearbeitet Folgende Parameter beeinflussen einen Positionierauftrag Tabelle 9 Parameter die eine Positionierung beeinflussen Parameter Bedeutung Zielposition Geschwindigkeit Beschleunigung Verzogerung TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 28 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS Kommunikation Umrechnung in physikalische Einheiten Positionsangaben erfolgen generell in mm linear und Grad rotativ Dabei wird der Datentyp C4 verwendet vgl Tabelle 16 Ein C4 Wert 1234567 wird als 123 4567 interpretiert Die Positionsangaben k nnen applikationsspezifisch wie in dargestellten Beispielen definiert werden Beispiel 1 Spindel Positionsangaben mm PNU 1 Getriebefaktor 50000 C4 Datentyp entspricht i 5 PNU 2 Steigung 40000 C4 Datentyp entspricht 4 mm Weg pro Getriebeumdrehung Beispiel 2 Riemen
133. rdware means This can be read via the software from Parameter 918 The set up options can be seen from the device specific plug assignment Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 87 of 147 PROFIBUS communication Relectronic 4 2 1 3 Start up Parameterization Configuration A DP slave must be parameterized and configured before cyclic data exchange begins between a DPM1 and the slaves assigned to it After switching on the slave goes into the WAIT PRM state Wait for parameterization The master sends a parameterizing telegram to the slave After the slave has confirmed receipt of the parameterizing telegram the slave goes into the WAIT CFG state Wait for configuration The master now sends the configuration telegram to the slave which defines the length and structure of the telegrams to be transmitted cyclically 4 2 1 3 1 Parameterizing telegram Chk_Prm Amongst other things the parameterizing telegram contains the following information about the slave e Ident number of the slave e Activation monitor watchdog e Group association e Minimum response time of the slave e Protocols supported FMS and or DP e Baud rates supported This information is contained in the first 7 bytes of the parameterizing telegram The user specific data in the parameterizing telegram must be 3 bytes long Its content bytes 8 9 10 must
134. resse A Adresse Kommentar 224 TR Telegram 1 8 8 PZD D 1 P967 Steuerwort T EncoTRive VEOOT 300w BSD F 3 Tarom L RBE N mm 5 P200 Zielposition i Universalmodul E gt JiJabwan BFP amp 2201 Geschwindigkeit E a Std Telegram 7 2 2 PZD 4 mi GAD P2027 Besekleupigung Std Telegram 8 5 5 PZD a 7er i WEEP z P302 Stromsollwe 9 Telegram 110 PKW 171 PZD 5 ae eben Bere 174 75 P804 Digitale Ausg nge 63 U Telegram 111 PKW 373 PZD 7 aa ele i RBD a P968 Zustandswort pig TR Telegram 1 8 8 PZD amp ae eben ere 25 P100 Positionsistwert ee J TR Telegram 2 PKw 8 8 FZD ae eee oe ler P103 Drehzahlistwert J PRW possible only for slot 1 iG awe oem EAD le P101 Stromistwert J 1 Word Input i 2 PR Tekerm EWERED 12 77 P947 St rungswort A 1 Word Output i Ae a Toba BRED 475 P803 Digitale Eing nge 4 2 Words Input 13 EEE EEE Be ld 2 Words Output 14 gg Hiperdrive HD 70 gg iServo DP H Schaltger te eH 170 xl te Drucken Sie F1 um Hilfe zu erhalten End Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 67 of 147 wl Hz Konfigurationsbeispiel SIMATIC Manager 3 Velectronic 6 4 Erstinbetriebnahme ber manuelles Ansteuern mithilfe Variablentabelle Zur Erstinbetriebnahme empfiehlt es sich den Antrieb manuell anzusteu
135. rinted in the Federal Republic of Germany Page 16 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS Kommunikation 4 2 2 Konfigurierung der Prozessdaten PROF I Drive l sst verschiedene M glichkeiten zur Definition der Prozessdaten PZD ZU e Parameter 922 Dieser Parameter Telegrammauswahl erm glicht die Auswahl aus einer Reihe von vordefinierten Telegrammen Enth lt Parameter 922 den Wert 0 so kann man die Telegramme in beiden bertragungsrichtung frei konfigurieren In diesem Fall definieren die Parameter 915 und 916 den Aufbau der PZD Parameter 915 916 Bei diesen Parametern handelt es sich um Arrays in denen Parameternummern abgelegt sind Parameter 915 ist f r die bertragungsrichtung DPM1 Slave zust ndig Parameter 916 f r die Gegenrichtung Die Eintr ge werden bis zum ersten Index interpretiert der den Wert 0 enth lt Dabei muss der erste Eintrag von Parameter 915 die Parameternummer des Steuerworts STW und der erste Eintrag von Parameter 916 die Parameternummer des Statusworts ZSW sein Da PROFIDrive keine bestimmten Parameternummern z B f r den Positions Istwert oder f r den Geschwindigkeits Istwert vorgibt wird in einem speziellen Parameter 923 die Zuordnung zwischen sog Standardsignalen und herstellerspezifischen Parametern vorgenommen die der Tabelle 2 entnommen werden k nnen Diese sieht bei encoTRive wie folgt aus Tabelle 2 Standardsignale bei encoTRive Sta
136. ronic Visible String Password for write access to Parameters 501 520 KV_Proportional rwif w s UNSIGNED16 20010 20000 Closed loop gain factor of the P fraction KV_Differential rw f w s UNSIGNED16 2097 0 20000 Closed loop gain factor of the D fraction KV_Integral rwif w s UNSIGNED16 52410 20000 Closed loop gain factor of the I fraction 505 Encoder rw f w s C4 1024 2000000000 resolution Encoder resolution The parameter specifies the number of position increments per motor revolution Is not interpreted as C4 data type Stop brake rwifiw s UNSIGNED16 41 do A Stop brake available rwifiwis 4350 O 2000000000 Maximum speed in revolutions per minute MD 300 4350 revolutions per minute Is not interpreted as C4 data type Attribute Data type rwifiw s 10000 0 2000000000 Maximum acceleration and deceleration in rpm sec Is not interpreted as C4 data type Attribute Data type Operating hours UNSIGNED32 JO 4294967295 Operating hours counter incremented only when controller activated TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 122 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS communication Parameter initialized unsicneot o Jo j Indicates whether a valid image of the encoTRive object directory is stored in Flash If the parameter contains the value 0xAB18 a valid encoTRive object directory is stored in Flas
137. s tzlichen Ausgangmoduls Aktoren werden ber den Parameter P804 Digital_Output direkt vom Master angesteuert und haben somit keinen direkten Einfluss auf die Antriebsaktivit t Weitere Informationen zu digitalen Ausg ngen sind aus folgenden Dokumentationen zu entnehmen e Steckerbelegung TR EMO TI DGB 0016 e encoTRive Projektierungsanleitung TR EMO BA DGB 0015 TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 64 of 147 TR EMO BA DGB 0006 07 02 28 2008 electronic Funktion Digital Eing nge Ausg nge 5 2 Funktionszuordnung 5 2 1 Eing nge ber den 4 Byte Parameter P807 Dig In Funktion k nnen den 4 Digital Eing ngen unterschiedliche Funktionen zugeordnet werden Hierbei ist f r jeden Eingang ein Byte reserviert Tabelle 24 Struktur des Parameters 807 Dig In Funktion P807 Byte 3 Byte 2 Byte 1 Byte 0 Eingang 3 Eingang 2 Eingang 1 Eingang 0 0 255 0 255 0 255 5 2 1 1 Realisierung der Hardware Endschalter Funktion Abbildung 11 Funktionsprinzip Hardware Endschalter Negativer Endschalter EH Positiver Endschalter Negativer Soft Endschalter DH Positiver Soft Endschalter zul ssige erforderliche Flankenfolge Verfahrrichtung um nach 1 zur ckzukehren um Beschreibung IR Gramm pen IE DI 1 580 581 quittiert wurde nur m glich wenn die St rung P947 Hardware Endschalter angefahren mit Fehlernummer Printed in
138. s eines Fahrauftrags oder den 13 Stillstand bei Zwischenhalt und Stop Antrieb f hrt Fahrauftrag wird ausgef hrt Antrieb in Bewegung kein Referenzpunkt gesetzt Referenzierung wurde durchgef hrt und ist g ltig 1 Referenzpunkt gesetzt zsw 11 1 Dient als R ckmeldung des 11 Referenziervorgangs und ist nur bis zum n chsten TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 26 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS Kommunikation Referenzieren Einmalig bei Montage Erstinbetriebnahme muss das Messsystem auf den Nullpunkt der Maschine referenziert werden Da encoTRive mit einem absoluten Multi Turn Geber ausgestattet ist sind nach Spannungsausfall und Not Aus keine erneuten Referenzierungen erforderlich In den Zustanden SC1 Betrieb freigegeben und SC4 Zwischenhalt wird durch Setzen von Bit 11 des STW eine Referenzierung initiiert Ist die Referenzierung beendet so wird automatisch in den Ausgangszustand SC1 bzw SC4 zur ckgekehrt Im Positions Istwert wird der im Parameter 3 Referenzpunktkoordinate P003 gespeicherte Wert bernommen Positionierungen durchf hren Eine Positionierung kann im Zustand SC1 durchgef hrt werden Voraussetzung ist dass der Antrieb referenziert ist Dies wird durch ZSW 11 1 signalisiert Das Starten einer Positionierung erfolgt durch eine Flanke bei STW 6 Fahrauftrag aktivieren Die Positioni
139. schen DPM1 und PROFIBUS DP Slave lauft zyklisch ab Der Master sendet in regelm igen Abst nden Ausgangsdaten fur den Slave und im Antworttelegramm bertr gt der Slave seine Eingangsdaten an den Master Die verwendeten Telegramme haben dabei w hrend der gesamten Laufzeit denselben Aufbau Diese Art der Kommunikation ist f r Informationen geeignet die st ndig aktualisiert werden m ssen den so genannten Prozessdaten PZD F r Parameter die nur selten zu ndern sind einen festen Platz im Telegramm zu reservieren w re ineffizient Dies verl ngert das Telegramm unn tig und damit erh ht sich die bertragungszeit Aus diesem Grund sieht die Leistungsstufe DP V1 von PROFIBUS DP azyklische Dienste zum Lesen und Schreiben vor Mit diesen Diensten k nnen im Bedarfsfall Parameterwerte abgefragt oder geschrieben werden Der Parameterzugriff erfolgt dabei durch spezielle Sprachmittel DPV1 Bei diesem Ansatz werden also lediglich die Informationen die st ndig aktuell sein m ssen zyklisch bertragen und die bertragung von Bedarfsdaten erfolgt azyklisch in Form von DPV1 Request und DPV1 Response Ein DPM1 kann zyklische und azyklische Dienste nutzen Die azyklische Daten bertragung erfolgt dabei ber eine eigene Verbindung die vom DPM1 aufgebaut wird Diese kann nur von dem Master benutzt werden der den Slave auch parametriert und konfiguriert hat Ein DPM2 nutzt ausschlie lich azyklische Dienste Er baut dazu eine Verbindung
140. ses encoTRive PROFIBUS Handbuch muss st ndig am Einsatzort des encoTRives griffbereit aufbewahrt werden e Das mit T tigkeiten am encoTRive beauftragte Personal muss vor Arbeitsbeginn die Projektierungsanleitung insbesondere das Kapitel Grundlegende Sicherheitshinweise und dieses encoTRive PROFIBUS Handbuch insbesondere das Kapitel Zus tzliche Sicherheitshinweise gelesen und verstanden haben Dies gilt in besonderem Ma e f r nur gelegentlich z B bei der Parametrierung des encoTRives t tig werdendes Personal Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 9 of 147 PROFIdrive Antriebsprofil Relectronic 3 PROFlIdrive Antriebsprofil Die Sprachmittel zur Ansteuerung eines Antriebs sind weitgehend herstellerunabh ngig Aus diesem Grunde wurde die Kommunikation zwischen Antrieb und bergeordneter Steuerung in sogenannten Antriebsprofilen standardisiert Ein Antriebsprofil spezifiziert wie ein elektrischer Antrieb ber einen Feldbus angesteuert wird Es definiert das Ger teverhalten und das Zugriffsverfahren auf die Antriebsdaten Insbesondere werden folgende Teilbereiche geregelt e Steuerung und Status berwachung e standardisierte Parametrierung e Wechsel von Betriebsarten Das Profil f r elektrische Antriebe am PROFIBUS hei t PROFIDrive PNO 2002b encoTRive unterst tzt als PROFIBUS Teilnehmer das Profil PROFIDri
141. states in Figure 4 TC14 STW 11 0 or reference point set m SC8 Referencing ZSW 11 1 SC1 Run enabled ZSW 2 1 TC1 STW 4 1 STW 5 1 Edge on STW 6 referenced TC2 Edge on STW 6 TC8 STW 10 1 move order complete SC2 Move order active ZSW 10 0 ZSW 13 0 TC4 STW 5 0 SC3 Braking with ramp STW 11 0 or reference point set TCS V 0 SC7 Braking with max deceleration N TC11 stw 4 0 TC10 ZSW 13 1 STW 8 0 STW 9 0 SC5 Referencing ZSW 11 1 I SC4 Pause ZSW 13 1 _ u SC6 Jog TC9 STW 8 1 or STW 9 1 Figure 4 PROF IDrive state machine positioning mode Printed in the Federal Republic of Germany 02 28 2008 TR Electronic GmbH 2005 All Rights Reserved TR EMO BA DGB 0006 07 Page 99 of 147 PROFIBUS communication TRelectronic Table 7 Control word positioning Bit Value Te Tatiiter Taner Description 4 Drive brakes to rest from an active move order with Reject move order maximum acceleration The current move order is rejected 4 Operating condition for positioning 5 Drive brakes to zero speed from an active move order on p the ramp and remains stopped with holding torque The ause move order is not rejected The move order
142. sted separately 1 1 Target group This documentation is directed towards e commissioning operating and maintenance personnel who are tasked with carrying out such activities on the MD 300 PB positioning drive The respective qualifications of the personnel are defined in the Project Engineering Manual in the chapter entitled Choice and qualifications of personnel basic obligations 1 2 Applicability The encoTRive PROFIBUS manual applies exclusively to the following types of decentralized positioning drive with PROFIBUS DP interface e MD 300 PB CXXX The products are labeled with affixed nameplates and are components of a system The following documentation therefore also applies e operator s operating instructions specific to the system e this encoTRive PROFIBUS manual e the Project Engineering Manual TR EMO BA DGB 0015 e the customer specific user manual optional e commissioning instructions for CoDeSys PLCopen Function modules Hand held unit optional Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 81 of 147 General information TRelectronic 1 3 Abbreviations used Terminology CCD CPU DP master Class 1 central automation device DP master Class 2 programming configuring device DSP FMS GSD Device Data File device description input for a bus configuring tool i Increments o 7 177 7 7 OOOO
143. t report 700 tracking error the following cause of faults are possible heavy movement rate of axis to high acceleration velocity The adjustment of tracking distance is left to the user The higher offset is defined the longer needs the drive to reacts to a cause of fault The tracking distance monitoring should be not deactivated TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 146 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic FAQ s General questions to hardware Q 1 Status LED s of the drive dont flash Check the power supply of the drive and cabling of power supply connector Positioning mode Q 1 It is possible to start a new positioning order during already activated positioning Yes If the new movement parameter are available an edge change in control word bit 6 is required It takes place an overhung start Each edge on control word bit 6 starts a new move order See section 4 2 3 3 Table 7 Speed control mode Q 1 How shall I do when I wont to give a new velocity during already activated speed control Here an additional edge change in control word bit 6 is not required If a new velocity value is transferred to the drive Parameter 201 velocity the velocity is active immediately PLC Function blocks Communication Q 1 Is it possible to use synchronous interface access with PLC PROFIBUS and encoTRive Tool RS 232
144. te Not used for encoTRive PZD reference parameter 2 bytes Not used for encoTRive PZD normalization 2 bytes Not used for encoTRive Full description 46 bytes Content of subindices 1 12 TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 116 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS communication 4 2 6 5 List of encoTRive parameters The following is a list of all the encoTRive parameters arranged in parameter number order Each parameter is specified in the form where PNU Parameter number 900 999 60000 65535 PROF IDrive profile parameter other PNUs manufacturer specific parameters Name Parameter designation Attribute Information in the form Access Flash memory Factory setting Access rw read write Parameter can be read and written ro read only Parameter is write protected Flash memory f Parameter is stored in Flash on a 0 1 transition of the value of Parameter 971 Parameter is not stored in Flash Factory setting w Parameter is preset to the default value when the factory settings are loaded Parameter 970 1 0 transition Value is not preset to the default value Password protected s Parameter can only be written after the password has been enabled PZD configuration p Parameter can be mapped in the PZD telegram Data type Data type according to Table 16 Page 115 for simple parameters For arrays Array NumberElements Data type
145. telle so sind Parameterzugriffe ber PROFIBUS DP verriegelt Wert 1 Bedienhoheit lokal d h ber serielle Schnittstelle Wert 2 Bedienhoheit PROFIBUS DP TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 50 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS Kommunikation PNU Name Attribut Datentyp Default Min Max 928 PZD rw w UNSIGNED16 2 65535 Fuhrungshoheit Definiert wer schreibend auf die Prozessdaten zugreifen kann Es ist moglich dass auf Parameter des OV gleichzeitig ber einen DPM1 und einen DPM2 zugegriffen wird Da die PZD zyklisch aktualisiert werden muss sichergestellt werden dass nur ein Master die PZD beeinflusst Wert 1 DPM1 hat PZD Fuhrungshoheit DPM2 Schreibzugriff auf PZD Parameter werden abgewiesen Wert 2 DPM2 hat PZD Fuhrungshoheit PZD vom DPM1 werden ignoriert Kommunikationsaufbau uber DPM2 EncoTRive Tool Beim Kommunikationsaufbau bernimmt das EncoTRive Tool automatisch die F hrungshoheit Mit Schreiben des Parameterwertes 1 wird die F hrungshoheit zur ck an die SPS DPM1 bergeben Pnu Name ariut Datentyp Defaut mn m 1930 Betriebsart rw wip UNSIGNED 2 Jo Auswahl der Betriebsart Werte siehe Tabelle 4 Seite 23 PNU Name Attribut Datentyp Default Min Max 947 Fehler St rungen ro w p Array 64 65535 UNSIGNED16 Fehlerspeicher St rungsmeldungen werden in einem Rin
146. the drive brakes to rest in accordance with P203 The distance to be covered is given by the actual position P100 at the start of positioning and the target position P200 If these values lie close together it may be that the constant speed phase is omitted i e the speed demanded by P201 is not reached Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 101 of 147 PROFIBUS communication TRelectronic The end of the positioning movement is signaled by the drive in ZSW 10 Set position reached This bit is set internally when the actual value is within the defined target range P304 The maximum tracking distance P305 defines the maximum permissible difference between the internal setpoint and the current actual value If this value is exceeded then Error 700 Tracking error is generated see Error list Page 112 and the drive switches to the fault state SA11 In addition Bit 8 in the status word is reset to 0 Travel command table For positionings max 32 parameter sets can be stored in the drive This is managed about the indices of parameter 200 to 203 Each index number from 1 to 31 corresponds one travel command number which can be called about parameter 400 STW2 or 402 command set selection Parameters P401 ZSW2 and P403 current command set indicate the current set of travel commands If no set of travel com
147. tion 133 33 mm sec TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 104 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic PROFIBUS communication 4 2 3 4 Speed control mode The drive can be run under speed control in this mode Various internal states are assumed SBx These states and the transitions TBx between these states are defined in the PROFIDrive profile The same conventions apply in the following Figure 6 as in the general state machine Figure 3 In speed control mode state SB is assumed after state transition TA4 cf Figure 3 State transition TAS leads to state SA5 from any of the states in Figure 4 TB10 STW 8 1 or STW 9 1 or STW 8 1 and STW 9 1 TB9 STW 8 1 or STW 9 1 or STW 8 1 and STW 9 1 SB1 s Run enabled ZSW 2 1 N TB11 TBS STW 8 0 and STW 9 0 Speed 0 TBI SBS Operating state Brake with max STW 4 1 acceleration SB2 Output enabled N SB3 Ramp up enabled TB4 STW 6 0 SB4 Operating status ZSW 10 1 Figure 6 PROFIDrive state machine speed control mode Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 105 of 147 PROFIBUS communication TRelectronic A There is a risk of bodily injur
148. tion TRelectronic Examples 1 No PKW channel PZD DPM1 encoTRive Control word 16 bit encoTRive gt DPM1 Status word 16 bit Actual value of position 32 bit cf Figure 2 Page 87 Hence 2 bytes 1 word output data 6 bytes 3 words input data Identifier byte output data OxEO 1110 0000 bin Bit 7 1 i e consistency over the whole length Bit 6 1 i e counting in words Bit 5 1 Bit 4 0 i e output Bit 3 Bit 2 Bit 1 Bit 0 0 i e 1 word Identifier byte input data OxD2 1101 0010 bin Bit 7 1 i e consistency over the whole length Bit 6 1 i e counting in words Bit 5 0 Bit 4 1 i e input Bit 3 0 Bit 2 0 Bit 1 1 Bit O 0 i e 3 words Configuration data overall OxEO OxD2 2 PKW channel PZD as in 1 cf Figure 2 Page 87 The PKW channel can be construed to be a module with 4 words each of input and output data Identifier byte for PKW channel OxF3 1111 0011 bin Bit 7 1 i e consistency over the whole length Bit 6 1 i e counting in words Bit 5 1 Bit 4 1 i e output input Bit 3 0 Bit 2 0 Bit 1 1 Bit O 1 i e 4 words Configuration data overall OoxF3 OxEO 0xD2 3 PKW channel PZD Output data Control word 16 bit and target position 32 bit Input data Status word 16 bit and actual position 32 bit In this case there are 3 words in the PZD in both directions of transmission and the PZD like the PKW channel c
149. tronic Speed values PNO 201 and acceleration values PNO 202 are specified in percent Here data type N2 is used cf Table 16 A N2 value of x corresponds to 100 x 16384 Here the reference value 100 is given by the maximum speed Parameter 514 or the maximum acceleration Parameter 515 These are specified in rev min Parameter 514 and inc sec Parameter 515 System dependently the parameters are protected over a password Interpretation of N2 value in physical units see following example Table 10 Parameters for converting units PNO Parameter number Significance 201 Speed 202 Acceleration 514 Fixed values Encoder resolution PNO 505 1024 Inc Maximum speed PNO 514 4350 rev min 74240 Inc sec Maximum acceleration PNO 515 10000 rev min sec 170667 Inc sec Example Given PNO 1 Gearbox factor 50000 C4 data type PNO 2 Pitch 40000 C4 data type Conversion to mm sec and mm sec respectively is carried out using the position factor Encoder resolution inc revolution e Gearbox factor Position factor Pitch position information revolution Position factor account Position faktor gt IInc mm 1280 Inc mm Maximum speed account 74240 Inc sec 1280 Inc mm 58 mm sec 100 16384 4350 U min Maximum speed 58 mm sec Maximum acceleration account 170667 Inc sec 1280 Inc mm 133 mm sec 100 16384 10000 U min sec Maximum accelera
150. tronik initialisiert Einschaltberet i Einschattberet Sonwerson ggf abgefallen Impulse gesperrt fs Betriebsbereit Betriebsbereit Spannung an Stromrichter 5 Litt Betrieb freigegeben Freigabe Elektronik und Impulse stung Eine Storung liegt vor Der Antrieb befindet sich im stung Zustand St rung EN o enas SCS t o fas jAuS2Befehlsiehtn O o o a emas S o ass USS Befehistentan O e 1 Einschatspere C o keneen C pee eg ee P953 entnommen werden Keine T 0 keine keine Warnung si 8 Betriebsart spezifisch F hrung gefordert Die Steuerung wird aufgefordert die F hrung zu bernehmen Betrieb vor Ort Fuhrung nur lokal moglich Betriebsart spezifisch Betriebsart spezifisch Betriebsart spezifisch 13 Betriebsart spezifisch fats nichtbenut S dTSSCC lt S S S TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 24 of 147 TR EMO BA DGB 0006 07 02 28 2008 Relectronic PROFIBUS Kommunikation 4 2 3 3 Betriebsart Positionieren In dieser Betriebsart k nnen Positionierungen durchgef hrt werden Es werden verschiedene interne Zust nde SCx eingenommen Diese Zust nde sowie die berg nge TCx zwischen diesen Zust nden sind im Profil PROFIDrive definiert Bei der folgenden Abbildung 4 gelten die gleichen Konventionen wie bei der allgemeinen Zustandsmaschine Abbildung 3 In der Betriebsart Positionieren wird
151. ts 6 0x03 PNU high byte 0x93 PNU low byte 8 10x00 first subindex 0x0001 9 KT 0x00C8 Value 201 0x00C9 Value 202 Ox00CA Value 203 19 OxCB Ox00CB DPV1 Response a If carried out successfully 0 Request reference 0x02 Parameters written successfully 0x00 Axis 3 3 0x01 b Inthe event of failure The error number is assumed to be OxABCD Request reference Ox82 write error with parameter 0x00 Axis 0x44 Format Error 0x01 Number of values 1 6 OxAB Error number high byte OxCD Error number low byte TR Electronic GmbH 2005 All Rights Reserved Page 134 of 147 TR EMO BA DGB 0006 07 Printed in the Federal Republic of Germany 02 28 2008 TRelectronic PROFIBUS communication If the error does not occur until writing the third element Value 202 the DPV1 response can have the following format Byte Content N 0 Requestreference _ 0x01 0x01 6 OxAB Error number high byte 8 0x00 Subindex of the first element in 19 0x03 which the error occurred In this case the first two array elements have been successfully overwritten Therefore after the partially failed write access P915 has the content 967 200 201 300 m O 0 3 Let Parameter 915 0x393 contain the values 967 1 200 300 0 0 0 The values with a gray background are to be read DPV1 Request Byte x0 o O 0x01 0x10 value
152. ve 3 0 PNO 2000 Das Profil unterscheidet Antriebe in verschiedene Applikationsklassen Der encoTRive ist der Applikationsklasse 3 Positionierantrieb zuzuordnen Zwischen einem Master z B Steuerung und einem Antrieb der eine Slave Funktion einnimmt werden typischerweise folgende Informationen ausgetauscht Der Antrieb teilt seinen aktuellen Zustand z B Antrieb f hrt und eventuell zus tzliche Information wie die aktuelle Position die aktuelle Geschwindigkeit usw mit In Gegenrichtung erteilt die Steuerung beispielsweise Positionierauftr ge Fahre mit Geschwindigkeit x an die Position y Ohne Profile wie PROFIDrive m sste jeder Hersteller eigene Protokolle zur bermittlung von Befehlen und Statusmeldungen spezifizieren und es g be entsprechend viele Anwendungen die auf jeweils unterschiedliche Art und Weise immer das gleiche leisten 3 1 Das Objektverzeichnis Grundlegend bei Antriebsprofilen ist das Objektverzeichnis OV Im OV sind s mtliche Informationen Parameter zusammengefasst die f r ein Ger t relevant sind Ein Parameter wird durch seine Parameternummer 16 Bit identifiziert Bestimmte Bereiche f r die Parameternummer sind belegt bzw reserviert andere stehen f r so genannte herstellerspezifische Parameter zur Verf gung Unter den vordefinierten Parameter gibt es optionale Parameter und solche die von jedem profilkonformen Slave zu unterst tzen sind Mandatory Parameters 3 2 PROFIDRIVE O
153. xpired Pnu Name Attibute Datatype Detautt mn 880 rw Array 32 32 Enabling of the firmware update about the TR EncoTRiveTool Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 123 of 147 PROFIBUS communication Relectronic 4 2 6 5 2 Profile specific parameters 915 PZD configuration rw f w Array 15 967 0 65535 setpoints UNSIGNED16 Configuration of the PZD output data For the telegram DPM1 drive Cf 4 2 2 916 PZD configuration rw f w Array 15 968 0 65535 actual values UNSIGNED16 Configuration of the PZD output data For the telegram drive gt DPM1 Cf 4 2 2 918 PROFIBUS DP ro f UNSIGNED16 node address PROFIBUS DP node address of the drive With encoTRive the DP address is fixed and can be read by means of this parameter 92 Telegram selection UNSIGNED16 The PZD can be configured by means of this parameter If the parameter contains the value 0 then the two parameters 915 and 916 are definitive for configuring the PZD Otherwise a so called standard telegram will be selected with Parameter 922 Cf 4 2 2 923 Standard signals ro w Array 100 see Table 3 65535 UNSIGNED16 Association between standard signals such as target position and actual value of position and manufacturer specific parameters Control priority rw w This parameter defines who may have access to pa
154. y and material damage if the parameterized software limit switches P300 and P301 are exceeded WARNING e The parameterized software limit switches P300 and P301 which relate to the actual value of position are inoperative in speed control mode Range overruns can occur in rotary applications for example due to the integral position measuring system Depending on the direction of rotation this is manifested by a step change in the actual value of position P100 Max gt Min Min gt Max The application must therefore not be dependent on the actual value of position Table 11 Control word speed control Bit Value Tle all ifer Tate EEE Description Ges Operating condition Inhibit ramp function SSeS ET decelerates at current limit converter remains generator energized Enable ramp function generator Stop ramp function Drive decelerates on the configured deceleration ramp generator P203 Drive runs up on the configured acceleration ramp P202 until the speed setpoint P201 is reached Inhibit setpoint Drive decelerates on the configured deceleration ramp P203 until it stops Enable setpoint No meaning in this mode Table 12 Status word speed control Bit Value Significance Description Not supported by the EncoTRive Tracking error monitoring is active instead ics Set speed reached The preselected speed P201 has been reached 10 aCe peo lese wel The preselected speed P201
155. zifische Parameter PNU Name Attribut Datentyp Default Min Max 915 PZD Konfiguration rw f w Array 15 967 0 65535 Sollwerte UNSIGNED16 Konfiguration der PZD Ausgangsdaten Fur das Telegramm DPM1 Antrieb Vgl 4 2 2 PNU Name Attribut Datentyp Default Min Man 916 PZD Konfiguration rw f w Array 15 968 0 65535 Istwerte UNSIGNED16 Konfiguration der PZD Ausgangsdaten Fur das Telegramm Antrieb gt DPM1 Vgl 4 2 2 918 PROFIBUS DP ro f UNSIGNED16 Teilnehmeradresse PROFIBUS DP Teilnehmeradresse des Antriebs Die DP Adresse wird bei encoTRive fest eingestellt und kann ber diesen Parameter gelesen werden Pnu name atribut Datentyp Telegramm Auswahl UNSIGNED16 Mit diesem Parameter k nnen die PZD konfiguriert werden Enth lt der Parameter den Wert 0 so sind die beiden Parameter 915 und 916 f r die PZD Konfigurierung ma gebend Ansonsten wird mit Parameter 922 ein sog Standardtelegramm ausgew hlt Vgl 4 2 2 PNU Name Attribut Datentyp Default Min Max 923 Standardsignale ro w Array 100 siehe 65535 UNSIGNED16 Tabelle 3 Zuordnung zwischen Standardsignalen wie Zielposition Lageistwert zu herstellerspezifischen Parametern Bedienhoheit rw w Dieser Parameter definiert wer auf Parameter zugreifen darf encoTRive unterst tzt zus tzlich zu PROFIBUS DP den Zugriff auf die Parameter des OV uber serielle Schnittstelle Erfolgt der Zugriff ber die serielle Schnitts
156. zum entsprechenden Slave auf Ein Slave kann gleichzeitig mehrere aktive derartige Verbindungen unterhalten Leider sind die DPV1 Dienste obwohl schon einige Jahre spezifiziert noch nicht sehr verbreitet Aus diesem Grund l sst auch die aktuelle Version von PROFIDrive PNO 2002b noch den Zugriff auf Bedarfsdaten im Rahmen des normalen zyklischen Datenaustauschs zu Dazu werden in beiden bertragungsrichtungen jeweils 8 Byte f r einen Parameterkanal reserviert Auf diesem PKW Kanal Parameter Kennung Wert bertr gt der Master Informationen zur Auswahl eines Parameters Parameternummer Subindex zur Zugriffsart Lesen Schreiben und ggf den Parameterwert Der Slave formuliert nach Bearbeitung des Auftrags seine Antwort Dauert die Bearbeitung beim Slave l nger so wird in der Zwischenzeit im PKW Teil der Slave Antwort keine Antwort signalisiert Damit kann im Rahmen des zyklischen Datenverkehrs auf s mtliche Parameter zugegriffen werden TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 12 of 147 TR EMO BA DGB 0006 07 02 28 2008 electronic PROFIBUS Kommunikation encoTRive unterstutzt den Parameterzugriff uber den PKW Kanal und uber die azyklischen DPV1 Dienste STW 2 Byte Zielposition 4 Byte C PKW 8 Byte STW 2 Byte Zielposition 4 B Trailer DP Slave Antrieb DP Master 7 PKW 8 Byte ZSW 2 Byte Positionswert 4 B Trailer
157. zusammen folgende Dokumentationen e anlagenspezifische Betriebsanleitungen des Betreibers e dieses encoTRive PROFIBUS Handbuch e die Projektierungsanleitung TR EMO BA DGB 0015 e das kundenspezifische Benutzerhandbuch optional e Inbetriebnahmeanleitung fur CoDeSys PLCopen Funktionsbausteine Handgerat optional Printed in the Federal Republic of Germany TR Electronic GmbH 2005 All Rights Reserved 02 28 2008 TR EMO BA DGB 0006 07 Page 7 of 147 Allgemeines Relectronic 1 3 Verwendete Abk rzungen Begriffe CCD CPU DSP FMS GSD i Increments Inkremente Proportionen PID ProportionaintegrakDervative SSS PKW RR Regsteregeng OOOO STW SPS ZSW TR Electronic GmbH 2005 All Rights Reserved Printed in the Federal Republic of Germany Page 8 of 147 TR EMO BA DGB 0006 07 02 28 2008 TRelectronic Zusatzliche Sicherheitshinweise 2 Zusatzliche Sicherheitshinweise 2 1 Symbol und Hinweis Definitionen bedeutet dass Tod schwere K rperverletzung oder erheblicher Sachschaden eintreten k nnen wenn die entsprechenden Vorsichtsma nahmen nicht getroffen werden WARNUNG bedeutet dass eine leichte K rperverletzung oder ein Sachschaden eintreten kann wenn die entsprechenden Vorsichtsmaknahmen nicht getroffen werden VORSICHT li bezeichnet wichtige Informationen bzw Merkmale und Anwen dungstipps des verwendeten Produkts 2 2 Organisatorische Ma nahmen e Die

Download Pdf Manuals

image

Related Search

Related Contents

RAC-18 - Dirección General de Aviación Civil    Modèle : s/n° Années : OU Heures :  EM-Phantom Manual  

Copyright © All rights reserved.
Failed to retrieve file