Serial Port

Name Value Description

Code

serial

Name

UDP Socket Communication

Maven Dependency

<dependency>
  <groupId>org.apache.plc4x</groupId>
  <artifactId>plc4j-transport-serial</artifactId>
  <version>0.12.0</version>
</dependency>

Transport Syntax:

{name of the serial port}

Can differ depending on the OS:

  • Windows: "Com 1"

  • Mac & Linux: "/dev/ttyS0"

Options:

none