si-profinet 0 plc (tia portal) - nidec netherlands · 0 plc (tia portal) application note versie: 2...

24
SI-Profinet Unidrive M200-M400 of Commander C en Siemens S7-1500 PLC (TIA portal) Application Note Versie: 2 Datum: 08-08-2019 Tel: 0184-420555 E-mail: [email protected] Website: www.nidec-netherlands.nl Omschrijving: In dit document wordt stap voor stap uitgelegd hoe met TIA portal de communicatie opgezet kan worden tussen een Siemens S7-1500 PLC en een Unidrive M400 met SI-Profinet V2 module. Dit document behandelt de volgende punten: 1. Hardware configuratie 2. Instellen Unidrive M Profinet interface 3. PLC configuratie 4. Voorbeeld aansturing van de Unidrive M via Profinet Gebruikte Hardware: • Simatic S7-1500 PLC 1511T-1 PN (6ES7511-1TK01-0AB0) • Unidrive M400-032-00050 • SI-Profinet optie module Gebruikte Software: • TIA portal V15 • GSDML file V02.01.03.02

Upload: others

Post on 20-Jan-2021

13 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: SI-Profinet 0 PLC (TIA portal) - Nidec Netherlands · 0 PLC (TIA portal) Application Note Versie: 2 Datum: 08-08-2019 Tel : 0184-420555 E-mail: info.nl@mail.nidec.com Website: Instellen

SI-Profinet Unidrive M200-M400 of Commander C en Siemens S7-1500 PLC (TIA portal)

Ap

pli

ca

tio

n N

ote

Versie: 2

Datum: 08-08-2019

Tel: 0184-420555 E-mail: [email protected]

Website: www.nidec-netherlands.nl

Omschrijving: In dit document wordt stap voor stap uitgelegd hoe met TIA portal de communicatie opgezet kan worden tussen een Siemens S7-1500 PLC en een Unidrive M400 met SI-Profinet V2 module. Dit document behandelt de volgende punten: 1. Hardware configuratie 2. Instellen Unidrive M Profinet interface 3. PLC configuratie 4. Voorbeeld aansturing van de Unidrive M via Profinet Gebruikte Hardware: • Simatic S7-1500 PLC 1511T-1 PN (6ES7511-1TK01-0AB0) • Unidrive M400-032-00050 • SI-Profinet optie module Gebruikte Software: • TIA portal V15 • GSDML file V02.01.03.02

Page 2: SI-Profinet 0 PLC (TIA portal) - Nidec Netherlands · 0 PLC (TIA portal) Application Note Versie: 2 Datum: 08-08-2019 Tel : 0184-420555 E-mail: info.nl@mail.nidec.com Website: Instellen

SI-Profinet Unidrive M200-M400 of Commander C en Siemens S7-1500 PLC (TIA portal)

Ap

pli

ca

tio

n N

ote

Versie: 2

Datum: 08-08-2019

Tel: 0184-420555 E-mail: [email protected]

Website: www.nidec-netherlands.nl

Hardware configuratie Maak de aansluitingen zoals in onderstaande afbeelding:

Page 3: SI-Profinet 0 PLC (TIA portal) - Nidec Netherlands · 0 PLC (TIA portal) Application Note Versie: 2 Datum: 08-08-2019 Tel : 0184-420555 E-mail: info.nl@mail.nidec.com Website: Instellen

SI-Profinet Unidrive M200-M400 of Commander C en Siemens S7-1500 PLC (TIA portal)

Ap

pli

ca

tio

n N

ote

Versie: 2

Datum: 08-08-2019

Tel: 0184-420555 E-mail: [email protected]

Website: www.nidec-netherlands.nl

Instellen Unidrive M Profinet interface Als de SI-Profinet module eerder gebruikt is, kan aan deze module al een naam en een IP-adres toegekend zijn. Dit geeft problemen als je deze in een andere configuratie wilt gebruiken. Om deze problemen te voorkomen moet de module terug gezet worden in de fabrieksinstellingen. Volg hiervoor onderstaande stappen:

1. Schakel alle Profinet deelnemers in

2. Zet parameter 1.00.008 = on

3. Zet hierna parameter 1.00.007 = on. Deze springt automatisch terug naar off: De module is nu teruggezet naar de fabrieksinstellingen.

