[ 
https://issues.apache.org/jira/browse/PLC4X-44?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16984828#comment-16984828
 ] 

Christofer Dutz commented on PLC4X-44:
--------------------------------------

We will be converting the Modbus driver into a generated driver. Then we'll 
completely rewrite that and I'll make sure to implement it.

But right now you should be able to read and write multiple values, but the 
driver should automatically split them up into multiple single-value requests. 
Please give it a try.

> [Modbus] Make the modbus driver support reading and writing of multiple values
> ------------------------------------------------------------------------------
>
>                 Key: PLC4X-44
>                 URL: https://issues.apache.org/jira/browse/PLC4X-44
>             Project: Apache PLC4X
>          Issue Type: Improvement
>          Components: Driver-Modbus
>            Reporter: Christofer Dutz
>            Priority: Major
>
> Currently the modbus driver would throw an Exception when writing more than 
> one item and/or value in one request 
>     Plc4XModbusProtocol.encodeWriteRequest 
> This however has to be possible. If the protocol itself doesn't support it, 
> we need to implement some automatic code similar to that of the S7 driver 
> (See: DefaultS7MessageProcessor and the PendingWriteQueue in S7Protocol)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to