AMX Notes
AMX Notes
D:P:S
device numbers:
Master 0
1-255 AxLink Devices
301-3072 NetLinx Card Frames (discontinued)
5001 NetLinx Controller
5002 NetLinx Switcher Device
5003 - 10000 NetLinx ICSLan Devices (below):
start virtual devices at 33001 (range from 32001 - 33000 not typically used)
Port numbers:
port 1 = master
port 2 not used
System Numbers:
examples:
DEFINE_DEVICE
dvMaster = 0:1:0
the code could be written in the master with system 0 and then loaded to each
extended master
the master assigned system # can never be 0
style guide:
www.amx.com
products - development tools - netlin studio
right side has the style guide also in the resources in training
Events
event handlers:
* DATA_EVENT
* BUTTON_EVENT
* CHANNEL_EVENT
* LEVEL_EVENT
* TIMELINE_EVENT
button events:
push = on
release = off
hold = stay on until released
push:
{
to[xxxx]; //this turns on output channel for as long as button is pushed
}
push:
{
min_to[xxxx]; //this turns on output for push only for pulse time or released
which ever is longer
}
([dvRelays,SCREEN_UP],[dvRelays,SCREEN_DOWN],[dvRelays,SCREEN_STOP])
([dvRelays,SCREEN_UP]..[dvRelays,SCREEN_STOP])
and combine
([dvRelays,SCREEN_UP]..[dvRelays,SCREEN_STOP],[dvRelays,SCREEN_PRESET])
Feedback:
pseudo feedback = button received by master but not the actual status of device
(typical with IR)
true feedback = gives actual status of device but might not be possible with all
devices (serial or IP) or native netlinx devices
in the feedback channel