Protocols

Open-Protocol (Torque-Tools)

qianmoQqianmoQ· 更新于 2026-09-30· 阅读 4 分钟· 0 次阅读

登录后可跨设备保存划线和私人笔记登录
No language implementation of this driver is usable yet. See the protocol support matrix for what each implementation currently does.

Connection String Options

Name

Type

Default Value

Required

Description

Name

Open-Protocol

Code

open-protocol

Maven Dependency

<dependency>
  <groupId>org.apache.plc4x</groupId>
  <artifactId>plc4j-driver-open-protocol</artifactId>
  <version>1.0.0</version>
</dependency>

Default Transport

tcp

Supported Transports

  • tcp

Config options:

request-timeout-ms

INT

10000

Maximum time (in milliseconds) to wait for a reply during the Open-Protocol session setup or any per-request exchange.

Transport config options:

tcp

tcp.connect-timeout-ms

INT

5000

Connection timeout in milliseconds.

tcp.read-timeout-ms

INT

0

Socket read timeout in milliseconds. 0 means no timeout.

tcp.write-timeout-ms

INT

0

Socket write timeout in milliseconds. 0 means no timeout.

tcp.no-delay

BOOLEAN

true

Enable TCP_NODELAY (disable Nagle’s algorithm).

tcp.keep-alive

BOOLEAN

false

Enable SO_KEEPALIVE.

tcp.send-buffer-size

INT

81920

Send buffer size in bytes. 0 uses system default.

tcp.receive-buffer-size

INT

81920

Receive buffer size in bytes. 0 uses system default.

tcp.local-address

STRING

Local address to bind to (optional). If not set, uses default.

tcp.local-port

INT

0

Local port to bind to (optional). 0 uses ephemeral port.

评论

登录后参与评论

正在加载评论…