You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@plc4x.apache.org by "Alvaro del Castillo (Jira)" <ji...@apache.org> on 2019/12/12 06:56:00 UTC

[jira] [Commented] (PLC4X-44) [Modbus] Make the modbus driver support reading and writing of multiple values

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

Alvaro del Castillo commented on PLC4X-44:
------------------------------------------

[~cdutz] I have tested to write multiple values and it works. Great! And soon I will test also the multiple read. 

Next days I plan to read the how to about generated drivers you have pointed out above. But the PLC4x API will it change?

> [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)