07-31-2007, 04:45 AM
08-01-2007, 06:49 AM
Hi,
I tried this but it amounts to sending individual commands to the Comfort.
Let me explain in more detail as to what I am looking for.
Each lighting zone(a room) can have one or many lights, using touch screen control, when I navigate to a zone, I want to see want\'s On or Off.
To query a zone, I would like to have a response that will query specific outputs on that zone eg O?89, O?81 etc and based on the response eg OP8901/00 I can state that the Lounge light is On or OFF.
Can you look into :
1. Query an Input or Output in a Response
2. Have a Response with raw RS232 commands
Thanks
I tried this but it amounts to sending individual commands to the Comfort.
Let me explain in more detail as to what I am looking for.
Each lighting zone(a room) can have one or many lights, using touch screen control, when I navigate to a zone, I want to see want\'s On or Off.
To query a zone, I would like to have a response that will query specific outputs on that zone eg O?89, O?81 etc and based on the response eg OP8901/00 I can state that the Lounge light is On or OFF.
Can you look into :
1. Query an Input or Output in a Response
2. Have a Response with raw RS232 commands
Thanks
08-01-2007, 01:06 PM
Only the Y? command will give you all the outputs. Give us the Comfort and UCM version numbers to check if these will work for your system
08-01-2007, 06:48 PM
Hi,
UCM chip is 5.92
Version is FE0536222001
Y? retruns Y?0000
Comfort Ultra version 5.054
Thanks
UCM chip is 5.92
Version is FE0536222001
Y? retruns Y?0000
Comfort Ultra version 5.054
Thanks
Guest
08-02-2007, 02:50 AM
Y?0000 would mean all outputs 1-64 are all off.
08-02-2007, 05:00 AM
Hi,
I now see where we are missing each other.
The outputs I was referring to was SCS/RIO outputs.
Any alternatives in this area ?
Please help me with this bit of confusion.
On the response page/function, I have fixed all the responses numbers I would be using via the touch screen interface. But of lately after adding more responses and downloading to Comfort, the reponses numbers are not in sync.
eg sending RS232 commands for a specific response is being executed on another response.
Any thoughts on why this might be happening ?
Thanks again
I now see where we are missing each other.
The outputs I was referring to was SCS/RIO outputs.
Any alternatives in this area ?
Please help me with this bit of confusion.
On the response page/function, I have fixed all the responses numbers I would be using via the touch screen interface. But of lately after adding more responses and downloading to Comfort, the reponses numbers are not in sync.
eg sending RS232 commands for a specific response is being executed on another response.
Any thoughts on why this might be happening ?
Thanks again
Guest
08-02-2007, 05:18 AM
If you want the output status of the RIO outputs, you should send y? and not Y? (note the lower case character) to query.
As for the wrong response being executed, what string are you sending? Note that Comfort II Ultra has 2 byte responses, so did you send to the right response?
As for the wrong response being executed, what string are you sending? Note that Comfort II Ultra has 2 byte responses, so did you send to the right response?
08-02-2007, 05:30 AM
Hi,
Thanks for clearing this one up, I will test and feed back.
With regards to the response numbers, I am pretty sure I am using the right code.
Take this example at one stage response number 100 was TV Room Lights, RS232 command sent is R!64.
If I look at my response table now, Tv Room Lights shows up fixed in response number 116
Sending R!74 is turning some other outputs on, but sending R!64 turns the Tv Room Lights on.
It would seem that the response numbers are out of sync.
Thanks
Thanks for clearing this one up, I will test and feed back.
With regards to the response numbers, I am pretty sure I am using the right code.
Take this example at one stage response number 100 was TV Room Lights, RS232 command sent is R!64.
If I look at my response table now, Tv Room Lights shows up fixed in response number 116
Sending R!74 is turning some other outputs on, but sending R!64 turns the Tv Room Lights on.
It would seem that the response numbers are out of sync.
Thanks
08-02-2007, 12:25 PM
[user=6]adlim[/user] wrote:
Correction to this statement
Y?0000 means that 16 outputs (1 to 16 are off)
The parameter consists of inidividual bits representing an output
eg
Y?858F means
1st byte 85 is for outputs 1 to 8, 1st byte 8F is for outputs 9 to 16
The least significant bit is the lowest numbered output
In the example
O/P 1 is ON
O/P 2 is OFF
O/P 3 is On
O/P 4 is Off
O/P 5 is Off
O/P 6 is Off
O/P 7 is Off
O/P 8 is ON
O/P 9 is ON
O/P 10 is ON
O/P 11 is On
O/P 12 is ON
O/P 13 is Off
O/P 14 is Off
O/P 15 is Off
O/P 16 is ON
There are only 16 outputs reported because there are no slaves
The command only reports outputs which exist
There is a similar command for Inputs/Zones Z? and for RIO inputs z?
I hope this makes it clearer
Quote:Y?0000 would mean all outputs 1-64 are all off.
Correction to this statement
Y?0000 means that 16 outputs (1 to 16 are off)
The parameter consists of inidividual bits representing an output
eg
Y?858F means
1st byte 85 is for outputs 1 to 8, 1st byte 8F is for outputs 9 to 16
The least significant bit is the lowest numbered output
In the example
O/P 1 is ON
O/P 2 is OFF
O/P 3 is On
O/P 4 is Off
O/P 5 is Off
O/P 6 is Off
O/P 7 is Off
O/P 8 is ON
O/P 9 is ON
O/P 10 is ON
O/P 11 is On
O/P 12 is ON
O/P 13 is Off
O/P 14 is Off
O/P 15 is Off
O/P 16 is ON
There are only 16 outputs reported because there are no slaves
The command only reports outputs which exist
There is a similar command for Inputs/Zones Z? and for RIO inputs z?
I hope this makes it clearer
08-02-2007, 12:48 PM
Thanks for that, I will play around with this and feed back soon.
Would I be able to see outputs status for all of my 12 SCS/RIO\'s ?
Also,
On the response page/function, I have fixed all the responses numbers I would be using via the touch screen interface. But of lately after adding more responses and downloading to Comfort, the reponses numbers are not in sync.
Take this example at one stage response number 100 was TV Room Lights, RS232 command sent is R!64.
If I look at my response table now, Tv Room Lights shows up fixed in response number 116
Sending R!74 is turning some other outputs on, but sending R!64 turns the Tv Room Lights on.
It would seem that the response numbers are out of sync.
Would I be able to see outputs status for all of my 12 SCS/RIO\'s ?
Also,
On the response page/function, I have fixed all the responses numbers I would be using via the touch screen interface. But of lately after adding more responses and downloading to Comfort, the reponses numbers are not in sync.
Take this example at one stage response number 100 was TV Room Lights, RS232 command sent is R!64.
If I look at my response table now, Tv Room Lights shows up fixed in response number 116
Sending R!74 is turning some other outputs on, but sending R!64 turns the Tv Room Lights on.
It would seem that the response numbers are out of sync.