User Guide
Using the NetLinx Module to Program the ViewStat
51
ViewStat Communicating Thermostat
Using the NetLinx Module to Program the
ViewStat
AMX_ViewStat NetLinx Module - Overview
The ViewStat Communicating Thermostat may be controlled from a NetLinx system using the
AMX_ViewStat NetLinx module. This module requires ViewStats to be connected through an
ICSNet interface.
The ViewStat module is designed to save you the work of manually coding the entire ViewStat
command set. By using the module, you’ll save time, and still take full advantage of the ViewStat’s
features. While it is strongly recommended that you use the NetLinx module, it is also possible to
write your own code "from scratch".
When connecting thermostats (thermostat/mini-verter pair), it is best to initialize each mini-verter
separately. If all mini-verter devices have the same device number and are on the bus at the same
time, an initialization problem can occur where all devices obtain the same new device
identification number. This is different from the serial number of the thermostat that is set locally at
the thermostat.
The ViewStat may be controlled from a NetLinx system using the AMX_ViewStat NetLinx
module. This module requires ViewStats to be connected through an ICSNet interface. The number
of thermostats is limited by the number of ICSNet devices that may be connected at one time to the
master. The initialization sequence is shown below.
DEFINE_DEVICE
VST = 34001:1:0
VST_1 = 1:1:0
VST_2 = 2:1:0
VST_OPS = 33001:1:0
DEFINE_VARIABLE
VST_ZoneCnt = 1
Scale = 1
dev VSTArry[] =
{
VST_1,
VST_2
}
integer VSTStatNum[] =
{
1,
1
}
DEFINE_MODULE 'AMX_VST' myVST (VSTArry, VST_OPS, VSTStatNum, VST_ZoneCnt, Scale)
For a detailed description of the NetLinx programming protocol for the ViewStat, refer
to the "ViewStat Programming Protocol Reference Manual", available on the
AMX.COM web site.