NOJA-718-03 TELUS Remote User Guide
NOJA-718-03 TELUS Remote User Guide
NOJA-718-03 TELUS Remote User Guide
NOJA Power
User Manual
TELUS Remote
User guide
NOJA-718
Revision History
Rev Author Date Comment
Draft Release OS 12-7-04 Draft release of TELUS Remote User guide.
1 OS 5-8-04 Added Wavecom modem configuration commands.
2 BOS 26-8-05 Expanded CommManager and CommServer documentation.
3 BOS 24-11-08 Updated functionality and installation sections.
This document is copyright and is intended for users and distributors of NOJA Power Switchgear product. It
contains information that is the intellectual property of NOJA Power Switchgear and the document, or any part
thereof, should not be copied or reproduced in any form without written permission from NOJA Power
Switchgear.
NOJA Power is a trademark of NOJA Power Switchgear and should not be reproduced or used in any way
without written authorisation.
NOJA Power Switchgear applies a policy of ongoing development and reserves the right to change product
without notice. NOJA Power Switchgear does not accept any responsibility for loss or damage incurred as a
result of acting or refraining from action based on information in this User Manual.
Contents
1 INTRODUCTION ...............................................................................................................................................2
1.1 Applicability.............................................................................................................................................2
1.2 Requirements..........................................................................................................................................2
2 GENERAL INFORMATION...............................................................................................................................3
3 GENERAL ARCHITECTURE............................................................................................................................4
4 SOFTWARE MODULE FUNCTIONS ...............................................................................................................5
5 INSTALLATION AND CONFIGURATION ........................................................................................................6
5.1 CommServer Configuration...................................................................................................................6
5.1.1 Locating and Accessing CommManager .......................................................................................6
5.1.2 Configuring Communications between CommServer and TELUS ..............................................7
5.1.3 Configuration of Communication Channels ..................................................................................9
5.1.4 Configuring Communication Sessions ........................................................................................11
5.1.5 Starting and Connecting to CommServer ....................................................................................12
5.1.6 Loading Settings into CommServer..............................................................................................13
5.2 TELUS Remote Configuration .............................................................................................................13
5.3 MPM Configuration ...............................................................................................................................16
6 USING COMMMANAGER ..............................................................................................................................18
6.1 CommManager Interface......................................................................................................................18
6.2 CommServer Channel Properties .......................................................................................................19
6.2.1 Application Layer Settings.............................................................................................................19
6.2.2 Data Link Settings...........................................................................................................................19
6.2.3 Physical Layer Settings..................................................................................................................19
6.2.4 Modem Control................................................................................................................................23
6.2.5 Log Settings ....................................................................................................................................24
6.3 CommServer Session Properties........................................................................................................26
6.3.1 Poll Configuration ...........................................................................................................................26
6.3.2 Control Mask ...................................................................................................................................27
6.3.3 Unsolicited Masks...........................................................................................................................28
6.3.4 Defaults ............................................................................................................................................28
6.3.5 Log Settings ....................................................................................................................................28
6.4 CommManager Options .......................................................................................................................29
6.4.1 Network Connection Options ........................................................................................................29
6.4.2 Bar Options......................................................................................................................................30
6.4.3 Event Log Options ..........................................................................................................................33
6.4.4 Unsolicited Reponses ....................................................................................................................34
6.5 Viewing Connections Using The On-Line Bar ...................................................................................35
6.5.1 NetChannel Information .................................................................................................................35
6.5.2 CommChannel Information............................................................................................................36
6.5.3 CommSession Information ............................................................................................................37
6.6 CommManager Event Log ...................................................................................................................38
7 WORKING DIRECTLY WITH COMMSERVER ..............................................................................................42
7.1 Comm State Console............................................................................................................................42
7.1.1 Hot Keys...........................................................................................................................................42
7.1.2 Summary of CommChannel Information Window .......................................................................43
7.1.3 Selected CommChannel Information Window .............................................................................43
7.1.4 Selected CommSession Information Window .............................................................................44
7.2 Network State Console.........................................................................................................................44
7.3 Event Console .......................................................................................................................................44
8 APPENDIX 1 - CONFIGURATION EXAMPLES............................................................................................45
8.1 Communication Channel Setup Using Wavecom GSM Modem ......................................................45
NOJA-718
Abbreviations
CA - Collision Avoidance
CommChannel - Communication Channel
CommManager - Communication Manager
CommServer - Communication Server
CommSession - Communication Session
RC - Recloser Control
UR - Unsolicited Response
1.1 Applicability
This document describes the TELUS remote and is applicable to TELUS software version 02.04.05 Rev 20 and
above.
1.2 Requirements
In order to use TELUS Remote the user must already have an understanding of the OSM recloser, SCADA
principles and TELUS software.
2 GENERAL INFORMATION
TELUS remote contains additional components to support communications equipment and communications
interfaces (physical ports):
CommServer – a “Communication Server” software package which acts as a MASTER station and
communicates with Slave devices in the field
CommManager – a configuration tool for the Communication Server.
TELUS Remote is supported by MPM code versions S02.03.04 – 3295 and above.
The MPM Software Loading Procedure for MPM code upgrade is described in “NOJA-716 MPM Software
Loading Procedure”.
3 GENERAL ARCHITECTURE
The general architecture of TELUS remote and its relationship between TELUS, Communication Server and
CommManager is represented in the diagram below.
CommManager
Slave # 1
Communication Ports
Communication
Slave # 2
(CommServer)
Server
Slave # 3
TELUS Remote
Slave # N
The diagram above is also applicable when TELUS and CommServer are run on the same PC.
Where CommServer is located on another (central) computer and TELUS is located on workstations, connected
to the central PC over the network, then the configuration is as below:
DNP3 Protocol
TCP/IP Protocol
Central PC with CommServer
Communication Server.
This is a mini-SCADA system running DNP3 Master station software to communicate with field devices (Slaves)
using the communication ports available on the computer with Data Communication Equipment connected. It
can operate on multiple communications channels simultaneously if the PC physical interface supports it. It can
be located on a central PC (server) or on a local PC (laptop).
The Communication Server uses the DNP3 protocol for communication with field devices.
CommManager
This is a tool for configuring the communication server. It provides an interface to configure the communication
channels (physical interface handling) and communication sessions within each channel for the Slave devices.
TELUS Remote
TELUS Remote is used to configure and read information from the MPM on OSM reclosers remotely using
CommServer as a communication interface.
TELUS remote can still be used to connect directly to the MPM using the RS232 port on the MPM panel.
Installation of TELUS is no different from any other software package – follow the simple wizard. If the computer
where TELUS Remote is to be installed already has TELUS, then it is strongly recommended you first back up
the device database if it has valuable information. This is a precautionary measure to ensure data is not lost in
the event of the installation being interrupted.
Installation of TELUS will automatically install CommSrv.exe, CommManager.exe and other associated files
onto your computer. These files will be automatically installed into the directory where TELUS was installed.
As for any other communication software, TELUS remote and CommServer have to be correctly configured
before use.
Alternatively this interface can be activated from the TELUS menu. Go to “Tools” and click on “Server
Configuration”:
This will display the configuration screen, shown in the next chapter. There are two possible methods of
configuration.
“Start CommServer when start CommManager” and “Shutdown CommServer when exit CommManager”
– This specifies whether the CommServer is automatically started and stopped with CommManager. This is the
usual setting during normal operation but can be changed if required during testing.
“Network Address” – IP address of the computer where the CommServer is running. If “Start Server on this
PC” is selected, then this field is grayed out.
“TCP Port” – Communication port on the PC for connection with TELUS over the network. Default number is
9000. This should match the setup configuration in TELUS.
“Connection Timeout, s” – this is a timeout period for connection with CommManager, in seconds.
“Upload Settings from CommServer automatically” – this function uploads and displays the settings currently
loaded in the CommServer.
In “Network Address” the address of the computer where CommServer is installed and running has to be
entered.
The channel has to be configured to communicate over the connected Data Communication Equipment. All
related communications parameters must also be set.
A Master Station Address must be allocated which is then used as the addressing setting in the DNP3 protocol.
For example, the items to be configured when setting up the physical layer are shown below:
When the communication channel is configured, use the on the Settings tool bar to save the
configuration. The complete tool bar is shown below:
Insert Session Inserts a new Session into the currently selected Channel.
Set default Set default values for all displayed settings for selected channel or session
Show changes Show changes between edited current settings (channel or session) and previous
saved settings.
Channel configuration requires a good knowledge of the DNP3 protocol and general SCADA principles.
Channel configuration involves setting up the communication port and the handling of data communication
equipment. The Slave configuration is done in “Sessions”.
A “Slave Address” must be allocated as it is the main communication address used by the DNP3 protocol.
When the session configuration is complete, the settings must be saved using the same method as for the
communication channel.
If there are conflicts in the configuration (eg, two channels configured using the same com port) they will be
shown in RED.
Once the CommServer has been started it is now possible to connect to it by clicking on the “Connect to
CommServer” button:
To be able to load settings, the CommServer must be running and CommManager must be connected to the
CommServer.
Clicking on “Options” will open a new screen with default configuration for a direct connection.
The IP address and Port settings must correspond with the parameters set in the CommServer configuration.
To go online with the switchgear using the communication server, first select the Recloser you wish to connect
to from the Device list in TELUS, then click on the connect button:
If the slave and master addresses are not configured to be automatically retrieved from the SCADA settings
then they will have to be manually entered in the following two dialog boxes when they appear.
Enter the Slave address of the device to connect to as allocated in the CommServer.
Enter the Master address of the device to connect to as allocated in the CommServer.
Note: A full description of Modem, DNP3 and SCADA settings can be found in the following documents:
6 USING COMMMANAGER
6.1 CommManager Interface
The CommManager Interface is used to configure the CommServer. Configuration involves specifying the
location of the CommServer for communication with TELUS, configuration of the communication channels and
configuration of the sessions. Once a connection is established, the CommServer’s operation can be monitored.
Offline Bar – Used to configure channels and sessions. Refer to Section 5.1 for a
tutorial on how to add channels and sessions to this panel.
Settings Bar - Used to configure physical layer, application layer, data link settings and log
settings for individual channels and sessions.
Output Bar - Displays the Event Log. Refer to section 6.6 for a full list of events.
Online Bar - Displays network and communications states for currently active connections.
Refer to section 6.5 for details.
Maximum block The maximum data block size, in bytes, used for file 64 – application 1024
size for file transfer transfer. layer buffer size
Confirmation Mode Used to configure when a master will request Never Never
confirmation from a slave when sending link layer Sometimes
frames. Always
Confirmation This setting determines how long to wait for a 0 – 60s 3s
Timeout confirmation from the slave if the Confirmation Mode Step size 1s
is sent to Sometimes or Always.
Maximum Retries The maximum number of times a master will re- 0 – 32767 2
transmit a link layer frame if no confirmation has been Step size 1
received within the timeout period. Only applies if the
Confirmation Mode is sent to Sometimes or Always.
Maximum Frame Maximum number of bytes in a link frame. 64 – 292 292
Size Step size 1
Serial Connection
Duplex Mode Defines whether Rx and Tx can occur at the same Half Full
time (full-duplex). Full
Minimal Idle Time Used to calculate random access time. 0 – 120000ms 2000ms
Step Size 10ms
6.2.3.3 Time
Post Tx Time Time interval between sending the last character of 0 – 5000ms 0ms
data and negating RTS. Step size 10ms
DCD Fall Time A time interval after DCD has dropped to OFF 0 – 25500ms 700ms
indication. When this time has expired the connection Step size 10ms
is closed. Typically used for dialup connections to
automatically close a connection.
DTR Low Time The time interval the DTR must be in the OFF state 50 – 5000ms 500ms
before performing a DCE reset. Step size 10ms
Autodial
Strings
Preamble
Preamble Last Final ASCII character of the preamble. This is 0x00 – 0xFF 0xFF
Char used to distinguish the end of the preamble.
Log Settings
File
Maximum File Size Maximum size of the log file in Mb. Determined by 1Mb
available space
Once this size is reached: on PC.
Number Of Files Number of log files that will be created before Minimum number 1
they are cycled. of 1
Location Location of log files. If left empty the log files 255 chars max Empty string
will be located in the CommServer directory. length.
File Name Base name of the log files. 255 chars max Diag.txt
length.
Control Mask
Slave Address The link address of the slave. This is the 1 – 65534 Lowest
destination address for the Session. The Step Size 1 available
address must be unique within the Channel. address
number within
the current
Channel
Phone Number Phone Number is only available if the DCE 255 chars max Empty string
type is Phone or GSM-Modem. Phone length
Number strings can consist of the following
characters:
0-9, #, * - Digits for dialing
P - Pulse dialing
T - Tone dialing
, - Pause
; - Return to command state
after dialing
! - Hook flash
@ - Wait for a 5 second silence
before proceeding
R - Reverse handshake (go
online in answer mode)
W - Wait for second dial tone
6.3.4 Defaults
Passive Time Passive Time is applied when the Number of 1 – 600s 20s
Request Repetitions has expired resulting in Step size 1s
the request being terminated. This is required
to allow requests from another
CommSession to be started.
Main Settings
On startup Hide the main window and display a tray icon when Disable
CommManager is started.
On minimize Hide the main window and display a tray icon when Disable
CommManager is minimized.
Always show Always display the CommManager tray icon while CommManager Disable
system tray icon is running.
Show parameters If enabled, the following parameters are shown along with the time Enable
with time they last changed state:
NetChannel - Errors
Automatically apply settings All changed settings will be automatically applied before Enable
before Download they are downloaded into the CommServer.
Automatically apply settings All changed settings will be automatically applied before Enable
before Save they are saved to file.
Name Description
Host Name Network name of the PC connected to CommServer.
IP Address IP address of the PC connected to CommServer.
Connection Time Date and time CommServer established a connection with the network client.
Tx Bytes Total number of transmitted bytes.
Rx Bytes Total number of received bytes.
Errors Total number of application layer errors
Name Description
Master Address CommChannel master address.
Port Communications port number.
Channel State CommChannel state – Open or Closed.
Connection State DCE/Port state – Disconnected, Connected, Closing, Closed.
Channel Event Last CommChannel diagnostic event.
Tx Bytes The total number of physical layer bytes transmitted.
Rx Bytes The total number of physical layer bytes received.
Tx Frames The total number of data link frames transmitted.
Rx Frames The total number of data link frames received.
Tx Fragments The total number of transport layer fragments transmitted.
Rx Fragments The total number of transport layer fragments received.
Channel Errors The total number of application layer errors.
CRC Errors The total number of data link frames received with a CRC error.
Call drop outs The total number of modem calls where CommChannel did not initiate a hang
up.
DTR, RTS, DSR, CTS, Shows the com port line states.
DCD, RI.
Name Description
Slave Address CommSession slave address
Session State CommSession state: Open or Closed.
RC Device / MPM# Recloser Control device information and factory MPM identification number.
Executed Requests Total number of successfully executed requests.
Terminated Requests Total number of terminated requests.
Repetitions Total number of application layer repetitions.
Unsolicited Responses Total number of unsolicited responses.
Tx ASDU Total number of Application Service Data Units transmitted.
Rx ASDU Total number of Application Service Data Units received.
Command /
Event Additional Info Comments
Feedback
CommManager Started - Feedback: The CommManager
Control application was started.
CommServer Start Request Path: X:\xxx\xxx\ Command: Start local
Control CommServer application.
Possible Events:
Manual Start, Automatic Start
Started - Feedback: The Start Request
command was executed
successfully.
Start Failed The system cannot find the path Feedback: The Start Request
specified. command failed due to the
application path being wrong.
The network path was not found. Feedback: The Start Request
command failed due to the
network path not being correct,
or present.
The device is not ready. Feedback: The Start Request
failed due to the device not being
ready.
Shutdown - Command: Shut down local
Request CommServer.
Shutdowned - Feedback: The Shutdown
Request command was
successful.
State Request - Command: Request for network
or communication state.
State Received - Feedback: The State Request
command executed successfully.
CommServer State Changed NetChannel ID:xxx Open Notification: A new network
Notification connection was opened.
Parameter: NetChannel ID
number.
NetChannel ID:xxx Closed Notification: A network
connection was closed.
Parameter: NetChannel ID
number.
CommChannel M: All Open Notification: CommChannel was
opened.
CommChannel M: xxx Open
Parameters: M – Master
address, All – for all
CommChannels.
CommChannel M: All Closed Notification: CommChannel was
closed.
CommChannel M: xxx Closed
Parameters: M – Master
address, All – for all
CommChannels.
Command /
Event Additional Info Comments
Feedback
CommChannel Open M:All Command: Open CommChannel
Control CommChannel
M:xxx Parameters: M – Master
address, All for All
CommChannels.
Close M:All Command: Close CommChannel
CommChannel
M:xxx Parameters: M – Master
address, All for All
CommChannels.
Open Port M:xxx Command: Open a Port
Parameters: M – Master
address.
Close Port M:xxx Command: Close a Port
Parameters: M – Master
address.
Open M:xxx S:All Command: Open a
CommSession CommSession.
M:xxx S:xxx
Parameters: M – Master
address, S – Slave address, All
– for all CommSessions.
Close M:xxx S:All Command: Close a
CommSession CommSession.
M:xxx S:xxx
Parameters: M – Master
address, S – Slave address, All
– for all CommSessions.
Init DCE M:xxx Command: Initialize DCE.
Parameters: M – Master
address.
Response UR: Enable Command: Enable or Disable
Control Unsolicited Response control.
UR: Disable
Parameters: UR: Enable / UR:
Disable – Controls reception of
Unsolicited Responses from
CommServer.
Executed - Feedback: The last
CommChannel control command
was executed successfully.
CommSession UR Received M:xxx S:xxx points:xxx Notification: Unsolicited
Notification Response (UR) was received.
Parameters: M – Master
address, S – Slave address,
points – UR point number.
Comms Settings Upload Request - Command: Upload settings from
CommServer.
Uploaded - Feedback: The Upload Request
was successful.
Download - Command: Download settings
Request into CommServer.
Downloaded - Feedback: The Download
Request was successful.
Parameters: M – Master
address.
Ch M:xxx port:xxx is already Feedback:
used. Changed Ch M:xxx
port:xxx Requirement Check: The port
number is unique within the
CommChannel tree.
Parameters: M – Master
address, port – port number.
Ch M:xxx S:xxx is already used. Feedback:
Changed on Ch M:xxx S:xxx
Requirement Check: The
CommSession slave address is
unique within the
CommChannel.
Parameters: M – Master
address, S – Slave address.
Value xxx is not in valid range Feedback:
[xxx to xxx]. Changed on xxx
Requirement Check: Checks
whether the value entered into
the parameter is within the
allowable range.
Parameters:
Value – entered value,
range – the correct range for the
parameter entered,
Change on – the adjusted
parameter value.
Hot keys
Summary of CommChannel Information
Selected CommChannel Information
Selected CommSession Information
Name Description
F3/Shift+F3 Cycle through the Comm State, Event and Network State consoles in both
directions.
F4 Sequential switching between CommChannels.
F5 Sequential switching between CommSessions.
F6/Shift+F6 Open or Close the currently selected CommChannel.
F7/Shift+F7 Open or Close the port on the currently selected CommChannel.
F8/Shift+F8 Open or Close the currently selected CommSession.
F9 Initialize the DCE on the currently selected CommChannel.
F10 Exit CommServer. If pressed once, CommServer will shut down after the DCE
has been correctly initialized (no longer than 10s). If pressed twice the
CommServer will shutdown immediately without waiting.
Name Description
Name CommChannel name as specified in the CommServer settings.
Name Description
Connection State DCE/Port state – Disconnected, Connected, Closing, Closed.
Channel Event Last CommChannel diagnostic event.
Tx Bytes The total number of physical layer bytes transmitted.
Rx Bytes The total number of physical layer bytes received.
Tx Frames The total number of data link frames transmitted.
Rx Frames The total number of data link frames received.
Tx Fragments The total number of transport layer fragments transmitted.
Rx Fragments The total number of transport layer fragments received.
Port Lines Shows the com port states – DTR, RTS, DSR, CTS, DCD, RI.
Current Request Information about the currently executed request.
Name Description
Executed Requests Total number of successfully executed requests.
Terminated Requests Total number of terminated requests.
Repetitions Total number of application layer repetitions.
Unsolicited Responses Total number of unsolicited responses.
Tx ASDU Total number of Application Service Data Units transmitted.
Rx ASDU Total number of Application Service Data Units received.
Name Description
Name Network name of the PC connected to CommServer.
IP Address IP address of the PC connected to CommServer.
Time Date and time CommServer established a connection with the network client.
Tx Bytes Number of bytes transmitted through the network connection by CommServer.
Rx Bytes Number of bytes received by CommServer through the network connection.
To establish the communications between the MPM and TELUS remote, take the following steps:
1. Make sure the appropriate versions of TELUS, CommServer and CommManager are installed in the
appropriate locations on the server or stand alone PC.
If the TELUS remote is used on the stand alone PC, then the recommended directory for the installation
is
C:\Program Files\TELUS
- Data Calls
- Asynchronous, Non-Transparent mode
ATS0=1
AT+CBST=0,0,1
AT+IPR=0
AT+CICB=0
ATQ0
AT&W
4. In TELUS prepare the SCADA settings to be loaded into the MPM. Recommended settings are:
SBO Timeout, s 5
Confirmation Mode Events
Confirmation Timeout, s 10
Need Time Delay, min 1440
Cold Restart Delay, ms 5000
Warm Restart Delay, ms 1000
Unsolicited Response:
Please consult your SCADA engineer to confirm the addresses and other associated DNP3 settings
where necessary.
Inactivity Time, s 30
Maximum Block Size for File Transfer 1024
Configuration:
Time
Pre Tx time, ms 0
Post Tx Time, ms 0
Tx Delay, ms 0
DCD Fall Time.ms 200
DTR Low Time, ms 700
Autodial
Retries 2
Interval, s 60
Strings
Predial String ATDT
Init String ATZ
Hang Up String ATH
Auto Answer ON ATS0=1
Times
Connection Timeout, s 40
Response Time, s 7
Inactivity Time, s 25
Note: These settings are based on the Toshiba Software AMR modem. Please refer
to your modem’s manual for details on AT commands and timing.
6. Configure the Session for each device to dial in. The recommended settings are:
Poll Configuration
Poll Time (All Classes) 0
Synch Time (All Classes) 0
Control Mask
Auto Clear Restart Enable
Auto Integrity Restart Enable
Auto Time Sync Enable
Auto Event Poll Enable
Other(s) Disable
7. Configure CommServer. If all the software is to be run on one stand-alone PC and not connected to the
network, then the recommended settings are:
8. Configure the TELUS connection type from Tools/Options/Communications. The following settings are
recommended when using TELUS Remote in stand-alone mode:
Note: These settings are recommended based on tests done using a certain type of modem and
network type. In some cases different AT commands and timings may be required.