- 20 -
6
Appendix B – EIB_Tools.AXI
We recommend not to use the send commands directly, but always utilize 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:
The following functions are available in file EIB_Tools.AXI for programming:
EIBSet (<Virtual Device>,<AMXNo>,<Value>)
Function:
Sets actuator <AMXNo> to <Value>
The module limits the value range automatically to the maximum range of the selected actuator.
Example:
EIBSet (vdvEIB,13,1)
EIBGet (<Virtual Device>,<AMXNo>)
Function:
Gets the value of actuator <AMXNo> to <Value> stored in module
Example:
nVAL = EIBGet (vdvEIB,13)
EIBPoll (<Virtual Device>,<AMXNo>)
Function:
Polls the actuator <AMXNo>
Example:
EIBPoll (vdvEIB,13)
EIBAdd (<Virtual Device>,<AMXNo>,<Type>,<Group Address>,<Flags>)
Function:
Adds entry to EIB table (description of parameters see above)
Example:
EIBAdd (vdvEIB,13,eib2Byte,’1/0/206’,”eibPollstart”)
EIBWhenPoll (<Virtual Device>,<AMXNo1>,<AMXNo2>)
Function:
Adds a poll trigger. Value report from <AMXNo1> triggers polling on <AMXNo2>.
Example:
EIBWhenPoll (vdvEIB,13,20)