Skip to content

KNX

KNX is the field bus of building automation: lighting, blinds, heating, ventilation. inSCADA supports KNXnet/IP natively — no separate gateway application is involved.

A KNX group address is not a byte offset, so start address is not used. The hierarchy sits like this:

LevelWhat it carries
ConnectionAn IP interface, or the routing backbone
DeviceA logical container — KNX has no device address
FrameA main/middle group from ETS
VariableA group address and its DPT
ModeWhat it does
TUNNEL_UDPA UDP tunnel to a KNXnet/IP interface (the default)
TUNNEL_TCPThe same over TCP
ROUTINGJoins the routing backbone by multicast

In routing mode, with no address given, the standard multicast group 224.0.23.12 is used; the default port is 3671.

FieldDefaultDescription
Individual Address—inSCADA’s own address on the bus
Requested Address—The address to ask the interface for on a tunnel
Local Address—Which adapter to go out of, on a host with several
NAT ModeoffFor connections behind NAT
Min Send Interval (ms)50The shortest gap between two telegrams
Read Timeout (ms)2000How long a read response is waited for
Initial Read Interval (ms)250The gap between the initial reads at startup
Router Check Interval (s)30The poll interval in routing mode
Heartbeat Interval / Timeout / Retries60 s / 10 s / 3The tunnel’s liveness check
FieldDescription
Group AddressWhere a write goes
Status Group AddressThe actuator’s feedback address — this is what is read
Listen Group AddressesFurther addresses carrying the same value
DPTThe data point type
DPT FieldWhich field of a composite DPT
TypeFLOAT, INTEGER, BOOLEAN or STRING
Status OnlyRead-only
Expire (s)How long before the value is considered stale

A group address is accepted in all three of KNX’s spellings: 1/2/3, 1/515 and 2563 are the same address.

The address and the DPT are checked at the save: a mistyped address would be a variable no telegram ever reaches, and a DPT the library does not know one that is never decoded. Both are refused then rather than found later by silence.

inSCADA can find the KNXnet/IP interfaces and routers on the network, so a connection’s mode, address and port are picked from a list rather than typed. The search does not leave the local network.

Uploading an ETS project file reads its group addresses and DPTs. There are three steps:

StepWhat it does
ReadExtracts the project’s group structure and addresses
AuditLists the problems before anything is imported
PlanShows which frames and variables would be created
  • Connections — defining a connection
  • BACnet — the other building automation protocol