Hi,
I am trying to talk to a CMM controller via RS232 from my PC running VC++/WinXP. The manual from the manufacturer just gives the baud rate info, which is 9600. I don't have any other information. We have the old PC which can successfully talk to the controller. I monitored the communication between the old PC and the controller. The settings I used for monitoring the communication is
9600, No parity, 8 bit, 1 stop bit, No flow control
I tried all possible combinations with the baud rate fixed at 9600 and changing the rest of the parameters. The monitored data in ASCII format looks all junk with all speical characters like @. So I am guessing that the data is HEX coded. Below is the communication log between the old PC and the controller. The data is displayed in HEX in brackets with a space between each byte. The number before it is the time stamp in milli seconds. This controller automatically sends 0x09 0x08 whenever it is ON.
CMM: 19130918 [09 08]
CMM: 19131920 [09 08]
CMM: 19132921 [09 08]
CMM: 19133923 [09 08]
CMM: 19134924 [09 08]
CMM: 19135926 [09 08]
CMM: 19136817 [06 08]
HOST: 19136817 [09 08]
HOST: 19136877 [03 04 01 4E 30 30 4B 08]
CMM: 19136887 [02 08]
CMM: 19136917 [09 08]
HOST: 19136977 [06 08]
CMM: 19139531 [03 02 0A 00 1B 28 08]
When I try to send 0x09 0x08 followed by 0x03 0x04 0x01 0x4E 0x30 0x30 0x4B 0x08 from my PC, I am not getting any response from the controller other than 0x09 0x08. The monitor log of my communication is given here:
CMM: 6153868 [09 08]
CMM: 6154870 [09 08]
CMM: 6155871 [09 08]
CMM: 6156873 [09 08]
HOST: 6157023 [09 08]
HOST: 6157083 [03 04 01 4E 30 30 4B 08]
HOST: 6157784 [06 08]
CMM: 6157874 [09 08]
CMM: 6158875 [09 08]
CMM: 6159867 [09 08]
Do anyone knows why this happens?
Message Edited by Aro on 12-19-2006 09:58 AM
Message Edited by Aro on 12-19-2006 09:59 AM
Message Edited by Aro on 12-19-2006 10:02 AM
Aromal Lilly
Columbus, OH