You are on page 1of 24

NOJA-520

NOJA Power










SCADA Interface Description







User Manual
NOJA-520



Revision History
Rev Author Date Comment
Draft Release BOS 6-11-03 Draft release of SCADA Interface Description Manual.
First Release BOS 26-05-04 First Release
Rev 2 BOS 16-Nov-04 Updated to reflect changes in TELUS S02.04.04 Rev 48.
Rev 3 KL 21-02-2007 Add section Modem support. Update modem image. Minor text
changes.
Rev 4 BOS 28-05-08 Added IEC60870-5-101 protocol support. Added new features
GMT SCADA time, External Load Reset time. Updated wavecom
modem example to include Supreme model. Added Paknet PAD
example.
Rev 5 BOS 17-06-09 Added notes clarifying External Load Time operation.












Source: S:\Marketing-500\User Manuals\SCADA Protocols \Original Documents\NOJA-520-05 SCADA Interface
Description.doc









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.

NOJA Power Switchgear Pty Ltd 2009
www.nojapower.com.au

NOJA-520



Table Of Contents

1 Introduction .................................................................................................................... 1
2 Communication Ports..................................................................................................... 2
2.1 RS-232 Port ............................................................................................................ 2
2.2 RS-485 Port ............................................................................................................ 2
2.2.1 MPM-03E RS485 Wiring Diagrams .................................................................. 3
2.2.2 MPM-02E RS485 Wiring Diagrams .................................................................. 4
3 Port Configuration Using TELUS.................................................................................... 5
3.1 Introduction ............................................................................................................. 5
3.2 TELUS Basics......................................................................................................... 5
3.3 RS-232 and RS485 Configuration ........................................................................... 6
3.4 Radio Configuration................................................................................................. 8
3.5 Modem Configuration.............................................................................................. 9
3.5.1 Dialling Characters..........................................................................................10
3.5.2 Modem Support...............................................................................................11
3.6 Turning Off and Resetting External Communications Equipment ...........................12
4 Monitoring the SCADA Port...........................................................................................13
5 Protocol Setup...............................................................................................................14
5.1 SCADA Time Configuration....................................................................................14
5.2 Modbus ..................................................................................................................14
5.3 DNP3 .....................................................................................................................15
5.4 IEC60870-5-101.....................................................................................................16
6 Example Port Configuration for a Wavecom Fastrack and Supreme GSM Modem........17
6.1 Physical Connections.............................................................................................17
6.2 RS-232 Port Settings..............................................................................................18
6.3 Modem Settings .....................................................................................................18
7 Example Port Configuration for a Paknet PAD ..............................................................19
7.1 Physical Connections.............................................................................................19
7.2 Paknet PAD Configuration......................................................................................19
7.3 RS232 Port Settings...............................................................................................20
7.4 Modem Settings .....................................................................................................20
8 Appendix A RS232 and RS485 Wiring Diagram.........................................................21



NOJA-520


1
1 Introduction
The OSM 15 and 27 reclosers are supplied with an RC Control Cubicle. Inside the cubicle is
the Main Processing Module (MPM) which provides the microprocessor control and operator
interface. Two versions of MPM are available:

MPM-02E this module has an RS485 port only.
MPM-03E this module has both RS-232 and RS-485 ports.

These ports can be used for connection to SCADA systems using either DNP3, IEC60870-5-
101 or MODBUS protocols. Basic port settings can be made directly from the RC cubicle.
Some advanced settings, however, can only be configured using NOJA Powers TELUS
software. This manual describes the wiring interfaces and setup information required to
successfully configure a remote connection using these ports.

This document should be read in conjunction with the user manual supplied with the
automatic circuit recloser and the relevant protocol definition document. Protocol documents
are available from NOJA Power on request. A reasonable level of SCADA interface
knowledge is required including a basic understanding of RS-232, RS-485 and
communication protocols.



Figure 1: RC Control Cubicle Physical Layout
NOJA-520


