Sending "alarm"sms with S7-1200 and GPRS modul

SIMATIC S7-200/300/400, Step7, PCS7, CFC, SFC, PDM, PLCSIM,
SCL, Graph, SPS-VISU S5/S7, IBHsoftec, LOGO ...
sarka123
Posts: 1
Joined: Wed Oct 22, 2014 5:16 pm

Sending "alarm"sms with S7-1200 and GPRS modul

Post by sarka123 »

Hello!

I use SIMATIC S7-1214C PLC. I am controlling with it a farm (lights and food lines). I bought already a GPRS modul CP1242-7.
I want the PLC to send me a SMS when something is wrong.
For example if the Input I0.3 is TRUE then it should send me a SMS with
text "Alarm1".
I´m not an expert, therefore I would need help. I programmed it already as the guys from Siemens said, but it still doesn’t work.
( https://www.youtube.com/watch?v=56xN8d7TmVc )
The configurations are most probably ok, becasuse if I send "CPDIAG" to GPRS modul I receive a sms with information about the controller status...
I did exactly the same as the Siemens person said. But it doesn’t work.
I know what I should do, but for me it´s not clear what I should but into “data” (TC_SEND)(Image1).
When I put the input REQ (TC_CON)(Image2) on TRUE then nothing happens (all outputs are FALSE).
I dont know if the Datablock for TC_CON is ok(Image3).
Can anybody help me?? Please!

Thank you very much!

Image
Image
Image
dehell
Posts: 104
Joined: Sat Jun 13, 2009 12:25 pm
Location: Europe

Re: Sending "alarm"sms with S7-1200 and GPRS modul

Post by dehell »

Hello,
I never use GPRS module.
But i have already use TCON or TSEND instruction.
Take care one thing => Use no optimized data block....
Best regard