![KMC Controls FlexStat Application Manual Download Page 23](http://html.mh-extra.com/html/kmc-controls/flexstat/flexstat_application-manual_1979547023.webp)
FlexStat (General)
23
Application Guide, Rev L
Customizing the Motion Sensor and Override
When the occupancy sensor function is disabled from the menu, the
built-in applications will not use it. Even then, however, the sensor input
(BI6) can be read and used in a custom program. An example Control
Basic program (for BACstage or TotalControl) that turns occupancy on
(or retriggers) for a set time after the
LAST
detection (during a sched-
uled “off” time) is:
REM MOTION SENSOR OCCUPANCY CONTROL OPERATION CODE
ONLY
LOCALS MOTION_SENSOR
LOCALS OVERRIDE_TIMER
OVERRIDE_TIMER = AV16
IF OVERRIDE_TIMER <= 0 THEN
GOTO SKIP_OCC_CONTROL
ENDIF
IF MODELNUMBER > 11000 THEN
MOTION_SENSOR = BI6
IF MOTION_SENSOR THEN
START BV1@8
ENDIF
IF TIMEOFF( MOTION_SENSOR ) > ( OVERRIDE_TIMER *
3600 ) THEN
RLQ BV1@8
ENDIF
ENDIF
SKIP_OCC_CONTROL:
REM CONTINUE WITH ADDITIONAL CODE
NOTE: For this custom program to function, Occupancy Override time
in the System menu must
not
be set to 0.
NOTE: Unlike this custom program, the
built-in
program turns
occupancy on for a set time after the
FIRST
detection (during
a scheduled “off” time). The built-in program is “non-
retriggering.”
NOTE: See important information about custom programming in
Custom Programming on page 8
.
Enabling/Disabling the Sensor and Override Time
In relevant models, the motion sensor may be used to trigger occupancy
override. The sensor function is enabled or disabled from the Motion
Sensor menu (firmware version R1.2.0.6 and later).
During scheduled “off/unoccupied” times,
the motion sensor (when
enabled) will start occupancy override (for 1 hour as a default) when it
detects motion. Occupancy override will end (with the default setting)
1 hour after motion was
FIRST
detected. (This functions similarly to
the override when a setpoint change is detected at the FlexStat’s user
interface.) The timer length of occupancy override is configurable in the
System menu. For the built-in programs, if this number is set to 0, the
override state will last until the next schedule change.
NOTE: Firmware R1.0.0.0 and
earlier did not support this
sensor within the built-
in selectable programs.
Custom programming was
required.
MAIN MENU
ABOUT
ADVANCED
ALARM
DATE/TIME
SCHEDULE
SETPOINTS
SYSTEM
MAIN MENU
ADVANCED
ALARM
DATE/TIME
SCHEDULE
SETPOINTS
SYSTEM
TREND VIEWER
SYSTEM
SYSTEM ENABLE: AUTO
OCC OVRIDE (HRS):
INACTIVITY (SECS): 60
DISPLAY BLANKING: NO
1.0
NOTE: The State field in the Motion Sensor menu monitors whether
motion has been detected during the last scan of the motion
sensor input (BI6). Detected motion will momentarily show an
“occupied” state. This can be used during troubleshooting to
determine if motion is being detected.
ADVANCED
APPLICATION
CB PROGRAMS
COMMUNICATION
DATE/TIME
DEVICE
INPUTS
LIMITS
APPLICATION
DEGREES SCALE: °F
APP: FAN COIL
OPT: 4-PIPE
ADDITIONAL SETUP
ADDITIONAL SETUP
FAN
HUMIDITY
MOTION SENSOR
OPTIMUM START
SENSORS
VALVE
MOTION SENSOR
OCC OVERRIDE:
STATE: OCCUPIED
STANDBY: DISABLE
ENABLE