2
2 Communication Ports
2.1 RS-232 Port
The RS-232 port consists of a DB9M connector located behind the escutcheon panel inside
the RC Cubicle. The RS-232 port is only available in MPM version 3E or higher. Pinout
configuration is shown below.



2.2 RS-485 Port
The RS-485 port consists of a Wago connector located underneath the I/O modules inside
the RC cubicle. Terminal designations are shown below.



Note: An RS-485 to RS232/485 repeater (as appropriate) must be installed where wiring exits the cubicle to
provide impulse immunity for the RC electronics.

The RS-485 port can be wired for half-duplex or full-duplex operation. The wiring diagram
used depends on which model MPM is used in the RC Cubicle. The MPM version can be
checked from the MMI panel by navigating through the menu structure as shown below:

NOJA-520


3
2.2.1 MPM-03E RS485 Wiring Diagrams











NOJA-520


4
2.2.2 MPM-02E RS485 Wiring Diagrams










NOJA-520


5
3 Port Configuration Using TELUS
3.1 Introduction
All RS-232 and RS-485 settings can be configured on the RC cubicle using TELUS. Settings
are made offline then transferred into the device by checking the SCADA box before
downloading the settings into the cubicle. Refer to the TELUS help file for more information
on connecting to devices using this software.
3.2 TELUS Basics
TELUS connects to the RC Cubicle via an RS-232 connection located on the MPM panel at
the front of the cubicle. When TELUS is first installed the default password is +++. Make
sure the baud rate matches the RC Cubicle settings and that you are using the correct
communications port. TELUS communications settings are changed under Tools->Options
on the menu bar.

Note: TELUS default settings are for 19,200 bps on com port 1. The RC cubicle default speed is also 19,200. The
default configuration should work without any changes.

Open the correct device from the device list box then connect to the RC Cubicle by clicking
the Switch To On-Line Mode button on the toolbar:



To upload existing settings into TELUS from the device click the Upload Settings From
Device button:



To download new settings into the device click the Download Settings Into Device button:



To disconnect from the device click the Switch To Off-line Mode button:




NOJA-520


6
3.3 RS-232 and RS485 Configuration
The RS-232 and RS-485 ports are configured from the SCADA Settings dialog. This is
accessed by clicking the SCADA button on the Device dialog box.




To activate the port select RS-232 or RS-485 from the Port type drop-down box. If RS-
485 is selected the following fields are unavailable:
RTS Mode
RTS On Level
DTR Mode
DTR On Level
CTS Mode
DSR Mode
DCD Mode

The following settings can be modified:

Item Description Range
Duplex Type Half or full duplex communication. Half, Full.
RTS Mode
In Flow Control mode this signal is used to
indicate DCE. High signal indicates ready to
receive data, low signal indicates not ready.

In Control PTT mode this signal is used to key
the radio transmitter. A high signal keys the
transmitter, a low signal turns it off.
Ignore
Flow Control
Control PTT
RTS On Level
Sets which polarity is used to determine
whether RTS is ON.
High
Low
DTR Mode
In Control mode DTR is asserted when ready
to begin communication. When DTR goes low
the modem hangs up.

Ignore mode is used to disable DTR.
Ignore
Control
NOJA-520


7
Item Description Range
DTR On Level
Sets which polarity is used to determine
whether DTR is ON.
High
Low
Parity Sets the parity method. None, Even, Odd.
Baud Rate Port communication speed in bits per second.
300, 600, 1200, 2400,
4800, 9600, 19200.
CTS Mode Clear To Send setting.
Ignore, Monitor High,
Monitor Low.
DSR Mode Data Set Ready setting.
Ignore, Monitor High,
Monitor Low.
DCD Mode Data Carrier Detect setting.
Ignore, Monitor High
Monitor Low.
DTR Low Time, ms
Data Terminal Ready Low Time.

This is the minimum time that the DTR signal
must be held low before the modem will
respond to a DTR high.
50 5000ms
Tx Delay, ms
Transmit Delay.

