NetLinx Programming
36
NXB-KNX Operation/Reference Guide
DEFINE_MODULE 'AMX_KNX_Updater' Updater(dvKNX, lKNX_Value) //Module handles update
//of array for feedback control
DEFINE_MODULE 'AMX_NXB_MOD' nxbMod(dvKNX) //Module handles remote
//logging from NXB-KNX
//as well as facilitates
//List Save and
//List Load functions
DEFINE_EVENT
...
DATA_EVENT[dvKNX]
{
ONLINE :
{
SEND_COMMAND dvKNX,'LIST LOAD MyTable.txt'
}
}
BUTTON_EVENT[dvTP,1]
{
PUSH:
{
KNXSet(dvKNX,1,1) // Light 1 ON
KNXSet(dvKNX,16,128) // Ballast to 50% Light 2
KNXSet(dvKNX,12,10) // Dimmer up Light 3
}
RELEASE:
{
KNXSet(dvKNX,12,0) // Dimmer Stop Light 3
}
}
CHANNEL_EVENT [dvKNX, 2] // Feedback Light 1
{
ON:
{
ON[dvTp,31]
}
OFF:
{
OFF[dvTp,31]
}
}
LEVEL_EVENT[dvKNX,21] //Feedback Level light 2
{
SEND_LEVEL dvTP,1,LEVEL.VALUE
}
DEFINE_PROGRAM
Содержание NetLinx NXB-KNX
Страница 6: ...iv NXB KNX Operation Reference Guide Table of Contents ...
Страница 56: ...One Time Upgrade of the NXB KNX to a Native NetLinx Device 50 NXB KNX Operation Reference Guide ...
Страница 64: ...Appendix A Telnet Commands 58 NXB KNX Operation Reference Guide ...
Страница 67: ...Programming Telnet Commands 61 NXB KNX Operation Reference Guide ...