Documente Academic
Documente Profesional
Documente Cultură
For the following chapters, you will need to be logged onto the system to perform
configuration action. Ensure you are logged on by following these steps:
To login using ViewX:
1. From the File menu, select the Log On option.
2. In the Username field, enter the username Eng.
3. Click the OK button.
Note: If you were able to successfully logon to the system, you will see the username Eng
displayed in the status bar at the bottom of the screen.
Issue 1
4-1
Following the same process used to create the group, create and name the following
objects in the groups specified.
Note: SCADAPack 350 supports both Modbus and DNP protocols. In the table below, select
the appropriate protocol that you wish to work with during the training. If you are unsure
which one to use, please ask your instructor.
The Base Group is the name of the group where you should create the object. The
Object Type is the type of object to create in the Base Group and the Object Name is
the name that you should give to the objects you create.
Base Group
Object Type
Object Name
Training
Group
Reservoir
Training
Training
Reservoir
Reservoir
Reservoir
Pump 1
Pump 1
Issue 1
Channel
Set
Outstation
Pump 1
Level
Running
Start
4-2
Note: Crosses on the object indicate a configuration error related to that object. The crosses
are updated as objects are saved or when the F5 function key is pressed (assuming that the
error has been cleared). Note that the F5 key will refresh the Database Bar and alphabetically
organise the database. When you open the properties of an object with a configuration error,
the error will be displayed at the bottom of the properties form. Double clicking on the error
will move the cursor to the field which is causing the error.
Issue 1
4-3
Outstation Form
Each Form consists of a number of tabs, each containing a variety of fields that
correspond to the properties of the object. By changing the settings in these fields,
you can alter the behavior of the object.
Issue 1
4-4
For each object we created in the last section, we need to now set the properties to
enable RTU communications. We will start with the Channel.
Note: There are two sections below describing how to connect to the RTU using either serial
or Ethernet communications for the appropriate Protocol. Please use the relevant section. If
you are unsure which one to use, please ask your instructor.
DNP3
By ticking or clearing the In Service field and then saving the change, you
dynamically enable or disable this object in the database.
Issue 1
4-5
Note: To determine the function of a specific property, hover the cursor over the property on
the Form a ToolTip will be displayed. The ToolTip contains a short description of the
property. When you select the property, the ClearSCADA status bar at the bottom of the
display will show the actual property name and its data type.
These settings define the connection between the channel in ClearSCADA and
the DNP3 device that is connected to the system.
Issue 1
4-6
Note: You need to ensure that the baud rate defined on the channel matches the baud rate
configured in the RTU. SCADAPack RTUs default to 9600 baud.
6. Save the Channel form by selecting the Save icon from the toolbar.
You will note that the configuration error cross in the Database Bar disappears
since there are no configuration errors on this object.
4.2.1.2
Modbus
By ticking or clearing the In Service field and then saving the change, you
dynamically enable or disable this object in the database.
Issue 1
4-7
Note: To determine the function of a specific property, hover the cursor over the property on
the Form a ToolTip will be displayed. The ToolTip contains a short description of the
property. When you select the property, the ClearSCADA status bar at the bottom of the
display will show the actual property name and its data type.
These settings define the connection between the channel in ClearSCADA and
the Modbus device that is connected to the system.
Issue 1
4-8
Note: You need to ensure that the baud rate defined on the channel matches the baud rate
configured in the RTU. SCADAPack RTUs default to 9600 baud.
6. Save the Channel form by selecting the Save icon from the toolbar.
You will note that the configuration error cross in the Database Bar disappears
since there are no configuration errors on this object.
DNP3
Issue 1
4-9
By ticking or clearing the In Service field and then saving the change, you
dynamically enable or disable this object in the database.
Note: To determine the function of a specific property, hover the cursor over the property on
the Form a ToolTip will be displayed. The ToolTip contains a short description of the
property. When you select the property, the ClearSCADA status bar at the bottom of the
display will show the actual property name and its data type.
Issue 1
4-10
These settings define the connection between the channel in ClearSCADA and
the DNP3 device that is connected to the system.
5. On the Scan Parameters tab, configure the Line Speed to 1024000.
The line speed is used internally by ClearSCADA drivers to help calculate
delays in responses to sent messages. On slower lines (such as serial
connections), message timeouts are automatically extended to allow for
increased transmissions times.
6. Save the Channel form by selecting the Save icon from the toolbar.
You will note that the configuration error cross in the Database Bar disappears
since there are no configuration errors on this object.
4.2.2.2
Modbus
Issue 1
4-11
By ticking or clearing the In Service field and then saving the change, you
dynamically enable or disable this object in the database.
Note: To determine the function of a specific property, hover the cursor over the property on
the Form a ToolTip will be displayed. The ToolTip contains a short description of the
property. When you select the property, the ClearSCADA status bar at the bottom of the
display will show the actual property name and its data type.
Issue 1
4-12
These settings define the connection between the channel in ClearSCADA and
the Modbus device that is connected to the system.
11. On the Scan Parameters tab, configure the Line Speed to 1024000.
The line speed is used internally by ClearSCADA drivers to help calculate
delays in responses to sent messages. On slower lines (such as serial
connections), message timeouts are automatically extended to allow for
increased transmissions times.
13. Save the Channel form by selecting the Save icon from the toolbar.
You will note that the configuration error cross in the Database Bar disappears
since there are no configuration errors on this object.
Issue 1
4-13
Tab
Property
Setting
Outstation Set
In Service
Yes
Channel
Training.Channel
DNP3
Note: Where the field on the form has a browse button next to it (small button with three
dots), ClearSCADA will display a dialog listing all the instances of the required object type for
selection rather than having to type the information in manually each time.
Section
Property
Setting
Outstation
n/a
In Service
Yes
n/a
Outstation Set
Training.Set
n/a
Address
Integrity (Class
0) Polling
Interval
DNP3
Issue 1
4-14
If you are using an Ethernet connection to the RTU, you will also need to configure the
following:
Tab
Section
Property
Setting
Network
n/a
Network
Single Network
n/a
Host Address
n/a
Port
20000
Now we need to verify that the communications to the device are working correctly.
The simplest way to verify this is through the use of the Outstation View dialog. To
display the View dialog:
1. Right click on the Outstation object in the Database Bar.
2. On the Context Sensitive menu, select the View Status option.
The View Status dialog for the DNP3 outstation object will display status information
such as Protocol Alarms, Communications State, Message Statistics, etc.
If the communications to the device is successful, the State field should be shown as
Healthy, Multidrop. If communications are not Healthy, Multidrop then View the
status for the other objects in the hierarchy of the communications settings (Set and
Channel) to determine if these objects are in a healthy state.
Chapter 4 A First Configuration
Issue 1
4-15
Check that you have configured the channel and set as described in the previous
sections. If you have configured them correctly and the outstation is still not healthy,
ask your course instructor for assistance.
4.2.3.2
Modbus
To establish communications to the Outstation, both the Set and Outstation objects
also need to be configured.
For the Outstation Set object named Training.Set, configure the following:
Tab
Property
Setting
Outstation Set
In Service
Yes
Channel
Training.Channel
Set Address
10
(Arbitrary value set for each group of
SCADAPack or Generic Modbus controllers
that communicate via a particular direct
channel)
Modbus
Note: Where the field on the form has a browse button next to it (small button with three
dots), ClearSCADA will display a dialog listing all the instances of the required object type for
selection rather than having to type the information in manually each time.
Section
Property
Setting
Outstation
n/a
In Service
Yes
n/a
Outstation Set
Training.Set
n/a
Address
SCADAPack
Issue 1
4-16
If you are using an Ethernet connection to the RTU, you will also need to configure the
following:
Tab
Section
Property
Setting
Network
n/a
Network
Single Network
n/a
Host Address
n/a
Port
502
Now we need to verify that the communications to the device are working correctly.
The simplest way to verify this is through the use of the Outstation View dialog. To
display the View dialog:
3. Right click on the Outstation object in the Database Bar.
4. On the Context Sensitive menu, select the View Status option.
The View Status dialog for the Modbus outstation object will display status information
such as Protocol Alarms, Communications State, Message Statistics, etc.
If the communications to the device is successful, the State field should be shown as
Healthy, Multidrop. If communications are not Healthy, Multidrop then View the
status for the other objects in the hierarchy of the communications settings (Set and
Channel) to determine if these objects are in a healthy state.
Issue 1
4-17
Check that you have configured the channel and set as described in the previous
sections. If you have configured them correctly and the outstation is still not healthy,
ask your course instructor for assistance.
Issue 1
4-18
Section
Property
Setting
Binary Point
n/a
In Service
Yes
n/a
Outstation
Training.Reservoir.Outstation
n/a
Point Number
States
State 0 Description
Stopped
State 1 Description
Running
State 0 Severity
Event, Low
State 1 Severity
Event, Low
Trend
Update Rate
Logged Data
n/a
Enabled
Yes
Trend / List
Yes
Historic
Whenever we create objects in the database, it is good practice to verify that they are
operating as expected
Verify that the point is updating as expected using the points View dialog.
Issue 1
4-19
For the Binary Output point named Start, configure the following settings:
Tab
Section
Property
Setting
Binary Point
n/a
In Service
Yes
n/a
Outstation
Training.Reservoir.Outstation
n/a
Point Number
Trend
Update Rate
n/a
Enabled
Yes
Trend / List
Yes
Actions
Action 1 Enabled
Yes
Action 2 Enabled
Yes
Historic
Control
Action 1
Description
Action 2
Description
n/a
Update point on
successful action
Stop
Start
Yes
Verify that the controls work as expected by using the Control option available on the
object menu (right click on the point).
Verify that the point is updating as expected on the outstation and by using the points
View dialog.
Issue 1
4-20
For the Analog Input point named Level, configure the following settings:
Tab
Section
Property
Setting
Analog Point
n/a
In Service
Yes
n/a
Outstation
Training.Reservoir.Outstation
n/a
Point Number
Alarm Limits
High Limits
Low Limits
Scaling
32768
Check with your instructor as your
full scale may be different.
Formatting
Units
Format
0.00
Trend
Update Rate
Logged Data
n/a
Enabled
Yes
Trend / List
Yes
Historic
Verify that the point is updating as expected using the points View dialog.
Issue 1
4-21
The design button on the toolbar will indicate that the mimic is in design mode. You
may also see the grid dots on the mimic and a pink colored box in the status bar.
The mimic grid is a tool designed to help alignment of drawn objects and is only
available in design mode.
Issue 1
4-22
The Healthy, Multidrop text will be displayed on the mimic in a text box.
Note: The drag menu displayed above provides a shortcut method to displaying the most
common object properties. These common properties provide the user with information about
the status of the object.
4. Put the mimic into run mode by clicking on the Design button on the tool bar.
5. Hover the mouse over the text box and you will notice that the cursor changes
to a hand.
The hand indicates that there is a Pick Action available on this object.
6. Click on the object and from the Object Menu, select the Refresh option.
When the refresh method is selected, ClearSCADA will initiate a poll of the
outstation. As you call the Refresh method, examine the lights on the RTU to
verify that ClearSCADA has communicated with the RTU.
7. Disconnect the serial or Ethernet (depending on your connection) from the RTU
port and verify that the communications state changes to Failed. A
communication Failed alarm should also be shown in the alarm banner and
alarm list. This information is also logged in the event list.
Note that the color of the communication status changes. This color indicates
that the object is bad quality in this case, communications have failed. The
color also indicates things such as alarm conditions, alarms disabled and local
overrides.
8. Replace the cable and verify that communications return to Healthy, Multidrop.
As the state returns to Healthy, Multidrop, the color should now indicate an
unacknowledged, cleared alarm.
Issue 1
4-23
4. Add headings to the mimic using the text tool in the Mimic Editing toolbar. The
text tool icon is shown below.
The mimic you have created should look similar to the one shown below.
Issue 1
4-24
9. Using the Start object menu, verify that controls to this point result in output
relay being operated.
10. Verify that the Analog Input point can be changed and ClearSCADA logs the
changes in the Historic database for the Level point.
11. Verify in the Event List that alarms are generated as the analog value passes
the configured alarm limits.
12. Disconnect the communications cable to the RTU.
13. Manipulate the inputs to the RTU.
14. Reconnect the RTU and verify that inputs made while the communications were
disconnected are reflected in the ClearSCADA database.
Note: Handling of historic time-stamped data is natively supported in the ClearSCADA
software. Since DNP3 supports the transmission of time-stamped data, this allows the
ClearSCADA historian to log all event type data received from the RTU. This includes
alarming from historic time-stamped data.
Issue 1
4-25
5 Animating Mimics
In this chapter, we will draw and animate a reservoir. In this mimic, the level of the
reservoir will move up and down based on the value of the analog input to the RTU,
and the pump will change color to indicate whether it is stopped or running.
The final mimic will look similar to the image below.
Issue 1
5-1
2. Draw a rectangle over the top of the tank that will be used to show the level in
the tank as shown below. You will need to change the color to differentiate
between the two shapes.
3. Select the front rectangle and send it to the back so that the tank outline is on
top.
Note: Arrangement tools can be found in both the Context Sensitive menu available when
right-clicking on the object, and in the Arrange Menu.
Issue 1
5-2
Issue 1
5-3
Now that you are familiar with the concepts of quotations and relative and absolute
addresses, you can begin to create your size animations.
2. Right click on the selected rectangle and select Animations from the Context
Sensitive menu displayed.
The following window will be displayed.
Issue 1
5-4
5. Select the browse button next to the expression field to display a Context
Sensitive menu. Select the OPC Tag option.
Note: Browse buttons are indicated by buttons with three dots. All browse buttons provide
access to a browse dialog that you can use to search the system for the property or value you
require.
The OPC Tag browser window is displayed. This window allows you to browse
through every object and its associated properties in the ClearSCADA
database for use in an expression.
Issue 1
5-5
6. Use the browse window to locate and select the FullScale property of the
Level point (the FullScale property tag is within the $Config branch of tags as
it is a configuration setting).
The FullScale property is the highest permitted value for the point (as
configured on the point form).
Note: Terminology
Object any item within the database.
Property one of the fields associated with an object.
Tag (OPC Tag) the combination of the object and property separated by a ..
Close the dialogs to return to the animations window. Note that the expression
entered in the SizeMax field is .Level.FullScale.
7. Repeat steps 3-6, only this time associate the SizeMin animation with the
ZeroScale property.
The SizeMin animation associates the point minimum value with the minimum
size for the rectangle.
8. Repeat steps 3-6, only this time associate the SizeVal animation with the
CurrentValue property. In step 4, tick the Fast Updates tick box.
Note: You will not find this in the $Config branch.
The SizeVal animation sets the rectangle size to relate to the current value of
the point (between the min and max value).
The Fast Updates tick box tells the server to update the client at a faster update
rate for the Tags referenced in this animation. This will be covered in more
detail in a later section.
9. Close the animations window and open the properties dialog for the rectangle.
10. On the displayed dialog, set the Dynamic Sizing Direction to Bottom to Top.
Issue 1
5-6
This sets the rectangle to resize from the bottom upwards, so that the higher
the value, the taller the rectangle will be.
11. Place the mimic in Run Mode and verify that the water level in the reservoir
changes as the Level Analog input is adjusted.
Issue 1
5-7
Issue 1
5-8
3. Right Click on the 0 box and from the context menu select Insert.
4. Double click on the decision block (the one containing the text TRUE) and in
the window displayed, browse to find the Running point.
This is the decision point that evaluates which result should be returned. If the
expression in this block is evaluated as TRUE, then the result returned will be
the box along the True path. Similarly, when the expression is evaluated as
FALSE, the result returned will be the box along the False path.
Note that in this case we have used the point itself rather than an individual
property of the point. This is because when no property is specified for a point
value, it returns the default property which is the value of the point.
5. Double click the box to the right of the decision box.
The Expression window is displayed.
6. Select the Browse button to the right hand side of the window and choose
Color. From the displayed color chart, choose Red.
Issue 1
5-9
Note that the expression RGB( 255, 0, 0 ) is automatically entered into the expression
window for you. If you know the specific color reference it can be added manually if
required.
Note: More colors are available by clicking on the three dots on the bottom right hand corner
of the color chart. The dialog then displayed allows the full range of RGB colors to be
selected (over 16 million colors).
Issue 1
5-10
Issue 1
5-11
Note: Holding down the Alt key while dragging objects will disable the snap to grid
functionality.
Issue 1
5-12
5.6 Exercises
1. Display on the mimic, the time that each point was last updated. This is
available as a standard option when dragging and dropping the points onto the
mimic.
2. Create a tooltip on the pump that shows the current state of the pump i.e.
Stopped or Running.
Issue 1
5-13