Modbus Examples?

More
06 Jun 2013 15:20 #35316 by bigalex
Replied by bigalex on topic Modbus Examples?
Hi Todd.
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 :blink:

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

More
06 Jun 2013 19:11 #35337 by andypugh
Replied by andypugh on topic Modbus Examples?

At least as of a couple of weeks ago installing master from buildbot did not give me mb2hal.

When I said "recent" I meant very recent.
git.linuxcnc.org/gitweb?p=linuxcnc.git;a...5d2dda97836ac8c3a0e6

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

More
06 Jun 2013 22:59 - 06 Jun 2013 23:02 #35349 by VNR
Replied by VNR on topic Modbus Examples?

Where would I copy the mb2hal files to on a standard 2.5x install?

copy to /usr/bin
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

This seems too simple, is there some thing more that must be done to make the system aware of its presence?

I not sure but i think thats all, write us the error if something fails.

hope this helps,
Victor
Last edit: 06 Jun 2013 23:02 by VNR. Reason: mispelling
The following user(s) said Thank You: Todd Zuercher, Blackwind

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

More
06 Jun 2013 23:54 #35350 by Todd Zuercher
Replied by Todd Zuercher on topic Modbus Examples?
Just thought that I would need to run it through comp or something.

I'll try it when I get some time.

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

More
27 Sep 2013 22:22 - 27 Sep 2013 22:29 #39270 by Blackwind
Replied by Blackwind on topic Modbus Examples?
hi folks, i dont know if it is the right place to ask but:

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
Last edit: 27 Sep 2013 22:29 by Blackwind. Reason: misspell correction

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

More
28 Sep 2013 16:10 #39306 by cncbasher
Replied by cncbasher on topic Modbus Examples?
Rick ,
which vfd do you have ? have you a manual in pdf or a link to one ?
The following user(s) said Thank You: Blackwind

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

More
28 Sep 2013 17:07 #39310 by VNR
Replied by VNR on topic Modbus Examples?

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
The following user(s) said Thank You: Blackwind

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

More
28 Sep 2013 21:16 - 28 Sep 2013 21:19 #39321 by Blackwind
Replied by Blackwind on topic Modbus Examples?

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
Last edit: 28 Sep 2013 21:19 by Blackwind.

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

More
28 Sep 2013 22:07 #39324 by cncbasher
Replied by cncbasher on topic Modbus Examples?
dont know which version of linuxcnc your running Rick , i remember their being a modbus driver for delta vfd-b being looked at , but perhaps in the development branch , if you are not already aware . at this time i do not know it's status
The following user(s) said Thank You: Blackwind

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

More
03 Oct 2013 21:21 - 03 Oct 2013 21:22 #39505 by Blackwind
Replied by Blackwind on topic Modbus Examples?
Cncbasher
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
Last edit: 03 Oct 2013 21:22 by Blackwind. Reason: misspell correction

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

Time to create page: 0.103 seconds
Powered by Kunena Forum