KMC Controls
14
Setpoint The button 2 function up and down arrow buttons is
assigned to an analog variable in KMD controllers or an analog value
object in BACnet controllers.
◆The precision of the display is set by Range in WinControl and
Display Format in BACstage. The typical value is 0.
◆Operators can view and change the setpoint by pressing the
up or down arrow buttons.
◆Write a Control Basic to control equipment based on the
conditions of the setpoint.
10 IF VAR2 < VAR1 THEN START OUT6
Displaying time Typically button 5 is configured to display time. It is
assigned to an analog variable in KMD controllers or an analog value
object in BACnet controllers. Add a Control Basic line as follows:
10 VAR5 = TIME
Verifying a functioning NetSensor Use NETSENSOR-STATUS in a
Control Basic program to check if a functioning NetSensor is
connected to the controller.
10 IF NOT NETSENSOR-STATUS THEN STOP OUT1
Verifying firmware version Simultaneously push Button 1 and Button
4 to display the version of the firmware in the NetSensor.
Motion sensing Program the Auxiliary function to detect motion in
the room.
• A value of -1 indicates motion
• A value of -2 indicates no motion
• A value of 0 or 1 indicates the auxiliary function is active.
The following Control Basic program detects motion and changes the
state of variable VAR9.
10 IF+ VAR8 = -1 THEN START VAR9 , STOP A
20 IF VAR8 = -2 THEN START A
30 IF TIME-ON( A ) > 0:02:00 THEN STOP VAR9