This is the minimum time delay, in ms, after
receiving a character through the physical
communication port, before a character will be
transmitted in response.
0 5000ms
DCD Fall Time, ms
Data Carrier Detect Fall Time.

This sets the period of time to wait after a loss
of carrier is detected before sending the hang
up command to the modem or assuming the
session has ended.
0 25500ms
Char Timeout, chars
The maximum allowable time, in length of
characters, between received bytes in a data
link frame.

If this time is exceeded then the current frame
is rejected and scanning for the start of
another frame is immediately started.
0 - 255
Pre Tx Time, ms
Pre Transmission Time.

The interval between sending the last
character of data and sending RTS low.
0 5000ms
Post Tx Time, ms
Post Transmission Time.

The interval between asserting RTS and
starting to send data.
0 5000ms
Allows the addition of idle times and random
delays to implement collision avoidance.

Min Idle Time, ms 0 120000ms
Collision Avoidance
Max Rndm Delay, ms 0 120000ms
Inactivity Time, s
The number of seconds to wait without any
transmission activity on the line before
showing the SCADA port as disconnected.
0 600s
Modem is Powered
from External Load
When this setting is On and the External Load
is Off, the MPM will not try to use the
communication device.
When this setting is Off the MPM will not
check the External Load status before making
a connection.
On, Off.
NOJA-520


8
3.4 Radio Configuration
To configure radio settings, select Radio from the Comm Device drop-down box on the
SCADA Settings dialog box and select the Radio tab.




If the radio preamble checkbox is ticked characters will be transmitted prior to sending any
data. The following radio preamble settings can be set:

Item Description Range
Char The character to be sent. 0x00 to 0xFF
Repeat
The number of times the character will be
repeated.
0 25
Last Char
The final char to be sent to indicate the end of the
preamble.
0x00 to 0xFF

NOJA-520


9
3.5 Modem Configuration
To configure modem settings, select Modem from the Comm device drop-down box on
the SCADA Settings dialog box and select the Modem settings tab.




The following settings can be configured:

Item Description Range
Modem is used with
Leased Line
Check this box if the modem is to use a leased line
connection. Checking this box will disable the Hang
Up Inactivity Time setting.
Yes, No.
Dial Out
Check this box if the modem will be dialling a
number when making a connection. Checking this
box will enable the Pre Dial String and Dial
Numbers: settings.
Yes, No.
Init String
Modem Initialization String. This field takes AT
modem commands.
Up to 38 characters
Pre-Dial String
Pre-Dial String. See section 3.5.1 for a list of valid
dialling characters. This field takes AT modem
commands.
Up to 18 characters
Dial Numbers
Up to five dial-out numbers can be entered. See
section 3.5.1 for a list of valid dialling characters.
Up to 18 characters
Autodial Interval, s
Interval between failure to connect to one number
before dialling the next in the list.
0 - 255
Connection Timeout, s
The length of time the cubicle will wait after dialling
a number for a connection to be established.
0 - 255
Response Time, s
Determines how long to wait for a response from the
modem after sending it a control command.
0 - 255
NOJA-520


10
Item Description Range
Maximum Call
Duration, min
Sets a maximum time for a call in minutes.
This limits the length of a call to reduce call costs in
situations where constant generation of events
keeps the modem connected.
If set to zero the timer is disabled.

Note: This feature is only available with MPM
software version S02.03.05 Build 6069 and later.
0 - 60
Hang Up Command
Command to make the modem hang up. This is only
used if DTR is set to Ignore. This field takes AT
modem commands.
Up to 8 characters
Off Hook Command
Command to make the modem go off-hook. This is
sent to the modem immediately before the pre-dial
string. This field takes AT modem commands.
Up to 8 characters
Auto Answer On
Command to enable auto-answer on the modem.
This field takes AT modem commands.
Up to 8 characters
Auto Answer Off
Command to disable auto-answer on the modem.
This field takes AT modem commands.
Up to 8 characters

NOTE: From MPM software version S02.03.04 Build 3519 and onwards, the AT must be
entered as part of an AT string. Previous versions did not require AT to be entered. Please
recheck your AT commands if you are upgrading from an earlier software version.

