Comfort Automation/ Security System Forums
Rs232 Comms - Printable Version

+- Comfort Automation/ Security System Forums (https://www.comfortforums.com)
+-- Forum: Products (https://www.comfortforums.com/forum-3.html)
+--- Forum: UCMs (https://www.comfortforums.com/forum-146.html)
+--- Thread: Rs232 Comms (/thread-736.html)

Pages: 1 2 3 4


- dcrera - 07-30-2007

Hi,

When I query an output status eg O?89, I am returned with either OP8900 or OP8901 using Hyperterm.

If I query the status of an output using a Response with Get Value, I am returned a value of OK

Please explain why I am not getting either OP8900 or OP8901

Thanks


- Guest - 07-30-2007

That action (Get ouput state) is meant for conditional programming and not meant for querying.



- dcrera - 07-30-2007

Hi,

How can I create a response that will return the status of an output ?

I am doing a touch screen interface and I want to report the status of numerous outputs.

Thanks

 



- Guest - 07-30-2007

Doesn\'t the O? command work like you mentioned earlier? I would suggest that you change your program such that it would be able to handle the replies.



- dcrera - 07-30-2007

Hi,

The O? only works for single commands, I want to do a group using R! prefix.
Any ideas or alternatives for a group query.
 
Thanks again
 


- Guest - 07-30-2007

You could make use of the Y? or y? commands instead then.



- dcrera - 07-30-2007

Hi,

I tried that.

I expected a flood of status feedbacks but all I got was OK.

Thanks

 

 



- Guest - 07-30-2007

Could it be due to the version of the UCM/main board?



- dcrera - 07-30-2007

Hi,

I am using the UCM/Ethernet. What version no is compatible ?

Thanks

 



- ident - 07-30-2007

Not all UCM/Ethernet and Comfort versions support the Y? and y? commands. These were introduced at various stages over the years
Can you use the V? command (gives you Comfort version) and U? (UCM Version) and let us know what the replies are


The R! command causes Responses to be executed. Get Value of Ouput within the Response returns the value of the output to the next Action in the Response.
eg
Get Output 1
If value > 0 then...
Else
...
Endif

You can see from the above example , that it does not cause a OP reply on the UCM



Instead You can use the DA command (DO Action). DA4D 01 is Do Action 77 , 01 which means Get Output 1

This replies with RA followed by the value returned by the action, ie the value of Output 1
eg
DA4D10  (Get Output 16 - values are in hexadecimal)
RA01 (Return Value 1, meaning Output 16 is on)

I am not exactly sure what you want to achieve but I hope this is what you require