Skip to content

Commit

Permalink
docs: Updated the annotations for generating the S7 configuration adoc
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdutz committed Dec 28, 2024
1 parent 6544b5d commit 794156a
Show file tree
Hide file tree
Showing 21 changed files with 26 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,17 +113,17 @@ public class S7Configuration implements PlcConnectionConfiguration {

@ConfigurationParameter("ping")
@BooleanDefaultValue(false)
@Description("Time for supervision of TCP channels. If the channel is not active, a safe stop of the EventLoop must be performed, to ensure that no additional tasks are created.")
@Description("If your application requires sampling times greater than the set \"read-timeout\" time, it is important that the PING option is activated, this will prevent the TCP channel from being closed unnecessarily.")
public boolean ping = false;

@ConfigurationParameter("ping-time")
@IntDefaultValue(0)
@Description("If your application requires sampling times greater than the set \"read-timeout\" time, it is important that the PING option is activated, this will prevent the TCP channel from being closed unnecessarily.")
@Description("Time value in seconds at which the execution of the PING will be scheduled. Generally set by developer experience, but generally should be the same as (read-timeout / 2).")
public int pingTime = 0;

@ConfigurationParameter("retry-time")
@IntDefaultValue(0)
@Description("Time value in seconds at which the execution of the PING will be scheduled. Generally set by developer experience, but generally should be the same as (read-timeout / 2).")
@Description("Time for supervision of TCP channels. If the channel is not active, a safe stop of the EventLoop must be performed, to ensure that no additional tasks are created.")
public int retryTime = 0;

public int getLocalRack() {
Expand Down
2 changes: 1 addition & 1 deletion website/generated/ab-eth.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<dependency>
<groupId>org.apache.plc4x</groupId>
<artifactId>plc4j-driver-ab-eth</artifactId>
<version>{current-last-released-version}</version>
<version>{page-component-version}</version>
</dependency>
----
|Default Transport 4+|`raw`
Expand Down
2 changes: 1 addition & 1 deletion website/generated/ads.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<dependency>
<groupId>org.apache.plc4x</groupId>
<artifactId>plc4j-driver-ads</artifactId>
<version>{current-last-released-version}</version>
<version>{page-component-version}</version>
</dependency>
----
|Default Transport 4+|`tcp`
Expand Down
2 changes: 1 addition & 1 deletion website/generated/bacnet-ip.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<dependency>
<groupId>org.apache.plc4x</groupId>
<artifactId>plc4j-driver-bacnet</artifactId>
<version>{current-last-released-version}</version>
<version>{page-component-version}</version>
</dependency>
----
|Default Transport 4+|`udp`
Expand Down
2 changes: 1 addition & 1 deletion website/generated/c-bus.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<dependency>
<groupId>org.apache.plc4x</groupId>
<artifactId>plc4j-driver-c-bus</artifactId>
<version>{current-last-released-version}</version>
<version>{page-component-version}</version>
</dependency>
----
|Default Transport 4+|`tcp`
Expand Down
2 changes: 1 addition & 1 deletion website/generated/canopen.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<dependency>
<groupId>org.apache.plc4x</groupId>
<artifactId>plc4j-driver-canopen</artifactId>
<version>{current-last-released-version}</version>
<version>{page-component-version}</version>
</dependency>
----
|Default Transport 4+|`socketcan`
Expand Down
2 changes: 1 addition & 1 deletion website/generated/eip.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<dependency>
<groupId>org.apache.plc4x</groupId>
<artifactId>plc4j-driver-eip</artifactId>
<version>{current-last-released-version}</version>
<version>{page-component-version}</version>
</dependency>
----
|Default Transport 4+|`tcp`
Expand Down
2 changes: 1 addition & 1 deletion website/generated/firmata.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<dependency>
<groupId>org.apache.plc4x</groupId>
<artifactId>plc4j-driver-firmata</artifactId>
<version>{current-last-released-version}</version>
<version>{page-component-version}</version>
</dependency>
----
|Default Transport 4+|`serial`
Expand Down
2 changes: 1 addition & 1 deletion website/generated/genericcan.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<dependency>
<groupId>org.apache.plc4x</groupId>
<artifactId>plc4j-driver-can</artifactId>
<version>{current-last-released-version}</version>
<version>{page-component-version}</version>
</dependency>
----
|Default Transport 4+|`socketcan`
Expand Down
2 changes: 1 addition & 1 deletion website/generated/iec-60870-5-104.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<dependency>
<groupId>org.apache.plc4x</groupId>
<artifactId>plc4j-driver-iec-60870</artifactId>
<version>{current-last-released-version}</version>
<version>{page-component-version}</version>
</dependency>
----
|Default Transport 4+|`tcp`
Expand Down
2 changes: 1 addition & 1 deletion website/generated/knxnet-ip.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<dependency>
<groupId>org.apache.plc4x</groupId>
<artifactId>plc4j-driver-knxnetip</artifactId>
<version>{current-last-released-version}</version>
<version>{page-component-version}</version>
</dependency>
----
|Default Transport 4+|`udp`
Expand Down
2 changes: 1 addition & 1 deletion website/generated/logix.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<dependency>
<groupId>org.apache.plc4x</groupId>
<artifactId>plc4j-driver-eip</artifactId>
<version>{current-last-released-version}</version>
<version>{page-component-version}</version>
</dependency>
----
|Default Transport 4+|`tcp`
Expand Down
2 changes: 1 addition & 1 deletion website/generated/modbus-ascii.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<dependency>
<groupId>org.apache.plc4x</groupId>
<artifactId>plc4j-driver-modbus</artifactId>
<version>{current-last-released-version}</version>
<version>{page-component-version}</version>
</dependency>
----
|Default Transport 4+|`serial`
Expand Down
2 changes: 1 addition & 1 deletion website/generated/modbus-rtu.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<dependency>
<groupId>org.apache.plc4x</groupId>
<artifactId>plc4j-driver-modbus</artifactId>
<version>{current-last-released-version}</version>
<version>{page-component-version}</version>
</dependency>
----
|Default Transport 4+|`serial`
Expand Down
2 changes: 1 addition & 1 deletion website/generated/modbus-tcp.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<dependency>
<groupId>org.apache.plc4x</groupId>
<artifactId>plc4j-driver-modbus</artifactId>
<version>{current-last-released-version}</version>
<version>{page-component-version}</version>
</dependency>
----
|Default Transport 4+|`tcp`
Expand Down
2 changes: 1 addition & 1 deletion website/generated/opcua.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<dependency>
<groupId>org.apache.plc4x</groupId>
<artifactId>plc4j-driver-opcua</artifactId>
<version>{current-last-released-version}</version>
<version>{page-component-version}</version>
</dependency>
----
|Default Transport 4+|`tcp`
Expand Down
2 changes: 1 addition & 1 deletion website/generated/open-protocol.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<dependency>
<groupId>org.apache.plc4x</groupId>
<artifactId>plc4j-driver-open-protocol</artifactId>
<version>{current-last-released-version}</version>
<version>{page-component-version}</version>
</dependency>
----
|Default Transport 4+|`tcp`
Expand Down
2 changes: 1 addition & 1 deletion website/generated/plc4x.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<dependency>
<groupId>org.apache.plc4x</groupId>
<artifactId>plc4j-driver-plc4x</artifactId>
<version>{current-last-released-version}</version>
<version>{page-component-version}</version>
</dependency>
----
|Default Transport 4+|`tcp`
Expand Down
2 changes: 1 addition & 1 deletion website/generated/profinet.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<dependency>
<groupId>org.apache.plc4x</groupId>
<artifactId>plc4j-driver-profinet-ng</artifactId>
<version>{current-last-released-version}</version>
<version>{page-component-version}</version>
</dependency>
----
|Default Transport 4+|`raw`
Expand Down
8 changes: 4 additions & 4 deletions website/generated/s7.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<dependency>
<groupId>org.apache.plc4x</groupId>
<artifactId>plc4j-driver-s7</artifactId>
<version>{current-last-released-version}</version>
<version>{page-component-version}</version>
</dependency>
----
|Default Transport 4+|`tcp`
Expand Down Expand Up @@ -71,9 +71,9 @@ Allowed values: +
- S7-1500 +
- LOGO
|`read-timeout` |INT |0| |This is the maximum waiting time for reading on the TCP channel. As there is no traffic, it must be assumed that the connection with the interlocutor was lost and it must be restarted. When the channel is closed, the "fail over" is carried out in case of having the secondary channel, or it is expected that it will be restored automatically, which is done every 4 seconds.
|`ping` |BOOLEAN |false| |Time for supervision of TCP channels. If the channel is not active, a safe stop of the EventLoop must be performed, to ensure that no additional tasks are created.
|`ping-time` |INT |0| |If your application requires sampling times greater than the set "read-timeout" time, it is important that the PING option is activated, this will prevent the TCP channel from being closed unnecessarily.
|`retry-time` |INT |0| |Time value in seconds at which the execution of the PING will be scheduled. Generally set by developer experience, but generally should be the same as (read-timeout / 2).
|`ping` |BOOLEAN |false| |If your application requires sampling times greater than the set "read-timeout" time, it is important that the PING option is activated, this will prevent the TCP channel from being closed unnecessarily.
|`ping-time` |INT |0| |Time value in seconds at which the execution of the PING will be scheduled. Generally set by developer experience, but generally should be the same as (read-timeout / 2).
|`retry-time` |INT |0| |Time for supervision of TCP channels. If the channel is not active, a safe stop of the EventLoop must be performed, to ensure that no additional tasks are created.
5+|Transport config options:
5+|
+++
Expand Down
2 changes: 1 addition & 1 deletion website/generated/simulated.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<dependency>
<groupId>org.apache.plc4x</groupId>
<artifactId>plc4j-driver-simulated</artifactId>
<version>{current-last-released-version}</version>
<version>{page-component-version}</version>
</dependency>
----
|Supported Transports 4+|
Expand Down

0 comments on commit 794156a

Please sign in to comment.