Modbus Slave Component

Please add any feature requests for Flowcode version 6 here

Moderator: Benj

Forum rules
Only feature requests will be considered here. General questions should not be posted in this forum.
User avatar
STibor
Posts: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 114 times
Been thanked: 112 times
Contact:

Modbus Slave Component

Postby STibor » Thu Jan 21, 2016 6:46 pm

Hello!

I see that there is a Modbus master component. (I have not used this component)
It is possible that in the near future will be Modbus slave components?

Thanks for the reply!

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1086
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 440 times
Been thanked: 492 times
Contact:

Re: Modbus Slave Component

Postby Steve001 » Thu Jan 21, 2016 9:54 pm

Hello STibor

Have you seen this post

viewtopic.php?f=54&t=12676&hilit=modbus

Steve
These users thanked the author Steve001 for the post:
STibor (Mon Jan 25, 2016 8:01 pm)
Rating: 5.26%
 
Success always occurs in private and failure in full view.

User avatar
Benj
Matrix Staff
Posts: 14373
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4447 times
Been thanked: 4150 times
Contact:

Re: Modbus Slave Component

Postby Benj » Mon Jan 25, 2016 3:28 pm

Hello,

It has been started, I just need to find some time to finish it and test it works. Hopefully coming soon....
These users thanked the author Benj for the post (total 2):
STibor (Mon Jan 25, 2016 8:01 pm) • EtsDriver (Wed Mar 16, 2016 7:20 pm)
Rating: 10.53%
 

lordhex
Posts: 54
Joined: Mon Dec 30, 2013 2:09 am
Has thanked: 15 times
Been thanked: 12 times
Contact:

Re: Modbus Slave Component

Postby lordhex » Sun Feb 28, 2016 8:48 pm

Benj wrote:Hello,

It has been started, I just need to find some time to finish it and test it works. Hopefully coming soon....

You are my hero.
I love you (as a master)

User avatar
STibor
Posts: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 114 times
Been thanked: 112 times
Contact:

Re: Modbus Slave Component

Postby STibor » Wed Mar 30, 2016 6:16 pm

Hello!
I ask whether there is a project?
I got a PLC, it has RS485 Modbus.
For this I want to connect many different little slave circuits.

lordhex
Posts: 54
Joined: Mon Dec 30, 2013 2:09 am
Has thanked: 15 times
Been thanked: 12 times
Contact:

Re: Modbus Slave Component

Postby lordhex » Thu Mar 31, 2016 8:11 am

STibor wrote:Hello!
I ask whether there is a project?
I got a PLC, it has RS485 Modbus.
For this I want to connect many different little slave circuits.

Ben is working for modbus slave component.When he finish i bleave that you can do youre project easy.

User avatar
STibor
Posts: 262
Joined: Fri Dec 16, 2011 3:20 pm
Has thanked: 114 times
Been thanked: 112 times
Contact:

Re: Modbus Slave Component

Postby STibor » Thu Apr 21, 2016 8:16 pm

Steve001 wrote:Hello STibor

Have you seen this post

viewtopic.php?f=54&t=12676&hilit=modbus

Steve


Hello!

Thanks for the link.
I'm beginning to understand the Modbus communication.
I use it successfully, "Artose's" sample code.
http://www.matrixtsl.com/mmforums/viewtopic.php?f=54&t=12676#p50966

@Benj
I looked at the Flowcode6 Modbus master component, but I do not see data direction control output.
How is a Modbus hardware, if there is no data direction control?

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1086
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 440 times
Been thanked: 492 times
Contact:

Re: Modbus Slave Component

Postby Steve001 » Fri Apr 22, 2016 8:12 am

Hello Stibor

Have a look here

http://www.modbus.org/specs.php

Steve
These users thanked the author Steve001 for the post:
STibor (Fri Apr 22, 2016 5:19 pm)
Rating: 5.26%
 
Success always occurs in private and failure in full view.

lordhex
Posts: 54
Joined: Mon Dec 30, 2013 2:09 am
Has thanked: 15 times
Been thanked: 12 times
Contact:

Re: Modbus Slave Component

Postby lordhex » Fri Apr 22, 2016 2:54 pm

STibor wrote:
Steve001 wrote:Hello STibor

Have you seen this post

viewtopic.php?f=54&t=12676&hilit=modbus

Steve


Hello!

Thanks for the link.
I'm beginning to understand the Modbus communication.
I use it successfully, "Artose's" sample code.
http://www.matrixtsl.com/mmforums/viewtopic.php?f=54&t=12676#p50966

@Benj
I looked at the Flowcode6 Modbus master component, but I do not see data direction control output.
How is a Modbus hardware, if there is no data direction control?

You must chose RS485 then you will have data direction.
In RS232 we don't have direction.
485.jpg
485.jpg (54.9 KiB) Viewed 7706 times

And Ben is working for Slave component when he finish my dreams will be real :P
These users thanked the author lordhex for the post:
STibor (Fri Apr 22, 2016 4:56 pm)
Rating: 5.26%
 

dannyvanneijenhoff
Posts: 54
Joined: Thu Feb 07, 2008 7:59 am
Has thanked: 11 times
Been thanked: 8 times
Contact:

Re: Modbus Slave Component

Postby dannyvanneijenhoff » Fri Jun 03, 2016 1:47 pm

Hello

Is there perhaps an indication when the 485 Slave modbus is ready for testing or perhaps finished

lordhex
Posts: 54
Joined: Mon Dec 30, 2013 2:09 am
Has thanked: 15 times
Been thanked: 12 times
Contact:

Re: Modbus Slave Component

Postby lordhex » Mon Jun 06, 2016 5:44 pm

viewtopic.php?f=32&t=17572
Waiting a hero to finish it :)
Thrust me my friend it's not easy.
I try to finish so many times always mistakes happens.
Then we need a proffesional to finish it.

User avatar
Benj
Matrix Staff
Posts: 14373
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4447 times
Been thanked: 4150 times
Contact:

Re: Modbus Slave Component

Postby Benj » Tue Jun 07, 2016 1:11 pm

Hello,

@Benj
I looked at the Flowcode6 Modbus master component, but I do not see data direction control output.


Change the Bus property from RS232 to RS485 and this adds a data direction control pin and variable read state properties.

Some good news for you...

I have been granted some time to finish off the Modbus slave component so it will be included in the release of Flowcode 7. As this is a fairly substantial amount of work the Modbus slave will not be released as a free component.

I've already managed to get a lot of the code up and running now so just some finishing off and testing to do.
These users thanked the author Benj for the post (total 2):
lordhex (Tue Jun 07, 2016 6:41 pm) • dannyvanneijenhoff (Tue Jun 07, 2016 8:50 pm)
Rating: 10.53%
 

lordhex
Posts: 54
Joined: Mon Dec 30, 2013 2:09 am
Has thanked: 15 times
Been thanked: 12 times
Contact:

Re: Modbus Slave Component

Postby lordhex » Tue Jun 07, 2016 6:43 pm

Benj wrote:Hello,

@Benj
I looked at the Flowcode6 Modbus master component, but I do not see data direction control output.


Change the Bus property from RS232 to RS485 and this adds a data direction control pin and variable read state properties.

Some good news for you...

I have been granted some time to finish off the Modbus slave component so it will be included in the release of Flowcode 7. As this is a fairly substantial amount of work the Modbus slave will not be released as a free component.

I've already managed to get a lot of the code up and running now so just some finishing off and testing to do.

This is a wonderfull news.
Yeaha at last i will meet with modbus.
Is there a sellected date for Flowcode 7?