3.5.1 Dialling Characters
The following characters can be used in the pre-dial string and dial numbers:


Character Description
0-9
#
*
Dialling digits.
P Pulse dialling.
T Tone Dialling
, (comma) Pause. Used to set a pause between digits.
; (semicolon) Return to command state after dialling.
! Hook flash.
@ Wait for 5 seconds before proceeding.
R Reverse handshake (go on-line in auto-answer mode).
W Waits for second dial tone.






NOJA-520


11
3.5.2 Modem Support

Outgoing calls
A typical process handling outgoing calls is as follows:

1. MPM sends the Initialization string (Init String). If necessary, MPM will use flow
control or the break out command +++ to enter command mode before sending
the string.
2. MPM configures auto answer Auto Answer On.
3. MPM sends Off-hook command Off Hook Command. Not required if using GSM-
modem (leave empty in MPM SCADA settings).
4. MPM sends the dialling commands Pre-Dial String and dials the first phone
number in the list.
5. After communication between modems has been established, the MPM monitors
the DCD line to determine the connection state.
6. If the call is not answered or fails, MPM dials the next configured number, cycling
to the top of the list at the end. If a single number is configured, MPM redials that
number. The retry time out is specified by Autodial Interval.
7. After a connection is established and no data transfer takes place for the duration
of Inactivity Time or the Maximum Call Duration timer expires (see Port
settings), the MPM issues a hang up command Hang Up Command.
8. Communication process is completed.


Note 1: The MPM resends the initialization string to the modem every 30 minutes while no
communication is taking place.

Note 2: The initialisation string is sent to the modem when it is powered up if the MPM detects the
DSR line has been asserted.
Many modems do not use DSR by default. In this case the initialisation string will be sent
when the 30 minute timer has expired (see note 1).
If it is required to send the initialisation string on power up and DSR is not enabled by default
DSR can usually be turned on by using the AT command &S0. For example, AT&S0&W
will turn DSR on and writes the command into the modems non-volatile memory.


Incoming calls
Modem handling for incoming calls is implemented in the MPM as follows:

If the MPM is configured to ignore DCD line, the MPM waits for a CONNECT string from the
modem.

If the MPM is configured to monitor DCD line, the MPM waits for DCD to be asserted before
establishing a connection.


NOJA-520


12
3.6 Turning Off and Resetting External Communications Equipment
If communications equipment such as radios and modems are powered by the RC cubicle
external load supply, they can be turned off on loss of auxiliary power after a set time to save
battery power.

The external load power source connections are on pins 1 and 2 of the RS-485 connector
located inside the RC cubicle. See section 2.2.

The external load time is set from the System Settings dialog box.

To set the external load time, enter a value in minutes from 1 720 into the External Load
Time (T_ext), min text box under the UPS Settings section.






The external load can also be cycled off and back on again at regular intervals if the
connected equipment requires a regular reset.

To set the reset time enter a value in hours from 0 720 into the External Load Reset Time,
hrs text box at the bottom of the UPS Settings section.

Note: External Load Time will only work if a Modem or Radio is configured. It will not work when
using a direct connection.

Note: The Modem is powered from external load setting must be enabled for External Load Time
to work.



NOJA-520


13
4 Monitoring the SCADA Port
A SCADA port monitoring screen can be viewed on the MPM under System Status:



This screen can be used to monitor the pin status, number of bytes received and transmitted,
hangup the connection and conduct tests.



























NOJA-520


14
5 Protocol Setup
The OSM recloser is supplied with Modbus, DNP3 and IEC60870-5-101 communications
protocols.

The DNP3 and IEC protocols are supplied in separate MPM firmware versions. MODBUS is
available in all cases. The protocol variant is normally specified when ordering the OSM. The
firmware can be upgraded to change between IEC60870-5-101 or DNP3 if required.

Protocols are described in detail in the relevant protocol definition document. Protocol
documents are available from NOJA Power on request. Please read this section in
conjunction with the relevant document:

