← All types
Ob Object

EdgeAppModbusPort

A Modbus port (hybrid-bridge §33)

Fields

name

String!Non-null

Unique port name within the edgeApp (surfaces as params.port)

Transport (tcp / rtu / rtuOverTCP)

Possible values (3)
TCP

Modbus TCP

RTU

Modbus RTU over serial (RS-485 / RS-232)

RTU_OVER_TCP

Modbus RTU framing tunnelled over TCP

host

StringNullable

Host (tcp / rtuOverTCP only)

port

IntNullable

Port (tcp / rtuOverTCP; default 502)

Serial device path (rtu only)

baudRate

IntNullable

Serial baud rate (rtu only)

Serial parity (rtu only)

Possible values (3)
NONE

No parity

EVEN

Even parity

ODD

Odd parity

stopBits

IntNullable

Serial stop bits (rtu only; 1 or 2)

dataBits

IntNullable

Serial data bits (rtu only; 5...9)

Slaves on this port (≥1)

Referenced by (1)
Exact type SDL
"""A Modbus port (hybrid-bridge §33)"""
type EdgeAppModbusPort {
  """Unique port name within the edgeApp (surfaces as params.port)"""
  name: String!
  """Transport (tcp / rtu / rtuOverTCP)"""
  transport: EdgeAppModbusTransport!
  """Host (tcp / rtuOverTCP only)"""
  host: String
  """Port (tcp / rtuOverTCP; default 502)"""
  port: Int
  """Serial device path (rtu only)"""
  serialPath: String
  """Serial baud rate (rtu only)"""
  baudRate: Int
  """Serial parity (rtu only)"""
  parity: EdgeAppModbusParity
  """Serial stop bits (rtu only; 1 or 2)"""
  stopBits: Int
  """Serial data bits (rtu only; 5...9)"""
  dataBits: Int
  """Slaves on this port (≥1)"""
  slaves: [EdgeAppModbusSlave!]!
}