need help on Universal Power Bus
aldous
Junior Member
Hi,
I am just doing my research on controlling UPB (Universal Power Bus) devices from AMX (NXI controller). I have a few questions:
1. Can I use a normal RS232 port to controls UPB's? OR I need something different. (I saw AMX has a X10 card for X10 control but nothing about UPB)
2. Is all the UPB devices using the same serial commands for control? (i.e. can I connect different manufactures devices and control with the same serial commands)
3. Any one here has experience controlling UPB with AMX? Where can I find the commands for serial control?
Thanks very much,
Aldous
I am just doing my research on controlling UPB (Universal Power Bus) devices from AMX (NXI controller). I have a few questions:
1. Can I use a normal RS232 port to controls UPB's? OR I need something different. (I saw AMX has a X10 card for X10 control but nothing about UPB)
2. Is all the UPB devices using the same serial commands for control? (i.e. can I connect different manufactures devices and control with the same serial commands)
3. Any one here has experience controlling UPB with AMX? Where can I find the commands for serial control?
Thanks very much,
Aldous
Comments
-
Aldous
1. UPB can be controlled by communication to the PIM/CIM RS232.
2. All UPB devices use the same protocol.
The protocol is very confusing as it is written in a style like machine language (literal hex strings).
GSLogic has a module for sale which has two-way communication to all devices, loading device name/location, used defined Groups/Links (scenes), and user defined on/off/sunset/sunrise. -
-
-
Yes you could adapt this for Duet use.
-
This may be a bit late, but UPB is very controllable from Netlix via serial commands. It took a while to get the hang of the protocol, but is is quite good once you get it. It gets more complicated if you want to track actual lighting levels.
You will need a transmit queue for outgoing commands.
I wrote CALLs for various functions like device or link level changes, status reads etc.
Prepare to use the FORMAT statement when writing your strings. -
Here is an example call for sending a link to a certain level:
DEFINE_CALL 'UPB LINK GOTO'(nLINK,nLEVEL) { SEND_COMMAND vdvUPB_Q,"$14,'8800',FORMAT('%02X',nUPB_NID),FORMAT('%02X',nLINK),'FF22',FORMAT('%02X',nLEVEL),FORMAT('%02X',256-((nUPB_NID+nLINK+425+nLEVEL) BAND $FF)),$0D" }
I am sending the commands to a queue (vdvUPB_Q), not directly to the PIM module.
nLINK is the link I want to change and nLEVEL is the level I want it to go to. -
Which protocol reference are you using?
-
-
That will definitely take some time to digest!
What's the comm set up and pin out for the PIM? -
9600,N,8,1 straight cable
One pin of the pim has to be held high for it to transmit to you.
Leave a Comment
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums
