Unication | Messenger m90 | SMS messaging

SMS messaging
Using the M90-GSM’s SMS feature
SMS messaging...................................................................................................................................................................1
About SMS messaging................................................................................................................................................1
Overview of M90 SMS messaging .....................................................................................................................................3
SMS phone book .........................................................................................................................................................3
Creating SMS messages......................................................................................................................................................4
Creating SMS text messages ...............................................................................................................................................4
Attaching variables......................................................................................................................................................4
Deleting variables .......................................................................................................................................................5
Testing messages.........................................................................................................................................................5
SMS Message Properties.............................................................................................................................................5
ACK-Acknowledge message ......................................................................................................................................6
Configuring SMS messaging features.........................................................................................................................6
Limit to Authorized Phone Numbers ..........................................................................................................................7
Using SMS messages in your application ...................................................................................................................7
Sending SMS messages from a GSM cell phone ................................................................................................................8
Writing SMS messages in your cell phone .........................................................................................................................8
Sending the message to the M90.................................................................................................................................9
Checking that the M90 has received the SMS message ..............................................................................................9
SMS messaging
About SMS messaging
SMS messaging is a feature of GSM-based cellular telephone services. Via SMS messaging the
M90 can use SMS messaging to send and receive data to and from a cell phone. Both fixed text and
variable data can be communicated. This feature can be used to transmit data and for remote
diagnostics.
In order to use this feature, you must connect the M90 to a GSM modem, sometimes called a cellular
IP modem. Other modems do not support connection to a cellular network.
SMS messaging is subject to all of the limitations of normal cellular network use, as for example
network availability.
Overview of M90 SMS messaging
To enable the M90 to use SMS messaging, you must:
• Create the SMS phone book, which determines where the M90 can send SMS messages.
• Create SMS messages.
• Configure the SMS Message Properties for each SMS message.
• Configure your SMS messaging features.
• Download the project to the M90.
• Connect the M90 to a GSM modem
After you have performed the above procedures, you can use SMS messages in your application.
Once SMS messages have been created, configured, and downloaded to the M90, the M90 can receive
these messages from a GSM cell phone.
SMS phone book
The SMS phone book is where you define the list of GSM cell phone numbers that the M90 can use
for SMS messaging. You can enter up to six numbers. Each phone number can be up to 18 characters
long. You can also add a description to identify who is being called.
1. Open the Phone Book by clicking the button on the toolbar.
2. Click on an empty line in the Phone Book shown below, and then type in the number.
Note that there are two formats for entering phone numbers shown below. If Limit to Authorized
Phone Numbers is not selected, the M90 can send and receive SMS messages to/from any number in
the Phone Book.
If Limit to Authorized Phone Numbers is selected:
• Format 1: The M90 can receive messages from this number. This is because the number is in full
GSM format, including the '+' in front of the country code.
• Format 2: The M90 cannot receive messages from this number.
To edit the phone book, click in a number or description, then make your changes.
Creating SMS messages
You can create up to 99 SMS messages, or up to a total of 1k, whichever comes first. Each SMS
message can contain up to 140 characters. SMS messages can include both fixed text and variable
data.
Creating SMS text messages
• Open the SMS editor by selecting SMS Configuration from the Controller menu.
• Enter fixed text by placing your cursor within a line and typing normally. You may use any
keyboard symbols except for number symbols (#). These have a specific purpose which is
described below.
• Cut and copy messages by clicking on the Cut button. This removes all of the text and variables
from a message, but does not delete the line.
• Copy messages by clicking on the Copy button. This copies all of the text and variables.
• Paste by clicking on the Paste button. You can paste over an existing message. This action erases
any information in the line.
• Use the Insert button to add a line below the line containing the cursor.
• Use the Delete button to remove a line below the line containing the cursor.
Attaching variables
You can attach up to 9 Integer or List Variables to an SMS message. Each variable can include up to
16 characters. Attaching variables to an SMS message is similar to attaching variables to an HMI
display. However, the variable must already be in the variable list--you cannot link a variable before it
has been created.
Integer variables can be sent and received with SMS messages. List variables can only be sent to a cell
phone.
As with HMI variables, you must create a Display Field for the display of the variable's value.
1. Click your cursor where you want to locate the variable text.
2. Hold down the Shift key on your PC keyboard, while you press the right-pointing arrow key. A square
is highlighted each time you press the arrow key. The first square displays the number of highlighted
squares.
3. Release the Shift key. The Select Operand and Address box opens.
4. Enter the variable number and description, then click OK as shown below.
The SMS message now appears together with the variable field.
Deleting variables
1. Place your cursor in the highlighted Variable field.
2. Press the Backspace or Delete key until the entire field is erased.
Testing messages
To test your messages, click on the Compile button. If, for example, you have attached 'illegal'
variables--not integer or list variables--the first illegal variable will be displayed.
SMS Message Properties
Before you can use an SMS message in your application, you must configure its properties.
1. Open the SMS Messages Properties box by clicking in the fields at the beginning of a message as
shown below.
2. Link a Send MB to this message by clicking on the Send button. The Select Operand and Address box
opens.
3. Select an MB, then press OK. The MB's number and description appear in the Send fields.
4. Repeat Steps 2 & 3 to link a Receive MB.
Note that a message does not need to be linked to both a Send and Receive MB.
5. Link the GSM cell phone numbers to this message by checking the boxes of the desired numbers. You
can also select Last Received Phone Number. This will cause this SMs message to be sent to the origin
of the last SMS message received by the M90.
6. Note that you cannot edit the SMS phone book while you are configuring SMS Message
7. When you have finished, click Exit.
In the message below, the Send MB is 11, the Receive MB is 12, and the checked box under P means
that phone numbers have been linked to this message. ACK has also been selected.
ACK-Acknowledge message
This feature allows a cell phone user to check if the M90 has received a particular message.
Configuring SMS messaging features
In order to use the SMS feature, your M90 must be connected to a GSM modem. To enable the M90 to
use the GSM modem, select the 'Use SMS Messaging' option shown below. This causes the M90 to
turn on SB 180, Initialize GSM Modem, at power-up.
The M90's embedded GSM modem settings are: 19200, 8 data bits, no parity, 1 stop bit. You may
need to manually change your modem's communication settings to match these parameters.
If your GSM modem requires a PIN code to connect to a GSM network, enter it as shown below.
Limit to Authorized Phone Numbers
Select this option to prevent the M90 from receiving SMS messages from any number not listed in the
SMS phone book.
Using SMS messages in your application
To cause the M90 to send an SMS message, you use the Send MB which is linked to that message. In
the figures below, the Send MB is 11. When MB 11 is turned ON in in your application, this message
will be sent. The Send MB is turned OFF automatically after the message has been sent.
The Receive MB is 12. When this message is received by the M90, MB 12 will turn ON. You must
turn the Receive MB OFF in your application in order to register the next time this message is
received.
Sending SMS messages from a GSM cell phone
To send SMS messages from your cell phone you must:
• Write and download SMS messages to the M90 as described in Creating SMS messages.
• Write an SMS message in your cell phone.
• Send the message to the M90's GSM modem
Note that you can only send messages that have already been set in the M90. In addition, if an M90 is
configured with the Limited to Authorized Phone Numbers option, you will not be able to send it SMS
messages if your number is not in the list .
Writing SMS messages in your cell phone
You write an SMS message using your cell phone keypad. Make sure that:
• The fixed text in your cell phone is identical to the M90's SMS message in every detail: spaces,
characters--and note that characters are case-sensitive.
• You bracket variable values with number signs (#) as shown below. These signs '#' do not count as
spaces.
• The variable field in the M90 is big enough to hold the value.
The figure below shows the same SMS message: as it appears on a cell phone display, and as it
appears in the M90's SMS Messages List.
When you send this message from your cell phone, the value 110 will be written into Variable 1 in the
M90.
Sending the message to the M90
Enter the number of the M90's GSM modem exactly as you would enter any GSM cell phone number,
then send the message.
Checking that the M90 has received the SMS message
You can check if the M90 received your message by using the Acknowledge feature:
1. Select the ACK box as shown below.
2. Use your cell phone to send the message "Holding Temperature:#110#" to the M90.
3. The M90 receives this SMS message.
4. The M90 immediately returns the message to your cell phone, together with the current variable value.
5. You can now view this SMS message on your cell phone display, together with changes in the variable
value.
Variable Types
Although SMS messaging supports Integer and List variables, note that you can not send List variables
via cell phone.
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertising