Page 1 of 1

MODBUS (slave)

Posted: Sun Apr 19, 2015 12:48 am
by lordhex
i think in next version or update more people will want modbus slave RTU mode.

Re: MODBUS (slave)

Posted: Mon Apr 20, 2015 11:23 am
by Benj
Hello,

I believe this is currently being worked on by one of our users. Who else would like to see a MODBUS Slave component as part of the Flowcode offering?

Re: MODBUS (slave)

Posted: Mon Apr 20, 2015 1:01 pm
by lordhex
i want to explain one more time who is not use mode bus or don't know modbus.
Modbus is a wonderfull protocol have a long distance.Useing RS485 protocol.
Normally PLC machines used much.If you want to build small components as a slave of an PLC system you will need modbus slave functions.
Some of the flowcode users build this with rs 232 functions i really don't know is it working or not.
The way is soo long and a little bit complex when you try to use RS485 protocol with RS232.
One day all of flowcode users will need this slave component in his or her project.
Please support me :)
i bleave that benj can do this like a toy :P
but me :( it's complicated.Thats why i need modbus slave component.

Re: MODBUS (slave)

Posted: Mon Apr 20, 2015 2:50 pm
by QMESAR
+1 This is an important protocol for Industrial Applications I support the request 100% :D

Re: MODBUS (slave)

Posted: Mon Apr 20, 2015 4:51 pm
by lordhex
QMESAR wrote:+1 This is an important protocol for Industrial Applications I support the request 100% :D
Thank you QMESAR for youre support. God bless you.
i am trying to do it by RS232 style but too long and make so many mistakes :(
PLS we need more support.
New flowcode users thrust me u will need this protocol one day.
And that day you will remember my calling to support :(

Re: MODBUS (slave)

Posted: Mon Apr 20, 2015 6:10 pm
by zadah
Hello

Here is the current version of my MODBUS slave FLOWCODE components.

Everything starts with MODBUS_master_requesting component.... So after you receive data to UART you will call that macro.

This version is working fine with industrial Touch panels. Master writing multiple INTs command is not complete, because i havent needed it so far :)

Re: MODBUS (slave)

Posted: Mon Apr 20, 2015 7:15 pm
by RTJNair
Dear Matrix team,

Yes, the Modbus RTU slave component will be a great addition. Kindly consider including this as one of the priorities.

Thanks in advance.

Re: MODBUS (slave)

Posted: Mon Apr 20, 2015 9:43 pm
by lordhex
zadah wrote:Hello

Here is the current version of my MODBUS slave FLOWCODE components.

Everything starts with MODBUS_master_requesting component.... So after you receive data to UART you will call that macro.

This version is working fine with industrial Touch panels. Master writing multiple INTs command is not complete, because i havent needed it so far :)
files end with .fcm
how to open these?

Re: MODBUS (slave)

Posted: Mon Apr 20, 2015 9:58 pm
by medelec35
.fcm are FlowCode Macros.
Select Macro then Import....


Martin

Re: MODBUS (slave)

Posted: Mon Apr 20, 2015 10:04 pm
by lordhex
My pc has a problem i think it's not importing :S

Re: MODBUS (slave)

Posted: Mon Apr 20, 2015 10:06 pm
by medelec35
If post a flowchart you would like to import macro with, then I will import it for you and post modified flowchart.

Re: MODBUS (slave)

Posted: Mon Apr 20, 2015 10:13 pm
by lordhex
i can export but can't import ?

Re: MODBUS (slave)

Posted: Mon Apr 20, 2015 10:21 pm
by medelec35
I have just checked and macros posted are for Flowcode V5.
That is why you're having trouble importing.
The only way you can do this is to import into a Flowcode V5, save flowchart then load Flowchart V6 with the V5 saved flowchart.
I have done this for you but not all macros are there.
You will need to add a send macro etc.

Re: MODBUS (slave)

Posted: Mon Apr 20, 2015 10:29 pm
by lordhex
i do not have flowcode v5 :cry:
see the problems?
V6 needs modbus slave component :cry:
or i will give bribery to benj to do this :P
ok benj 1 kg Turkish baklava is enough for you? :)

Re: MODBUS (slave)

Posted: Tue Apr 21, 2015 5:02 pm
by lordhex
come on guys i need some support for this action.
Thrust me one day u will need this protocol.

Re: MODBUS (slave)

Posted: Tue Apr 21, 2015 6:02 pm
by Steve001
I Agree this would be nice addition to flowcode ,

Would it be possible to have selectable baud rates , selectable parity's

Steve

Re: MODBUS (slave)

Posted: Wed Apr 22, 2015 12:13 am
by lordhex
Thank you for supporting me Steave001.
ok who is next?

Re: MODBUS (slave)

Posted: Wed Apr 22, 2015 1:12 am
by lordhex
Re: Modbus

Postby Benj ยป Fri Aug 30, 2013 5:25 pm
Hello,

Ok in PatchSet 4 the Modbus component should be complete and should work correctly. I'm a bit unsure as the guide I was following sent the data MSB first but then sent the CRC LSB first so might be a few remaining issues to iron out.

If anyone tries the component with Modbus hardware then let me know how your getting on and I will do my best to help out.

Modbus slave component would also be a nice feature so I will make sure it is on the list.
hmmmm benj also supporting me too :twisted:
there is nothing to afraid if benj is behind me :mrgreen:
you can escape but you can't hide :lol:
come on..... you also know this will be a great feature for flowcode
We can build small parts for big systems. (one of my dream)

Re: MODBUS (slave)

Posted: Wed Apr 22, 2015 9:19 am
by DavidA
Hello,

Im locking this topic now. Please continue this subject with Ben or Me only via PM. Other forum members help out because they are good helpful people and not because of some obligation. Please do not spam PMs to users on this subject else i will have to warn/ban any account doing this.

*edit: unlocking topic on request, please no more spam in this topic.

Re: MODBUS (slave)

Posted: Thu Apr 23, 2015 9:30 am
by lordhex
DavidA wrote:Hello,

Im locking this topic now. Please continue this subject with Ben or Me only via PM. Other forum members help out because they are good helpful people and not because of some obligation. Please do not spam PMs to users on this subject else i will have to warn/ban any account doing this.

*edit: unlocking topic on request, please no more spam in this topic.
I am very very sorry to forum users and admins.
I think i go so far and push people to do my needs.
i acked like a child.
This will never happen again i promise.