Page 4: SI-Profinet 0 PLC (TIA portal) - Nidec Netherlands · 0 PLC (TIA portal) Application Note Versie: 2 Datum: 08-08-2019 Tel : 0184-420555 E-mail: info.nl@mail.nidec.com Website: Instellen

SI-Profinet Unidrive M200-M400 of Commander C en Siemens S7-1500 PLC (TIA portal)

Ap

pli

ca

tio

n N

ote

Versie: 2

Datum: 08-08-2019

Tel: 0184-420555 E-mail: [email protected]

Website: www.nidec-netherlands.nl

PLC configuratie 1. Open TIA portal 2. Maak een nieuw project aan

3. Klik op <Open the project view>

Page 5: SI-Profinet 0 PLC (TIA portal) - Nidec Netherlands · 0 PLC (TIA portal) Application Note Versie: 2 Datum: 08-08-2019 Tel : 0184-420555 E-mail: info.nl@mail.nidec.com Website: Instellen

SI-Profinet Unidrive M200-M400 of Commander C en Siemens S7-1500 PLC (TIA portal)

Ap

pli

ca

tio

n N

ote

Versie: 2

Datum: 08-08-2019

Tel: 0184-420555 E-mail: [email protected]

Website: www.nidec-netherlands.nl

4. Dubbelklik op <Add new device> en selecteer de juiste CPU

5. Om de Unidrive M toe te voegen aan het project moet eenmalig een GSDML file

geïmporteerd worden. Om de GSDML file te importeren: dubbelklik op <Devices & networks>

Page 6: SI-Profinet 0 PLC (TIA portal) - Nidec Netherlands · 0 PLC (TIA portal) Application Note Versie: 2 Datum: 08-08-2019 Tel : 0184-420555 E-mail: info.nl@mail.nidec.com Website: Instellen

SI-Profinet Unidrive M200-M400 of Commander C en Siemens S7-1500 PLC (TIA portal)

Ap

pli

ca

tio

n N

ote

Versie: 2

Datum: 08-08-2019

Tel: 0184-420555 E-mail: [email protected]

Website: www.nidec-netherlands.nl

6. Klik daarna op <Hardware catalog>

7. Selecteer <Options> en klik daarna op <Manage general station description (GSD)>

8. Selecteer de juiste GSDML file door onderstaande stappen te volgen

Page 7: SI-Profinet 0 PLC (TIA portal) - Nidec Netherlands · 0 PLC (TIA portal) Application Note Versie: 2 Datum: 08-08-2019 Tel : 0184-420555 E-mail: info.nl@mail.nidec.com Website: Instellen

SI-Profinet Unidrive M200-M400 of Commander C en Siemens S7-1500 PLC (TIA portal)

Ap

pli

ca

tio

n N

ote

Versie: 2

Datum: 08-08-2019

Tel: 0184-420555 E-mail: [email protected]

Website: www.nidec-netherlands.nl

9. Kies onderstaande (of meest recente) GSDML file en klik op <Install>

Page 8: SI-Profinet 0 PLC (TIA portal) - Nidec Netherlands · 0 PLC (TIA portal) Application Note Versie: 2 Datum: 08-08-2019 Tel : 0184-420555 E-mail: info.nl@mail.nidec.com Website: Instellen

SI-Profinet Unidrive M200-M400 of Commander C en Siemens S7-1500 PLC (TIA portal)

Ap

pli

ca

tio

n N

ote

Versie: 2

Datum: 08-08-2019

Tel: 0184-420555 E-mail: [email protected]

Website: www.nidec-netherlands.nl

10. Als de installatie klaar is klik op <Close>

Page 9: SI-Profinet 0 PLC (TIA portal) - Nidec Netherlands · 0 PLC (TIA portal) Application Note Versie: 2 Datum: 08-08-2019 Tel : 0184-420555 E-mail: info.nl@mail.nidec.com Website: Instellen

SI-Profinet Unidrive M200-M400 of Commander C en Siemens S7-1500 PLC (TIA portal)

Ap

pli

ca

tio

n N

ote

Versie: 2

Datum: 08-08-2019

Tel: 0184-420555 E-mail: [email protected]

Website: www.nidec-netherlands.nl

11. Om de Unidrive aan de hardware configuratie toe te voegen selecteer <Network view>

12. Selecteer de Unidrive M

Page 10: SI-Profinet 0 PLC (TIA portal) - Nidec Netherlands · 0 PLC (TIA portal) Application Note Versie: 2 Datum: 08-08-2019 Tel : 0184-420555 E-mail: info.nl@mail.nidec.com Website: Instellen

