Modbus Examples?
I had already installed from buildbot the 2.6 pre but I had not mb2hal included.
So after ArcEye indications and support I finally successfully installed from git master branch and mb2hal now is included.
In this situation I have now 2 LinuxCNC installations that I can run independently .
Now as per Victor indication the procedure seems to be easier (different) but maybe I'm wrong.
bigalex
Please Log in or Create an account to join the conversation.
When I said "recent" I meant very recent.At least as of a couple of weeks ago installing master from buildbot did not give me mb2hal.
git.linuxcnc.org/gitweb?p=linuxcnc.git;a...5d2dda97836ac8c3a0e6
Please Log in or Create an account to join the conversation.
copy to /usr/binWhere would I copy the mb2hal files to on a standard 2.5x install?
or search where is it already installed with: find / 2>/dev/null | grep mb2hal
verify that is the same directory where is: gs2_vfd and vfs11_vfd
also verify that is the same user/group/permissions as those files
I not sure but i think thats all, write us the error if something fails.This seems too simple, is there some thing more that must be done to make the system aware of its presence?
hope this helps,
Victor
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Topic Author
- Offline
- Platinum Member
- Posts: 5007
- Thank you received: 1441
I'll try it when I get some time.
Please Log in or Create an account to join the conversation.
there is any way to include in the mb2hal the modbus function 6 (write single register)?
my vfd seems not to have fcnt16, as it returned error code -1 (illegal command code).
its strange, classic ladder says fcnt6/16 and it works on writing but dont know if cl is using fnct6 or fcnt16.
modifying the usr_comp is beyond my curent programming capabilities.
regards
rick
Please Log in or Create an account to join the conversation.
which vfd do you have ? have you a manual in pdf or a link to one ?
Please Log in or Create an account to join the conversation.
there is any way to include in the mb2hal the modbus function 6 (write single register)?
Yes, i will do that, as well the function 23 (Read/Write Multiple Register).
The problem is i can't tell you a date, because i am lacking of free hours.
regards,
Victor
Please Log in or Create an account to join the conversation.
Rick ,
which vfd do you have ? have you a manual in pdf or a link to one ?
drive is vfd-l from delta manual is here: (remove spaces between www and delta.com)
http://www. delta.com.tw/product/em/drive/ac_motor/download/manual/VFD-L_M_EN_20020531.pdf
manual dont says if fcnt16 is available but as the cheapest vfd of the line maybe they downgrade some internals.
The overall concept of mb2hal seems brilliant to me, and to everyone without programming skills.
I cold use cl(it work), but for modbus comm it says that cl gui windows has to stay open, and dont want to have more windows lurking, im correct? or theres a workaround?
i have other servo drives from delta like asda-b asda-b2, and somthing like mb2hal is usefull for non-rt processes like status of drive, warnings, enable them, and alarm reset or fault recovery.
thanks for your reply
regards
rick
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
yes, theres a driver for the -b version, im talking with Seb Kuzminsky about implementation.
i was thinking in mb2hal for status signals of other drives, etc
Victor:
if theres any way we can help improving mb2hal just let us know
Tkanks for replying
Regards
Rick
Please Log in or Create an account to join the conversation.