RS-232 comms problem

fleetz

Active Member
I am integrating an RTI XP8 remote system http://www.rticorp.com/products/xp8.html and wanting to send ASCII strings from the XP8 to the M1 XSP expander.

I can not get the XSP to respond to a serial command. Here is what I have done with the results.

Setup the XP8 to send at 9600 baud, 8 data bits, 1 stop bit and no parity.
Setup the XSP with the same baud rate and the mode to Serial Port Expander mode
Sent via the XP8 an ASCII command 09ptA0800AA which should toggles light 8 but doesn't
If I now send the same ASCII command string via serial using the RTI XP8 I get the LED on the XSP to blink immediately but no toggling light 8.

Using the M1_SDK utility I send the ASCII command 09ptA0800AA via the network the command string and it toggles light 8
Connecting the laptop directly to the XSP via a USB to RS232 adaptor (Belkin) and sending the 09ptA0800AA string and nothing. I can't get the LED to blink or light to toggle. I have checked the connectivity to the MSP 2, 3 and 5. Swapped 2 and 3 no blinking.

I believe the XP8 to XSP connectivity to be OK and the instant LED blinking when a command is sent via the XP8 confirms it has been sent and recieved.

Can anyone see what I might be doing wrong?

Regards,

Fleetz
 
You have to send a carriage return at the end of the text string so that the M1 knows the string has ended. Try sending a 0x0d or 13 at the end of the string which is a carriage return.
 
You have to send a carriage return at the end of the text string so that the M1 knows the string has ended. Try sending a 0x0d or 13 at the end of the string which is a carriage return.

Hi Spanky,

Got it in one! Thanks.

Regards,

Fleetz
 
Back
Top