LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Modbus RTU & Labview (Berger Lahr Axle)

 

English
-------------

Hy @ all!

I want to control a axle from Berger Lahr (Schneider Electric) with Modbus under
the environment LabView 8.20

Unitl now I have tried a lot to make the thing work...

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YFZOCA4&l=en-US

... use the Modbus library respectively


https://forums.ni.com/t5/Reference-Design-Content/LabVIEW-Modbus-API/ta-p/3524019


Because of the fact that I am a greenhorn in connection with "Modbus", I am not sure how to
make the axle work, which busregisters I should use, ...

These are the files which are improtant for the task:

The VI (Attachment)
modbus.vi

The Modbuslibrary
https://download.ni.com/pub/devzone/epd/nimodbus.llb

The Modbus Manual of the Axle/Contoller
http://www.berger-lahr.com/upload/DokuDB/Documents//LXM05_modbus_manual_V104_TE_EN.pdf



I really hope, that you are able to help me

Thank you for your time
Greetings from Austria
Harry





Deutsch
-------------

Hallo Ihr!

Ich möchte eine Berger Lahr Achse (Schneider Electric) mittels Modbus
unter LabView 8.20 ansteuern, positionieren, usw.

Habe bisher einiges probiert...

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000YFZOCA4&l=en-US

bzw. nutze ich die Modbus Libary auf...

https://forums.ni.com/t5/Reference-Design-Content/LabVIEW-Modbus-API/ta-p/3524019


Da ich punkto Modbus ein Neuling bin, weiß ich nicht ganz wie ich die Sache ansteuern soll bzw.
welche Register ich für was verwenden kann.

Dateien benötigt man wie gesagt folgende...

Das VI (Anhang)
modbus.vi
 
Die Modbusbibliothek
https://download.ni.com/pub/devzone/epd/nimodbus.llb

Das Modbus Manual zu der Achse/Contoller
http://www.berger-lahr.com/upload/DokuDB/D..._V104_TE_DE.pdf


Vielleicht könnt ihr mir weiterhelfen

Vielen Dank für eure Zeit & Mühen
Grüße aus Österreich
Harry

 
0 Kudos
Message 1 of 4
(4,021 Views)
Hey again!

I found out, that the adresses of the Modbus commandos are included in the software tool
which belongs to the axle.

So I know the adresses.

But I still need a working VI for the task...

Is there a VI in which I only have to fill in the adresses and everything works?

Greetings
Harry
0 Kudos
Message 2 of 4
(3,990 Views)
Hy Harry 1984,


Examples ship with the Modbus library.
Just open "MB Serial Example Master.vi" Select proper com port on frontpanel and confgure your interface within "MB Serial Init.vi" just as described in chapter 4.1. of your manual.

Peter Griese
NI
0 Kudos
Message 3 of 4
(3,982 Views)
 

The little bit that I read in the pdf file said that the drive uses an RS485 port. Are you using an RS232-485 converter of some sort??

 

Look at reply 7 of 41 in this thread for an .llb file that does modbus serial.

https://forums.ni.com/t5/LabVIEW/Modbus-libraries-for-LabView-8-0/m-p/287543?view=by_date_ascending

0 Kudos
Message 4 of 4
(3,970 Views)