Difference between revisions of "Sending and Receiving SMS"

From IPLOG
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<font color="red" size="+1">This page is beign temporarily revised with the newest updates.</font>
+
== Basic Overview ==
 
 
== Description ==
 
 
IPLOG-GAMA units with GSM / GPRS interface support receiving and sending of any SMS messages. Based on their content it is then possible to perform various tasks. The program logic is created by the user based on the IEC 61131-3 programming language. The [[METEL IEC 61131-3 IDE|METEL IEC 61131-3 IDE]] software is used for this purpose.
 
IPLOG-GAMA units with GSM / GPRS interface support receiving and sending of any SMS messages. Based on their content it is then possible to perform various tasks. The program logic is created by the user based on the IEC 61131-3 programming language. The [[METEL IEC 61131-3 IDE|METEL IEC 61131-3 IDE]] software is used for this purpose.
  
SMS_TX/SMS_RX blocks are used for communication between the program and the user through the GSM network. It use SMS messages to transmit and receive information.
+
SMS_TX/SMS_RX blocks are used for communication between the program and the user through the GSM network. It uses SMS messages to transmit and receive information.
  
== Program Descriprion ==
+
== Program Description ==
 
The program receives SMS messages based on SMS_RX function blocks, filters their content and source phone number. If the message was received from the correct number "Phone_Number" and contains the text "arm" or "disarm", the output variable "arm_disarm" is set to log. 1 or 0.
 
The program receives SMS messages based on SMS_RX function blocks, filters their content and source phone number. If the message was received from the correct number "Phone_Number" and contains the text "arm" or "disarm", the output variable "arm_disarm" is set to log. 1 or 0.
The SMS_TX blocks send the remote arm / disarm verification to the number from which the request was sent.
+
The SMS_TX blocks sending the remote arm / disarm verification to the number from which the request was sent.
  
 
== Programming ==
 
== Programming ==
 
Create the program in METEL IEC 61131-3 IDE and upload it to the IPLOG.
 
Create the program in METEL IEC 61131-3 IDE and upload it to the IPLOG.
 +
  
 
[[File:SMS_Example.png|600px]]  
 
[[File:SMS_Example.png|600px]]  

Latest revision as of 05:05, 21 May 2020

Basic Overview

IPLOG-GAMA units with GSM / GPRS interface support receiving and sending of any SMS messages. Based on their content it is then possible to perform various tasks. The program logic is created by the user based on the IEC 61131-3 programming language. The METEL IEC 61131-3 IDE software is used for this purpose.

SMS_TX/SMS_RX blocks are used for communication between the program and the user through the GSM network. It uses SMS messages to transmit and receive information.

Program Description

The program receives SMS messages based on SMS_RX function blocks, filters their content and source phone number. If the message was received from the correct number "Phone_Number" and contains the text "arm" or "disarm", the output variable "arm_disarm" is set to log. 1 or 0. The SMS_TX blocks sending the remote arm / disarm verification to the number from which the request was sent.

Programming

Create the program in METEL IEC 61131-3 IDE and upload it to the IPLOG.


SMS Example.png


Related Links:

How to create program: Getting Started

Download: METEL IEC 61131-3 IDE