USP3/CN AMX Control
Posted 07 November 2003 - 03:04 AM
Has anyone done this? Are there any tricks to doing this? In particular I am looking for a sample string to control an amp - just to understand the string structure. I have previously controlled USM810 via serial, but the protocol has obviously changed. Can you help by maybe translating one of the examples in the UDP/IQ network control protocol.
Posted 10 November 2003 - 10:16 AM
I found the following example...
This example will attempt to turn on the power on channel 1 of a Crown PIP-USP3/CN with IQ address 45 at IP address 192.168.1.45.
1. From the OIF file (PSN100.OIF), or by using the OIF Utility, find the ?Channel 1 Power? object definition and determine the Object ID and Data Type. In this case, the Object ID is 2000 and the Data Type is ?Logical.?
2. Form the UDP packet with the following field values:
Field Size (bytes) Value Notes
Delimiter 2 0x4951 ASCII ?IQ?
Size 4 22 The size of the entire message
Message ID 2 6 idSetState
Flags 2 256 Protocol version 1
Source IQ Ad 2 64100 Anything between 64000 and 65530
Message Tag 2 0 Not used
Destination IQ Ad 2 45 IQ address of this component
Count 2 1 Only one object in this message
Object ID 2 2000 Object ID of ?Channel 1 Power?
Data Length 1 1 The data type ofthis object in the OIF file
is ?Logical,? which is one byte in length. We
then derive the value of this field from
the Data Lengths table above.
State Value 1 1 Value of for Boolean ?On?
3. Send the UDP packet to port 5600 at IP address 192.168.1.45.
Hope that helps. I have also attached the PDF this information came from.
Posted 10 November 2003 - 01:17 PM
If you haven't already you may also want to check out the Readme file in the UDP/IQ developers Kit. It has a description for using the .OIF Utility. This Utility will help in getting the attributes from the units .OIF pertaining to the particular object you wish to control.
The .OIF for the USP-3CN is called: PSN100.oif.
The content of any .OIF can be viewed through MS Windows Notepad this will help you make sure you are using the correct .OIF.
Posted 10 November 2003 - 04:51 PM
Posted 02 March 2004 - 02:16 PM
Since the message format embeds the IQ address only (not the IP), will the USP3 strip the control system IP info and respond directly to that address, or will send a broadcast response to all parties? Any help is appreciated.
Posted 03 March 2004 - 08:30 AM
I am not sure of all the aspects of your question, so I have started discussions with the IQ Engineers. I will get back to you as soon as I get additional information.
Posted 03 March 2004 - 11:55 AM
Posted 03 March 2004 - 02:15 PM
Posted 03 March 2004 - 02:26 PM
I am still working on the other post. Like I said, I have not done this myself yet so I want to ensure that I get you the correct answer.
Posted 01 April 2004 - 04:59 PM
I've written some AMX-Code to control USP3/CN-Cards via Ethernet. It has worked. If you are still interested - tell me...
Posted 09 August 2004 - 09:55 PM
is it possible to control the older USP2 cards through the same UDP protocol via a PC running IQ gateway?
Theoretically, it seems possible since the UDP protocol only requires an IQ address.
Posted 10 August 2004 - 08:39 AM
Posted 11 August 2004 - 01:37 AM
thank you for the reply. will definitely try it out physically one of these days and post the outcome of the test.