Code to Send SMS message to ML1100 RS232 Port

stuofsci02

Member
Join Date
Aug 2008
Location
Toronto
Posts
21
Hi There,

Can anyone help me with the code to do this. I am currently using an AWA instruction and sending the modem string for the message.

This is AT+CMGS="1234567890"<CR> Test Message <ctrl-Z><CR>

I can use this in hyper terminal where I hit enter for the <CR> and use ctrl-z on the keyboard, and the message sends fine.

When I use the PLC, I sometimes get a message and if I do it is the whole instruction.

How should I be formatting my string to get this to work.

I have also tried AT+CMGS="1234567890"^M Test Message ^Z^M

Note: THe modem is a Wavecom.

Thanks

Stuart
 
Hi Stuart,

Just lose the last <CR> after Ctrl-Z (it shouldn't need it)

I normally use the AWT (not AWA), works well for me...

I have several chunks of code i can send if you need it (PM your email if it helps)


Regards,

Rob
 
Rob,


Outstanding... It worked like a champ...

You have been helping me all the way on this project... Might have to send you a cut of my paycheck.

Thanks

Stuart
 

Similar Topics

Hello, it's been a little over a year now that I've been learning citect scada alone in version 7.2, I know how to make pages, synoptics, create...
Replies
4
Views
7,086
I have an omron cp1le plc and a sato s84ex printer I need to learn how to send print jobs to it. I know I can use the Serial card option and send...
Replies
3
Views
2,643
Hi! Is my first time that I post in this forum, I´m from mexico. Someone can help me or guide to print a bar code form plc to a printer Zebra...
Replies
10
Views
7,252
I'm doing my final year project on PLC.If some body sends or helps me on how to get source code for PID,that makeS me happieR.And in addtion to...
Replies
4
Views
2,752
Hello, I am trying to read a barcode scanner input using a cognex dataman 280 barcode reader, store it another string, the compare with another...
Replies
1
Views
70
Back
Top Bottom