See Communication by the KNX protocol.
The PmaCommGroup object can be used in the PROMOTIC application to send Master messages (read and write) to KNXnet/IP router.
The PmaCommMsg object can be used to receive Slave message sent from the KNXnet/IP router without active request from the PROMOTIC application.
The driver supports the usage of both PmaCommMsg and PmaCommGroup objects. For common data transfers, it is better to use the PmaCommGroup object.
For easy integration of this driver into the application it is handy to use: Preconfigurations in group "KNX"
Network address | 224.0.23.12 It is IP multicast address of the KNXnet/IP interface (can be changed). Multicast address communication represents communication with all hosts in the group (the "normal" IP address communicates only to a single host). Multicast addresses are: - for IPv4: all IP addresses in the range from 224.0.0.0 to 239.255.255.255 - for IPv6: all IP addresses with prefix ff00::/8 |
---|---|
TCP/UDP port number | 3671 It is for KNX Association officially registered IP port (can be changed). |
Ethernet transfer type | UDP |
The variables in the PmaCommGroup object (or even better the variables in the PmaData object with ExtComm data extension) can be of arbitrary number, type and order. The driver uses optimalised internal communication messages for reading the data from the device. Individual KNX telegram is sent for each variable being read.
All variables are read (if the "Data refresh enabled" configurator is checked). When writing to the variable, only the single value is sent (if the "Auto send when writing to item" configurator is checked).
ItemId is the text identifier of the item that is used for addressing the value in the device. The ItemID configurator tells the driver how to receive or send the item value.
The text can be written manually, or it can be assembled in the window opened by the button to the right of the configurator.
Macro expression can be used for input (it is evaluated after starting the application).
The ItemId identifier general syntax is:
where:
Entered only if AddrType==1.
Entered only as the sub part of the KNX group address for writing (main and middle portion of the address is the same as in Addr)
Examples of identifier syntax:
Identifier ItemId of the data type item 5.005 (=DPT_DecimalFactor, Long). The
item is on address 2/4/7 for read and write.
Identifier ItemId of the data type item 1.018 (=DPT_Occupancy, Boolean).
Item is for reading on address 2/1/80 and for writing on address 2/1/81.
Check the write - back | Defines how the result of the variable writing is checked. 1 - Without write control - The variable write is not checked. 2 - Only if the same KNX addresses are used for both Read and Write - Only the items that do not have AddrWrite defined in ItemId will be checked 3 - For all KNX addresses - All written items will be checked |
---|
Reading "Slave messages", i.e. messages sent from the KNXnet/IP router that were not actively requested.