Knx_Tools.axi; Functions Available In Knx_Tools.axi; Knxset; Knxget - AMX NetLinx Interface NXB-KNX Operation/Reference Manual

Knx communications gateway
Hide thumbs Also See for NetLinx Interface NXB-KNX:
Table of Contents

Advertisement

KNX_Tools.axi

We recommend not to use the send commands directly, but always use the functions of this include file. The
compiler has the opportunity to avoid typing errors already during compiling. Additional typing is avoided.
This file also provides absolute terms for relative dimming and blinds control:
// Constants for dimming Lights
KNX_DIM_UP
KNX_DIM_DN
KNX_DIM_SP
// Constants for blind control
KNX_DIR_UP
KNX_DIR_DOWN = 9 //Down
KNX_DIR_STOP = 0 //Stop

Functions Available In KNX_Tools.axi

The following functions are available in file KNX_Tools.axi for programming:
Functions Available In KNX_Tools.axi
Function

KNXSet

KNXGet

KNXPoll

KNXAdd

KNXWhenPoll

NXB-KNX Operation/Reference Guide
= 9
//Brighter
= 1
//Darker
= 0
//Dimming Stop
= 1 //UP
Description
Syntax:
KNXSet (<NXB-KNX Device >,<actor No>,<Value>)
Function: Sets actuator <actor No> to <Value>.
Note: The module limits the value range automatically to the maximum range of the
selected actuator type.
Example:
KNXSet (dvKNX,13,1)
Syntax:
KNXGet (<NXB-KNX Device>,<actor No>)
Function: Gets the value of actuator <actor No> to <Value> stored in module.
Example:
nVAL = KNXGet (dvKNX,13)
Syntax:
KNXPoll (<NXB-KNX Device>,<actor No>)
Function: Polls the actuator <actor No>
Example:
KNXPoll (dvKNX,13)
Syntax:
KNXAdd (<NXB-KNX Device>,<actor No>,<Type>,
<Group Address>,<Flags>)
Function: Adds entry to KNX table (description of parameters see above).
Example:
KNXAdd (dvKNX,13,KNX2Byte,'1/0/206',"knxPollstart")
Syntax:
KNXWhenPoll (<NXB-KNX Device>,<actor No1>,<actor No2>)
Function: Adds a poll trigger.
Note: Value report from <actor No1> triggers polling on <actor No2>.
Example:
KNXWhenPoll (dvKNX,13,20)
NetLinx Programming
37

Advertisement

Table of Contents
loading

Table of Contents