59
2012-2015 Reliable Controls Corporation
MULTISTATE VARIABLES
USER GUIDE
PROGRAMMING
SMART-SPACE CONTROLLER
™
MULTISTATE VARIABLES
Multistate variables are supported by the SMART-Space Controller, and by RC-Studio
update 1.50, or later. Multistate variables are created by selecting multistate range units
when creating a new variable with RC-Studio. Multistate values are similar to binary values,
except that they have more than two states.
The following multistate ranges are supported:
• Off/Low/High
• Low/High/Auto
• Off/On/Auto
• Cool/Heat/Auto
• Cool/Heat/Auto/Off
• Off/Low/High/Auto
• Off/Low/Medium/High
When evaluating a multistate variable in
Control-BASIC, the actual value is an
integer representing the current state.
For example, multistate variable
MV1 with a Cool/Heat/Auto/Off
range will return the following integer values.
10 A = MV1
A = 1 when MV1 is in the Cool state
A = 2 when MV1 is in the Heat state
A = 3 when MV1 is in the Auto state
A = 4 when MV1 is in the Off state
The lowest value associated with any multistate range is always 1