![]() |
||
|
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
| ||
New Here? Please read this important info!!!
|
|
#1 |
|
Member
![]() Join Date: Jan 2008
Location: Cluj-Napoca
Posts: 18
|
Commanding a 300-series PLC with a GSM-modem
Hi.
I have a CPU314IFM, CP340 RS-232 and GSM-module(EBG-350) built by Eindrich. The idea is to control the PLC by sending SMS. Iīve got the module and the PLC configured, cables built and so on. The only problem now is this: When the module receives an SMS, the SMS only goes in to the memory of the SIM-card in the module and therefore can not be read by the CP340. I know the commands to read the messages from the module, but now I should command the PLC to read the message from the module and thatīs the problem. So Iīd probably somehow modify the P_RCV and P_SEND blocks to cyclically read the data from the GSM-module, so that when a new message arrives, the block send a command to open it and then itīll be available for reading? Last edited by Levanteri; January 28th, 2008 at 05:33 AM. |
|
|
|
#2 |
|
Member
![]() Join Date: Jan 2008
Location: Cluj-Napoca
Posts: 18
|
Thanks for your advice.
I got the thing going on, but encountered some problems; 1.When sending a command like "at+cpin?" to the GSM-module from PLC, it only reflects the command back, so that the receiving db shows the command sent to the module, but no the desired thing,in this case the pin-code state. 2. Sending commands from the PLC works to any device now, I can receive the message from the PLC, but sending commands TO PLC and receiving there doesn't work properly. When sending a message like "perkele" to the PLC from Hyper Terminal, only the first receiving bit receives information, so that the whole word "perkele" is shown charcater by character in the first receiving bit. Why is this happening? I'll link a couple of pictures to show what I mean: http://www.flickr.com/photo_zoom.gne...2115931&size=l http://www.flickr.com/photo_zoom.gne...2116057&size=l http://www.flickr.com/photo_zoom.gne...2905764&size=l |
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Topics
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mitsubishi PLC A series EPROM | flyers | LIVE PLC Questions And Answers | 0 | February 28th, 2007 06:34 AM |
| GSM modem to Scneider PLC | Hkint | LIVE PLC Questions And Answers | 0 | February 1st, 2006 09:16 AM |
| ASCII Read in AB's SLC 5/03 through Nokia 30 GSM Modem | archana | LIVE PLC Questions And Answers | 2 | January 6th, 2006 11:51 AM |
| how to send sms using AB's plc - SLC 5/03 through nokia 30 GSM modem. | archana | LIVE PLC Questions And Answers | 0 | December 30th, 2005 10:23 PM |
| Mitsubishi FX series PLC? | Ken | LIVE PLC Questions And Answers | 11 | December 11th, 2002 01:54 PM |