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

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

Advertisement

Motor Functions (Cont.)
Name
processPassbackEvent(byte[])
cycleMotorPreset()
getMotorPreset()
setMotorDirection(STOP)
setMotorDirection(OPEN)
setMotorDirection(CLOSE)
setMotorPosition(position)
setMotorPreset(preset)
processMotorDirectionEvent(STOP)
processMotorDirectionEvent(OPEN)
processMotorDirectionEvent(CLOSE)
processMotorPositionEvent(int)
processMotorPresetEvent(int)
166
Component
Channel Level Command
IModuleComponentListener
IMotorComponent
187
IMotorComponent
IMotorComponent
2
IMotorComponent
4
IMotorComponent
5
IMotorComponent
IMotorComponent
IMotorComponentListener
2
IMotorComponentListener
4
IMotorComponentListener
5
IMotorComponentListener
IMotorComponentListener
Constant
MOTOR_PRESET
?MOTORPRESET
MOTOR_STOP
MOTOR_OPEN
MOTOR_CLOSE
6
MOTOR_POS_LVL
MOTORPRESET-<pre-
set>
MOTOR_STOP_FB
MOTOR_OPEN_FB
MOTOR_CLOSE_FB
6
MOTOR_POS_LVL
MOTORPRESET-<pre-
set>
Notes
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 Motor
preset when channel is activated
Query for Motor preset, responds with
MOTORPRESET-<preset>
Momentary Function Channel: Set Motor
direction to stop, causing motor to stop
between opened and closed
Momentary Function Channel: Set Motor
direction to open, causing motor to move in
the OPEN direction
Momentary Function Channel: Set Motor
direction to close, causing motor to move in
the CLOSE direction
Recall Motor position, range is 0-255, 0 is
close, 255 is open
Set Motor preset where <preset> is 1
through x where x is the maximum sup-
ported preset (see specific module docu-
mentation)
Feedback Channel: Motor is stopped
between opened and closed
Feedback Channel: Motor direction is
open, motor is moving to the OPEN posi-
tion or is open
Feedback Channel: Motor direction is
close, motor is moving to the CLOSE posi-
tion or is closed
Motor position changed, range is 0-255, 0
is close, 255 is open
Motor preset changed where <preset> is 1
through x where x is the maximum sup-
ported preset (see specific module docu-
mentation)
Standard NetLinx API (SNAPI) R 1.8.0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cafe duet

Table of Contents