Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

...

The KNX protocol is an open standard used in building automation. The KNX implementation uses the Falcon SDK developed by the KNX association. Since this SDK is developed in C#, the connection to the D2000 KOM process is handled by a separate module d2knx, which by default is located in the protdll directory and communicates with the D2000 KOM process via a TCP connection.
For each communication line on which there are stations with KNX protocol, it is necessary to run one instance of the d2knx module, which requires a separate KNX interface. The KNX interface can be connected via the USB interface or can be accessed via a network based on its IP address.

...

  • Communication protocol: KNX Protocol.
  • Station address:

    • GROUP - The I/O tags on a station with the GROUP address will receive all values of the Group address type values from the communication.

    • area.line.device - Address of a specific KNX device (e.g. 1.3.99), where the area is 0..15, the line is 0..15, the device is 0..255. I/O tags on a station with a specific address will only receive values if they have been received from a KNX device with a specified address.

Note: it is possible to configure several stations with the same address (with a specific address or with a GROUP address), e.g. to set various time parameters for reading individual I/O tags.

...

  • Unsigned Int - the value is interpreted as an unsigned integer (or as a True/False value)
  • Signed Int - the value is interpreted as a signed integer
  • Float - the value is interpreted as a real number (2, 4 or 8-byte)
  • String - the value is interpreted as a string (the string in the KNX protocol has 14 characters)

...

  • TimeOfDay (

...

  • Bool
  • TwoBit
  • FourBit
  • SixBit
  • Unsigned Byte (1B)
  • Unsigned Short (2B)
  • Unsigned Int (4B)
  • Unsigned Long (8B)

...

  • Signed Byte (1B)
  • Signed Short (2B)
  • Signed Int (4B)
  • Signed Long (8B)

...

  • Short Float (2B)
  • Float (4B)
  • Double (8B)
  • 3B) - 3-byte value is interpreted as time of day (DPT_TimeOfDay) - value type must be TiR/ToR/Ai/Ao/Ci/Co
  • Date (3B) - 3-byte value is interpreted as a date (DPT_Date) - value type must be TiA/ToA
  • DateTime (8B) - 8-byte value is interpreted as a date and time (DPT_DateTime) - value type must be TiA/ToA

Note: for an I/O tag with a value of type TiA/ToA, it is possible to process a value of type DPT_DateTime (8-byte date and time) - it is necessary to set Value type (reading) = Unsigned Int

Value subtype (writing): for Attribute=Value, how to encode the value when writing:

  • for Value type = Unsigned Int:
    • Bool
    • TwoBit
    • FourBit
    • SixBit
    • Unsigned Byte (1B)
    • Unsigned Short (2B)
    • Unsigned Int (4B)
    • Unsigned Long (8B)
  • for Value type = Signed Int:
    • Signed Byte (1B)
    • Signed Short (2B)
    • Signed Int (4B)
    • Signed Long (8B)
  • for Value type = Float:
    • Short Float (2B)
    • Float (4B)
    • Double (8B)
  • for Value type = String:
    • String (14B)

Note: I/O tags that have the Output mode parameter set to Command in the Output control tab will not be read. In the KNX protocol, there are common objects that can be written to but not read from, so reading would end with an error that would invalidate the I/O tag value in D2000 - such I/O tag must be configured as a Command.

...

Browse

For the I/O tags, it is possible to discover the list of objects and their data types, as long as the KOM process is running and communication with an outstation is established.
Clicking the Browse button opens the KNX Item Browser window and displays a list of objects that have been read so far. The object list is created dynamically as a result of received messages (responses read requests as well as spontaneously arrived values).

...

Double-clicking on a particular line will cause the Group address parameter to be inserted into the configuration of the I/O tag from which the KNX Item Browser window was opened.

...

  • Ver. 1.0 - May 14th, 2020 - document creation.
  • Ver. 1.1 - July 11th, 2022 - support for reading DPT_TimeOfDay, DPT_Date, DPT_DateTime.


Info
titleRelated pages:

Communication protocols

...