Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rs232 Comms
#11
Hi,

If DO would will give me the disired results then that\'s what I will DO.

Thanks

 
Reply

#12
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
Reply

#13
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

Reply

#14
Hi,

UCM chip is 5.92

Version is FE0536222001

Y? retruns Y?0000

Comfort Ultra version 5.054

Thanks   
Reply

#15
Y?0000 would mean all outputs 1-64 are all off.
Reply

#16
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

 

 
Reply

#17
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?
Reply

#18
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
Reply

#19
[user=6]adlim[/user] wrote:
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



Reply

#20
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.


Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Powered By MyBB, © 2002-2026 Melroy van den Berg.