9/26/2011 11:26 PM | |
Posts: 10 Rating: (0) |
Dear All, My project is using both CM RS232 and RS485: With RS232 used to send and receive data from RFID with baudrate 38.4Kb With RS485 used to send and receive data to PC with baudrate 9.6K I do not use any Port_CFG, SEND-CFG or REV-CFG to control sending and receiving data, I just active block by EN-REQ function. My problem: the system is not stable, sometime does not receive data, sometime receive old data. Does anyone has experience about this? Please advise me Thanks Thu AttachmentUntitled 1.pdf (93 Downloads) |
9/27/2011 12:16 PM | |
Posts: 3093 Rating: (322)
|
Hello Thu, without checking the ERROR/STATUS outputs it is quite hard to help you. Regards, Kaulquappe |
10/2/2011 6:48 AM | |
Posts: 10 Rating: (0) |
Dear All, Thank a lot for your advice. First, I'd like to explain more detail about my system: For RS232: as RFID with fix baudtare 38.4K so I can not reduce baudrate. Anyway, the distance is not over than 4 meters. For RS485: RS485 send data to PC via a wireless system so I have used Moxa W1251 to convert fromRS485 to wireless. My problem until now: For RS232: Sometimes, RS 232 can not receive data from RFID. I did a check status, there are 2 cases oferror: - Full buffer: error case80E0 - Length received data was not same declare: 1 instead of 25 as declare Question: how to clear automatically when errors occur? For RS485: status of RS485 alway 7000 (the send operation is not active) eventhough I see LED indicator flasing while sending data Please advise me Thanks Thu AttachmentUntitled 2.pdf (83 Downloads) |
Follow us on