User Guide

67
Standard NetLinx API (SNAPI) R 1.8.0
Lamp
Component
Name: Lamp
Interface: ILampComponent
ILampComponent
Component Functions:
Name: Channel: Level: Command: Constant: Notes:
cycleLampPower() 9 POWER Momentary Function Channel: Cycle lamp power when channel is activated
getCoolDownTime() ?COOLDOWN Query for cool down time, responds with COOLDOWN-<time> where <time> is in sec-
onds
getLampTime() ?LAMPTIME Query for lamp time, responds with LAMPTIME-<time> where <time> is in hours
getWarmUpTime() ?WARMUP Query for warm up time, responds with WARMUP-<time> where <time> is in seconds
setCoolDownTime(secs) COOLDOWN-<time> Set cool down time where <time> is in seconds
setCounterNotifica-
tionOn(state)
COUNTERNOTIFY-<state> Turn counter notification on or off, where <state> is 1 or 0
setLampPower(OFF) 28 PWR_OFF Momentary Function Channel: Lamp power is turned off when channel is activated
setLampPower(ON) 27 PWR_ON Momentary Function Channel: Lamp power is turned on when channel is activated
setLampPower(ps) 255 POWER_ON Discrete Function Channel: Lamp power is on while channel is active
setLampTime(hours) LAMPTIME-<time> Set lamp time where <time> is in hours
setWarmUpTime(secs) WARMUP-<time> Set warm up time where <time> is in seconds
Listener
Name: Lamp Listener
Interface: ILampComponentListener
ILampComponentListener
Listener Functions:
Name: Channel: Level: Command: Constant: Notes:
processCoolDownCoun-
terEvent
COOLING-<time> Cool down counter time, <time> is seconds remaining
processLampPower-
Event
254 LAMP_COOLING_FB Feedback Channel: Indicates Lamp is cooling and cannot accept commands
processLampPower-
Event
255 LAMP_POWER_FB Feedback Channel: Indicates lamp is ON
processLampPower-
Event
253 LAMP_WARMING_FB Feedback Channel: Indicates Lamp is warming and cannot accept commands
processLampTimeEvent LAMPTIME-<time> Lamp time, <time> is elapsed hours
processWarmUpCoun-
terEvent
WARMING-<time> Warm up counter time, <time> is seconds remaining