Member Login
Search
Jump to a Date
Sponsored Communities
Cool stuff
Twitter Feed
Neat Stuff

Visit our shop for nerds in control lifestyle products.
Thermal Overload
The threads that wouldn't die...
- PC reliability?
- Windows, real time
- PID loops
- PCs vs. PLCs
- Replacing people
- MS 'monopoly'?
- Software quality
- Where do we go from here?
- Why pay?
- PC reliability?
- Windows, real time
- PID loops
- PCs vs. PLCs
- Replacing people
- MS 'monopoly'?
- Software quality
- Where do we go from here?
- Why pay?
Fortune
Absent, adj.:
Exposed to the attacks of friends and acquaintances; defamed;
slandered.
Exposed to the attacks of friends and acquaintances; defamed;
slandered.
RSS Feed
www.control.com/rss/
To get a personalized feed, become a member at no cost.
Is there any solution to send SMS from PLC-5 through RS232 to communicate with GSM modem?
Hi, I have not used a PLC5 for a long time, but sending at text is relatively simple. All you need to do is send a series of ASCII commands (using the AT command set of the modem).
Typically;
'Setup com port parameters
com port settings 19200,N,8,1
'Init
ATE0 <cr>
'Set Text Mode
AT+CMGF=1 <cr>
'Set Number
AT+CMGS="01234567890" <cr>
'Send Message
Message & Chr(26) 'ctrl Z
You should of course check for the correct response after each command i.e. 'OK'. I would connect the modem to a PC first and use something like hyper terminal to test the commands. I assume the PLC com ports can be configured the same way as an SLC where the serial DF1 port can used as plain ASCII port.
Regards Kevin
Typically;
'Setup com port parameters
com port settings 19200,N,8,1
'Init
ATE0 <cr>
'Set Text Mode
AT+CMGF=1 <cr>
'Set Number
AT+CMGS="01234567890" <cr>
'Send Message
Message & Chr(26) 'ctrl Z
You should of course check for the correct response after each command i.e. 'OK'. I would connect the modem to a PC first and use something like hyper terminal to test the commands. I assume the PLC com ports can be configured the same way as an SLC where the serial DF1 port can used as plain ASCII port.
Regards Kevin
Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2009 Nerds in Control, LLC. All rights reserved.
Our Advertisers
Help keep our servers running...
Patronize our advertisers!
Patronize our advertisers!




