Professional Documents
Culture Documents
Configure A Channels Connection Type
Configure A Channels Connection Type
Short Message Service (SMS) is a communications protocol specially designed for sending text
messages between mobile telephone devices. It is used throughout the world.
The communications setup required for ClearSCADA to send SMS messages is similar to that for
TAP - Telocator Alphanumeric input Protocol.
Command Purpose
This initial poll string consists of standard Hayes modem commands that turn
on verbose mode and turn off echo, auto-answer, and speaker. They also
check that the GSM modem is ready to send data.
ATM0V1E0H0S0=0 Эта исходная строка опроса состоит из стандартных команд модема Hayes, которые
включают подробный режим и отключают эхо, автоответ и динамик. Они также
проверяют, готов ли модем GSM к отправке данных.
Command Purpose
Requests the modem to respond with its error support number. The error
AT+CMEE? support number indicates the level of error support that is provided by the
modem.
Where <n> = 0-2 (the angle brackets < > are not included).
This command sets the GSM modem to the highest available error-support
AT+CMEE=<n> mode (determined from the query).
Puts the modem into Text mode so that it can send text characters, as required
AT+CMGF=1
for sending SMS messages.
Identifies the mobile telephone to which the message is to be sent. The GSM
modem responds to this with a prompt for the body of the message. You then
AT+CMGS="<recip
enter the body of the message and the GSM modem sends the message to the
ient number>"
telephone number defined in this command. When the message has been sent,
the command is terminated by Ctrl-Z.
Checks that the modem is set to use the GSM 03.38 character set so that non-
AT+CSCS='GSM' Roman characters can be sent correctly. If the modem cannot be put into
GSM 03.38 mode, an error occurs.
Sets the DCS (Data Coding Scheme) for the modem. This is used for both
sending and processing messages.
AT+CSMP=17,167,
0,0
You can set the Data Coding Scheme on the SMS Service Form (see Define
the Data Coding Scheme for an SMS Service)
These commands are supported by many GSM modems and are the only commands supported by
the Pager driver.
For further information on this protocol, please refer to the Global System for Communications
(GSM) document: Digital cellular telecommunications system (Phase 2+); Use of Data Terminal
Equipment - Data Circuit terminating; Equipment (DTE - DCE) interface for Short Message
Service (SMS) and Cell Broadcast Service (CBS) (GSM 07.05 version 5.5.0). This document can be
searched for, and downloaded from, this website: http://pda.etsi.org/pda/queryform.asp
Pager Channels have a Channel tab on their configuration Form. The Channel tab contains a
variety of properties, some of which are exclusive to a particular type of Pager Channel and some of
which are common to multiple types of Pager Channel.
The properties that are common to multiple types of Pager Channel include:
In Service—Use to set the Pager Channel database item to active or inactive in the database
(see Placing an Item In Service in the ClearSCADA Guide to Core Configuration).
Severity—Use to define the severity (importance) of alarms and events that are generated
and logged for the Pager Channel (see Defining Severities in the ClearSCADA Guide to
Core Configuration).
Area of Interest—If the Area of Interest feature is enabled on your system, an Area of
Interest field is displayed on the Channel tab. Use the field to specify the Area of Interest
with which any Pager Channel alarms and events are associated (see Assign a Different Area
of Interest to an Item’s Alarms and Events in the ClearSCADA Guide to Core
Configuration).
For more information on the Area of Interest feature, see Restrict Alarm and Event Access to
Specific Areas of Interest in the ClearSCADA Guide to Core Configuration.
Pager Service—Use to associate the Pager Channel with the Pager Service database item
that provides information about the protocol to be used with the Pager Channel.
Use the Pager Service field's browse button to display a Reference window that contains a
list of Pager Services. The list only contains those Pager Services that are compatible with
the type of Pager Channel you are configuring, for example, the reference window for an
SMS Pager Channel only shows the SMS Pager Services on your system. Choose the
required Pager Service from the list, then select the OK button to confirm your selection and
close the Reference window.
Comms Retries—Use to define the number of times the Pager Driver will attempt to resend
data packets to which the 'receiving' communications equipment has failed to respond (see
Define the Number of Communications Retries for a Pager Channel).
Line Speed—Use to define the slowest part of the connection that is represented by the
Pager Channel (see Define the Line Speed for a Pager Channel).
Modem Command—Use to enter the Modem Command that is required to initialize your
modem. The default entry provides the minimum command required to allow ClearSCADA
to communicate with the modem. Depending on the type of modem being used, you may
need to apply additional commands. For more information, see Define the Modem
Command for a Pager Channel.
The Modem Command property is only available on PSTN and SMS Pager Channels.
14. In the Value Data field, enter the settings for the serial port that is to be used. The
settings must correspond with the settings of the equipment attached to the port (the required
settings should be provided in the documentation supplied by the equipment manufacturer).
The actual Connection Type options vary, depending on the type of channel. They typically
comprise a combination of these options:
Serial
Select this option if the channel is to represent an RS-232 or RS-485 type connection between
ClearSCADA and your communications equipment.
If a channel has a Serial connection, you need to Configure a Channel’s Serial Connection
Properties.
Remote Serial
ClearSCADA includes an application called a ‘Port Server’ that can provide remote access to serial
ports, or allow modem or port sharing (see Set up a Port Server). In order to provide any of the
above, port server software has to be installed on the relevant ClearSCADA server or remote PC.
If you are using a port server to:
Provide ClearSCADA with exclusive access to a remote computer’s serial ports
Allow modem sharing (PSTN channels)
Allow port sharing (Direct channels)
use a channel with a Remote Serial connection to communicate via the ClearSCADA server
or remote PC that is running the port server software. Use a Remote Serial connection for a
Dynamically Assigned Port setup.
If a channel has a Remote Serial connection, you need to Configure a Channel’s Remote
Serial Connection Properties.
TCP/IP
Use a channel with a TCP/IP connection to provide a point-to-point connection to a single
network-connected device, such as a network attached serial converter. You can use a TCP/IP
connection to:
Provide a point-to-point TCP/IP connection to a protocol converter device, such as a
network-to-serial device, or a radio base station.
Use ClearSCADA with a Static Port Server port (see Port Server on Remote Computer for
Remote Access to Serial Ports).
Provide a point-to-point TCP/IP connection to another device, such as a relay-type device.
Provide a one-to-one TCP/IP connection to a single outstation. You might use a TCP/IP
connection, for example, to connect ClearSCADA to an outstation which itself is a router to
other outstations.
If an advanced driver channel has a TCP/IP connection, you need to Configure a Channel’s
TCP/IP Connection Properties. (Channels that represent TCP/IP communications on simple
drivers typically have no other TCP/IP connection-specific properties.)
Network
Use an advanced driver channel with a Network connection to communicate with multiple
network-connected devices.
Network channels typically comprise a series of point-to-point connections (usually one per
outstation) that are independent of each other. ClearSCADA can scan the outstations either:
Sequentially, for example, in the same way as a multidrop serial channel scans its
outstations.
or
Concurrently, where outstations can be scanned simultaneously (this is the default
configuration for the majority of advanced drivers, check the relevant driver
documentation).
If a channel has a Network connection, you need to Configure a Channel’s Network Connection
Properties.
Where several outstations have the same IP address, their network connections can be merged so
that they use a single connection.
Networking does not apply to PSTN outstations.
None
This option is only available for simple driver channels that support communication using either of
two ports. The option is available from the Channel Form’s Secondary Port tab. Select this option
if the secondary port is not used.
For any connection types that are not listed above, see the relevant driver guide.