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

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

Sure, I tried to write down everything and after updating it recently it should 
be pretty up to date:

The general concept is described here:

[http://plc4x.apache.org/developers/code-gen/index.html]

A documentation of the MSPEC format is here. You use this to implement new 
protocols:

[http://plc4x.apache.org/developers/code-gen/protocol/mspec.html]

The documentation on how to provide templates for other output languages is 
here:

[http://plc4x.apache.org/developers/code-gen/language/freemarker.html]

And here's a very small example:

[http://plc4x.apache.org/developers/code-gen/protocol/df1.html]

Hope that helps.

 

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