Relay Device Component - AMX CAFE DUET STANDARD NETLINX API (SNAPI) COMPONENTS AND LISTENERS Instruction Manual

Standard netlinx api (snapi) r 1.8.0 components/listeners
Table of Contents

Advertisement

Relay Device Component

Component
Name: Relay Device Component
Interface: IRelayDeviceComponent
Component Functions:
Name:
Channel:
Level: Command:
getRelayChannelCount()
getRelayChannel-
State(rly-chan)
setRelayChannel-
State(rly-chan, OFF)
setRelayChannel-
State(rly-chan, ON)
setRelayChannel-
State(rly-chan, rly-state)
Listener
Name: Relay Device Component Listener
Interface: IRelayDeviceComponentListener
Listener Functions:
Name:
Channel:
Level: Command:
processRelayChannel-
Count
processRelayChannel-
State
processRelayChannel-
State
processRelayChannel-
State
Standard NetLinx API (SNAPI) R 1.7.0
IRelayDeviceComponent
Constant:
?RELAYCHANNELCOUNT
?RELAYCHANNELSTATE-<rly-
chan>
RELAYCHANNELSTATE-<rly-
chan>,OFF
RELAYCHANNELSTATE-<rly-
chan>,ON
RELAYCHANNELSTATE-<rly-
chan>,<rly-state>
IRelayDeviceComponentListener
Constant:
RELAYCHANNELCOUNT-<count>
RELAYCHANNELSTATUS-<rly-
chan>,OFF
RELAYCHANNELSTATUS-<rly-
chan>,ON
RELAYCHANNELSTATUS-<rly-
chan>,<rly-state>
Notes:
Query for the number of channels on a relay device, responds with RELAYCHANNEL-
COUNT
Query for the relay channel state, where <rly-chan> is the integer channel number,
responds with RELAYCHANNELCOUNT
Sets the relay channel state to OFF, where <rly-chan> is the integer channel number
Sets the relay channel state to ON, where <rly-chan> is the integer channel number
Sets the relay channel state, where <rly-chan> is the integer channel number and <rly-
state> is ON or OFF
Notes:
Response to ?RELAYCHANNELCOUNT, where <count> is an integer value
Response to ?RELAYCHANNELSTATE, where <rly-chan> is the integer channel num-
ber
Response to ?RELAYCHANNELSTATE, where <rly-chan> is the integer channel num-
ber
Response to ?RELAYCHANNELSTATE, where <rly-chan> is the integer channel num-
ber and <rly-state> is ON or OFF
115

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cafe duet

Table of Contents