Modbus (RS485) control for a Powtran PI9130 VFD

More
03 Jun 2019 21:12 - 03 Jun 2019 21:20 #135799 by sutter.michi
Hi everybody,

I am a little bit confused how to connect and set up my vfd with Linux CNC.

I have an USB <-> RS485 adaptor to do the connection between the vfd and the pc.
But now I am confused what I have to do, to setup the software correctly.

I tried this buildyourcnc.com/FAQ/13272https://buildyourcnc.com/FAQ/13272 but I doesn`t work with my vfd...

I read some information about mb2hal but don`t know exactly what to do now.
Can I use this with my actual version uf LinuxCNC or do I have to reinstall a newer version?
Which of these files exactly do I need?

Hope so much anyone can help me :)


Thanks a lot and best regards!!

Michi


Attatched the modbus parameter of the vfd:

This browser does not support PDFs. Please download the PDF to view it: Download PDF

Attachments:
Last edit: 03 Jun 2019 21:20 by sutter.michi.

Please Log in or Create an account to join the conversation.

More
04 Jun 2019 21:09 #135861 by andypugh
How far have you got? Have you got as far as adding mb2hal to your HAL file and experimenting with it?

Please Log in or Create an account to join the conversation.

More
04 Jun 2019 22:23 #135869 by sutter.michi
No I haven`t tried it, because I am no really shure what`s to do...


Do I have to do a new compilation for LinuxCNC with these mb2hal files (Somwhere I have read about )?
Or is the only thing I have to do copy and paste these in my project folder?

Please Log in or Create an account to join the conversation.

More
04 Jun 2019 22:32 #135870 by Todd Zuercher
It might be a little simpler to use the modbus capability of Classicladder. But regardless configuring a modus control is rather complex.

Please Log in or Create an account to join the conversation.

More
05 Jun 2019 06:25 #135909 by andypugh

Do I have to do a new compilation for LinuxCNC with these mb2hal files (Somwhere I have read about )?
Or is the only thing I have to do copy and paste these in my project folder?


Neither. You simply have to add an entry to one of your HAL files and create an INI file to configure the Modbus transactions.

linuxcnc.org/docs/2.7/html/drivers/mb2hal.html

This isn't quite as clear as one might hope, but you need a file rather like that example file, and also need to add a line in one of the HAL files
loadusr -W mb2hal config=config_file.ini
where config_file.ini is set up to suit the register maps of your VFD.

Please Log in or Create an account to join the conversation.

More
05 Jun 2019 07:43 #135917 by sutter.michi
Okay, I try this! And experimenting with the hal files.

Please Log in or Create an account to join the conversation.

More
08 Jul 2019 21:33 - 08 Jul 2019 21:34 #138896 by sutter.michi
Hi!

I found help in a other forum.
It is in german, but if anybody has the same problems look there:
www.cnc-aus-holz.at/index.php?thread/124...62e8836da8a33fb2e0b9

This way is working!


Best regards

Michi :)
Last edit: 08 Jul 2019 21:34 by sutter.michi.

Please Log in or Create an account to join the conversation.

Time to create page: 0.081 seconds
Powered by Kunena Forum