SI-Profinet Unidrive M200-M400 of Commander C en Siemens S7-1500 PLC (TIA portal)

Ap

pli

ca

tio

n N

ote

Versie: 2

Datum: 08-08-2019

Tel: 0184-420555 E-mail: [email protected]

Website: www.nidec-netherlands.nl

13. Voeg de Unidrive toe aan de configuratie. Dit kan door door op de gewenste Unidrive te dubbelklikken of ernaar toe slepen.

14. Het kan wenselijk zijn om de naam te wijzigen dit kun je doen door onderstaande stappen te volgen:

• Selecteer <Network view>

• Klik op het symbool van de Undrive M

• Klik op <General> om de naam van de Profinetdeelnemer te wijzigen

Page 11: SI-Profinet 0 PLC (TIA portal) - Nidec Netherlands · 0 PLC (TIA portal) Application Note Versie: 2 Datum: 08-08-2019 Tel : 0184-420555 E-mail: info.nl@mail.nidec.com Website: Instellen

SI-Profinet Unidrive M200-M400 of Commander C en Siemens S7-1500 PLC (TIA portal)

Ap

pli

ca

tio

n N

ote

Versie: 2

Datum: 08-08-2019

Tel: 0184-420555 E-mail: [email protected]

Website: www.nidec-netherlands.nl

15. Nu gaan we het IP-adres van de PLC instellen. Klik hiervoor op de profinet poort zoals in onderstaande afbeelding

16. Klik op <Properties> en daarna op<Ethernet addresses> om het gewenste ethernet adres in te vullen

17. Scroll naar beneden en selecteer <Generate PROFINET device name automatically>

Page 12: SI-Profinet 0 PLC (TIA portal) - Nidec Netherlands · 0 PLC (TIA portal) Application Note Versie: 2 Datum: 08-08-2019 Tel : 0184-420555 E-mail: info.nl@mail.nidec.com Website: Instellen

SI-Profinet Unidrive M200-M400 of Commander C en Siemens S7-1500 PLC (TIA portal)

Ap

pli

ca

tio

n N

ote

Versie: 2

Datum: 08-08-2019

Tel: 0184-420555 E-mail: [email protected]

Website: www.nidec-netherlands.nl

18. Nu gaan we het IP-adres van de Unidrive M instellen, selecteer hiervoor <Network view> en klik op de profinet poort

19. Klik op <Properties>. Nu kan onder <General> bij <Ethernet addresses> het gewenste IP-adres ingevuld worden

20. Nu moet het profinet netwerk geconfigureerd worden. selecteer hiervoor <network view> en dubbelklik op <Not assigned>

Page 13: SI-Profinet 0 PLC (TIA portal) - Nidec Netherlands · 0 PLC (TIA portal) Application Note Versie: 2 Datum: 08-08-2019 Tel : 0184-420555 E-mail: info.nl@mail.nidec.com Website: Instellen

SI-Profinet Unidrive M200-M400 of Commander C en Siemens S7-1500 PLC (TIA portal)

Ap

pli

ca

tio

n N

ote

Versie: 2

Datum: 08-08-2019

Tel: 0184-420555 E-mail: [email protected]

Website: www.nidec-netherlands.nl

21. Klik met rechtermuisknop op <Assign to new IO controller>

22. Selecteer het profinet netwerk en klik op <OK>

Dit ziet er dan als volgt uit:

Page 14: SI-Profinet 0 PLC (TIA portal) - Nidec Netherlands · 0 PLC (TIA portal) Application Note Versie: 2 Datum: 08-08-2019 Tel : 0184-420555 E-mail: info.nl@mail.nidec.com Website: Instellen

SI-Profinet Unidrive M200-M400 of Commander C en Siemens S7-1500 PLC (TIA portal)

Ap

pli

ca

tio

n N

ote

Versie: 2

Datum: 08-08-2019

Tel: 0184-420555 E-mail: [email protected]

Website: www.nidec-netherlands.nl

23. Nu kan de netwerk topology geconfigureerd worden. Hierbij moeten de gewenste poorten met elkaar verbonden worden. Klik eerst op <Topology view> en sleep daarna een lijn van poort 1 van de PLC naar poort 1 van de Unidrive M

Dit ziet er dan als volgt uit:

24. Als laatste stap moet de data geselecteerd worden die uitgewisseld worden tussen de regelaar en de PLC. De meest logische configuratie is: PLC leest: - Statuswoord (parameter 10.040) - Uitgestuurde frequentie (parameter 05.001) - Stroom (parameter 04.001) PLC schrijft: - Controlwoord (parameter 06.042) - Snelheidsopdracht (parameter 01.021)

Page 15: SI-Profinet 0 PLC (TIA portal) - Nidec Netherlands · 0 PLC (TIA portal) Application Note Versie: 2 Datum: 08-08-2019 Tel : 0184-420555 E-mail: info.nl@mail.nidec.com Website: Instellen

SI-Profinet Unidrive M200-M400 of Commander C en Siemens S7-1500 PLC (TIA portal)

Ap

pli

ca

tio

n N

ote

Versie: 2

Datum: 08-08-2019

Tel: 0184-420555 E-mail: [email protected]

Website: www.nidec-netherlands.nl

25. Selecteer de Unidrive M en schakel over op <Device view>. Sleep (of dubbelklik) daarna de gewenste parameters naar de regelaar. In onderstaande voorbeeld word het controlwoord toegevoegd

26. Voeg de snelheidsopdracht toe aan de configuratie

Page 16: SI-Profinet 0 PLC (TIA portal) - Nidec Netherlands · 0 PLC (TIA portal) Application Note Versie: 2 Datum: 08-08-2019 Tel : 0184-420555 E-mail: info.nl@mail.nidec.com Website: Instellen

SI-Profinet Unidrive M200-M400 of Commander C en Siemens S7-1500 PLC (TIA portal)

Ap

pli

ca

tio

n N

ote

Versie: 2

Datum: 08-08-2019

Tel: 0184-420555 E-mail: [email protected]

Website: www.nidec-netherlands.nl

27. Voeg het statuswoord toe aan de configuratie

28. Voeg de uitgestuurde frequentie toe aan de configuratie

Page 17: SI-Profinet 0 PLC (TIA portal) - Nidec Netherlands · 0 PLC (TIA portal) Application Note Versie: 2 Datum: 08-08-2019 Tel : 0184-420555 E-mail: info.nl@mail.nidec.com Website: Instellen

SI-Profinet Unidrive M200-M400 of Commander C en Siemens S7-1500 PLC (TIA portal)

Ap

pli

ca

tio

n N

ote

Versie: 2

Datum: 08-08-2019

Tel: 0184-420555 E-mail: [email protected]

Website: www.nidec-netherlands.nl

29. Voeg de actuele stroom toe aan de configuratie

30. De configuratie is nu klaar en kan naar de PLC gedownload worden

1. Klik met rechtermuisknop op <PLC_1 [CPU 1511T-1 PN] 2. Klik op <Download to device> 3. Klik op <Hardware configuration>

Page 18: SI-Profinet 0 PLC (TIA portal) - Nidec Netherlands · 0 PLC (TIA portal) Application Note Versie: 2 Datum: 08-08-2019 Tel : 0184-420555 E-mail: info.nl@mail.nidec.com Website: Instellen

SI-Profinet Unidrive M200-M400 of Commander C en Siemens S7-1500 PLC (TIA portal)

Ap

pli

ca

tio

n N

ote

Versie: 2

Datum: 08-08-2019

Tel: 0184-420555 E-mail: [email protected]

Website: www.nidec-netherlands.nl

31. Klik op <Start search>

32. Klik op <Load

Page 19: SI-Profinet 0 PLC (TIA portal) - Nidec Netherlands · 0 PLC (TIA portal) Application Note Versie: 2 Datum: 08-08-2019 Tel : 0184-420555 E-mail: info.nl@mail.nidec.com Website: Instellen

SI-Profinet Unidrive M200-M400 of Commander C en Siemens S7-1500 PLC (TIA portal)

Ap

pli

ca

tio

n N

ote

Versie: 2

Datum: 08-08-2019

Tel: 0184-420555 E-mail: [email protected]

Website: www.nidec-netherlands.nl

33. Klik op <Yes>. Onderstaande meldingen komen alleen als het IP adres van de PC verkeerd staat

34. Klik op <OK>

Page 20: SI-Profinet 0 PLC (TIA portal) - Nidec Netherlands · 0 PLC (TIA portal) Application Note Versie: 2 Datum: 08-08-2019 Tel : 0184-420555 E-mail: info.nl@mail.nidec.com Website: Instellen

