Modbus (RS485) control for a Powtran PI9130 VFD
- sutter.michi
- Offline
- New Member
Less
More
- Posts: 13
- Thank you received: 0
03 Jun 2019 21:12 - 03 Jun 2019 21:20 #135799
by sutter.michi
Modbus (RS485) control for a Powtran PI9130 VFD was created 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:
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:
Attachments:
Last edit: 03 Jun 2019 21:20 by sutter.michi.
Please Log in or Create an account to join the conversation.
04 Jun 2019 21:09 #135861
by andypugh
Replied by andypugh on topic Modbus (RS485) control for a Powtran PI9130 VFD
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.
- sutter.michi
- Offline
- New Member
Less
More
- Posts: 13
- Thank you received: 0
04 Jun 2019 22:23 #135869
by sutter.michi
Replied by sutter.michi on topic Modbus (RS485) control for a Powtran PI9130 VFD
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?
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.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
04 Jun 2019 22:32 #135870
by Todd Zuercher
Replied by Todd Zuercher on topic Modbus (RS485) control for a Powtran PI9130 VFD
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.
05 Jun 2019 06:25 #135909
by andypugh
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 fileswhere config_file.ini is set up to suit the register maps of your VFD.
Replied by andypugh on topic Modbus (RS485) control for a Powtran PI9130 VFD
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
Please Log in or Create an account to join the conversation.
- sutter.michi
- Offline
- New Member
Less
More
- Posts: 13
- Thank you received: 0
05 Jun 2019 07:43 #135917
by sutter.michi
Replied by sutter.michi on topic Modbus (RS485) control for a Powtran PI9130 VFD
Okay, I try this! And experimenting with the hal files.
Please Log in or Create an account to join the conversation.
- sutter.michi
- Offline
- New Member
Less
More
- Posts: 13
- Thank you received: 0
08 Jul 2019 21:33 - 08 Jul 2019 21:34 #138896
by sutter.michi
Replied by sutter.michi on topic Modbus (RS485) control for a Powtran PI9130 VFD
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
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