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.
New Here? Please read this important info!!!
|January 28th, 2008, 04:53 AM||#1|
Join Date: Jan 2008
Commanding a 300-series PLC with a GSM-modem
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.
|January 31st, 2008, 07:50 AM||#2|
Join Date: Jan 2008
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:
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|
|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|