BlockWerk Documentation
⟹

Input Port

Subsystems

The InPort (Input Port) block defines an input interface for a Subsystem. It receives values from outside the subsystem and makes them available to internal blocks.

Simulate in BlockWerk

Interactive sandbox directly in your browser — zero installation, WASM-powered.

Simulate in BlockWerk →

Inputs & Outputs

Direction ID Label Type Status
← Out out Internal Output number Output

Parameters

Parameters Label Type Default Description
portName Port Name text input1
defaultValue Default Value number 0

Usage Examples

  • Zie de ingebouwde voorbeelden in de handleiding voor een demonstratie van dit blok.

Remarks & Best Practices

  • Stateless pass-through: InPort adds no delay or processing — the value passes through in the same simulation step
  • Default value: Always set a safe default; it is used when the external connection is missing or not yet resolved
  • Naming: Use descriptive names like "speed_setpoint" — the port name appears on the subsystem boundary
  • Placement: Group InPort blocks on the left side of the subsystem canvas for readable layouts
  • Multiple InPorts: Each input signal to the subsystem needs its own InPort block with a unique portName

Related Components