NetLinx Programming
21
NXB-KNX KNX Communications Gateway
Analyzing Feedback
Data feedback is analyzed in a DATA_EVENT:
The feedback is always in STRING format
One DATA_EVENT is actuated per feedback (exactly one feedback in the DATA.TEXT)
NetLinx SEND_COMMANDs
Commands to the module always take place per SEND_COMMAND to the device.
The NXB-KNX supports the following NetLinx commands:
In cases of multiple feedback, the corresponding number of events is actuated.
Channel feedback is analyzed in a CHANNEL_EVENT.
Level feedback is analyzed in a LEVEL_EVENT.
KNX_Tools.axi provides convenience function equivalents (See the Functions
Available In KNX_Tools.axi table on page 35).
NetLinx SEND_COMMANDs
Command
Description
ADD=
Adds a KNX group address to list.
Syntax:
ADD=<No>:<Type>:<GrpAdr>[:Flags]
Note: Flags are optional
Parameters:
• <No> = AMX Number of Actuator (range = 1 - 3000)
• <Type> = Actuator Type (
Switch
,
Control
,
Dim4
,
1Byte
,
2Byte
,
3Byte
,
4Byte
,
Text
,
HexText
)
• <GrpAdr> = KNX group address in 2 or 3 grouped display
• <Flags>:
EIS5
= Value is reported additionally as ASCII Float Value. The KNX Value is converted according
to EIS5 Standard (only valid for 2Byte Actuators)
Time
= Value is reported additionally as ASCII Time (hh:mm:ss).
Note: Only valid for 3Byte Actuators
Date
= Value is reported additionally as ASCII Date (MM/DD/YY).
Note: Only valid for 3Byte Actuators)
PS
= Actuator is automatically polled with Start of AMX System
Note: Flags are separated by Commas
Examples:
SEND_COMMAND dvKNX,'ADD=13:Switch:1/0/11'
SEND_COMMAND dvKNX,'ADD=17:1Byte:4/7/12:PS'
SEND_COMMAND dvKNX,'ADD=45:2Byte:3/0/11:EIS5'
SEND_COMMAND dvKNX,'ADD=12:3Byte:2/1/101:TIME,PS'
ADR
Definition of output format of KNX group address (Main/Middle/Sub-group
or
Main group/Sub-group).
Syntax:
ADR <Value>
Parameters:
<Value> = 2/3
Example:
SEND_COMMAND dvKNX,'ADR 3'