You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old January 28th, 2008, 04:53 AM   #1
Levanteri
Member
Romania

Levanteri is offline
 
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.
  Reply With Quote
Old January 31st, 2008, 07:50 AM   #2
Levanteri
Member
Romania

Levanteri is offline
 
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
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT -5. The time now is 08:08 AM.


.