NOJA-519 - DNP3 Protocol Implementation
NOJA-546 - IEC60870-5-101 Protocol Implementation
NOJA-508 Modbus Protocol Implementation
5.1 SCADA Time Configuration
Time stamps within the SCADA protocol can be reported using Local Time or Greenwich
Mean Time (GMT) time with an offset to account for the time zone. This will allow the MPM to
display the local time while having GMT time reported back to the SCADA master.

SCADA time is set using the drop down box at the bottom of the SCADA settings screen.
The default setting is Local. When GMT is selected the Zone hours box is enabled allowing
the user to select their time zone as an offset of GMT time.

Note: This feature is only available with MPM software version S02.03.05 Build 6069 and later.
5.2 Modbus
To activate the Modbus protocol select Modbus from the Protocol Type drop-down box.



The only setting available for modification is the network address identification of the device.
Enter the address number into the Address text box under the MODBUS Settings section.
NOJA-520


15
5.3 DNP3
To activate the DNP3 protocol select DNP3 from the Protocol Type drop-down box.

TELUS allows the user to modify a wide range of settings including the actual DNP3
mapping using a built in tool. To configure DNP3 click the DNP3 Settings button.




Link Layer, Application Layer and Unsolicited Response settings are configured on the
General tab. These settings are described in the DNP3 protocol implementation manual.

DNP3 mappings are configured on all the other tabs. Refer to the DNP3 protocol
implementation manual for more information.

The Reset to default button restores all DNP3 settings to default.

The Test button checks all the DNP3 mappings on each tab (except for General) and
reports any conflicts.







NOJA-520


16
5.4 IEC60870-5-101
To activate the IEC60870-5-101 protocol select IEC from the Protocol Type drop-down box.

TELUS allows the user to modify a wide range of settings including the actual point mapping
using a built in tool. To configure IEC60870-5-101 click the IEC Settings button.





Link Layer and Application Layer settings are configured on the General settings tab.
These settings are described in the IEC60870-5-101 protocol implementation manual.

Point mappings are configured on all the other tabs. Refer to the IEC60870-5-101 protocol
implementation manual for more information.

The Reset to default button restores all settings to default.

The Test button checks all the point mappings on each tab (except for General) and reports
any conflicts.

Note: The IEC60870-5-101 protocol is not available in the same MPM firmware as the DNP3 protocol. If
IEC60870-5-101 is required then a firmware upgrade is required.




NOJA-520


17

6 Example Port Configuration for a Wavecom Fastrack
and Supreme GSM Modem

6.1 Physical Connections
The Wavecom modem is fitted with a 15 pin Sub D female connector. A cable must be made
to connect this to the RS-232 port DB9 male plug located inside the RC cubicle as shown in
the table below:


Wavecom modem Recloser
Signal description Pin number Pin number Signal description
DCD 1 1 DCD
RX 6 2 RX
TX 2 3 TX
DTR 8 4 DTR
GND 9 5 GND
DSR 7 6 DSR
RTS 12 7 RTS
CTS 11 8 CTS
RI 13 9 RI


In this example we will be powering the modem from the External Load power connection
located on the RS-485 port connector inside the cubicle. Using this power source permits
configuration of the time the modem continues to operate after loss of auxiliary power. See
section 3.6.

Wavecom
Micro-Fit 3.0 Connector
Recloser
XS1 RS-485 Connector
Signal description Pin number Pin number Signal description
V+ Battery 1 1 +12V for RTU
Ground 2 2 Ground


An antenna must be connected to the SMA connector on the Fastrack modem from an
antenna mounted external to the RC cubicle.

Note 1: The Modem will require a SIM card before it will work.

Note 2: The SIM card will need to have a non-transparent data number for 9600 baud. This is not the same as a
voice number. Check the type of number with your telecommunications supplier if connection difficulties are
experienced.

