Comfort Home Automation/ Security System Forums Home
Home Search search Menu menu Not logged in - Login | Register
Comfort Home Automation/ Security System Forums > Products > UCM > Two-Way RS232 Comms possible??

Two-Way RS232 Comms possible??
 Moderated by: slychiu
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Sunday Jan 9th, 2011 08:51 am
   PM  Quote  Reply 
1st Post
Ingo
UCM Pi Users


Joined: Sunday Jan 21st, 2007
Location: South Africa
Posts: 543
Status: 
Offline

  back to top

Is it possible to read values from a third-party serial device connected to Comfort?

I started playing around with a Matrix Switcher and sending commands to it shouldn't be a problem. What I need to know is that the Matrix Switcher returns a character back to Comfort when the command has been successfully implemented/executed and I have to wait for this character before I can send the next command.

Thanks,
Ingo



 Posted: Sunday Jan 9th, 2011 09:37 am
   PM  Quote  Reply 
2nd Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 4231
Status: 
Offline

  back to top

The Send RS232 command can work with a standard UCM/232 to send any text or hexadecimal comand to a 3rd party system provided the communications is 9600 bits per second, 8 data bytes, 1 stop bit, no partity which is most commonly used

The Universal UCM (in beta test) will allow other communications settings to be handled and will also allow messages from the third party device to be received and mapped to comfort

You want to wait for a reply from the switcher before sending the next command.  The Universal UCM can map the incoming data to a counter, and the Counter response can send the next data or do other logic which allows you to send the next command



 Posted: Sunday Jan 9th, 2011 09:51 am
   PM  Quote  Reply 
3rd Post
Ingo
UCM Pi Users


Joined: Sunday Jan 21st, 2007
Location: South Africa
Posts: 543
Status: 
Offline

  back to top

That is 100% correct, I can send commands to connect different inputs to outputs but I cannot check the Matrix status or do handshaking.

The handshaking is not a real problem as I can add a delay in the code before sending the next command, it's the status check of all the inputs that I cannot do.

Typical status command would be: SL1I1T

The returned value is: SL1I1T(1)

The command above asks the Switcher to return the status of Level 1, Input 1. The returned value in brackets show the corrsponding output. In this case Input 1 maps to Output 1.

Now if I do the same when I have connected Input 1 to both Output 1 and 2 then I get the following: SL1I1T(1 2) 

When there is no connection active in the Matrix I get the following feedback: SL1I1T()

Is there no way to get these values back to Comfort via my old UCM/232 or do I now need a UCM/Universal to be able to read the input values?

Ingo



 Posted: Wednesday Jan 12th, 2011 01:02 pm
   PM  Quote  Reply 
4th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 4231
Status: 
Offline

  back to top

You need the Universal UCM to read the values and assign it to a counter, sensor,  or keypad key or other commands.
The counter response can be used to act on the values received, and perhaps send something to Comfort Client



 Current time is 05:02 pm
Comfort Home Automation/ Security System Forums > Products > UCM > Two-Way RS232 Comms possible??
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems