×
Siemens Industry Online Support
Siemens AG
Entry type: Application example Entry ID: 58638283, Entry date: 04/12/2018
(10)
Rate

Signaling and Switching via SMS with S7-1200 and CP 1242-7 GPRS V2 (Set 32)

  • Entry
  • Associated product(s)
A SIMATIC S7-1200 station shall be used to send important messages as SMS message to mobile maintenance staff via the CP 1242-7 GPRS V2.

In areas where no wired transmission medium is available and where setting up a separate wireless network involves excessively high costs, data transmission via SMS using the GSM cellular network is a simple, reliable and cost-effective alternative.

A beverage vending machine shall serve as an exemplary area of application. The vending machine regularly checks the following:

  • the filling level of the coin box
  • the cooling system temperature.
  • any unauthorized opening of the front door

The vending machine reacts to certain events such as limit values being exceeded and informs the maintenance staff.



The following functions are realized in this application example:

  • Sending an SMS to one parameterizable phone number,
  • Sending a message to several subscribers (broadcast),
  • Sending a message with acknowledgment by one of the configured recipients of the message (escalation),
  • Receiving messages.
    Depending on the message text,
    • requested values are read out of the controller and sent to a mobile phone,

    • received commands are executed in the controller and a confirmation/error message is sent to the mobile phone.

Advantages
The solution presented here offers the following advantages:

  • The “SndSms”, “RcvSms”, “BroadcastSms”, “EscalationSMS” and “SetGet” user blocks provide you with immediately usable functions for your applications.
  • The user blocks can also be used for the CP 1243-7 LTE.

Downloads
  Documentation (2,4 MB)
 Registrierung notwendig  Project TIA V13 (12,3 MB)
 Registrierung notwendig  Project TIA V15 (7,4 MB)

Archive
Wireless signaling and switching via SMS with S7-1200 Controllers (CP 1242-7 V1) (4.4 MB)

Further information
Data communication between S7-1200 stations and TeleControl Server Basic V3 via CP 1242-7 V2 and CP 1243-1 (Set 30)
Inter-Station Communication between S7-1200 Stations Using TCSB V3 via CP 1242-7 V2 (Set 31)
Teleservice of a S7-1200 with Telecontrol Server Basic (Set 33)
Wireless signaling and switching via SMS with serial CPs/CMs and the MD720-3 GPRS/GSM modem
54361177


Last changes
Bugfixing for receiving SMS
Migration to TIA V15








Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit
http://www.siemens.com/industrialsecurity.