![]() |
|
Serial Ucm - 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: Serial Ucm (/thread-1399.html) |
- dcrera - 03-12-2009 Hi I writing a serial driver that interfaces with Comfort. Is there a way I can see any activitity on Comfort\'s UCM via Comfigurator or any other software ? Thanks - admin - 03-12-2009 In Comfigurator, the Monitor I/O window allows you to see all communications between the PC and the UCM. This includes reports of events etc The Comfort Bus Monitor allows all communications on the Comfort Bus to be monitored. If you highlight any line there is a description of the message What sort of application are you writing - dcrera - 03-12-2009 Hi, The UCM is connected to a third party device which sends serial data to Comfort. Comfort\'s UCM therefore has no access to the PC\'s com port. Thanks - admin - 03-12-2009 If you need to see the communication between the UCM and the other device you need to connect the serial data lines on pin 2 and 3 to another Rs232 port. You will only be able to see one side of the transmission at a time ie UCM to device or Device to UCM perhaps using a switch - dcrera - 03-12-2009 Can I have a schematic for this ? Please !! Thanks - admin - 03-12-2009 see attached This is a connection cable between the UCM and another 3rd party serial device assuming that that device has a female DB9 connector just like the UCM Hence the UCM is connected to the 3rd party device via a Male to Male DB9 connection. Both UCM and the 3rd party device will Transmit data on pin 2 and Receive Data on Pin 3 (being DCE devices). This is why the pins 2 and 3 on both connectors must be crossed over (2 to 3 and 3 to 2) The monitoring cable which goes to the PC goes to Pin 2 of the FEMALE DB9 connector which plugs into the PC (which has a Male DB9). The PC being a DTE receives data on Pin 2 Hence the switch will connect the PC receive Pin to the transmit side of either the UCM or the 3rd party device See this link for a better description of Rs232 connections http://www.bb-elec.com/bb-elec/literature/tech/faq_rs232_connections_work.pdf - dcrera - 03-12-2009 Hi Is it a problem if I duplicate all pins to a 3 way serial D9 connector project box without a switch ? In this way Comfort can see all - dcrera - 03-13-2009 Is it possible to make a 3 way serial port ie PC to Device or PC to UCM. Both will not communicate at the same time thou. Thanks - ident - 03-14-2009 If you connect all the pins together, the transmit pins wil be shorted together and will corrupt the transmission. The switch allows you to monitor each direction but not both at a time. More sophisticated circuits may allow you to see both at a time Otherwise you can use two Rs232 ports to see both sides using two windows A useful device called a breakout box is shown here http://www.winfordeng.com/products/brktd9.php useful for experimentation purposes - dcrera - 03-16-2009 Hi, Thanks for the feed back. When sending a command string to Comfort\'s UCM eg LI1234 How is data presented to the UCM or what is representation of LI1234 ? I am writing a driver and sending LI1234 from a third party control device is represented as $4c$$49$$31$$32$$33$$34$ (which is not recognized by Comfort) Can you post the UCM\'s data expectation of the LI1234 so that I can debug. Thanks |