Hello and Happy New Year to all !
I would like to send messages from a Modbus Master to LCD and GLCD . It's very useful to add some functions to Modbus Slave component, to cover Modbus functions 15 ( Write Multiple Coils ) and 16 ( Write Multiple Registers ). Also it's very helpful to add at help info, or to post at forum, some code examples on how to control those displays from a Master. So far, we use SetHoldingRegister to send a text to an LCD , but this is not possible , neither at forum there is some info to help us.
By the way, I would like to give many thanks to matrix stuff for FLOWCODE project , that is in my opinion excellent ,whereas some functions not works well. Many thanks also to makers and contributors of this forum.
MODBUS SLAVE COMPONENT
Moderator: Benj
-
- Posts: 115
- Joined: Wed Aug 03, 2016 10:45 pm
- Has thanked: 24 times
- Been thanked: 11 times
-
- Valued Contributor
- Posts: 1189
- Joined: Wed Dec 31, 2008 3:37 pm
- Has thanked: 460 times
- Been thanked: 523 times
Re: MODBUS SLAVE COMPONENT
can i add my 10 pence too please ?
Would it be possible to add some selection for parity and the number of stop bits ?
parity even, odd, none
stop bits 1 or 2
There are a vast array of modbus connected devices and modbus masters and it is quite easy to get caught out by something as trivial as parity or stop bits
Steve
PS happy new year to all
Would it be possible to add some selection for parity and the number of stop bits ?
parity even, odd, none
stop bits 1 or 2
There are a vast array of modbus connected devices and modbus masters and it is quite easy to get caught out by something as trivial as parity or stop bits
Steve
PS happy new year to all
Success always occurs in private and failure in full view.
-
- Posts: 115
- Joined: Wed Aug 03, 2016 10:45 pm
- Has thanked: 24 times
- Been thanked: 11 times
Re: MODBUS SLAVE COMPONENT
Hello Steve001,
Please note:
Parity : None
Stop bits : 1
thanks for reply.
Please note:
Parity : None
Stop bits : 1
thanks for reply.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: MODBUS SLAVE COMPONENT
Hello,
The slave maybe doesn't have direct access to these functions to allow multiple coils and registers to be written at once so I will see how easy it would be to add these.
These functions should already be supported and enabled in the Slave. i.e. the Master can use these functions and the slave will respond correctly.add some functions to Modbus Slave component, to cover Modbus functions 15 ( Write Multiple Coils ) and 16 ( Write Multiple Registers )
The slave maybe doesn't have direct access to these functions to allow multiple coils and registers to be written at once so I will see how easy it would be to add these.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 115
- Joined: Wed Aug 03, 2016 10:45 pm
- Has thanked: 24 times
- Been thanked: 11 times