Note 3: The Wavecom Supreme Modem has a new feature which powers down the RS232 serial port to save
power. This must be disabled so the MPM can connect and initialise the modem correctly. Connect to the modem
using a computer and terminal program, then use the AT command AT+WASR=0 to disable auto shutdown
mode on the RS232 port.



NOJA-520


18
6.2 RS-232 Port Settings
Use TELUS to configure the following settings as described in section 3.3.

Port Type: RS232
Parity: None
Duplex Type: Full
Baud Rate: 9600
RTS Mode: Flow Control
RTS On Level: High
CTS Mode: Monitor High
DTR Mode: Control
DTR On Level: High
DSR Mode: Ignore
DCD Mode: Monitor High
DCD fall time: 500 ms
Tx Delay: 20 ms Cubicle RC/TEL-01E(S) - 70
Char Time Out: 2
Pre Tx Time: 50
Post Tx Time: 50
Collision Avoidance: Unchecked
Inactivity time: 10s (depending on speed of SCADA response)
Modem is powered from external load: Unchecked

6.3 Modem Settings
Use TELUS to configure the following settings as described in section 3.5.

Dial Out Yes. (If you want the recloser to make calls to a master station).
Pre-Dial String ATD
Dial numbers: 12345678901 change this to the actual number
Autodial Interval: 5 s.
Connection Timeout: 60 s
Response Time: 15 s. (in some cases modem may have a slow response)
Hang Up Command: ATH.
Off Hook Command: Leave blank.
Auto Answer On: ATS0=2
Auto Answer Off: Leave Blank.


NOJA-520


19
7 Example Port Configuration for a Paknet PAD

7.1 Physical Connections

The Paknet PAD is supplied with a 25 way D type Comms connection. A 25 pin to 9 pin null
modem cable will be required to connect the Paknet PAD to the MPM SCADA port.

7.2 Paknet PAD Configuration

The Paknet PAD is supplied with default communications settings as follows:

Baud Rate: 4800
Data Bits: 7
Parity: Even
Stop Bits: 1
Handshaking: None

In order to configure the Paknet for the required communications settings a connection will
have to be established with a terminal using the above settings. The settings can then be
changed to match those used in the MPM configuration.

For example, to change the Paknet PAD Port configuration to 2400 baud, 8 data bits, no
parity and set the port to accept AT commands, issue the following command using a
terminal:

SET 0:8, 3:0, 4:1, 11:12, 21:2

The Paknet PAD can now be connected to the RS232 SCADA port inside the RC Control
Cubicle.

Note 1: Please refer to the Paknet PAD manual for a detailed description of settings for this device. The example
below may not suit your application.

Note 2: The Paknet PAD will need to be registered on the providers network. Refer to the Paknet PAD manual
for further information.


NOJA-520


20
7.3 RS232 Port Settings
Use TELUS to configure the following settings as described in section 3.3.

Port Type: RS232
Parity: None
Duplex Type: Half
Baud Rate: 2400
RTS Mode: Flow Control
RTS On Level: High
CTS Mode: Ignore
DTR Mode: Ignore
DTR On Level: High
DSR Mode: Ignore
DCD Mode: Ignore
DCD fall time: 700 ms
Tx Delay: 20 ms Cubicle RC/TEL-01E(S) - 70
Char Time Out: 2
Pre Tx Time: 50
Post Tx Time: 50
Collision Avoidance: Unchecked
Inactivity time: 25s (depending on speed of SCADA response)
Modem is powered from external load: Unchecked

7.4 Modem Settings
Use TELUS to configure the following settings as described in section 3.5.

Dial Out Yes. (If you want the recloser to make calls to a master station).
Pre-Dial String Leave Blank
Dial numbers: 12345678901 change this to the actual number
Autodial Interval: 25 s.
Connection Timeout: 60 s
Response Time: 15 s. (in some cases modem may have a slow response)
Hang Up Command: ATH.
Off Hook Command: Leave Blank
Auto Answer On: Leave Blank
Auto Answer Off: Leave Blank
















NOJA-520


21
8 Appendix A RS232 and RS485 Wiring Diagram

You might also like