![AMX CAFE DUET Скачать руководство пользователя страница 170](http://html1.mh-extra.com/html/amx/cafe-duet/cafe-duet_instruction-manual_2938900170.webp)
Standard NetLinx API (SNAPI) R 1.8.0
166
Motor Functions (Cont.)
Name
Component
Channel Level Command
Constant
Notes
processPassbackEvent(byte[])
IModuleComponentListener
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.
cycleMotorPreset()
IMotorComponent
187
MOTOR_PRESET
Momentary Function Channel: Cycle Motor
preset when channel is activated
getMotorPreset()
IMotorComponent
?MOTORPRESET
Query for Motor preset, responds with
MOTORPRESET-<preset>
setMotorDirection(STOP)
IMotorComponent
2
MOTOR_STOP
Momentary Function Channel: Set Motor
direction to stop, causing motor to stop
between opened and closed
setMotorDirection(OPEN)
IMotorComponent
4
MOTOR_OPEN
Momentary Function Channel: Set Motor
direction to open, causing motor to move in
the OPEN direction
setMotorDirection(CLOSE)
IMotorComponent
5
MOTOR_CLOSE
Momentary Function Channel: Set Motor
direction to close, causing motor to move in
the CLOSE direction
setMotorPosition(position)
IMotorComponent
6
MOTOR_POS_LVL
Recall Motor position, range is 0-255, 0 is
close, 255 is open
setMotorPreset(preset)
IMotorComponent
MOTORPRESET-<pre-
set>
Set Motor preset where <preset> is 1
through x where x is the maximum sup-
ported preset (see specific module docu-
mentation)
processMotorDirectionEvent(STOP)
IMotorComponentListener
2
MOTOR_STOP_FB
Feedback Channel: Motor is stopped
between opened and closed
processMotorDirectionEvent(OPEN)
IMotorComponentListener
4
MOTOR_OPEN_FB
Feedback Channel: Motor direction is
open, motor is moving to the OPEN posi-
tion or is open
processMotorDirectionEvent(CLOSE)
IMotorComponentListener
5
MOTOR_CLOSE_FB
Feedback Channel: Motor direction is
close, motor is moving to the CLOSE posi-
tion or is closed
processMotorPositionEvent(int)
IMotorComponentListener
6
MOTOR_POS_LVL
Motor position changed, range is 0-255, 0
is close, 255 is open
processMotorPresetEvent(int)
IMotorComponentListener
MOTORPRESET-<pre-
set>
Motor preset changed where <preset> is 1
through x where x is the maximum sup-
ported preset (see specific module docu-
mentation)
Содержание CAFE DUET
Страница 16: ...Standard NetLinx API SNAPI R 1 8 0 12 ...
Страница 28: ...Standard NetLinx API SNAPI R 1 8 0 24 ...
Страница 34: ...Standard NetLinx API SNAPI R 1 8 0 30 ...
Страница 40: ...Standard NetLinx API SNAPI R 1 8 0 36 ...
Страница 46: ...Standard NetLinx API SNAPI R 1 8 0 42 ...
Страница 52: ...Standard NetLinx API SNAPI R 1 8 0 48 ...
Страница 58: ...Standard NetLinx API SNAPI R 1 8 0 54 ...
Страница 142: ...Standard NetLinx API SNAPI R 1 8 0 138 ...
Страница 148: ...Standard NetLinx API SNAPI R 1 8 0 144 ...
Страница 156: ...Standard NetLinx API SNAPI R 1 8 0 152 ...
Страница 172: ...Standard NetLinx API SNAPI R 1 8 0 168 ...
Страница 184: ...Standard NetLinx API SNAPI R 1 8 0 180 ...
Страница 192: ...Standard NetLinx API SNAPI R 1 8 0 188 ...
Страница 206: ...Standard NetLinx API SNAPI R 1 8 0 202 ...
Страница 220: ...Standard NetLinx API SNAPI R 1 8 0 216 Receiver State Charts processPowerEvent State Channel 255 OFF OFF ON ON ...
Страница 226: ...Standard NetLinx API SNAPI R 1 8 0 222 ...
Страница 239: ...235 Standard NetLinx API SNAPI R 1 8 0 Settop Box State Charts processPowerEvent State Channel 255 OFF OFF ON ON ...
Страница 240: ...Standard NetLinx API SNAPI R 1 8 0 236 ...
Страница 244: ...Standard NetLinx API SNAPI R 1 8 0 240 ...
Страница 252: ...Standard NetLinx API SNAPI R 1 8 0 248 ...
Страница 268: ...Standard NetLinx API SNAPI R 1 8 0 264 ...
Страница 302: ...Standard NetLinx API SNAPI R 1 8 0 298 ...
Страница 328: ...Standard NetLinx API SNAPI R 1 8 0 324 ...
Страница 343: ...Standard NetLinx API SNAPI Devices 339 Standard NetLinx API SNAPI R 1 7 0 ...