You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2020/09/02 15:27:43 UTC

[plc4x] branch develop updated: - Removed the description of serial transport on the Modbus page (for now) - Fixed some wrong documentation on the config arguments of the Modbus driver.

This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new b93eb85  - Removed the description of serial transport on the Modbus page (for now) - Fixed some wrong documentation on the config arguments of the Modbus driver.
b93eb85 is described below

commit b93eb85bcac8724b11f134cbcb64ddad4132c397
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Wed Sep 2 17:27:37 2020 +0200

    - Removed the description of serial transport on the Modbus page (for now)
    - Fixed some wrong documentation on the config arguments of the Modbus driver.
---
 src/site/asciidoc/users/protocols/modbus.adoc | 20 ++++++++------------
 src/site/site.xml                             |  2 +-
 2 files changed, 9 insertions(+), 13 deletions(-)

diff --git a/src/site/asciidoc/users/protocols/modbus.adoc b/src/site/asciidoc/users/protocols/modbus.adoc
index 1893a46..505c2af 100644
--- a/src/site/asciidoc/users/protocols/modbus.adoc
+++ b/src/site/asciidoc/users/protocols/modbus.adoc
@@ -46,33 +46,29 @@
 
 |Compatible Transports:
 2+| - `tcp` (Default Port: 502)
-- `serial`
-- `raw-socket`
-- `pcap-replay`
+#- `serial`
+#- `raw-socket`
+#- `pcap-replay`
 
 3+|Supported Operations
 
 |
 | `read`
-| Only supported with `tcp` and `serial` transport.
+| Only supported with `tcp` transport.
 
 |
 | `write`
-| Only supported with `tcp` and `serial` transport.
-
-|
-| `subscribe` (passive)
-| Only supported with `raw-socket` and `pcap-replay`.
+| Only supported with `tcp` transport.
 
 3+|Options
 
 |
-| `request-timeout` (1000ms)
-| `Rack` value for the client (PLC4X device). Defaults to 1.
+| `request-timeout` (ms)
+| Timeout after which a request is terminated. Defaults to 1000ms.
 
 |
 | `unit-identifier` (1)
-| `Slot` value for the client (PLC4X device). Defaults to 1.
+| Unit-identifier that identifies the target PLC (On RS485 multiple Modbus Devices can be listening). Defaults to 1.
 
 |===
 
diff --git a/src/site/site.xml b/src/site/site.xml
index d5a4dbd..f5bf84c 100644
--- a/src/site/site.xml
+++ b/src/site/site.xml
@@ -65,7 +65,7 @@
         <item name="EtherNet/IP" href="users/protocols/ethernet-ip.html"/>
         <item name="Firmata" href="users/protocols/firmata.html"/>
         <item name="KNXnet/IP" href="users/protocols/knxnetip.html"/>
-        <item name="Modbus (TCP/Serial)" href="users/protocols/modbus.html"/>
+        <item name="Modbus" href="users/protocols/modbus.html"/>
         <item name="OPC UA" href="users/protocols/opc-ua.html"/>
         <item name="S7 (Step7)" href="users/protocols/s7.html"/>
         <item name="Simulated" href="users/protocols/simulated.html"/>