How can I send CLI commands to a Transport WR21 using the serial port?

I need to use a Transport WR21 to receive CLI commands through the serial port from a PLC so that it sends an SMS to the number and with text I define in the command. How can I achieve this?

Thanks in advance

if you have the correct cable connected between the router and PLC you should be able to just send the string as

sendsms phonenumber “message”

the phone number might have to be the intenational number with out the leading “0”'s

to test from the web interface you can use the same command in the “execute command” section

to check what is being passed over the serial interface you can use the analyser if you enable it it should be already configured for asy0 and you should be able to see an the trace section what is being passed to the router