GSM Control - User Manual
GSM Control - User Manual
User Manual
Ver 4.x Rev 4.5
PR 000 67
Table Of Contents
Overview .................................................................................................... 1
GSM-modem and accessories ............................................................................ 3
Installing the GSM-Control ............................................................................... 5
Licensing by using HASP HL key ................................................................................... 9
Software license key ........................................................................................................ 10
Transferring the software license to other computer .......................................................... 11
P067m45.docx
ii
P067m45.docx
GSM-CONTROL
Overview
GSM-CONTROL SMS Gateway is a Microsoft Windows software used for 2-way
remote control in automation and other applications using standard GSM (Global
System for Mobiles) cellular phones and GSM network. Based on the standard
GSM cellular phones and other GSM-capable devices, GSM-Control offers a lowcost and easy alternative to create wireless control and monitoring applications.
Implementation of GSM networks SMS (SMS Message Service) technology
secures reliable transmission even in the most error-sensitive applications.
The main task of GSM-Control software is to work as a gateway between GSM
environment at one side (interfacing with GSM environment by sending/receiving
SMS messages) and MS Windows environment (by using DDE (Dynamic Data
Exchange), OPC (OLE for Process Control), SQL (Structured Query Language) or
Wonderware MXAccess (Lmx Proxy interface to Application Server) interfaces) at
another side.
The GSM-Control runs on a PC and accesses operator interface applications or
directly field devices by using DDE, OPC or MXAccess interfaces. GSM-Control
also supports the reading/writing of data from/to SQL databases. The remote
control is based on GSM SMS messages two-direction communication, where the
GSM-modem (preferable models are Siemens TC35T/MC35T) is connected to the
computer's standard (RS-232) serial port and GSM cellular phone (remote GSM
phone) is used by remote operator(s). Also the communication between two GSMmodems is supported, i.e. remote GSM-modems can be used instead of remote
GSM phone.
The GSM-Control software includes two MS Windows application programs: GSMControl Configuration Program (GSMCFG) and GSM-Control Communication
Program (GSMCTRL, further in the text also GSM-Control). The GSMCFG is
used to prepare the source information and GSMCTRL is used to perform the
GSM SMS communications and DDE/OPC/SQL/MXAccess data exchange on the
basis on information prepared by GSMCFG. These two application programs are
completely independent, i.e. each can work separately and doesnt need another
program to be started. The data prepared by GSMCFG is saved in GSM-Control
configuration file - XML (eXtensible Markup Language) format file used as an
input file for GSMCTRL program. As many GSM-Control configuration files can
be created as necessary.
Basically, the data exchange through GSM-Control can be initiated both from
GSM and MS Windows environments:
P067m45.docx
P067m45.docx
GSM-modem
antenna
9-pin D-SUB
(DB-9) male
connector
power supply cable
9-pin D-SUB
(DB-9) female
connector
The GSM-modem and all necessary accessories (antenna, power supply cable and
modem cable) are already included in PC GSM SET package provided by
Wonderware Finland & Baltics.
The modem cable 9-pin D-SUB (DB-9) female connector must be inserted into
computer COM (serial) port socket (9-pin D-SUB (DB-9) male), usually located on
the rear panel of the computer:
P067m45.docx
Computer
COM ports
USB to serial
port adapter
9-pin D-SUB (DB-9)
male connector
GSM-Control User Manual Ver. 4.x Rev 4.5
modem cable
P067m45.docx
There are different kinds of USB to serial port adapters available on the market,
as a rule also the corresponding USB/serial driver software is supplied after
installing the driver, the new virtual COM port (physically using USB port) is
added to the computer; this COM port must be selected in GSM-Control as a COM
port where GSM-modem is connected.
P067m45.docx
In case HASP Device driver and HASP Files (HASP 3 Usersor HASP
unlimited) are selected then HASP USB key will be supported and both HASPkey and software license will be available (files needed for HASP USB key will be
installed):
P067m45.docx
GSMCFG.EXE
GSMCFG.CHM
OPCLIB.DLL
LMXLIB.DLL
KLSERVER.DLL
GSMCSQL.DLL
DEFAULT.XML
LICENSE.RTF
haspdinst.exe
hasp_windows_11610
.dll
hasp_windows_11436
.dll
P067m45.docx
EXEXCEL.XLS
EXWW.XML
EXWW.ZIP
USRDLL.ZIP
EXOPC.XML
EXLMX.XML
GSMCtrlTestGalaxy
Dump.csv
An example Application Server Galaxy dump file for using GSMControl with Wonderware Application Server via MXAccess (LMX
Proxy) interface.
EXSQL.XML
EXSQL.MDB
EXFORW.XML
P067m45.docx
The following files will be copied (only if same or newer versions are not yet there)
to MS Windows system directory (e.g. to C:\WINDOWS\SYSTEM32\) and if
necessary also will be automatically registered in the system:
OPCPROXY.DLL
OPCENUM.EXE
Opc_aeps.dll
Opcbc_ps.dll
Opchda_ps.dll
Opcsec_ps.dll
OPCCOMN_PS.DLL
P067m45.docx
10
P067m45.docx
11
The License dialog now will contain the empty Customer PC Code and
Software Key fields:
3) Take the string with Software License Key removal message directly from
GSM-Control log file:
2013/01/07 16:36:44.911/Software Key 1684-3aab-8fa5-48e8 removed. PC Code:
e963-7576-4545-ee91, Product Code: PR00670 461
P067m45.docx
12
4) Provide the obtained Software License Key removal message string together
with new Customer PC Code when applying for new Software License Key
without purchasing the new license (in situations when it is necessary to move
Klinkmann software to other computer or operation system change is planned).
Note!
Without providing the Software License Key removal message screenshot or
string, the new Software License Key will not be assigned.
Start MS Excel. Enter some value (e.g. 33) in the cell A1 of default Sheet1.
P067m45.docx
13
4 Enter the ? in the Simulate dialog box Message field and press the Send
button:
P067m45.docx
14
Find out and remember the PIN code, phone number and GSM Messages
Service Center Number of the SIM card to be used with GSM-modem. The
GSM Messages Service Center Number can be found by inserting SIM card
into the mobile phone and selecting menu sequence like Messages/Message
Setup/Service Center or similarly.
2 Insert the SIM card into the GSM-modem. Connect GSM-modem to computer
serial port, e.g. to COM1 and power-up the GSM-modem. It is assumed the
GSM-modem has default serial port configuration: baud rate 19200, 8 data bits,
1 stop bit, no parity, no flow control. If GSM-modem settings differs from
default then it is necessary to restore the default settings - it can be done e.g. by
Windows HyperTerminal program by issuing AT&F (Set all current parameters
to manufacturer defaults) command.
3 Start GSM-Control Configuration Program. The window like following will
appear:
P067m45.docx
15
Enter your current settings in the GSM Service Center Phone Number and
PIN Code fields. Click OK.
3.2
Click on Users page control to select Users page (if not already selected)
and open the Configure User dialog box by double-clicking on User1:
4 Start MS Excel. Enter some value (e.g. 33) in the cell A1 of default Sheet1.
5 Start GSM-Control Control Communication Program. The window like
following will appear:
P067m45.docx
16
P067m45.docx
17
Page Controls
Menu Bar
Current
Messages Page
Splitter
Current
Users&Data Page
where:
Page Controls
By clicking mouse on some of page controls (Send/Receive, Alarms, Users or Data)
the selected Page becomes available.
Current Users&Data Page
Depending on corresponding page control selected, the Users or Data page is
displayed.
Current Messages Page
Depending on corresponding page control selected, the Send/Receive or Alarms
page is displayed.
P067m45.docx
18
Splitter
Used to change the horizontal proportion between current Users&Data page and
current Messages page - by clicking the mouse left button on the Splitter bar
(separator of pages) and dragging (moving the mouse without releasing the left
button).
Menu Bar
Contains the following Main Menu selections: File, Settings and Help.
Title Bar
Contains the path to currently opened GSM-Control configuration file or in
simulation mode changes to SIMULATION MODE !!!!.
To edit already entered information (invoke the corresponding dialog box) double-click on the selected row or click mouse right button and then select
Properties from invoked pop-up menu:
To delete already entered information - select Delete from pop-up menu or press
Delete key on the computer keyboard. To copy the selected row (remember in the
clipboard) - select Copy from pop-up menu or press Ctrl+Insert on the computer
keyboard. To paste the selected row (replace the current information with the data
from clipboard) - select Paste from pop-up menu or press Shift+Insert on the
computer keyboard.
Notes!
1. The Copy, Paste and Delete works also if several rows are selected. The
consecutive rows can be selected by holding Shift key and then at first clicking
mouse left button on first selected row and then on last selected row. The non-
P067m45.docx
19
consecutive rows can be selected by holding Ctrl key and clicking mouse left
button on rows to be selected.
2. Be careful when using Copy and Paste- after copying do not forget to edit the
copied information!
To create a new row, at first select the row next to last entered one (containing -
in some fields) by clicking the mouse left button, like following:
To create a new empty row (invoke the corresponding dialog box with all entries
empty) - double-click on it or click mouse right button and then select Properties
from invoked pop-up menu. To fill the new row with the data from clipboard select Paste from pop-up menu or press Shift+Insert on the computer keyboard.
Users Page
To activate the Users page, click on Users page control. The Users page
contains information about all currently entered Users. On the GSMCFG main
window there are three fields Name, Phone and Comments displayed for each
User:
The following Configure User dialog box will appear if creating new User or
editing already existing User (all fields are empty if new User is created):
P067m45.docx
20
Phone
Enter the phone number of User here. Always use preceding international country
code (e.g. +358 for Finland).
The phone number can be replaced by e-mail address of this User in case it is
expected to send SMS Messages by e-mails from GSM-Control to GSM network
and to receive SMS Messages as e-mails from GSM network (see Additional
Features/Sending and Receiving SMS message by e-mail section later in this
manual).
Comments
Any comment can be entered here if necessary.
Any User
GSM-Control supports the possibility to receive SMS Messages from any (not preconfigured) phone number or e-mail address, so called ANYUSER feature. If
Any User is selected then Name field automatically changes to ANYUSER and
Phone field to ANYPHONE. There can be only one ANYUSER in one GSMControl configuration.
SMS, SMS+Voice Call or Voice Call Only
The delivery type for this User can be selected. If SMS is selected (default), the
User will receive SMS Message only (default). If SMS+Voice Call is selected then
User will receive SMS Message plus additional voice call (GSMCTRL will wait 30
seconds for User answer, after that immediately will hang-up the connection). If
Voice Call Only is selected then User will receive only a voice call (GSMCTRL
will wait 30 seconds for User answer, after that immediately will hang-up the
connection). Note - the Voice Call feature will work only for Alarm messages (see
Alarms Page section later in this manual) and only for Users without dialog
menus enabled (see Additional features/Advanced User section later in this
manual).
Time Shifts
By pressing this button, the Time Shifts dialog box can be invoked where
day/time when Alarm messages will be sent to this User can be entered (see
Additional Features/Time Shifts section later in this manual).
Alarms
By pressing this button, the Alarms for User User Name dialog box can be
invoked, where all currently created Alarm messages (see Alarms Page section
later in this manual) can be easily linked/unlinked with current User:
P067m45.docx
21
Data Page
To activate the Data page, click on Data page control. The Data page contains
information about all currently entered Data items. On the GSMCFG main
window there are three fields Source, Type and Path (Description) displayed
for each Data item:
P067m45.docx
22
The following Data Properties dialog box with current Data item configuration
displayed will appear if creating new Data item or editing already existing Data
item (if new Data item is created then default Source DDE with all fields empty
(except Type equal to Integer) will be displayed):
Four different DDE, OPC, SQL and LMX data item Source pages can be
selected by clicking on corresponding DDE, OPC, SQL or LMX page controls. The
details how to enter information about OPC and SQL data items is explained in
the Examples how to use GSM-Control section later in this manual. For DDE
data items the following fields are available:
Application
Application (DDE Server) name.
Topic
DDE Topic name.
Item
DDE Item name.
Type
There are following types available: Integer, Real, Discrete and String. The
appropriate type can be selected by clicking mouse left button on combo box:
- Integer (default selection) - signed 32-bit integer, range of values from 2147483648 to 214748367;
- Real - 32-bit floating (decimal) point, value may be between 3.4e38;
- Discrete - discrete with a value of either 0 (False, Off) or 1 (True, On);
- String - text string that can be up to 131 characters long;.
GSM-Control User Manual Ver. 4.x Rev 4.5
P067m45.docx
23
Precision
This field is accessible only for Real and String types:
- if Type is Real then Precision field is used to enter the number of digits after
decimal point. The default Precision is 0;
- if Type is String then Precision field is used to enter the maximum length of
string.
The Type and Precision fields are used to format the values of Data items in Send
and Alarm messages to be sent from GSM-Control. For example, if Type Real and
Precision 1 is used then following values will be sent from GSM-Control depending
on actual value, for example:
- if actual value is 24.7 then SMS message sent from GSM-Control will contain
24.7;
- if actual value is 24.74 then SMS message sent from GSM-Control will contain
24.7;
- if actual value is 24.75 then SMS message sent from GSM-Control will contain
24.8;
- if actual value is 24 then SMS message sent from GSM-Control will contain
24.0.
Description
This field is common for all data item Source pages and any desired description of
data item can be entered here and correspondingly it will be displayed on
GSMCFG main window Data page Path (Description) field for this Data item.
If Description field is empty then on GSMCFG main window Data page this
Data item Path (Description) field will be filled with Path, which depends on
Data item current configuration (for example, for DDE items it will be as
application.topic.item).
Click on OK to accept the entered User information or click on Cancel to reject
the entered data.
Send/Receive Page
To activate the Send/Receive page, click on Send/Receive page control. The
Send/Receive page contains information about all currently entered Send and
Receive messages - SMS Messages to be sent from GSM-Control to remote GSM
operator or device are called Send messages and SMS messages which can be
received by GSM-Control from remote GSM operator or device are called Receive
messages. All Send and Receive messages are grouped in the pairs consisting of:
1
both Send message and Receive message - in this case GSM-Control after
receiving this Receive message will respond with this Send message;
P067m45.docx
24
2 only Send message - the sending of this message can be done via DDE or OPC;
3 only Receive message - no response message will be sent.
On the GSMCFG main window there are four fields No, S, R and Path
(Description) displayed for each row (pair) of Send/Receive messages:
where:
No - the number of Send/Receive message; this number is created/updated
automatically when new Send/Receive message pair is created or some existing
one deleted;
S - sign + indicates the Send message exists; sign - indicates the Send
message does not exist;
R - sign + indicates the Receive message exists; sign - indicates the Receive
message does not exist;
Path (Description) - the contents of Send/Receive message or additionally
entered description of this Send/Receive message pair.
P067m45.docx
25
- the special symbols also can be entered - currently the following ones are
supported (the inserted ones will be marked by [ ] and will appear in green
color):
1) change to a new line (0D in hex) can be entered by pressing Ctrl+M - will be
marked as [cr].
The current length of Send or Receive message is displayed on the left part of
bottom status bar, like following: Message Length:7 + 1 DATA fields, where 7
is the number of currently entered text characters; the total length of message
P067m45.docx
26
cannot be exactly determined if there presents at least one Data item (the length
of DATA fields is not fixed and depends on current values).
Important Notes!!!
1. To simplify the recognition of Receive messages, GSM-Control Communication
Program (GSMCTRL) checks for matching (for all Receive messages configured
for User with phone number matching with sender phone number) the received
SMS messages text only till the first Data item (DDE item, OPC item, LMX
item or SQL field) inserted, therefore it is important to configure unique first text
parts for User all Receive messages. For example, the following configuration of
Receive messages: N:{DDE item} and N:{DDE item}P:{ DDE item} is
incorrect - GSM-Control cannot recognize the difference if receiving these SMS
messages.
2. The processing of received SMS messages is case insensitive, so GSM-Control
will not recognize the difference, for example, between following SMS messages
received: N:{DDE item} and n:{DDE item}.
Note!
If ANYUSER is selected both for Send and Receive messages then Receive message
can be received from any (not included in GSM-Control current configuration)
phone number and Send message will be replied to senders phone number.
Click on OK to accept the entered Send/Receive message information or click on
Cancel to reject the entered data.
P067m45.docx
27
Alarms Page
To activate the Alarms page, click on Alarms page control. The Alarms page
contains information about all currently entered Alarm and Alarm
Acknowledgment messages - SMS Messages to be sent from GSM-Control to
remote GSM operator or device when some alarm/event occurs are called Alarm
messages and SMS messages which can be received by GSM-Control as an alarm
acknowledgment are called Alarm Acknowledgment (further Ack) messages.
The Ack messages are optional and can be used if it is necessary to receive the
confirmation of Alarm message successful delivery .
On the GSMCFG main window there are four fields No, Alrm, Ack and
Path (Description) displayed for each row of Alarm message:
where:
No - the number of Alarm message; this number is created/updated automatically
when new Alarm message is created or some existing one deleted;
Alrm - sign + indicates the Alarm message exists; sign - indicates the Alarm
message does not exist;
Ack - sign + indicates the Ack message exists; sign - indicates the Ack
message does not exist;
Path (Description) - the contents of Alarm message or additionally entered
description of this Alarm message.
P067m45.docx
28
The following Configure Alarm dialog box with selected Alarm message
configuration will appear if creating new Alarm message or editing already
existing one (if new Alarm message is created then Alarm and Ack Items,
Alarm Message, Ack Message, Options and Description fields are empty):
The Alarm and Ack Items, Alarm Message, Ack Message, Options or
Users message pages (fields where to select or enter the data) can be selected by
clicking on corresponding Alarm and Ack Items, Alarm Message, Ack Message,
Options or Users page controls.
P067m45.docx
29
replaced by other Data item the same way. To remove Ack item, click on Clear
Alarm Item button.
Options
The Options page allows to specify some Alarm message features:
P067m45.docx
30
The Voice Message feature enables the processing of alternative (voice) call in
case the GSM SMS Service becomes inaccessible. The following three selections
are possible:
Do Not Use Voice Message
This is default selection. In this case no alternative (voice) call will be performed
for this Alarm message.
Use Default Voice Message
In this case the default Voice Message processing will be performed for this Alarm
message, i.e. the GSMCTRL.INI file WAVFile= setting will be used to obtain the
name of sound file (.WAV) containing pre-recorded voice message and
WAVSendRetries= setting will be used as number of voice call retries before
rejecting the voice calls (see also Additional features/GSMCTRL.INI file/ Entries
for alternative (voice) call support in case SMS Service not available section later
in this manual.
Use Custom Voice Message
In this case the sound file (.WAV) for this Alarm message can be selected from
combo box, i.e. the Alarm message can be associated with unique sound file
containing pre-recorded voice message. The GSMCTRL.INI file
WAVSendRetries= setting still will be used as number of voice call retries before
rejecting the voice calls.
Users
The Users page is used to select and link Users with this Alarm message (the
Alarm message should be linked with at least one User). The Users page consists
of Available Users list box, Selected Users list box and six action buttons used
to create the necessary configuration:
When first time configuring Users for this Alarm message, the Available Users
list box contains all currently configured Users and Selected Users list box is
empty (like in above picture). By selecting Users (both on Available Users and
Selected Users list boxes; consecutive ones - by holding Shift key and at first
clicking mouse left button on first User and then on last User; non-consecutive
ones - by holding Ctrl key and clicking mouse Users to be selected) and using six
GSM-Control User Manual Ver. 4.x Rev 4.5
P067m45.docx
31
action buttons, the necessary Users and their order can be selected. There are
following action buttons available:
Add User - move one or more Users from Available Users to Selected
Users
Remove User - move one or more Users from Selected Users to Available
Users
Add All Users - move all available Users from Available Users to
Selected Users
Remove All Users - move all selected Users from Selected Users to
Available Users
Move Users Up - move one or more Users up in Selected Users list box
Move Users Down - move one or more Users down in Selected Users list
box
For example, the following configuration can be created where two Users (User3
and User1) are selected to receive this Alarm message:
Note - Moving from Available Users to Selected Users does not mean theses
selected Users are no more available - this selection applies only to Alarm message
currently configured and allows to set up the order in which this Alarm message
will be sent and acknowledgement expected (in case corresponding Ack message
exists and Send To All is not selected on Options page).
P067m45.docx
32
File
To access the "File" menu commands, click on "File" menu item (also short-cut
Alt+F can be used) and pop-up menu with "File" menu commands will appear:
The "File" menu commands are used to process GSM-Control configuration file(s).
There are following commands available:
New
The "New" command is used to start the creation of new GSM-Control
configuration. The "New" command automatically invokes the "Settings" dialog
box (see below). The "New" command also can be invoked by using short-cut
Ctrl+N.
Open
The "Open" command is used to open existing GSM-Control configuration file. By
default the GSM-Control configuration file has the file name extension .XML (e.g.
CONFIG1.XML), but also any other file name extension can be used. This
command also can be invoked by using short-cut Ctrl+O.
Save
The "Save" command can be used to save the current GSM-Control configuration
in the current GSM-Control configuration file. This command also can be invoked
by using short-cut Ctrl+S.
Save As...
The "Save As..." command can be used to save the current GSM-Control
configuration in the different (not current) GSM-Control configuration file.
Recent
The "Recent " command can be used to open some recently used GSM-Control
configuration file.
P067m45.docx
33
Check Configuration
The Check Configuration can be used to check configuration on logic errors. The
command displays Error items dialog box:
If errors found, then items with errors are displayed, and items can be edited
directly from this dialog box, by clicking on Edit button, or deleted by clicking
Delete button. When error fixed, you can press Refresh button to search errors
again.
Standard 1-Way Messages
This command invokes the One Way Messages dialog box, see the Additional
features/One direction sending of SMS messages from GSM-Control/Sending 1way Messages section later in this manual.
Exit
The "Exit" command can be used to exit from GSM-Control Configuration
Program.
Settings
This command invokes the Settings dialog box, where the GSM Modem and LMX
Settings can be entered:
P067m45.docx
34
The GSM Service Center Phone Number and PIN Code are necessary
parameters to initiate the data exchange with GSM-modem connected to the
computer's serial port. The GSM Service Center Phone Number and PIN
Code are unique for each configuration, i.e. each GSM-Control configuration file
contains one common GSM Service Center Phone Number and one Pin Code.
Note: The GSM Service Center Phone Number can be changed at GSM-Control
Communication Program (GSMCTRL.EXE) runtime by using the reserved DDE or
OPC item SERVICE_NUMBER (see Additional features/Sending messages by
using DDE or OPC section later in this manual).
The Galaxy Node, Galaxy Name, LMX Client Name, LMX User and LMX
Password are parameters which describe the LMX data source - used for
connection to Wonderware Application Server Galaxy via MXAccess (LMX Proxy):
Galaxy Node and Galaxy Name parameters are used only by GSMCFG to
browse Galaxy items. Galaxy Node specifies the Galaxy repository node, Galaxy
Name is the name of Galaxy. Those parameters are not used by GSMCTRL
because only one galaxy can be deployed at the time and GSMCTRL must run on
the one of Application Server Galaxy nodes in purpose to access the LMX data.
The pressing of List button enumerates galaxies for Galaxy Node and fills the
Galaxy Name combo box.
LMX Client Name parameter can be any unique string. This parameter
identifies LMX connection to the Application Server and is used internally by
Application Server.
LMX User and LMX Password parameters specify the username and password
of GSMCCTRL connection, in case the security is enabled on the Galaxy.
Help
To access the "Help" menu commands, click on "Help" menu item (also short-cut
Alt+H can be used) and pop-up menu with "Help" menu commands will appear:
P067m45.docx
35
Summary
This command invokes the Summary dialog box, where the whole current
configuration can be displayed and printed:
The Summary dialog box is the only place from where the indexes of Users
(phone numbers) and Send messages can be obtained - these indexes are
displayed at the very left side before each User and Send/Receive pair information.
The index of User (phone number) can be used with DDE or OPC item
NUMBERIDX and index of Send message can be used with DDE or OPC item
MESSAGEIDX.
Contents
This command can be used to display the contents of GSM-Control Configuration
Program help.
Communication Protocols
Dynamic Data Exchange (DDE) is a communication protocol developed by
Microsoft to allow applications in the Windows environment to send/receive data
P067m45.docx
36
Starting GSMCTRL
If starting GSMCTRL program first time after installation, it automatically will
open and work with default configuration file DEFAULT.XML. To use some other
configuration file, open it from GSMCTRL Main Menu by File/Open command or
start GSMCTRL from command line with this configuration file name specified as
command line parameter, like following:
GSMCTRL c:\gsmctrl\gsmdata.xml
P067m45.docx
37
The last configuration file used is saved in GSMCTRL.INI file and will be used if
closing GSMCTRL and starting again.
At GSM-Control Communication Program startup, the GSMCTRL main window
appears and the following actions are performed:
- the GSM-Control configuration file is read and checked;
- the DDE, OPC and LMX links specified in the GSM-Control configuration file are
activated; if current GSM-Control configuration contains OPC data items then
GSM-Control tries to start the corresponding OPC Server(s);
- the GSM-modem is initiated depending on current settings;
- if some alarm conditions are configured and some of these alarms are active (the
Alarm item values are non-zero) then corresponding Alarm messages are sent to
Users linked with these Alarm messages.
Note: the configured SQL connections are not initiated at GSMCTRL startup these connections are initiated when corresponding SQL statements are executed
first time. Therefore it is very important to check all configured SQL statements by
using GSMCTRL simulation mode.
The information about above actions is displayed on the GSMCTRL main window
and also (as default) logged to GSMCTRL log file (see GSMCTRL Menu
Commands/Options/Logging section below):
P067m45.docx
38
File
To access the "File" menu commands, click on "File" menu item (also short-cut
Alt+F can be used) and pop-up menu with "File" menu commands will appear:
Options
To access the "Options" menu commands, click on "Options" menu item (also
short-cut Alt+O can be used) and pop-up menu with "Options" menu commands
will appear:
P067m45.docx
39
P067m45.docx
40
Note!
To prevent the endless cycle of SMS messages exchanged in situations when two
GSM-Control programs are communicating each with other, the GSM-Control
Communication Program always (also if Ignore Bad Messages is not checked)
will not respond with error message to received SMS message where some of
following text strings are included (these are GSMCTRL own error responses):
"Access denied"
"Bad command"
"Bad message received"
"You have sent invalid message"
"Invalid configuration"
"Can't add connection"
Options/Logging
The "Logging" command is used to invoke the "Logging" dialog box:
P067m45.docx
41
The format of information displayed on the GSMCTRL main window and stored to
the GSMCTRL log file can be configured here (the Font selection is not supported
in the current version of GSMCTRL). The "Log to file" selection allows to
enable/disable the storing of logging information to file. If "Log to file" is checked
then all events, communication traffic and other information is stored to the
GSMCTRL log file. The GSMCTRL log file name has the format D_yymmdd.LOG
where yy is a year, mm is month and dd is a day in the month.
Options/Statistics
The "Statistics" command is used to invoke the "Statistics" dialog box:
P067m45.docx
42
Options/Terminal
The "Terminal" command is used to invoke the "Modem Terminal" dialog box:
The "Modem Terminal" dialog box can be used to manually send AT commands to
the modem and see modem responses. At left side of "Modem Terminal" dialog box
there is provided a list of several most useful AT commands, the commands from
this list can be executed by mouse double click. As well as any AT command can be
entered in the Command edit box and executed by pressing the Send button.
All commands and responses are displayed on the "Modem Terminal" dialog box
log screen:
There are two important commands available to determine the modem signal
quality:
1
This command returns received signal strength indication <rssi> and channel bit
error rate <ber>, in the following format:
+CSQ: <rssi>,<ber>
The signal strength indication <rssi> should be at least 15 to get reliable
connection, the possible values are 031 where 31 is the best signal (in modem
GSM-Control User Manual Ver. 4.x Rev 4.5
P067m45.docx
43
user manuals these values usually are converted to dBms, the following
correspondence:
<rssi>
Receive level
-111 dBm
230
-109-53 dBm
31
99
P067m45.docx
44
Options/Edit GSMCTRL.INI
This selection can be used to quickly open the edit the current GSMCTRL.INI file
(see later in this manual).
Send
To access the "Send" menu commands, click on "Send" menu item (also short-cut
Alt+S can be used) and pop-up menu with "Send" menu commands will appear:
P067m45.docx
45
Help
To access the "Help" menu commands, click on "Help" menu item (also short-cut
Alt+H can be used) and pop-up menu with "Help" menu commands will appear:
P067m45.docx
46
License
The Help/License command invokes the License dialog box:
Here the Customer PC Code is computer-dependent string generated by GSMControl and it is unique for this computer. Write it down or Copy/Paste to e-mail
when ordering the GSM-Control.
After purchasing the GSM-Control, you will get the software license key - 16character alphanumeric string. Open the License dialog again and Copy/Paste it
to Software Key field:
P067m45.docx
47
Note - the GSM-Control with MS Excel (DDE) section below is the most
comprehensive and is the only examples section where using GSM-Control as a
DDE server is explained. This explanation can be used also for other DDE or OPC
clients connecting to GSM-Control as DDE or OPC server.
Starting sequence
As both MS Excel and GSM-Control Communication Program (GSMCTRL) has
built-in DDE server and DDE client support, it is important to follow their
starting sequence to have DDE interface properly working (it is assumed neither
MS Excel nor GSMCTRL is currently running):
1
P067m45.docx
48
3 In MS Excel open the Links dialog box by selecting Edit/Links from Excel
main menu. Select (mark) all eight GSMCTRL items available, select
Automatic update and press Update Now. Press OK - the information on
sheet EXEXCEL.XLS have to look like following, indicating MS Excel as a DDE
client is ready to request data from GSM-Control acting as a DDE server:
Check the content of cells B4, B5 C8, C9, C11, C12, C13, C14 - these cells are
directly linked with GSM-Control built-in DDE items and correspondingly new
(fresh) values are coming to these cells directly from GSM-Control. The cells B8,
B9, B11, B12, B13, B14 are used to provide new values (poke) for GSM-Control there is Excel VBA code included (can be viewed by Tools/Macro/Visual Basic
Editor from Excel main menu) where Worksheet_Change function is used to poke
values entered in cells B8, B9, B11, B12, B13, B14 to corresponding GSM-Control
DDE items and Worksheet_Calculate function is used to refresh values in cells B8
and B9 depending on C8 and C9 state.
Note - the cells B4 and C11, which are linked with senders phone number, has the
special (Custom) formatting +# to ensure the + sign indicating international code
is displayed.
P067m45.docx
49
where DDE item R1C2 is inserted at the end of Receive message V: and DDE
item R1C1 is inserted at the end Send message ValueFromR1C1: and this
Send/Receive message pair is linked with User1 having phone number
+358777666555.
The following happens if SMS message V:245 is sent (simulated as below) from
+358777666555 to GSM-Control:
P067m45.docx
50
- the senders phone number is transferred to Excel cell B4 and whole text of
received SMS message is transferred to Excel cell B5 (as these Excel cells are
linked to GSM-Control built-in DDE items SENDER_NUM and
RECV_MESSAGE);
- at 14:21:46.650 the GSM-Control responded to +358777666555 with message
ValueFromR1C1:33, where value 33 was obtained from MS Excel cell A1 (DDE
address R1C1).
Now, if GSM-Control will receive again SMS message V:X (where X is some
integer value), this value will be delivered to Excel cell B1 and GSM-Control will
respond to +358777666555 with SMS message ValueFromR1C1:Y (where Y is
the current value from Excel cell A1).
P067m45.docx
51
where:
- DDE item R2C1 is used as Alarm Item;
- DDE item R2C3 is used as Ack Item;
- the text of Alarm Message is linked with DDE item R2C2, no other text
included;
- the text of Ack Message is Ack it, no Data items inserted;
- these Alarm/Alarm Ack messages are linked with User1 (phone number
+358777666555).
P067m45.docx
52
The following happens if Excel cell A2 value (used as alarm condition) is changed
from 0 to 1 and afterwards +358777666555 responds with Ack it:
P067m45.docx
53
P067m45.docx
54
P067m45.docx
55
The 1-way Messages can be sent also to phone numbers already configured in
GSM-Control - in this case it is necessary to use the GSM-Control built-in DDE
item NUMBERIDX (instead of NUMBER).
P067m45.docx
56
value 0 is entered into cell B13 (linked with GSM-Control built-in DDE item
MESSAGEIDX) and 2) then value 1 is entered into cell B9 (linked with GSMControl built-in DDE item SEND_READS). After sending of SMS messages the
value of SEND_READS changes back to 0:
To send only one of Send messages configured for some User : 1) at first the index
of configured User (1 in our case because there is only one User (phone number
+358777666555) in our current GSM-Control configuration) is entered into cell
B14 (linked with GSM-Control built-in DDE item NUMBERIDX) and index of
Send message (value 2 in example below) is entered into cell B13 (linked with
GSM-Control built-in DDE item MESSAGEIDX) and 2) then value 1 is entered
into cell B9 (linked with GSM-Control built-in DDE item SEND_READS). After
sending of SMS message the value of SEND_READS changes back to 0:
P067m45.docx
57
Starting sequence
As in following examples Wonderware InTouch will be used as DDE server and
GSM-Control Communication Program (GSMCTRL) will be used as DDE client,
InTouch run-time (View.exe) always has to be started before GSMCTRL. The
following sequence:
1
P067m45.docx
58
where Receive message contains only the text Temp? and DDE item temp
(belongs to application View and topic tagname - reserved topic name for
InTouch tagnames database) is inserted into the Send message Temp:C before
character C and this Send/Receive message pair is linked with User1 having
phone number +358777666555.
The following happens if at first the value of tag temp is changed to 23.8 in
InTouch and then SMS message Temp? is sent (simulated as below) from
+358777666555 to GSM-Control:
P067m45.docx
59
Now, if GSM-Control will receive again SMS message Temp? then GSM-Control
will respond to +358777666555 with SMS message Temp:XC (where X is the
current value of tag temp in InTouch).
The second example will explain how to receive SMS message containing new
values for InTouch Memory Discrete tag manual and Memory Discrete tag level,
without no response sent back from GSM-Control.
The corresponding GSM-Control configuration is following:
where DDE items (InTouch tags) manual and level are inserted into Receive
message, Send message is empty and this Send/Receive message pair is linked
with User1 having phone number +358777666555.
P067m45.docx
60
The following happens if SMS message Manual mode:1 New Level:200 is sent (simulated
as below) from +358777666555 to GSM-Control:
P067m45.docx
61
where:
- pressure.Alarm is used as Alarm Item;
- no Ack Item is configured;
- the text of Alarm Message is linked with pressure.AlarmComment and
pressure;
- the text of Ack Message is linked with pressure;
- these Alarm/Alarm Ack messages are linked with User1 (phone number
+358777666555).
P067m45.docx
62
The following happens if in InTouch the new value 91 is entered for tag pressure
(it is greater then High Alarm Value configured as 90 for this tag):
P067m45.docx
63
P067m45.docx
64
Starting sequence
1
Download and install the Vision OPC&DDE Server (further in the text
Vision). Start it and ignore the HASP key not found! message, i.e. run the
Vision in 1-hour demo mode. Select the Configure/Node Definition from
Vision main window and on Vision Node Settings first dialog box modify the
node1 - the Vision Node Settings second dialog box will appear:
P067m45.docx
65
P067m45.docx
66
ItemID
OPC item Identificator, which can be obtained by clicking on Browse button
and selecting from the list of OPC items available on Select OPC Item dialog
box, like following (if OPC Server is not currently running then GSM-Control tries
to start it - this can take some time):
To add the item with address greater than corresponding memory area start
address, at first select the start item (e.g. unit1.MI0, then manually edit the
address in the ItemID field and then press OK button:
P067m45.docx
67
Type
There are following types available: Integer, Real, Discrete and String, the
corresponding OPC native types are listed below (OPC values are in the VARIANT
format). The appropriate type can be selected by clicking mouse left button on
combo box:
- Integer (default selection) - signed 32-bit integer, range of values from 2147483648 to 214748367; the corresponding OPC native types are VT_I4 and
VT_I2;
- Real - 32-bit floating (decimal) point, value may be between 3.4e38; the
corresponding OPC native types are VT_R4 and VT_R8;
- Discrete - discrete with a value of either 0 (False, Off) or 1 (True, On); the
corresponding OPC native type is VT_BOOL;
- Message - text string that can be up to 131 characters long; the corresponding
OPC native type is VT_BSTR.
Precision
This field is accessible only for Real and String types:
- if Type is Real then Precision field is used to enter the number of digits after
decimal point. The default Precision is 0;
- if Type is String then Precision field is used to enter the maximum length of
string.
The Type and Precision fields are used to format the values of Data items in Send
and Alarm messages to be sent from GSM-Control. For example, if Type Real and
Precision 1 is used then following values will be sent from GSM-Control depending
on actual value, for example:
- if actual value is 24.7 then SMS message sent from GSM-Control will contain
24.7;
- if actual value is 24.74 then SMS message sent from GSM-Control will contain
24.7;
- if actual value is 24.75 then SMS message sent from GSM-Control will contain
24.8;
- if actual value is 24 then SMS message sent from GSM-Control will contain
24.0.
Description
Any desired description of OPC item can be entered here and correspondingly it
will be displayed on GSMCFG main window Data page Path (Description) field
for this OPC item.
If Description field is empty then on GSMCFG main window Data page this
OPC item Path (Description) field will be filled with Path, which will contain
P067m45.docx
68
The STATUS item shows the state of communication with PLC (set to 0 when
communication fails and set to 1 when communication is successful). The
UPDATEINTERVAL item indicates the current requested update interval (in
milliseconds).
The configuration of Send/Receive messages pair Receive/Send MI5 in
corresponding Send/Receive page is following:
P067m45.docx
69
where OPC item unit1.MI5 is inserted into Receive message and OPC items
unit1.STATUS, unit1.MI5 and unit1.UPDATEINTERVAL (all belonging to
M90 Server) are inserted into the Send message and this Send/Receive message
pair is linked with User1 having phone number +358777666555.
The following happens if SMS message MI5:2000 is sent (simulated as below)
from +358777666555 to GSM-Control:
Note!
For Discrete items the value to be put into Send messages depends on value
supplied by OPC Server - the value can be True or On or 1 or False or Off or 0. In
Receive messages only values 1 and 0 are expected.
P067m45.docx
70
Starting sequence
1
Create new galaxy named GSMCtrlTestGalaxy and invoke Galaxy Load for the
GSMCtrlTestGalaxyDump.csv file. Connect to galaxy by ArchestrA IDE and
deploy the galaxy.
Open (e.g. by Notepad) the GSMCTRL.INI file (this file is located in same
directory as other GSM-Control files) and add there the following line:
uselmx=1
Save and close the GSMCTRL.INI file.
P067m45.docx
71
Current Galaxy for which items are browsed can be configured under the
Settings dialog box. Some of item attributes may be inaccessible from GSM
Control by using LMX. To test whether attributes are accessible or not, press the
Test Attributes button. The readable attributes are market with green
checkmark, but inaccessible or bad quality items are market with red cross:
P067m45.docx
72
Type
There are following types available: Integer, Real, Discrete and String:
- Integer (default selection) - signed 32-bit integer, range of values from 2147483648 to 214748367;
- Real - 32-bit floating (decimal) point, value may be between 3.4e38;
- Discrete - discrete with a value of either 0 (False, Off) or 1 (True, On);
- Message - text string that can be up to 131 characters long.
Precision
This field is accessible only for Real and String types:
- if Type is Real then Precision field is used to enter the number of digits after
decimal point. The default Precision is 0;
- if Type is String then Precision field is used to enter the maximum length of
string.
Description
Any desired description of LMX item can be entered here and correspondingly it
will be displayed on GSMCFG main window Data page Path (Description) field
for this LMX item.
To accept the entered LMX item information on Data Properties window, click
on OK, or click on Cancel to reject the entered data.
The configuration of Send/Receive messages pair Receive/Send Direction in
corresponding Send/Receive page is following:
P067m45.docx
73
P067m45.docx
74
Starting sequence
1
2.
3.
Select Microsoft Access Driver (*.mdb) as a driver for which you want
to set up a data source. Click on Finish - the ODBC Microsoft Access
Setup dialog box will appear.
4.
5.
6.
P067m45.docx
75
P067m45.docx
76
DSN
The Data Source Name of ODBC data source. The Data Source Name entered
here must be some of System DSNs (System Data Sources) or User DSNs (User
Data Sources) configured in ODBC Data Source Administrator.
UserID and Password
If necessary, here the UserID and Password, needed to access the Data Source
Name, can be entered (our ADB data source does not need these fields to be
entered).
Read SQL and Write SQL
These radio buttons are used to select the type of SQL operation - Read from
database or Write to database. This selection must match with the SQL
statement entered in the Statement field.
Description
Here any free description of SQL Data item can be entered - this will be displayed
on GSMCFG main window in Path/Description field.
Statement/Fields
The Statement and Fields page controls are used to switch between Statement
and Fields pages. On the Statement page the appropriate SQL statement has to
be entered - it must match with current selection of Read SQL or Write SQL
radio buttons. The Fields page is used to describe (format) the data values: for
read statements this description will be used to format the values to be put into
Send messages (SMS messages sent from GSM-Control including data obtained
from SQL database); for write statements this description will be used to format
the values to be written to SQL database - these values are obtained from
Receive messages (SMS messages received by GSM-Control).
In our SQL Read Query the Fields are configured the following way:
Our current configuration contains three String type fields SQL Read Query:
Name, SQL Read Query: Phone and SQL Read Query: Address, each
field maximum length is configured as 32 characters. The order of fields on Fields
page must match with fields on Statement page - in our example three fields
from Fields page matches correspondingly with Name, Phone and Address fields
included in SQL statement.
P067m45.docx
77
- the
and
down;
- the
and
- the
button executes the SQL statement (configured on Statement page)
and can be used to automatically add all existing fields, like below (afterwards
fields can be edited):
- the following Types are available: Integer - signed 32-bit integer, range of
values from -2147483648 to 214748367; Real - 32-bit floating (decimal) point,
value may be between 3.4e38; Discrete - discrete, value of either 0 (False, Off)
or 1 (True, On); String - text string that can be up to 131 characters long;
- the Precision field is accessible only for Real and String types: if Type is
Real then this field is used to enter the number of digits after decimal point; if
Type is String then this field is used to enter the maximum length of string.
- in Description field any free description of this SQL field can be entered - this
will be displayed as Path/Description on GSMCFG main window in
Send/Receive and Alarm pages where all available Data items and SQL fields
are listed.
If Statement page is active then on Data Properties window right side there is
Test button available - by pressing it, the SQL Test window will appear with
current SQL statement displayed. By pressing Test button here, the SQL
statement will be executed and results displayed, as below the default (initial)
contents of EXSQL.MDB are displayed:
P067m45.docx
78
where Receive message contains only the text RSQL and SQL fields SQL
Read Query: Name, SQL Read Query: Phone and SQL Read Query:
Address are inserted into the Send message text and this Send/Receive message
pair is linked with User1 having phone number +358777666555.
The following happens if SMS message RSQL is sent (simulated as below) from
+358777666555 to GSM-Control:
P067m45.docx
79
P067m45.docx
80
The SQL Write Query1 is configured with DSN ADB, the SQL operation is
Write SQL and there are three String type fields SQL Write Query1: Name,
SQL Write Query1: Phone and SQL Write Query1: Address, each field
maximum length is 32 characters. The order of fields on Fields page must match
with fields on Statement page - in our example three fields from Fields page
matches correspondingly with Name, Phone and Address fields included in SQL
statement and the ? (quotation mark) is used to specify the location in SQL
statement where the new values (from SMS message received) will be put before
executing the SQL statement.
If Statement page is active then on Data Properties window right side there is a
Test button available - by pressing it, the SQL Test window will appear with
current SQL statement displayed. By pressing Test button here, the Enter String
value dialog box will appear as many times as there are ? signs included in the
SQL statement and ? sign will be correspondingly substituted with value
entered, like following:
P067m45.docx
81
When last substitution of ? sign is done, the SQL statement will be executed,
result displayed and EXSQL.MDB contains new values:
where Send message is empty and SQL fields SQL Write Query1: Name,
SQL Write Query1: Phone and SQL Write Query1: Address are inserted
into the Receive message text and this Send/Receive message pair is linked with
User1 having phone number +358777666555.
The following happens if SMS message N:Paul
BauerP:+49100200300A:Berlin is sent (simulated as below) from
+358777666555 to GSM-Control:
P067m45.docx
82
Important Note!
The above example exactly illustrates how the information is extracted from SMS
message received - GSM-Control is using the text configured at Receive page to
determine the start and end of each value to be written to database. For example,
the text Paul Bauer is located between N: and P: and these strings define the
start and end of value to be written, i.e. it is not expected : character inside the
Phone number. Therefore it is very important to use appropriate texts (separators)
to eliminate wrong interpretation of data received.
Second example
The second example (SQL Write Query2) will write two values received by GSMControl to EXSQL.MDB fields Name and Address and additionally the senders
phone number will be taken from GSM-Control internal DDE item
SENDER_NUM and written by same SQL query to EXSQL.MDB field Phone. No
response (Send message) from GSM-Control is configured and expected.
The configuration of SQL Write Query2 and DDE item is following:
P067m45.docx
83
The only difference between SQL Write Query1 and SQL Write Query2 is the
following - the value to be written to EXSQL.MDB field Phone is taken from GSMControl built-in DDE item SENDER_NUM (not from received SMS messages
text). There are two String type fields SQL Write Query2: Name and SQL
Write Query2: Address configured, each field maximum length is configured as
32 characters. The order of fields on Fields page matches with ? (quotation
marks) on Statement page. The
(Show/Hide Data Items) button is used to
insert (if necessary) some Data Item into the SQL statement, like below:
P067m45.docx
84
Note!
Only already configured DDE or OPC items can be inserted into SQL statements.
It is not possible to insert SQL fields.
The testing of SQL Write Query2 can be done completely same way as testing of
SQL Write Query1 - by pressing the Test button and substituting two ? signs
and link to DDE item in Enter String value dialog box.
The configuration of Send/Receive messages pair Writing SQL Values (Phone
from SMS message) in corresponding Send/Receive page is following:
where Send message is empty and SQL fields SQL Write Query2: Name and
SQL Write Query2: Address are inserted into the Receive message text and
this Send/Receive message pair is linked with User1 having phone number
+358777666555.
Note!
Check the difference between SQL Write Query2 and SQL Write Query1
Receive messages (NM:{SQL field}A:{SQL field} and N:{SQL field}N:{SQL
field}A:{SQL field}) - to ensure the incoming SMS messages are recognized
correctly, the first text parts of these messages are configured as different: NM:
and N:.
P067m45.docx
85
Not only SQL queries, but also SQL procedures can be used as SQL
statements.
2 There can be more values requested (returned) by SQL statement as there are
SQL fields configured on Fields page and inserted in Send message. For
example, the following Read SQL query can be used to obtain TagName
ReactTemp last 5 Analog History values from Wonderware Industrial SQL
Server Runtime database:
SELECT TOP 5 ah.Value
FROM INSQL Runtime.dbo.AlalogHistory ah
WHERE (ah.TagName = reactTemp) AND
(ah.wwResolution = 5000)
If on Fields page there is configured only one SQL field and only this field is
inserted in Send message then only one (latest) value returned by SQL
statement will be used in Send message.
3 It is highly recommended always to test all configured SQL statements as well
as simulate the sending/receiving of SMS messages.
4 The MS SQL Server Enterprise Manager can be used for graphic design of
standard SQL queries. For SQL queries to Wonderware Industrial SQL
Server you must refer to corresponding user documentation.
P067m45.docx
86
P067m45.docx
87
where any message received from any phone number or e-mail address (as
ANYUSER configured as User) will be put into DDE item RECV_MESSAGE.
where the current contents of DDE item RECV_MESSAGE will be sent to e-mail
address [email protected].
P067m45.docx
88
The following happens if SMS message SMS forwarding test is sent (simulated
as below) from some phone number (e.g. +358111222333 to GSM-Control:
Additional features
One direction sending of SMS messages from GSM-Control
GSM-Control supports the possibility to send SMS messages in one direction from GSM-Control to remote GSM operator or device, without response expected.
The sending can be done manually or via DDE or OPC. There are two kind of
messages available (can be included in GSM-Control configuration) for one
direction sending: 1-way messages and Send messages.
P067m45.docx
89
To include text of messages to be sent in GSM-Control current configuration within GSMCFG by File/Standard 1-Way Messages command invoke the One
Way Messages dialog box (no text messages are configured if entering this dialog
box first time):
and
P067m45.docx
90
There are following elements on the "Send Standard 1-way Messages" dialog
box:
-
Two Users windows: the upper one is used to display and select Users already
configured in GSMCFG and the lower one can be used to enter phone numbers
not configured in GSMCFG.
Two checkboxes, one for each of above Users windows. These checkboxes can
be used to set from where to take phone number(s) where to send the selected
message.
Two Message windows (upper window for already configured 1-way
messages and lower window where to enter a new (not configured in
GSMCFG) message).
Two radio buttons, one for each of above Message windows. These checkboxes
can be used to set from where to take the message to be sent.
P067m45.docx
91
P067m45.docx
92
Also it is possible to manually enter new phone number(s) where to send the
selected message (in this case the lower Users checkbox must be checked). For
example, the following settings allow to send message Something new? to phone
numbers +358666555444 and +358555444333:
P067m45.docx
93
Also it is possible to create some new message directly in the " Send Standard 1way Messages " dialog box. For example, the following settings allow to send
message Process CD-34 started. to phone numbers +358777666555,
+358666555444 and +358555444ss (the User1 (+358777666555) is selected on
upper Users window and both Users checkboxes are checked):
After the message is selected, it can be sent by pressing the Send button.
Sending 1-way Messages via DDE or OPC
The sending of 1-way messages via DDE or OPC can be done from DDE or OPC
client application (e.g. MS Excel or Wonderware InTouch) by connecting to
GSMCTRL built-in DDE or OPC server. The following DDE or OPC items can be
used (see also Additional features/Sending messages by using DDE or OPC section
later in this manual): SEND, MESSAGEIDX, NUMBER and NUMBERIDX.
The sequence in client application is following:
1
2 poke the phone number where to send this 1-way message to item NUMBER
or poke the index of User (see GSM-Control Configuration Program/ GSMCFG
Main Menu/Help/Summary section upper in this manual) to item
NUMBERIDX;
3 poke the value 1 to item SEND.
P067m45.docx
94
P067m45.docx
95
After messages are selected, they can be sent by pressing the Send button.
Sending Send Messages via DDE or OPC
The sending of Send messages via DDE or OPC can be done from DDE or OPC
client application (e.g. MS Excel or Wonderware InTouch) by connecting to
GSMCTRL built-in DDE or OPC server. The following DDE or OPC items can be
used (see also Additional features/Sending messages by using DDE or OPC section
P067m45.docx
96
GSMCTRL.INI file
The GSM-Control Communication Program common settings are stored in the
GSMCTRL.INI file. This file is located in the same directory as GSMCTRL.EXE.
It is an ASCII file and can be altered manually if you wish with any text editor,
e.g. MS Windows Notepad (Do not use a program that formats text, such as MS
Word unless the file is saved as DOS text). The following is a typical content of the
GSMCTRL.INI file:
[GSMCtrl]
AdjInterval=2
SMTPServer=
ViewFlags=255
LogFile=1
Left=15
Top=98
Height=168
Width=518
Usually there is no need to modify the GSMCTRL.INI file manually, because most
of settings can be entered in GSMCTRL dialog boxes. Some special additional
entries are described below.
SendErrorRetries entry
The SendErrorRetries entry is used to specify the number of attempts to send
SMS Message before rejecting it. The default value (if there is no
SendErrorRetries entry in GSMCTRL.INI file) is 5. For example, by adding the
following GSMCTRL.INI entry
SendErrorRetries=3
the GSM-Control will try to send SMS Message 3 times before rejecting it.
P067m45.docx
97
NoAlarmIfAck entry
The GSMCTRL.INI file can contain a special setting (NoAlarmIfAck=1), which
can be used to disable the sending of Alarm Messages if alarm is already
acknowledged in the operator interface application (e.g. in InTouch). The
NoAlarmIfAck=1 can be used only if there is an Ack Item configured for Alarm
Message with which the alarm is associated. If GSMCTRL.INI file contains
NoAlarmIfAck=1 and Ack Item value is 1 (alarm is already acknowledged) then
corresponding Alarm Message will be not sent.
AlarmCheckInterval
The AlarmCheckInterval entry can be added to GSMCTRL.INI file to specify
the alarms scan rate (the update rate for DDE/OPC items configured as Alarm
Items for Alarm messages). The default alarms scan rate (used if GSMCTRL.INI
file does not contain this entry) is 2 seconds.
For example, the following entry can be used to specify the alarms scan rate equal
to 5 seconds:
AlarmCheckInterval=5
P067m45.docx
98
ModemRestartTimeout
The ModemRestartTimeout entry can be added to GSMCTRL.INI file to
disable or specify other value different from default value for the timeout when
GSM-modem is in not registered in GSM-network state continuously on and
after what GSM-modem will perform the GSM-modem reset and restart - whole
GSM-Control start-up sequence plus additionally for Siemens modems in the
beginning also the AT+CFUN=1,1 command will be executed.
The default ModemRestartTimeout (used if GSMCTRL.INI file does not
contain this entry) value is 300 seconds.
For example, the following entry can be used to specify the GSM-modem reset and
restart after being 10 minutes continuously in not registered in GSM-network
state:
ModemRestartTimeout =600
To disable the GSM-modem reset and restart, the following entry can be used:
ModemRestartTimeout =0
Note! The GSM-modem reset and restart will be performed also if GSM-Control
will detect modem power off/on (^SYSSTART received on COM port).
ModemRestartPeriod
The ModemRestartPeriod entry can be added to GSMCTRL.INI file to enable
the periodic automatic GSM-modem reset by executing the AT+CFUN=1,1
command. This setting is valid only for Siemens modems, the reset time interval is
in minutes.
The default ModemRestartPeriod (used if GSMCTRL.INI file does not contain
this entry) value is 0 modem automatic reset disabled.
For example, the following entry can be used to specify the Siemens GSM-modem
automatic reset each 10 minutes:
ModemRestartPeriod =10
To disable the Siemens GSM-modem periodic automatic reset, the following entry
can be used:
ModemRestartPeriod =0
P067m45.docx
99
Charset=chset
Where chset is one of following: GSM, IRA, TTP, UCS2, PCCP850, PCCP852,
PCCP1250, PCCP1252, 8859-1, 8859-2, UTF-8, ERICSSON.
For example if PCCP1252 char set is used the GSMCTRL.INI file must contain
line:
Charset=PCCP1252
Mode settings
As default, GSM-Control sends short messages in PDU mode. The GSM-Control
detects the modes enabled in the GSM-moded during the GSMCTRL program
startup. By using PDU_MODE setting in GSMCTRL.INI file, you can force
usage of text or PDU SMS-message sending mode:
PDU_MODE=mode
Where mode can be 0 or 1. If mode is 0 then text mode will be used, if mode is 1
then PDU mode will be used.
Unicode settings
Some GSM-modems supports the Unicode character set. In Unicode the character
to be sent is precisely specified, but one character takes 2 times more space in the
SMS-message. For this reason Unicode messages are 2 times shorter than
messages if other character sets are used. If SMS-message to be sent by GSM
Control exceeds thje message length limit, then message is truncated before
sending and corresponding warning is logged to GSM-Control logger. To force the
Unicode usage, the following line should be placed in GSMCTRL.INI file:
UNICODE=mode
Where mode can be 0 or 1. The 0 specifies usage of character set specified by
Charset setting in GSMCTRL.INI file or the modem default character set if
P067m45.docx
100
Charset setting is not specified. The UNICODE=1 specifies the usage of Unicode
character set UCS2, if it is supported by the GSM-modem.
Debug settings
It is possible to trace all serial communication between PC and modem. This may
be useful in case of communication or GSM-Control program logic problems or if
using modem not tested with GSM-Control program. If some problems occur then
it is recommended to enable full logging of serial communication between PC and
modem. To enable the full logging, you can use the following settings in
GSMCTRL.INI file:
ShowSend=1
ShowReceive=1
To disable send and receive logging, you may delete these lines or specify value 0
instead of 1:
ShowSend=0
ShowReceive=0
P067m45.docx
101
lpszEv
lpszData1
lpszData2
1001
"WARN"
1002
"INFO"
info text
1003
"SMSSEND"
phone number
1004
"WAVSEND"
phone number
1005
"SMSFAIL"
phone number
empty string
1006
"SMSDROP"
phone number
1007
"SMSREC"
phone number
1008
"WAVFAIL"
phone number
empty string
P067m45.docx
102
P067m45.docx
103
GSMCTRL /RegServer
After above operation GSMCTRL OPC Server will appear in the OPC Servers list
and becomes accessible for OPC Clients.
Note!
GSMCTRL OPC Server registration is included in the GSM-Control installation
package delivered by Wonderware Finland & Baltics. In this case above operation
is not necessary.
For GSMCTRL OPC Server mode deactivation the GSMCTRL has to be started
with the following command line parameter:
GSMCTRL /UnregServer
After above operation GSMCTRL OPC Server will disappear from the OPC
Servers list accessible for OPC Clients.
Configuring DCOM
After GSMCTRL OPC Server installation the System Administrator must
configure DCOM by DCOM configuration program - by Dcomcnfg.exe (or
Dcomcnfg32.exe for Win9x) system tool. This utility is located in the Windows
system directory - e.g. in \WinNT\system32\ or \Win9x\system\. After starting
Dcomcnfg.exe, select GSMCTRL OPC Server on Applications page and click on
Properties - the GSMCTRL OPC Server Properties window will appear. All
further configuration is to be done from there.
P067m45.docx
104
OPC Server from local OPC Clients configured as services, then Allow Access
permission must be configured for SYSTEM and for all users, which need access
to the GSM-Control OPC server.
Security/launch permissions - Allow Launch must be specified for each user,
which launches OPC Client on local machine. Typically specify Allow Launch for
Users group. If is necessary to access GSM-Control OPC Server from local OPC
Clients configured as services then Allow Launch permission must be
configured for SYSTEM also.
Security/configuration permissions
Administrators - Full Control
CREATOR OWNER - Full Control
SYSTEM - Full Control
Full Control for all users, which have permission to register GSM-Control as
OPC server.
For users, which have permission to read data from OPC server the sufficient
permission is Read.
Note - OPC server registration and unregistration is silent. No error messages are
displayed if operation is unavailable due to permission restrictions.
Identify
Identify has to be The launching user. In case of using GSM Control as local
OPC server, the Identify can be also The interactive user, but this setting will
not work if user is not logged on and OPC Clients which are running as services
will not be able to connect to the GSM-Control OPC server while user is not logged
on computer.
Also This user can be selected. In this case GSM-Control OPC Server will be
invisible on the screen and GSM-Control user interface will be inaccessible. If user
is different as user logged on then GSM-Control OPC Server cannot be terminated
by Task Manager. The user specified in this setting can be any user which have
access to hardware and software resources used by GSM-Control. This user can be
without permission to launch or configure OPC Server specified in the Security
page of DCOM configuration program.
P067m45.docx
105
OPC Server must be installed and registered at computer where it will run. For
some OPC clients it may be necessary to register OPC Server on client computer.
OPCEnum is used to browse OPC servers on local or remote computer, the
DCOM settings for OPCEnum.exe are following:
Location
Run application on this computer - must be checked on both computers.
Security/Access permissions can be default.
Security/launch permissions
Launch permission must be set for each user, which can be able to configure OPC
items on OPC Server computer. On the client computer OPCEnum launch
permissions can be default, but some OPC clients may handle this situation
incorrectly, therefore it is better to assign launch permission for users working on
remote OPC client computer.
Security/configuration permissions
SYSTEM must have at least Read permission on OPC Server computer. On OPC
Client computers at least Read permission must be set for users working with
OPC clients.
Administrators must have Full Control permission on both computers, otherwise
nobody can be able to configure or unregister OPCEnum.
Identify
On GSM-Control OPC Server computer the Identify must be set to The
interactive User. On remote OPC Client computer it can be The interactive
user or The launching user.
DCOM Settings for GSM-Control as remote OPC Server:
Location - Run application on this computer must be checked.
Security/access permissions can be default. If GSM-Control OPC Server is
running as service, then Allow Access permission should be set for NETWORK
and remote OPC client computers.
Security/launch permissions must be set to NETWORK and for users working
on remote client computers.
Security/configuration permissions - Read must be set for NETWORK and
for users working on remote OPC client computers.
Identify - The interactive user must be selected.
P067m45.docx
106
Error message
Possible reason
1)
2)
3)
4)
Error 80070776
Catastrophic failure
Not enough storage
DDE items
The DDE protocol identifies an element of data by using a three-part address,
including: Application, Topic and Item.
Application
refers to the name of the Windows program (server) with which
the client wants to exchange the data. In the case of GSMCTRL the application
portion of the DDE address is "GSMCTRL".
P067m45.docx
107
Topic
is an application-specific subgroup of data. There is a topic with name
"PHONE" reserved for GSMCTRL. The "PHONE" topic is used for dialing and
sending/receiving SMS messages.
Item indicates a specific data within the specified topic. There are following predefined items for the "PHONE" topic:
CLIENT_CTRL_MSG
DDE string
This item is used to specify the SMS message to be sent when DDE Client
terminates connection or is closed. This item is separate for each Client, so
different Clients can have different messages.
CLIENT_CTRL_NUM
DDE string
This item is used to specify the GSM phone number where to send the SMS
message when DDE Client terminates connection or is closed. This item is
separate for each Client, so different clients can have different phone numbers.
MESSAGE
DDE string
This item is used to specify the SMS message to be sent. Not supported for
sending by SEND_READS item.
MESSAGEIDX
DDE integer
This item is used to specify the index of SMS message to be sent from the list of
1-way messages (see Sending 1-way Messages section upper in this manual) or
from the list of Send messages (see Sending Send Messages section upper in
this manual). In this case the SMS message to be sent is taken from this list. The
index starts from value 1. If MESSAGEIDX value is 0 then SMS message to be
sent must be specified in the MESSAGE item.
NUMBER
DDE string
This item is used to specify the GSM phone number where to send the SMS
message. If SEND_READS item will be used for sending then this phone
number must be some of configured User phone number.
NUMBERIDX
DDE integer
This item is used to specify the index of GSM phone number where to send the
SMS message. Each configured User (phone number) has unique index (starting
from 1), automatically assigned by GSMCFG (see GSMCFG Main
P067m45.docx
108
PORT
DDE integer
This item can be used to specify the number of COM port used. If writing new
value to this item then GSMCTRL closes the previous COM port and opens the
new COM port as well as performs the GSM-modem startup initialization.
QUEUE_LEN
DDE integer
Total amount of SMS messages currently waiting to be sent. The same value as
"Messages in queue" on GSMCTRL Statistics dialog box (invoked by
Options/Statistics command).
RECV_MESSAGE
DDE string
RECV_MSG_DATE
DDE string
RECV_MSG_TIME
DDE string
REGSTAT
DDE integer
This item can be used to monitor the current registration status of GSM-modem.
GSM-Control is periodically (each 60 seconds) sending AT+CREG? (network
registration status inquiry) command to GSM-modem and received status value
is assigned to item REGSTAT, so in DDE Client it is possible to detect GSM
network fail or GSM-modem connectivity problems. The following REGSTAT
values are possible:
0
registration denied;
P067m45.docx
unknown;
registered, roaming.
109
Notes:
1
Only the values 1 and 5 indicates the GSM-modem is registered in the GSMnetwork and sending and receiving of SMS-messages is possible.
SEND
DDE discrete
This item is used to start the sending of SMS message configured as 1-way
message. Initially this item is 0, to start the sending the DDE Client should set
this item to 1. After the SMS message is sent then GSMCTRL returns this item
value back to 0.
SEND_READS
DDE discrete
This item is used to start the sending of SMS message configured as Send
message. Initially this item is 0, to start the sending the DDE Client should set
this item to 1. After the SM is sent then GSMCTRL returns this item value back
to 0.
SENDER_NUM
DDE string
This item contains the sender phone number of last received SMS message.
SERVICE_NUMBER
DDE string
This item can be used to monitor/change the currently used number of GSM
Service Center. If client application (e.g. InTouch or Excel) pokes new value to
this item then GSM Control Communication Program will update the SMSC
address, through which the mobile originated SMS messages are transmitted.
P067m45.docx
STAT_FAIL
110
DDE integer
Total amount of SMS messages failed to send from GSM-Control after last
restart. The same value as "Failed messages" on GSMCTRL Statistics dialog
box (invoked by Options/Statistics command).
STAT_RECV
DDE integer
Total amount of SMS messages received by GSM-Control after last restart. The
same value as "Received messages" on GSMCTRL Statistics dialog box
(invoked by Options/Statistics command).
STAT_SENT
DDE integer
Total amount of SMS messages sent from GSM-Control after last restart. The
same value as Sent messages on GSMCTRL Statistics dialog box (invoked by
Options/Statistics command).
STATUS
DDE integer
This item can be used to monitor the status of communication between PC and
modem:
TIMER
-2
-4
-6
-10
DDE integer
Total amount of minutes elapsed after GSMCTRL start-up. This item can be
used to determine if connection from DDE Client to GSMCTRL is still alive - as
TIMER value each minute increases by 1.
P067m45.docx
111
Establish DDE link with the GSMCTRL using Application "GSMCTRL" and
Topic "PHONE".
2 Directly specify the number of GSM phone where to send the SMS message in
the DDE item NUMBER or specify the index of GSM phone number in the
DDE item NUMBERIDX.
3 Poke the text of SMS message to be send directly into DDE item MESSAGE or
specify the index of message (from the list of 1-way messages or from the list
of Send messages) in the DDE item MESSAGEIDX.
4 Poke "1" into DDE item SEND or SEND_READS.
5 Wait and monitor the value of DDE item SEND or SEND_READS while it
becomes "0". When it happens then sending is completed.
6 Monitor the value of DDE item STATUS while sending the first SMS message.
If the value of STATUS all the time is 0 then the communication between PC
and modem is O.K. and SMS messages can be successfully delivered.
P067m45.docx
112
The "DUMMY" item accepts DDE requests for any DDE item, but does not send
data as well as does not accept new data values.
OPC Items
The GSMCTRL as an OPC Server contains the data address space described
below. This address space includes the following pre-defined items for the
"PHONE" data group, the values of these items are in the VARIANT format.
MESSAGE
This item is used to specify the SMS message to be sent. Not supported for
sending by SEND_READS item.
MESSAGEIDX
This item is used to specify the index of SMS message to be sent from the list of
1-way messages (see Sending 1-way Messages section upper in this manual) or
from the list of Send messages (see Sending Send Messages section upper in
this manual). In this case the SMS message to be sent is taken from this list. The
index starts from value 1. If MESSAGEIDX value is 0 then SMS message to be
sent must be specified in the MESSAGE item.
NUMBER
This item is used to specify the GSM phone number where to send the SMS
message. If SEND_READS item will be used for sending then this phone
number must be some of configured User phone number.
NUMBERIDX
This item is used to specify the index of GSM phone number where to send the
SMS message. Each configured User (phone number) has unique index (starting
from 1), automatically assigned by GSMCFG (see GSMCFG Main
Menu/Help/Summary section above in this manual). If NUMBERIDX value is
0 then GSM phone number where to send the SMS message must be specified in
the NUMBER item.
PORT
This item can be used to specify the number of COM port used. If writing new
value to this item then GSMCTRL closes the previous COM port and opens the
new COM port as well as performs the GSM-modem startup initialization.
P067m45.docx
QUEUE_LEN
113
Total amount of SMS messages currently waiting to be sent. The same value as
"Messages in queue" on GSMCTRL Statistics dialog box (invoked by
Options/Statistics command).
RECV_MESSAGE
REGSTAT
This item can be used to monitor the current registration status of GSM-modem.
GSM-Control is periodically (each 60 seconds) sending AT+CREG? (network
registration status inquiry) command to GSM-modem and received status value
is assigned to item REGSTAT, so in OPC Client it is possible to detect GSM
network fail or GSM-modem connectivity problems. The following REGSTAT
values are possible:
0
registration denied;
unknown;
registered, roaming.
Notes:
1
Only the values 1 and 5 indicates the GSM-modem is registered in the GSMnetwork and sending and receiving of SMS-messages is possible.
P067m45.docx
114
RECV_MSG_DATE
RECV_MSG_TIME
SEND
This item is used to start the sending of SMS message configured as 1-way
message. Initially this item is 0, to start the sending the OPC Client should set
this item to 1. After the SMS message is sent then GSMCTRL returns this item
value back to 0.
SEND_READS
This item is used to start the sending of SMS message configured as Send
message. Initially this item is 0, to start the sending the OPC Client should set
this item to 1. After the SM is sent then GSMCTRL returns this item value back
to 0.
SENDER_NUM
This item contains the sender phone number of last received SMS message.
SERVICE_NUMBER
This item can be used to monitor/change the currently used number of GSM
Service Center. If OPC Client pokes new value to this item then GSM Control
Communication Program will update the SMSC address, through which the
mobile originated SMS messages are transmitted.
STAT_FAIL
Total amount of SMS messages failed to send from GSM-Control after last
restart. The same value as "Failed messages" on GSMCTRL Statistics dialog
box (invoked by Options/Statistics command).
STAT_RECV
P067m45.docx
115
Total amount of SMS messages received by GSM-Control after last restart. The
same value as "Received messages" on GSMCTRL Statistics dialog box
(invoked by Options/Statistics command).
STAT_SENT
Total amount of SMS messages sent from GSM-Control after last restart. The
same value as Sent messages on GSMCTRL Statistics dialog box (invoked by
Options/Statistics command).
STATUS
This item can be used to monitor the status of communication between PC and
modem:
TIMER
-2
-4
-6
-10
Total amount of minutes elapsed after GSMCTRL start-up. This item can be
used to determine if connection from OPC Client to GSMCTRL OPC Server is
still alive - as TIMER value each minute increases by 1.
P067m45.docx
116
Establish the OPC connection with GSMCTRL OPC Server by using OPC
Client menu item OPC/Connect and select the "GSMCTRL OPC Server".
2 By using the OPC Client menu item OPC/Add Item: add and directly specify in
the OPC item PHONE.NUMBER the number of GSM phone where to send the
SMS message or specify the index of GSM phone number in the OPC item
PHONE.NUMBERIDX.
3 Put the SMS message to be send directly into OPC item PHONE.MESSAGE or
specify the index of message ((from the list of 1-way messages or from the list
of Send messages)) in the OPC item PHONE.MESSAGEIDX.
4 Put "1" into OPC item PHONE.SEND or PHONE.SEND_READS.
5 Wait and monitor the value of OPC item PHONE.SEND or
PHONE.SEND_READS while it becomes "0". When it happens then sending
is completed.
6 Monitor the value of OPC item PHONE.STATUS while sending the first SMS
message. If the value of PHONE.STATUS all the time is 0 then the
communication between PC and modem is O.K. and SMS messages can be
successfully delivered.
P067m45.docx
117
is) and on your mailserver the forwarding of incoming e-mails to GSM-Control email address must be enabled. For example, if MS Exchange Server is used,
GSM-Control e-mail address is [email protected] and IP address of
computer where GSM-Control is running is 111.222.333.444 then following
actions are necessary:
- on MS Exchange Server create the custom recipient with address
[email protected];
- on local DNS controller there must be record with host name and IP address:
MyPC/111.222.333.444;
- if there is no record MyPC.mycompany.cc in DNS records at ISP (Internet
Service Provider) then this record must be added (as 111.222.333.444
MyPC.mycompany.cc) to the hosts file (located as
%sysroot%\system32\drivers\etc\hosts).
Note!
If GSM-Control is used as a pure mailserver without GSM-modem connected then
GSMCTRL log file is consecutively filled with messages ATI timeout, no response
from modem. The support of pure mailserver is not a GSM-Control basic feature,
so such a logging can be considered as dispensable.
Sending/receiving SMS Messages by e-mails from/to GSM-Control
GSM-Control supports the possibility to send SMS Messages by e-mails from
GSM-Control to GSM network and to receive SMS Messages as e-mails from GSM
network. To configure User as e-mail sender or receiver, simply replace User
phone number by e-mail address (see GSMCFG Main Window/Users Page
section upper in this manual). This e-mail address usually contains the mobile
user GSM phone number. If your GSM provider does not support possibility to
send/receive SMS Messages by e-mail, then you cannot use this GSM-Control
additional feature.
The implementation of sending/receiving SMS Messages by e-mail varies for
different mobile operators and countries. The following is some general example
how sending/receiving SMS Messages could work:
- to send SMS Message from mobile phone to GSM-Control by e-mail: on your
mobile phone or device select Write Message, start message text with the GSMControl e-mail address (receiver of message, e.g. [email protected]),
then enter some special separator (e.g. space or #) and then proceed with the
message itself; then send it to your GSM provider phone number reserved for
sending SMS Messages from mobile phone to e-mail (e.g. 9912); the SMS
Message now will be delivered to GSM-Control by e-mail;
- to send SMS Message by e-mail from GSM-Control to GSM mobile phone or
device: at first an account has to be opened at your GSM provider for receivers
phone number and then you can send e-mail containing the message text to
P067m45.docx
118
Time Shifts
By pressing the Time Shifts button on the Configure User dialog box (see
GSM-Control Configuration Program/Users Page section upper in this manual),
the Time Shifts dialog box can be invoked where day/time when Alarm messages
will be sent to this User can be entered:
The above configuration enables the Alarm messages will be sent to this User only
on working days between 08:00 and 16:00.
Errors
All GSM-Control Communication program (GSMCTRL) activity is displayed on
the GSMCTRL main window and also (as default) logged to GSMCTRL log file, so
all GSMCTRL errors are indicated there.
The following are most common errors, which can happen at GSMCTRL
startup/restart:
Error Indication
ATI timeout, no response from
modem
Probable Cause
Solution
1) GSM-modem not
connected.
1) Connect GSM-modem to
COM port currently
selected at GSM-Control
configuration Options/
Communications.
P067m45.docx
119
'itemname'
The following are most common errors, which can happen at GSMCTRL runtime:
Error Indication
+CMS ERROR: 50
+CMS ERROR: 500
Probable Cause
1) The SMSC phone number
specified at GSM-Control
configuration Settings
Solution
1) Check and correct the
SMSC phone number
specified at GSM-
P067m45.docx
120
Control configuration
Settings.
P067m45.docx
121
P067m45.docx
122
Feb 98
Rev 1.0
First Release
Mar 98
Rev 1.1
Mar 98
Rev 1.2
Apr 98
Rev 1.3
May 98
Rev 1.4
May 98
Rev 1.5
May 98
Rev 1.6
Sep 98
Rev 1.7
Oct 98
Rev 1.8
Oct 98
Rev 1.9
Feb 99
Rev 1.10
Apr 99
Rev 1.11
Jul 2000
Rev 2.0
P067m45.docx
123
Dec 2000
Rev 2.1
Feb 2001
Rev 2.2
Mar 2002
Rev 3.0
Apr 2002
Rev 3.1
Jul 2003
Rev 3.2
Jan 2004
Rev 3.3
Sep 2004
Rev 3.4
Aug 2005
Rev 3.5
Mar 2007
Rev 3.6
Sep 2007
Rev 4.0
Jun 2008
Rev 4.1
Jul 2008
Rev 4.2
Jul 2010
Rev 4.3
Working with software license key description added. In GSMControl with Wonderware Application Server section the
description of uselmx=1 setting added.
P067m45.docx
124
Aug 2012
Rev 4.4
Jan 2013
Rev 4.5
P067m45.docx