need help on Universal Power Bus
aldous
Posts: 35
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
0
Comments
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.
http://www.xpl4java.org/UPB4Java/UPB4Java/docs/api/
http://www.xpl4java.org/UPB4Java/
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.
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.
What's the comm set up and pin out for the PIM?
One pin of the pim has to be held high for it to transmit to you.