← All types
ProductionIn Input object

EdgeAppModbusPortInput

Modbus port input shape

Fields

name

String!Required

Unique port name within the edgeApp

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

StringOptional

Host (tcp / rtuOverTCP only)

port

IntOptional

Port (tcp / rtuOverTCP; default 502)

Serial device path (rtu only)

baudRate

IntOptional

Baud rate (rtu only)

Parity (rtu only)

Possible values (3)
NONE

No parity

EVEN

Even parity

ODD

Odd parity

stopBits

IntOptional

Stop bits (rtu only; 1 or 2)

dataBits

IntOptional

Data bits (rtu only; 5...9)

Slaves on this port (≥1)

Referenced by (3)
Exact type SDL
"""Modbus port input shape"""
input EdgeAppModbusPortInput {
  """Unique port name within the edgeApp"""
  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
  """Baud rate (rtu only)"""
  baudRate: Int
  """Parity (rtu only)"""
  parity: EdgeAppModbusParity
  """Stop bits (rtu only; 1 or 2)"""
  stopBits: Int
  """Data bits (rtu only; 5...9)"""
  dataBits: Int
  """Slaves on this port (≥1)"""
  slaves: [EdgeAppModbusSlaveInput!]!
}