AMX CAFE DUET STANDARD NETLINX API (SNAPI) DEVICES Instruction Manual page 127

Standard netlinx api (snapi) r 1.8.0 devices
Table of Contents

Advertisement

Disc Device Functions (Cont.)
Name
processDebugEvent(int)
processDeviceOnLineEvent(boolean)
processPassbackEvent(byte[])
cyclePower()
setPower(ON)
setPower(OFF)
setPower(ps)
setPowerSensor(nld,nIOChan)
processPowerEvent(ON)
Standard NetLinx API (SNAPI) R 1.8.0
Component
Channel Level Command
IModuleComponentListener
IModuleComponentListener
251
IModuleComponentListener
IPowerComponent
9
IPowerComponent
27
IPowerComponent
28
IPowerComponent
255
IPowerComponent
IPowerComponentListener
255
Constant
DEBUG-<state>
DEVICE_COMMUNICATIN
G
POWER
PWR_ON
PWR_OFF
POWER_ON
IOLINK-<dps>,<chan-
nel>
POWER_FB
Notes
Debug state changed where <state> is 1-4
for ERROR, WARNING, DEBUG, INFO
Feedback Channel: Communication is
established with device while channel is on
When passback is on, each string received
form the device is sent to the NetLinx pro-
gram as a string. Use a DATA_EVENT
event with a STRING handler to caputre
the data from the device.
Momentary Function Channel: Cycle power
when channel is activated
Momentary Function Channel: Power is
turned on when channel is activated
Momentary Function Channel: Power is
turned off when channel is activated
Discrete Function Channel: Power is on
while channel is active
Associate a Power Sensor with the device
where <dps> is the DPS in string form, i.e.
17:1:0, and <channel> is the channel on
the IO device to which the power sensor is
connected.
Feedback Channel: Power state changed,
power is on while channel is on
123

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cafe duet

Table of Contents