Help with CP340 and MC35i

Piramide

Member
Join Date
Sep 2005
Location
Kaunas
Posts
1
Hello,
i am new in programming and i must write a programm, witch sends alarm messages (SMS) to mobile phone. I have bought CP340 and MC35i for this reason. Can anyone tell me, how can i get alarm messages from alarm DB, and transmitt to modem?

example: When DB11.DBX0.0 (DB11 - alarms DB) becoms true, my OP170B show Alarm message: Low level in Tank T005.01 and so on..

How can i do this with CP340 and MC35i?

Sorry for my language.

Thanks.http://www.plctalk.net/qanda/newthread.php?do=newthread&f=2
 
1.
At first you should got familiar with the CP340.
Try sending ASCII chars/message to your PC.
Use Hyperterminal from Windows to watch the data.

2.
Refer the TC35 manual how to send a SMS.

3.
Create a FC wich sends a SMS message trough CP340

4.
When DB11.DBX0.0 comes true, preset the CP340 DB (DB of FB3)
with the location of that string data and start transmitting.

http://www2.automation.siemens.com/siplus/ftp/TC35iT-at-command-set.pdf
http://www2.automation.siemens.com/siplus/ftp/TC35iT-at-command-set.pdf

P.S.
There is also a Siemens book available which contains finished
blocks for SMS with CP340.
 
It may be easier to use a software product that can do what you want.

You may use U.C.ME-OPC alarm notification software. It is easy to use and offers good functionality. It uses OPC (or DDE) to connect to any OPC server or SCADA/HMI software that supports OPC or DDE server functionality.
Alerts may be sent via: Email, SMS, Phone(Voice), Fax, Multimedia and WAP. It may also be used to analyze your alarms and understand the root cause of the alarms.
See www.controlsee.com . A fully functional evaluation version can be downloaded.
 

Similar Topics

Hi! I need help to make program to set up Siemens TC35i GSM module by PLC and then send SMS message to cellphone. I have all hardware already but...
Replies
13
Views
15,026
Dear All, Can you please give me some steps to communicate between S5 CP524 and S7 CP CP340 with 3964R procedure. I have tested 3964R...
Replies
0
Views
1,808
Hi Experts, I need to send this DB (attatched) via CP340 to communication partners. Anyone who could help me to parameters P_send (FB3) to do...
Replies
0
Views
3,238
I have an old Sentry Palletizer (S/O Number 3007 / Serial Number 1172) that has lost its program as the backup battery died years ago. I can...
Replies
0
Views
83
Hello, I need to write the following program in Ladder language, but I could not integrate the Fibonacci sequence into the ladder. Can you help...
Replies
22
Views
455
Back
Top Bottom