SI-Profinet Unidrive M200-M400 of Commander C en Siemens S7-1500 PLC (TIA portal)

Ap

pli

ca

tio

n N

ote

Versie: 2

Datum: 08-08-2019

Tel: 0184-420555 E-mail: [email protected]

Website: www.nidec-netherlands.nl

35. Klik op <Load>

36. Klik op <Finish>. De hardware configuratie is nu in de PLC geladen

Page 21: SI-Profinet 0 PLC (TIA portal) - Nidec Netherlands · 0 PLC (TIA portal) Application Note Versie: 2 Datum: 08-08-2019 Tel : 0184-420555 E-mail: info.nl@mail.nidec.com Website: Instellen

SI-Profinet Unidrive M200-M400 of Commander C en Siemens S7-1500 PLC (TIA portal)

Ap

pli

ca

tio

n N

ote

Versie: 2

Datum: 08-08-2019

Tel: 0184-420555 E-mail: [email protected]

Website: www.nidec-netherlands.nl

Voorbeeld aansturing van de Unidrive M via Profinet Eerst moeten minimaal onderstaande instellingen in de regelaar gemaakt worden: Parameter 00.005 = Preset (preset snelheid selectie) Parameter 00.006 = ……. (motorstroom, zie motor typeplaat) Parameter 00.007 = ……. (motorsnelheid, zie motor typeplaat) Parameter 00.009 = ……. (motor cos phi, zie motor typeplaat) Parameter 06.043 = On (vrijgave controle woord)

Zorg ervoor dat de regelaar vrijgave aangesloten. De regelaar kan gestart en gestopt worden met behulp van een <watch table>. In onderstaande afbeelding zie je de adressen die gekoppeld zijn aan de parameters van de regelaar.

Dubbelklik op <Add new watch table>

Page 22: SI-Profinet 0 PLC (TIA portal) - Nidec Netherlands · 0 PLC (TIA portal) Application Note Versie: 2 Datum: 08-08-2019 Tel : 0184-420555 E-mail: info.nl@mail.nidec.com Website: Instellen

SI-Profinet Unidrive M200-M400 of Commander C en Siemens S7-1500 PLC (TIA portal)

Ap

pli

ca

tio

n N

ote

Versie: 2

Datum: 08-08-2019

Tel: 0184-420555 E-mail: [email protected]

Website: www.nidec-netherlands.nl

Vul de onderstaande adressen in de watch table in:

Ga online:

Zet CPU in RUN:

De watch table moet aangepast worden om ook waardes te kunnen schrijven. Klik op het aangegeven symbool zodat er een tab <Modify value> verschijnt:

Page 23: SI-Profinet 0 PLC (TIA portal) - Nidec Netherlands · 0 PLC (TIA portal) Application Note Versie: 2 Datum: 08-08-2019 Tel : 0184-420555 E-mail: info.nl@mail.nidec.com Website: Instellen

SI-Profinet Unidrive M200-M400 of Commander C en Siemens S7-1500 PLC (TIA portal)

Ap

pli

ca

tio

n N

ote

Versie: 2

Datum: 08-08-2019

Tel: 0184-420555 E-mail: [email protected]

Website: www.nidec-netherlands.nl

Hieronder staan het status- en controlwoord beschreven:

Page 24: SI-Profinet 0 PLC (TIA portal) - Nidec Netherlands · 0 PLC (TIA portal) Application Note Versie: 2 Datum: 08-08-2019 Tel : 0184-420555 E-mail: info.nl@mail.nidec.com Website: Instellen

SI-Profinet Unidrive M200-M400 of Commander C en Siemens S7-1500 PLC (TIA portal)

Ap

pli

ca

tio

n N

ote

Versie: 2

Datum: 08-08-2019

Tel: 0184-420555 E-mail: [email protected]

Website: www.nidec-netherlands.nl

Om de regelaar te starten zijn minimaal de onderstaande bits van het controlwoord benodigd: Bit 0= enable Bit 1= run forward Bit 7= enable fieldbus control Bit 8= select preset wenswaarde In onderstaande screenshot is de regelaar gestart door bovenstaande controlword te schrijven. De snelheids opdracht is 5.00 Hz (dus voor 5 Hz moet 500 geschreven worden).

Van het status woord in bovenstaande screenshot is bit 0, bit 1 en bit 5 hoog: Bit 0= drive OK Bit 1= drive active Bit 5= at set speed. De uitgelezen stroom is 0,36 A (twee decimalen).