Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rs232 Comms
#1
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
Reply

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

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

 
Reply

#4
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.
Reply

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

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

#7
Hi,

I tried that.

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

Thanks

 

 
Reply

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

#9
Hi,

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

Thanks

 
Reply

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


Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

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