+ All Categories
Home > Documents > Powerstudio Scada Ver2.5 Tutorial

Powerstudio Scada Ver2.5 Tutorial

Date post: 07-Aug-2018
Category:
Upload: terramoco
View: 261 times
Download: 8 times
Share this document with a friend
111
 ENERGY MANAGEMENT SOFTWARE POWERSTUDIO SCADA  Version 2.5 TUTORIAL 03_07H CIRCUTOR S.A.
Transcript
Page 1: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 1/111

 

ENERGY MANAGEMENT SOFTWARE 

POWERSTUDIO SCADA 

Version 2.5

TUTORIAL03_07H

CIRCUTOR S.A.

Page 2: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 2/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 2 - 

Page 3: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 3/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 3 - 

POWERSTUDIO SCADA v2.5 TUTORIALCIRCUTOR 2007

PURPOSE OF THE TUTORIAL: to learn how to use the Powerstudio SCADA EnergyManagement Program, using real communication with a series of devices (practical kit). Thesteps in the tutorial must be followed in order to familiarise yourself with the operation of theprogram. Finally, the steps that the tutorial follows are in some way the steps that will befollowed for an "actual" application. 

1. Setting the practical kit devicesa. SET-UP of the CVM-MINI, EDMK and RGU-10 equipmentb. SET-UP of the COMMUNICATIONS for this EQUIPMENTc. Setting the practical computer IP

2. Setting the LM-50 TCPa. Setting the IP and other parametersb. Adding an LM-50 TCP connection to Powerstudio SCADA

3. Detecting and communicating with several pieces of equipmenta. Starting communication devicesb. Option for setting equipment using the softwarec. Edit Mode and Run Mode

4. Displaying the applicationa. Monitoring equipment via Java Applet and Websiteb. Drawing graphs with historiesc. Making history tablesd. Exporting data to an Excel table

5. Creating SCADA screensa. Creating SCADA screens and adding a background screen imageb. Defining text stylesc. Using SCADA tools on the created screens

6. Defining virtual variablesa. Example of an application for a virtual variable

7. Creating reportsa. Creating an Energy Reportb. Creating timeslotsc. Creating reports by applying timeslots

8. Creating Events (application alarms)9. DDE and XML Data Server

a. DDEb. XML

Page 4: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 4/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 4 - 

Description of the training DEMO KIT:In order to undertake the tutorial, a Circutor Equipment Kit to communicate with and to

be treated as though it were actual equipment in installation. The Demo Ket comprises thefollowing pieces of equipment:

•  LM 50 TCPo  Ethernet-485 Gateway for communication with its and also with the other

equipmento  Digital inputs (0/1 or Pulses)

The LM 50 TCP device shall act as an energy pulse receiver from an EDMk meter. It will also read in the0/1 status of the two buttons and finally shall act as an Ethernet/485 gateway so that the EDMk, CVM MINI andRGU 10C MT equipment can be read.

•  EDM k ITF: energy meter with 485-communication + output pulses to the LM 50TCP

 Active energy / power factor meter. Consumed energy shall be read from the Powerstudio SCADAsoftware both by 485-communications and the no. 1 pulse input on the LM50 TCP, thanks to the EDMk meter pulse output connection with the LM 50 TCP input. In general, reading internal energy meters is carried out by pulse signals collected by LM-24 or LM 50 pulse centralisers. In this case it can directly communicate with themeter.

•  CVM MINI: power analyzer with 485 communication

Electrical power analyzer and energy meter. Device which measures and calculates the main electrical parameters in the system. Provides more information than an EDMk. They are mounted on the distribution boardsto measure consumption, voltages, power factor in each load for subsequent analysis using Powerstudio SCADAsoftware.

•  EARTH-LEAKAGE PROTECTION:o  RGU 10 C MT: earth-leakage protection with self-reclosing and 485

communication.o  WGS - 20: protection transformer.o  MT-C-E62-6 A: motorised overload device, governed by the RGU 10.

The RGU is earth-leakage protection relay measuring current leakage via the WGS-20. It carries out thefunction of cutting the MT overload when there is a leakage for filling the trip conditions based on the preset tripcurrent and time thresholds. Using the Powerstudio SCADA software the instant current, relay status, etc. may bemonitored. It is also possible to set a cycle of two automatic reconnections thanks to the overload device. It alsocan be used as a remote control to activate or deactivate a load.

Page 5: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 5/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 5 - 

Practical kit

It also has a signal generator  module which allows:•  The current consumption level and the EDMk and CVM-MINI power to be varied.•

  A leakage up to 30030 mA in the RGU-10 to be generated.•  2 digital signals (0/1) to be generated to simulate the status is of inputs 2 and 3 on the LM 50TCP.

The signal generator can vary the parameters read by the devices.

Detail picture of signal generator

Page 6: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 6/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 6 - 

1. Setting the Practical Kit equipment

SET-UP of the EDMk, CVM MINI and RGU 10C MT equipment

The EDMk, CVM-MINI and RGU-10 MT devices are set from the keyboard. As with every energy meteror power analyser and earth-leakage protection relay, there are some parameters which must be set. It shall beshown that these parameters may also be set from the Powerstudio SCADA software itself.

SET-UP of the Communications for this equipment

The LM 50 TCP is set in the following section using software. Setting the other devices.

LM 50 TCP = Peripheral no. 1 and baud rate 19200 (it is not necessary to set this as it is done so in the factory).Setting the following peripheral numbers in the EDMk, CVM MINI and RGU 10 MT. Each step is essential

so that the software can distinguish each device within the system.

EDM k = Peripheral no. 2, baud rate 19200CVM MINI = Peripheral no. 3, baud rate 19200RGU 10 MT = Peripheral no. 4, baud rate 19200

Setting the IP Address in the Practical computer.

  Check that the LM 50 TCP device has a crossed network cable connected to the Practical PC Ethernetnetwork port.

•  Check the IP address on the Practical computer. Check that the IP address on the computer is foundwithin the IP range for example: 172.16.11.X:

o  In Windows, press START and then RUN the CMD command:

o  On the run on screen, enter CMD and press OK (as shown in the figure).o  An MS-DOS screen will appear. On this screen run IPCONFIG, and see the current IP address

data (see figure).

Page 7: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 7/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 7 - 

o  In this case, the IP address for the computer will be 172.16.11.34 with a subnet mask of255.255.0.0. This information will be useful to define the IP address for the LM 50 TCP gatewaywhich must belong to the IP range compatible with the practical computer. The LM 50 TCP shalloperate as a digital and pulse input device as well as the Ethernet 485 communications gatewaywith the other devices.

o  Change (if necessary) the practical computer IP to the IP address in the range 172.16.11.XX.

  Go to the desktop and in MY NETWORK PLACES click right on the mouse and selectPROPERTIES. The following screen will appear:

  Click right again on LOCAL AREA CONNECTION and select PROPERTIES. The followingscreen will appear:

Page 8: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 8/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 8 - 

  Edit the TCP/IP Internet Protocol properties

  Select an IP and network mask as shown in the figure below.

  Once this operation has been performed, the practical computer is configured with therequired IP range.

  The network is ready to configure the visible IP address for the LM 50 TCP such as172.16.11.100, for example.

Page 9: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 9/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 9 - 

2. Setting the LM-50 TCPSetting the IP Address and other network parameters.

•  Once has been checked that the IP address for the practical computer is within the range of IP'sbetween: 172.16.11.10 and 172.16.11.30, an IP address of 172.16.11.100 must be assigned to the LM50 TCP.

•  Open the TCP folder found in the practical PC desktop.

•  Run the Tcp2rsconfig.exe program which is found within the folder.

•  Check that the LM 50 TCP has the MAC address written on the side and front. Enter the MAC addressfor the LM 50 TCP equipment and the IP Address which is required to be entered in the LM 50 TCP.This address, for the time being, is temporary and will be definitively entered and saved in the next step.

•  The Ethernet address is shown (MAC address) with the temporary IP address for the LM 50 TCP. Oncethis data has been introduced, press PROGRAM and the following screen will appear:

Page 10: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 10/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 10 - 

  When the previous screen appears, enter the appropriate NETWORK parameters:a. IP = 172.16.11.100b. Subnet Mask = 255.255.0.0c. Gateway = 0.0.0.0d. Port = In this case we have two possibilities. The fist possibility is that your

device was modbus RTU, in this case the port is 10001. By the other way, theport could be modbus TCP, in this case the port is 502.

•  The other parameters to be set must be entered as shown in the previous figure.

•  When everything has been correctly entered, press UPDATE to save the LM 50 TCP NETWORKsetting.

Now the LM 50 TCP device has the correctly configured NETWORK port and it will be very easy to addPowerstudio SCADA. Therefore a PING call is made to the IP Address on the LM 50 TCP to see that it exists onthe NETWORK.

•  Open the DOS window, run the CMD command from the START menu.

•  When the DOS window is available, enter: PING 172.16.11.100.

•  If the LM 50 TCP has been correctly configured a response to the PING calls will be received as shownin the above figure.

•  Each unit of the LM 50 TCP or Ethernet Circutor peripheral must have its own permanent IP address(fixed). The PC where the Powerstudio SCADA is installed must show all IP addresses for the installedCircutor equipment.

•  There are other means of setting the LM 50 TCP NETWORK port, for example via:

o  ARP and TELNET commands (port 9999)

In order for the ARP command to work on Windows, the ARP table on the PC must have at least one IP address

defined other than its own. If the ARP table is empty, the command will return an error message. Type ARP -A atthe DOS command prompt to verify that there is at least one entry in the ARP table.

Page 11: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 11/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 11 - 

If the local machine is the only entry, ping another IP address on your network to build a new entry in the ARPtable; the IP address must be a host other than the machine on which you are working. Once there is at least oneadditional entry in the ARP table, use the following command to ARP an IP address to the TCP2RS/LM50TCP:

Figure 1:  ARP on Windows

arp -s 191.12.3.77 00-20-4a-xx-xx-xx

Now open a Telnet connection to port 1. The connection will fail quickly, but the TCP2RS/LM50TCP willtemporarily change its IP address to the one designated in this step.

Figure 2:

telnet 191.12.3.77 1Telnet to Port 1

Finally, open a Telnet connection to port 9999 and set all required parameters.

Figure 3: Telnet to Port 9999

telnet 191.12.3.77 9999

Note: This IP address is temporary and will revert to the default value when the TCP2RS/LM50TCP’s power is reset, unless you log into the TCP2RS/LM50TCP and store the changes permanently.Refer to Chapter 4 for instructions on permanently configuring the IP address. 

o  http (Port 80)

To call the IP from any internet navigator (e.g. iexplorer, netscape,…). It need to know which IP addresshas the device to communicate with it.

 Adding the connection and LM 50 TCP device to Powerstudio SCADA

•  Run the Powerstudio SCADA program (there is direct access in the desktop).

•  The program shall run in DEMO MODE (there is no problem, the program must work for one hour indemonstration mode, then it will close saving the changes. The program can be run again by starting itagain).

•  It is not necessary to save the application or the project being used. The program automatically savesthe application.

•  Initially, the following window will appear in order to add a device.

•  DO YOU WISH TO ADD DEVICES TO THE PROGRAM'S CONFIGURATION?

Page 12: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 12/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 12 - 

•  Click YES and proceed to add an LM 50 TCP device which will carry out the function of input deviceand connection device (communication gateway). A connection is understood to mean the path viawhich devices are added to the program.

Possible connections are:

  Free series ports (COM available in the PC to which RS 232 equipment has been directlyconnected, or free series port + RS232/485Converter + NETWORK of EQUIPMENT)

  IP connection via TCP2RS or LM50-TCP (IP Address of a Circutor NETWORK gateway)

  Connecting equipment with its own Ethernet port: CVM 144 / 96 Ethernet, ...

Logically it is first necessary to add the connection and LM 50 TCP device for the other devices.

•  Select which device is to be added, an LM 50 TCP:

Details of the available equipment for Powerstudio SCADA

Page 13: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 13/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 13 - 

•  The name and alias of the device is defined. When installing on site, the name which will properly definethe measurement points or purpose of the equipment should be entered.

The name associated with the equipment will be the name of which shall subsequently be used by theprogram.

•  Click on NEXT and the following message will appear:•  DO YOU WANT TO CREATE A NEW CONNECTION FOR ...?

•  Click YES and the NETWORK parameters will be set.

•  The following screen is displayed:

Page 14: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 14/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 14 - 

•  Select TCP2RS if the device is modbus RTU or select Converter ModbusTCP if the device is modbusTCP.

The Modbus TCP option (Network protocol available in several pieces of Circutor equipment), is usedwhen communication is required from different Software or PLCs at the same time with the same piece ofequipment. It is a multi-master protocol. The equipment to be communicated with it must support this protocol if

the Modbus-TCP option is to be used.

•  Once the TCP2RS converter option has been selected, the following screen will appear.

•  A name for the connection will be defined (as required) and the 172.16.11.100 IP network address and

10001 port if the device is modbus RTU or 502 port if the device is modbus TCP.•  Press NEXT, and the following will appear:

Page 15: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 15/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 15 - 

This screen shows that the LM 50 TCP device is using the peripheral no. 1 and is invariable. Therefore, 2,3 and 4 have been reserved for the other pieces of equipment in the KIT.

•  Click on OK and the Powerstudio SCADA will detect the LM 50 TCP:

The green V indicates that communication has been properly established.

Page 16: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 16/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 16 - 

3.- Detecting and communicating with several pieces of equipment

Starting communication devices

Now the other pieces of equipment must be added and the communication network configuration must becompleted.

•  Now another device is added, the CVM MINI.•  Go to the SETTING menu and select DEVICES. A screen with the devices added to the

application shall appear.•  Click on ADD and select CVM-MINI. A screen will appear where the device's name and

description must be entered (if required).

•  Select MAIN as the device's name and already created database saved in the practical computermay be used. Enter the name MAIN and click on next.

Page 17: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 17/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 17 - 

Then the connections selection screen will appear with which the equipment will communicate.

•  The connection to be selected is the connection previously created for the LM 50 TCP. Logically, theother pieces of equipment will also communicate via this connection.

•  Enter the connection via the LM 50 TCP, and the program will ask for the CVM MINI peripheralnumber.

•  Enter peripheral number 3 and click on OK.

Page 18: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 18/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 18 - 

If everything is OK, the equipment will immediately be detected and will appear on the list of detected equipment.

•  If OK is clicked on the previous screen, the communication's status is displayed:

Notice in the figure that validation is displayed in green, confirming that the communication is correct. Ifone other hand, there is a red arm, it means that the equipment in question is not communicating.

•  Now you can add the remaining equipment following the same steps as above:

o  EDM k = Peripheral no. 2, baud rate 19200o  RGU 10 MT = Peripheral no. 4, baud rate 19200

Enter  any description name for each of the pieces of equipment and select the same connection as thecommunication channel.

Page 19: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 19/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 19 - 

Option for setting equipment using the software

There is the option to modify the equipment's setting using the Powerstudio SCADA software:

1. Setting the communication parameters: It is possible to modify the peripheral number and theconnection on the same ADD equipment screen. This is useful for modifying the peripheralnumber of a piece of equipment. WARNING: the peripheral number is only changed to anothernumber in the event that the latter number is not being used.

2. Setting the device's parameters: The parameters for each setting for each piece of equipmentand other parameters may be modified, such as for example: directory where the histories,history recording period, analogue or digital data display, etc. may be saved.

•  Double-click on CVM-MINI. The following screen will appear:

•  Select the driver parameters and the following screen will appear: 

Page 20: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 20/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 20 - 

In this part of the program, the recording period for the database may be selected (DATA-LOGGER), forthis equipment. The route where the database is to be stored can also be selected as well as well whether thedata is to be displayed in digital or analogue format, etc.

•  Click on OK, to return to the previous screen.•  Now enter SETTING CVM-MINI, the following screen will appear:

This screen allows the CVM MINI instrument to be set as though it were being set from the keyboard.This screen will vary depending on the equipment to be set. Each piece of equipment has its own SET-UP.

•  Click on OK and if any change has been made to the SET-UP, this change will be sent to thedevice.

Page 21: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 21/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 21 - 

•  Now enter VARIABLE LIMITS and the following screen is displayed:

This option in the program allows some visual alarms to be set for each parameter read by the devices.For example, if a rated voltage value is set for the CVM MINI and this voltage is within the PRE-alarm or alarm %(outside limits), when the devices parameters are displayed in real-time, the voltages shown in red are warningthat there is a fault in the system. Later, another higher grade of alarms, successive calls which are in factSCADA alarms, are explained.

Example of visual alarms in current

Page 22: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 22/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 22 - 

  ACCEPT the setting of the CVM MINI (MAIN) limits and ENTER SETTING VARIABLE UNITS

This option allows the possibility of changing the units displayed by the software using information fromthe devices.

•  Click OK, on the above screen and exit the MAIN equipment settings (CVM -MINI).

Now the LM-50 TCP device parameters are set to set for the number on the digital inputs as an energymeter input from the EDMk equipment. However, first the EDMk digital output is set so that it generates one portper kWh metered.

Page 23: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 23/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 23 - 

•  Double-click on the EDMk equipment

Two possible configurations for this device appear. Noticed that there is no option for visual alarms. Thereason for this is that the energy meter only displays accumulated consumption values for that meter. As theseare variables, accumulative values, the program cannot show alarm values...

•  CLICK on device parameters to access the setup parameters for the equipment. Rememberthat this section can also be carried out using the device's keyboard.

•  Set the active output on 1000 Kw/pulse, so that the LM 50 TCP reads energy consumed bythe EDMk.

  Click on OK and the changes shall be sent to the device.•  Now enter the LM 50 TCP setting.

Page 24: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 24/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 24 - 

•  Click on DEVICE INPUTS, set inputs 1, 2 and 3 as shown in the figure.

The LM 50 TCP inputs are set on the screen in accordance with the connection and use to be given toeach of them. In this case, the digital output for the EDMk sends pulses to input number one, therefore input on isdefined as a Wh meter and input two and three as digital signals corresponding to the buttons on the simulator.

•  ACCEPT the changes made.•  Now, you may try out the different setting options for the devices in order to familiarise

yourself with the program.

Page 25: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 25/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 25 - 

Edit Mode and Run ModeThe application can work in two modes:

•  Edit Mode: the application is created or modified in this mode:

o  Starting communication connectionso  Starting connection devices (Networks)o  Setting equipmento  Creating SCADA screenso  Creating reportso  Defining events (alarms)o  Etc.

•  Run Mode: in this mode, the application activates the Web server and allows the online operationof each application created:

o  Displaying equipment datao  Viewing SCADA screens with updated informationo  Displaying the reports createdo  Viewing the status of events and the option of recognising themo  Viewing graphs and tableso  Etc.

When the application moves from EDIT MODE to RUN MODE, the program compiles all of the editedapplication and checks that there are no errors, warning if any errors exist.

Up to now it has been running in edit mode and the devices and communication connections have beenset. From now on it will also operate in run mode to observe the data from the equipment in real-time and theresults obtained by the application.

•  Change the application's operating mode to Run Mode•  In order to do this enter the SETTING menu and then enter PREFERENCES

•  Activate the Web SERVER, for example for port 80 (Standard Port)

Page 26: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 26/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 26 - 

This option enables the display via Web or Java Applet. Also this option has the following options fromthe program's preferences:

1. Activating and EDIT password. Protects the program from being edited if a previouslydefined password is not known.

2. Language: selecting the language.3. Activating menus and task bar on the display.4. Activating the web server.5. User authentication. This allows users and privileges to be established for the

SCADA display which is useful for restricting the use of certain parts of the programto certain users.

6. SCADA start screen. Defines which of the SCADA screens created in application isthe start screen.

Returning to the guided tutorial, which are now go into RUN MODE.

•  Enter the SETTING menu, select RUN OPERATING MODE

•  Once the program is in run mode, note that the SETTING menu disables the editing options.

Page 27: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 27/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 27 - 

4.- Displaying the applicationMonitoring equipment via Java Applet and Website

Editing applications and setting devices and/or connections is the part of a program calledcommunications engine. Displaying the application in (Run-time), is not carried out with the communicationsengine, but the application is displayed by using the XML protocol (data server) and software tools such asJava Applet and a Web page explorer.

Connecting to Powerstudio Scada via Java Applet

•  Run the direct access called: "Appletscada.jar" which is found in the practical computer

desktop. The following screen will appear:

On the start screen, the OK status for communication with the equipment can be seen

•  Now the data from the equipment can be monitored in real-time.•  Go to the DEVICES option and choose the four available devices in the application one by

one. Note the values for the equipment.•  Vary the commands for the signal generator and note that the variables are refreshed.

Detail of the monitoring of data from the RGU-10

Page 28: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 28/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 28 - 

The Java Applet is a remote console which monitors the application created with Powerstudio SCADA,the communication between the communications engine (Powerstudio SCADA) and the Java Applet is carried outvia XML. This console may be installed on remote computers to subsequently display Powerstudio SCADA fromany computer.

•  To be able to connect with Powerstudio SCADA via Java Applet Java, from a remotecomputer, it is necessary to go to the General Menu and click on CONNECT. Enter the IPaddress for the master computer which stores Powerstudio SCADA. Validate for Intranet orto connect via the Internet.

For the purposes of the tutorial, it is not necessary to define the IP address where it is to be connected asmonitoring is carried out in local mode (on the same computer where the communications engine is running:Powerstudio SCADA)

Connecting to Powerstudio Scada via the Web

Now connect to Powerstudio Scada from Internet Explorer

•  Run Internet Explorer•  Enter the practical computer IP address using the address keyboard (in Internet Explorer). If

the computer's IP address is not known, enter: //LOCALHOST •  The application will monitor from Internet Explorer, as shown in the figure:

Detail of the display via the Web of real-time data from an EDMk.

Page 29: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 29/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 29 - 

Drawing graphs with histories

Displaying histories, tables, data and the whole application can be carried out using both Internet Explorer andJava Applet. The Java Applet is used for more convenience. The data displayed in tables and graphs are justdata recorded by Powerstudio SCADA from each device added to the application. As a default, PowerstudioSCADA records all parameters available to each piece of equipment in a database.

•  Run the Java Applet keeping Powerstudio SCADA in run mode.•  Real-time monitoring of data from the MAIN equipment (CVM-MINI).•  Select any of these variables and then click on GRAPH.

•  Drawing different types of graphs for the MAIN device (CVM-MINI) given that the time axismay be as much as one year of data. GROUPED BY = 1 Year. 

•   Also modify the data period to see more or less samples on the graph. When a graph periodis selected which is higher than the history logging period, the program averages the datadisplayed. 

•  Dates for the histories can be moved by using the BACK and NEXT arrows. 

•  Clicked right on the mouse on the graph to show the MAGNIFYING GLASS, PAN and ZOOMoptions. 

•  The graphs can be drawn using different variables at the same time, by selecting as manyvariables required to draw the graph from the MAIN display screen.  

Page 30: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 30/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 30 - 

   Also, by clicking on PROPERTIES, several graphs can be made into one graph by addingmore variables to the same graph (even though they are from other equipment). The colourof the graphs may be changed, etc. 

Detail of the graph properties

•  Graphs may be printed using PRINT. •   Also, graphs may be exported to a PNG image using the EXPORT option. 

Detailed of an energy graph for one day

•  Now you may try out the tools on the graphs and with the properties in order to familiariseyourself with the graph function. 

Page 31: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 31/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 31 - 

Making history tables•  The process for making tables is the same as that for a graph.•  Keeping the last graph shown on the screen, click on table and all data in the graph will

appear as a table. Also a table may be called by clicking on grass and drawing a graph of thetable.

Example of the table where energy accumulated in each hour is shown. Noticed that the total of allenergy in the table appears in the upper right section.

•  The tables also have lower options which allowed sample was in a table to be changed,grouping data contained in the table, the option for moving between histories using the Backand Next arrows...

•  Other parameters may also be added for the same piece of equipment or different pieces ofequipment to the table by clicking on PROPERTIES:

Page 32: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 32/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 32 - 

  Another way of drawing a table, is by clicking directly on TABLE then selecting the deviceand/or parameter which is to be shown as a table:

Exporting data to an Excel table

This section shows how to export a table of data to a text document or an Excel document. There are twoways to export data:

1. Creating a text file with information from the table for subsequent use.2. By cutting and pasting from the briefcase.

Each method is demonstrated:•  Generating any table•  Opened the OPTION menu and select EXPORT•  A Menu will appear to save the TXT file as shown in the figure:

Page 33: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 33/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 33 - 

Page 34: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 34/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 34 - 

•  Introduce file name, for example DATOS, and save in desktop.•  Consequently, TXT file has been saved in desktop.•  Now all data will be imported to DATOS.TXT file.•  Execute Microsoft EXCEL, select FILE, OPEN, as kind of file select ALL FILES.

•  Select DATOS as file name, and click OPEN.•  On screen will appear the following message from EXCEL assistant

Page 35: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 35/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 35 - 

  In the first step of assistant, select DELIMITADOS and press next:

•  In the second step of assistant, try SEPARADORES, TABULACIÓN y PUNTO YCOMA, press SIGUIENTE: (data will appear in columns)

•  Finally, press FINALIZAR, import process has finished.

Page 36: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 36/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 36 - 

See in above figure the data imported from Powerstudio in Excel format.

Follow the easy steps below to cut and paste:•  Generating any table

•  Move the mouse on top of the table, click right; i.e, select the values from the table:

Data from the table will appear shaded as shown in the figure

•  Press CTRL + C and the data will be copied into the briefcase.•  Create a new documents in Excel in the desktop and press CTRL + V, data from the

table is pasted into Excel. See figure:

Page 37: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 37/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 37 - 

Excel sheet with all the required data exported

Page 38: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 38/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 38 - 

5.- Creating SCADA screens

Creating SCADA screens and adding a background screen image

That is to create two SCADA screens using a previously edited screen background. the SCADA controlsare subsequently used to fill in the two screens.

•  Go to the SETTING menu and select NEW SCREEN.

•  Enter the name of the screen for example START and click on OK.•  The SCADA screen operating area will appear.

Detail of the SCADA screen design area

Before associating an image to a background, the location and images to be used has to be indicated tothe program.

•  Go to the SETTING menu and enter IMAGE MANAGER.

Page 39: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 39/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 39 - 

  Once IMAGE MANAGER has been opened click on ADD.•  Search for an image in the directory: C:\\BMP, and add the image to EQUIPMENT

EXPERT.BMP, as shown in the following figure:

•  Also add SCREEN 2.BMP, LOGO_CIR.BMP, images to be used subsequently.•  Once the three images have been added, click on EXIT.

•  The SCADA screen design area reappears. To associate the background image to the

SCADA screen go to the tools on the left section of the screen and click on BACKGROUNDIMAGE.

•  Select the EQUIPMENT EXPERT.BMP image.

•  Also select, if necessary, MAINTAIN REAL SIZE. This option allows the image resolution tobe used, or if not selected, the image will match the size of the screen by expanding ifnecessary.

•  Now you may follow these previous steps and create another new screen with the nameSCREEN 2 and associate the SCREEN 2.BMP image as the screen background.

Page 40: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 40/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 40 - 

  When these screen 2.bmp screen background has been located on the correspondingscreen, click on and select the option MATCH TO BACKGROUND as shown inthe figure:

This option is necessary said that the application matches the screen background resolution.

•  If necessary, also apply option to the start screen.

Once the two screens have been created with their respective backgrounds, it is necessary to define

which is the start screen to the program (which will appear first as Index or Portal with the steps / calls to otherscreens).

•  Go to the SETTING menu and enter PREFERENCES.•  Select the screen called START (the first) as start screen.

•  Click on OK in Preferences to validate the start screen.

•  In order to see the screens operating in the application, and go to the RUN operating modeand then start the application "AppletScada.jar".

Page 41: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 41/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 41 - 

  As a default the START screen must appear and by clicking on SCREEN MENU the screento be displayed may be selected.

Defining text styles

The software allows any type of font available on the installed computer to be used and also allows thetype of writing and specific size to be predefined. The specified style will then be associated with the controlswhether they are text or formulas.

•  Enter the SET Up menu and select STYLES.•  Add a new style, define your type of lettering and preferred size.

•  Then, the defined style is used for the SCADA action tools for both formulas or texts on thescreen.

Page 42: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 42/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 42 - 

Using SCADA tools on the created screens

In addition to the SCADA tools, there is also a series of mathematical and time functions available, suchas:

"Wizard" button: a tool often used while editing the application. It is used to open the equipmentvariable search assistant, created formulas, arithmetical functions, logical formulas, ...

From now on, the different action calls will be used to complete the two previously created SCADAscreens. As can be seen, to facilitate the use of the program, the large majority of controls available for designingSCADA screens are also used to design REPORTS. This is explained in another section.

Example is to be followed our carried out on the SCADA START test screen. The steps to be carried out shall be

checked from the Java Applet.

- Action tools

- Position tools

- Page tools

Square root in the expression “exp”Neperian logarithm in the expression “exp”Number “e” raised in the expression “exp”Sine in the expression “exp” (in radiants)Cosine in the expression “exp” (in radiants)Tangent in the expression “exp” (in radiants)

 Arcosine in the expression “exp” Arcocosine in the expression “exp” Arcotangent in the expression “exp”

 Arcotangent extended from the expression “exp1/exp2 ”Base ten logarithm from the expression “exp”Rounded up to the nearest whole number in the expression “exp”Rounded down to a whole number in the expression “exp” 

Return the PI number (3.1415927…)Return the E number 2.7182818…  

second() : Returns the second of the current dateminute() : Returns the minute of the current datehour() : Returns the hour of the current date

day() : Returns the day of the current datemonth() : Returns the month of the current dateyear() : Returns the year of the current date

- Zoom tools

- Miscellaneous tools

Page 43: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 43/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 43 - 

•  Cursor tool: It is necessary to disable any other previously selected tool.

•  Text tool: this is used to add text to SCADA screens, if none is located on the backgroundscreen.

o  In Powerstudio SCADA, in Edited Mode and edit SCADA START screen.o  Select the Text tool and write any text on the screen.o  Noticed that on selecting the added text box, another tool box for the text box appears on the

right of the program.

o  Check the different tools associated with the text box

•  Bitmap Control : this is used to add images to an existing SCADA screen.

o  Select the Bitmap Control as a tool and open a small rectangle on the upper left section.Noticed that the Bitmap control is yellow when there is no image selected.

o  As with all action tools, it will open a tool box associated with the active control which in thiscase is the Bitmap control. Click on IMAGE SEARCH

o  Select the LOGO_CIR.BMP image and click on OK.o  The screen will be as follows:

Page 44: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 44/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 44 - 

Bitmap control with Circutor logo

•  Date and time control: this control allows the current date and time or a freely selected date tobe displayed on the SCADA screen.

o  Select Date and time control and under the Circutor logo at it by creating a smaller rectangle

o  In the tools (on the right section) associated with the Date and time control, select CURRENTDATE. So that the current date on the SCADA screen appears in run mode.

o  Noticed that the Date and time tools have the option to modify the font, type of lettering,direction, these options are common to the majority of the Action Controls.

•  Formula Control: this control is used to display the variables measured by the devices and/orformulas created with FORMULA EDITOR on the SCADA screen. Basically, the role of the Formulacontrol is to display the real-time parameters of the installed equipment on SCADA screens.

Page 45: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 45/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 45 - 

o  Below, we are going to edit the SCADA START screen show that its shows the followinginformation in real-time:

•  LM 50 TCP: display digital meter input 1•  EDMK: display accumulated kWh.•  CVM MINI: display: Phase 1 Volts Phase 1, Amperes Phase 1, KWIII and Power

factor III.

o  It will start with the LM 50 TCP. Select the Formula Control tool and generate a label on thespace reserved for Input 1. See figure:

o  Once the formula control box has been created, the formula control tools are located in thespace reserved for the screen background.

o  In the previously entered by the keyboard, the LM 50 TCP variable must be entered: displaydigital meter input 1, which will be searched for by pressing the button beside the input,

shown in the above figure.o  by clicking the button, the following variable search assistant will be displayed:

Page 46: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 46/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 46 - 

o  The first option is selected: I WANT TO ADD A REFERENCE TO A VARIABLE FOR APIECE OF EQUIPMENT and click on OK.

o  Then another screen for the Assistant appears where the equipment is selected where thevariable is to be displayed. In this case the LM 50 TCP.

o  By double-clicking directly on the equipment to be selected the variables available for thisequipment will appear:

Page 47: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 47/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 47 - 

o  The meter 1 variable is selected: Energy EDMk which was defined in the first sections.o  Click on OK.

o  Noticed that the Formula box and the label added to the SCADA screen the COMMANDalready appears to define the variable to be displayed. This command corresponds to theName associated to the equipment and an extension defining the variable in particularbetween speech marks.

o  If the variable to be entered is known, it may be directly entered using the keyboard on theformula space.

o  In the formula input space, the program allows simple operations to be entered

o  Example: ,

Page 48: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 48/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 48 - 

o  The value 7108, corresponds to the results of an ADD operation already carried out. Thevalue corresponds to the meter 1 input on the LM 50 + 80. The operations can also becarried out in among different variables on the equipment.

o  If the content of the formula input is incorrect, the program will display SYNTAX ERROR.o  Now, following the same steps as above, the remaining formula for the EDMk and CVM-MINI

equipment can be created.

Detail of monitoring the equipment variables from Java Applet

Page 49: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 49/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 49 - 

•  Formula Editor: the formula editor allows the definition of new variables to be displayed usingarithmetical calculations carried out on equipment variables and/or constants defined in the formulaeditor.

Example: a formula to add to the kWh. accumulated by the EDMk and CVM-MINI will be defined toobtain total energy which will be the installation's total consumption.

o  Click on formula editor and the following screen will appear:

o  Click on ADD to define the formula

o  Enter the name of a formula, for example: ENERGY

o  Then click on the button next to the Formula , and the "Wizard" assistant will appear to

search for the origin of the formula data.

Page 50: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 50/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 50 - 

o  Select the: I WANT TO ADD A REFERENCE TO A VARIABLE FOR A PIECE OFEQUIPMENT.

o  Search for energy + EDMk, and click on OK.

o  Then the first energy to be added will appear in the formula editor.

Page 51: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 51/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 51 - 

o  Together with the EDMk energy demand, the + (addition) sign is added.o  The variable search button must be clicked again to add the energy consumed by the MAIN

equipment (CVM-MINI).

o  Once the CVM MINI energy variable has been selected, the formula will be defined andavailable as another variable.

Page 52: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 52/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 52 - 

o  Now ACCEPT in the formula assistant.o  once the formula has been created, use the FORMULA CONTROL to display the ENERGY

formula in the Total Energy box on the SCADA screen. The variables for the pieces ofequipment have been entered as previously.

o  A Formula control must be added in the TOTAL ENERGY area.o  Associate the Formula control to the ENERGY formula as shown on the following screen:

o  And select the formula created:

Page 53: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 53/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 53 - 

Page 54: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 54/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 54 - 

•  Conditioned Control: this control allows many functions to be carried out with the same control Itis mainly used to:

o  Display an image or a text when a condition is met.o  Carrying out a calculation when a condition is met.o  Displaying a time sequence of images, for example a movement or a flicker.o  Etc.

 An image sequence is going to be made to appear (similar to a movement or flashing), conditioned by theLM 50 TCP selector being ON (Input 3 on the LM 50 TCP). Switching time will be one second and a total of threedifferent images will be switched.

o  First the images to be switched have to be added.o  Open the SET UP, IMAGED MANAGER menu and add the ON.bmp, OFF.bmp and OR.BMP

images:

o  Select the formula editor control, add the formula with the name MOD and the formula containingthe following code:

o  second-trunc(second/x)*x (Where x takes the values that we need to chang, in this case x=3) o  The formula is properly entered when value appears in the evaluation and no error message

appears. In our case we must put: second-trunc(second/3)*3o

  The result of the MOD will vary between, 0, 1 and 2.

Page 55: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 55/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 55 - 

Now the conditioned control can be created

o  Select the condition control, create a rectangle with the control near to the LM 50 TCPo  Edit the properties of the conditioned control

o  Add 3 conditions, as shown in the figure and associate each condition to one of the ON, ORand OFF (BMP) images in any order.

o  As can be deduced, there are multiple combinations to be carried out on a large variety ofpossibilities to be used by using this technique.

Page 56: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 56/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 56 - 

•  Screen control: this control allows movement between SCADA screens. It is a sensitive area:Taking with the mouse will jump to another screen.

o  Edit the SCADA START screen and select Screen Control.

o  Cover their image with the screen control. The area of this image will beused as the button to jump to the next screen.

o  On the screen control toolbar, defying the destination of jump to SCREEN2 to as shown inthe figure.

o  Enter SCREEN 2 and add a screen jump control to the START screen on the RETURNimage.

o  Change the application to Run Mode and check the operation from the Java Applet.

•  Report control: this simple control carries out the function of jumping to a previously createdreport. It is an area which is sensitive to the mouse.

•  Device display control: this control jumps to a predetermined device. It is an area which issensitive to the mouse.

o  It will jump to each device in the Demo Kit, displaying a display control on each device.o  Jump to the LM 50 TCP: Select the display control for the device and create a rectangle on

the LM 50 TCP.o  In the device's jump tools, define the jump to the LM 50 TCP device as shown in the figure

below:

Page 57: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 57/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 57 - 

o  Also add jumps to the EDMk, CVM-MINI and RGU 10 devices.o  Change the application to Run Mode and check the operation from the Java Applet.o  Noticed that, when the device's icon is clicked on, the program jumps to monitoring its

measured variables.

•  Graph or Table Control: this control allows a jump to be created to a predefined graph or table.

o  An example of a jump is created, to a graph where the daily consumed energy appears onthe MAIN equipment (CVM-MINI). The graph shows the data grouped by month with the dailygrouped energy.

o  Choose the Graph control and add a rectangle on the free area on the SCADA screen.o  On the control toolbar select GROUPED BY = month, PERIOD = 24 hours, as shown in the

figure:

o  On the control toolbar, ADD the consumed energy variable for the MAIN equipment.

Page 58: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 58/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 58 - 

o  The area is sensitive to the mouse and opens a predefined energy graph.o  Remember that you can also jump to a table with the same procedure used for the graph.o  Multi-graphs of up to 10 simultaneous variables can be created.

•  Event display control: these controls allow an area sensitive to the manners to be created

which opens up a window by clicking on the mouse:o  Active Events: active system alarmso  Events History: list with the events history

These options are entered into more detail in the events section.

•  Run control: this control is used to run an external application with predefined parameters.

o  The properties of this control are shown in the figure.o  In Program the route and name of a file to be run are entered.o  In Parameters a parameter associated to running the program is entered.o  They were in control may be associated to an application event.

•  Forced Variable Control: this control allows the 0 or 1 output or vice versa to be forced from thesoftware for devices with digital outputs. The control is an area which is sensitive to the mouse.

Page 59: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 59/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 59 - 

 An example of forcing the variable is shown. The switch associated with the RGU 10 will be closedand opened from two areas sensitive to the mouse.

o  Select the control to force the variableo  Add 2 controls, in the RGU 10 area, on OFF control and another RESET controlo  Edit the properties of the controls as follows:o  Edit OFF, as shown in the figure

o  Edit Reset, as shown in the figure

o  The Force digital output application may be used for any device with these outputs.o  Events to force the relay may be associated in order to maximise the software alarm signal.

•  Area Fill in control: this control fills in and the area on the screen background when apredetermined condition has been met.

The condition that does not have to be strictly digital, it may be a maximum/minimum condition. It is apurely graphic control.

 An example of this control is shown. The Scada START screen will show the blank box for input 2 on LM50 TCP as a red or green depending on if the input is closed or open.

Page 60: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 60/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 60 - 

o  Adding an area fill in control on the blank area for input 2.

o  On the fill in control properties, click on the Wizard button to add the fill in condition.o  The DIGITAL INPUT no. 2 for the LM 50 TCP will be sought. Remember that it is a

REFERENCE TO A VARIABLE FOR A PIECE OF EQUIPMENTo  The CLOSED condition will be [LM 50 TCP.DI2]==1o  Associate the red colour to this condition and press NEW.

The control will remain in the following manner:

o  Now enter the Open conditiono  On the CONDITION input line, where the previous condition remains, the condition is

changed to: [LM 50 TCP.DI2]==0 , and the colour changes to green

Page 61: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 61/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 61 - 

Now place the Application in run mode and check its operation:

Note: This tool makes appear in the below side a new feature icon called "tolerance". Its scope is from0% up to 100%, and as much higher is the percentage less restrictive is the tool to fulfill the image.When "0%" value of tolerance is selected, it is filled in the same size and colour than the pixel selected in thepicture. If there were different tones is necessary to increase the tolerance degree towards "100%" value toobtain more accuracy.

Page 62: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 62/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 62 - 

6. Defining virtual variablesThat this program option allows new variables to be defined resulting from combining other variables in

the same way as in the formula editor. The difference between virtual variables and formulas is that virtualvariables can be subsequently displayed as graphs and tables as though they were a direct variable from theequipment. On the other hand, formulas defined in the formula editor or in the form of control, are not capable ofbeing displayed as a graph or table. Also, a virtual variable is handled as though it were a new device.

Depending on the requirements of the application and the formulas and calculations required, thevariables are defined as a formula or as a virtual variable.

Example of an application for a virtual variable:

Suppose in an energy efficiency application that the single wire diagram for the installation is as shown inthe figure:

The installation has three power transformers in the substation, has an analyser measuring electricalconsumption for each of the transformers, but does not have equipment to measure the total for the threetransformers

Virtual variables are allowed the new equipment to be defined (which does not physically exist). This willcarry out the required operations to calculate the electrical parameters for the three partial pieces of equipment.(Addition of powers, addition of energies, Cos phy total calculations, average voltage calculations, etc.)

In this way, graphs, tables, screens, reports or events can be made for the total consumption ofinstallation without having such a device. Virtual variables = TOTAL CT1 device (see previous figure). Virtualvariables can be defined as any parameter read by Circutor devices whether they are electrical parameters orprocess signals.

 An example of a simple virtual variable is shown using data from the MAIN equipment. The three-phasevoltage variable is defined which is the result of averaging the three single voltages.

o  Go to Powerstudio scada, operating in edit mode.

Page 63: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 63/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 63 - 

o  Go to the SET UP menu and select DEVICES.o  Add a new device in the ADD DEVICES ASSISTANT.o  Choose a virtual device.

o  Define a name for the device and a description, for example VIII.o  Click OK on the following screens.o  When a device is added, enter into its configuration by double-clicking on it and entering the

DEVICE PARAMETERS. Here, its formula and origin of data will be defined.

o  The following will be displayed in Parameters:

o  Noticed that many variables can be defined for the same Virtual device

o  Click on ADD and another window will open:

Page 64: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 64/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 64 - 

o  Define the different fields as shown in the figureo  Entered the following average formulao  ([MAIN.VI1]+[MAIN.VI2]+[MAIN.VI3])/3

The meaning of its field is as follows:

The virtual variable identifier used to uniquely identify each of the variables to be used inexpressions and conditions, see Section 13.2 Expressions and conditions.

Name of the virtual variable used for better variable identification.

Text of the units in which the value is expressed.

 Allows the value grouping criteria for the virtual variable values on graphs, tables andreports to be selected. For example, if there is a value every 5 minutes (e.g. 10, 12 and 17) and the values aregrouped every 15 minutes, this means that 3 values are grouped into 1. The value obtained would be:

•  Maximum value: the maximum value of the 3 will be displayed•  Minimum value: the minimum value of the 3 will be displayed•  Average value: the average value of the 3 will be displayed•  Last value: the last value will be displayed

Here the formula giving the result of the virtual variable is specified.It may be entered manually or by the “wizard” button (See Appendix 13.2 Expressions and conditions). When the

formula is entered, it is automatically analysed and where it may be used will be displayed.

Page 65: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 65/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 65 - 

o  Click on OK and the virtual variable is defined.o  The device and the virtual variable will appear as another device on the list of devices.

o  Now be operating mode is changed to run mode and the Java Applet is started to check theoperation of the new device

Page 66: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 66/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 66 - 

7.- Creating reports

 A report is used to check the parameters measured by a Circutor equipment over predetermined periodof time. Energy, cost control, production cost control, etc reports can be obtained using this method.

In order to be able to see what is their report, it is proposed to create step-by-step and energy report

Creating an Energy Report

The device from where or required parameters are to be extracted is the MAIN equipment

  Current date of creating the report.•  Start date of report data.•  Finish date of report data.•  Active Consumed Energy and price of kW/h (0,063557) Help with creating formulas.•  Power factor.•  Creates a formula to extract cosine of phi. (What is cosine of phi?).•  Indicates the value of the power demand meter.•  Creates a simulation of the bill if the contracted power limit is 1000 kW and the cost of power is €4.65 per

kW (assists in creating additional formulas to create the simulation, where the price of consumed energyplus the price of power haves to appear).

•  In addition to this subtotal, the fixed cost of renting the meter of €54.30 must appear The electricity taxwhich is (1.05113 x 4.864% x subtotal). All of this information provides the taxable amount of the reportand allows the total to be extracted to which 16% VAT has to be added.

•  Once this report has been created, simulated between 1st February 2007 and 1st March.

Implementation:

•  In order to create report, enter the setup-reports-new menu:

•  Once this has been done, a window appears to assign a name to the report, as previously shownin the create screen option. The required name is assigned:

Page 67: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 67/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 67 - 

•  Then the editing format of the report automatically appears. The create date tool is used if thedate of creating the report is required. This tool has a direct icon on the toolbar.

•  An area has to be selected with the mouse, an area which will indicate the where the requireddata will appear.

Page 68: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 68/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 68 - 

•  On the date menu on the right-hand side of the operating window, the type of data required maybe selected from the drop-down menu on the upper section of the menu.

•  To create a report, assistance is available from the text tool. This allows fixed labels for thereports to be created such as "period from" "until" etc.

•  The insert image tool is used to create lines.

Page 69: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 69/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 69 - 

•  Once the required area has been created use the mouse to select an image and place apreviously designed image on the report. This may be a colour pixel required for the bar.

•  This pixel is selected, it expands to the whole area and after the size is assigned for this windowit converts into a line or bar to the required dimensions.

•  In order to be able to display active energy consumed on the report, a formula with the energyexpression is created. This variable may be obtained by using the Wizard tool.

•  Once the required variable is displayed, a variable is created using the formula editing. This valuewill be the price of energy so that handling this variable will be easier afterwards (If this variablechanges at any time, changing the value of the variable is changed in every area where itappears).

Page 70: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 70/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 70 - 

•  Once this variable has been defined, another variable for the cost of energy may be defined. If novariable is to be defined, the cost can be displayed by working directly on the expression, butalways working with the previously created price variable.

•  The same method is used as with active energy to display power factor.

Page 71: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 71/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 71 - 

 As many variables as necessary are created to create a phi cosine function. The following simple route isused to reach phi cosine:

•  Creating the following variables:•  tanfi=Power factor/Active energy•  fi=atan(tanfi)•  cosphi=cos(fi)

•  In order to extract the value of the power demand meter, this variable just has to be displayed.

•  Simulating a bill cannot be undertaken without the value of the power, therefore the part definingthe power contract and the parts defining the cost of the same will be defined.

•  The cost of the power is defined year on year and therefore a variable is created which can be

easily modified. Power limits are not usually changed in isolation, but also they are created as avariable. This variable will be called PC.

•  The subtotal variable is created as a sum of the previous independent variables.

•  The companies that meet or a rental cost and the electricity tax must appear as part of thetaxable amount.

Page 72: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 72/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 72 - 

  The taxable amount can be created using these costs which will be the sum of this subtotal,electricity tax and meter rental.

•  A VAT rate of 0.16x will be added to the taxable amount.

•  Finally the total amount is displayed and the bill is simulated. In order to assimilate the bill, therun operating mode must be used, therefore the editing mode will be changed to run mode asshown in previous steps and the Applet has to be loaded. Jar or go directly to Internet Explorer todisplay the report's values.

Page 73: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 73/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 73 - 

•  If 1 February 2007 to 1 March 2007 is to be simulated, the go to the report option must beselected and the calendar entered to select the start date.

•  This step creates the report with the required period.

Once in this area, the report can be printed. In order to see if a report for any period for which data isavailable can be printed, a report is generated with the period for the year before that time period and will appearin the following way:

Page 74: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 74/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 74 - 

Page 75: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 75/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 75 - 

Creating timeslots (Tariffs)

It is proposed to create timeslots to fulfil the following conditions.

•  Where winter runs from the last Sunday in October to the last Sunday in March and summer fromthe last Sunday in March but last Sunday in October.

•  In order to create the timeslots go to be set up menu, and in set up go to: timeslots.

•  Once the timeslots has been opened add the required name and description.

Page 76: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 76/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 76 - 

  Then, created the calendar by starting with the type of time, going to type of time and they'readding the first type of time which will be low:

•  Once three times have been defined, the following is displayed:

•  That will be to create the type of day: Winter and summer:

Page 77: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 77/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 77 - 

•  The type of winter day will be defined in the following way:

•  In order to generate a type of summer day, follow the same method and obtain the followingscreen:

Page 78: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 78/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 78 - 

•  Types of day are defined in this manner:

•  Finally define the calendar. Select calendar option and create a new one using the types of days

defined previously:

Page 79: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 79/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 79 - 

•  To apply the type of days in the calendar, it can use the option fase selection.

•  When the calendar has been done, the discirminator just been definided.

Creating reports by applying timeslots.

 And energy reports will be created where energy is divided into: Peak Low Flat rate.

•  As shown in the first section for reports, a report is generated in the same manner until a screenis created which is similar to the following:

•  Once this point has been reached, the required variables are generated by applying thepreviously created timeslots.

Page 80: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 80/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 80 - 

•  Once the timeslots have been applied to the three energy boxes, the required result is obtained:

•  To finish to this section, the report is simulated.The image which appears once this has been done is as follows:

Page 81: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 81/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 81 - 

8.- Creating Events (application alarms)

•  Events are application alarms. The purpose of these events is to warn of a faulty situation in theinstallation.

•  Events are recorded in the application and a history can be made by listing the events occurringwithin a predetermined time period.

•  Events may be classified into groups according to the required criteria.•  Events may be recorded without notification, and many be issued as a warning in a pop-up

window and may even be displayed by an external program or by a digital output available onsome devices.

•  Logically, an event is activated when its activation condition is met. This condition is completelyflexible and configurable.

•  The format for the activation conditions are the same as for the condition control and for the areafill in. These conditions are shown in the Scada tools section.

•  Also, events may be classified over time as defined in the event timeslots. This means thatcertain alarms in the installation will only be activated if they occur within the time slots for theevent. E.g.: if electrical consumption at the header is above 100 kW during the non-industrialactivity timeslots, the switch off lights and/or air-conditioning warning is given...

•  Etc.

 An event is started in order to show how it operates. When the button on the LM 50 TCP is activated, italso activates an event which trips the overload switch. Also the earth leakage current which the RGU reads atthat time is noted.

o  Go to Powerstudio SCADA, in editing mode.o  Go to the setup menu and enter EVENTS.

Page 82: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 82/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 82 - 

The Event Timeslot of showing allows the event activation calendar to be defined. If this is not defined,any event will be active at any time. Events Groups allow events to be classified into groups.

o  The following window appears in events:

o  Add a new event, the following window appears:

Page 83: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 83/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 83 - 

o  In NAME (of the event), enter Alarm1o  Condition for the event: [LM 50 TCP.DI2]==1 o  A deactivation condition is not used. The event must be ACKNOWLEDGED by the user and

will be deactivated when this condition is not met.o  Select: NOTIFY BY POP-UP WINDOW AND RECORD IN THE FILEo  RELATED TEXT: fault in Machine 1.o  Do not DISABLE THE EVENT: this corresponds to applying a predefined timeslot to the

event.o  LOGGING: ADD LOGGING:

o  Select the wizard and it enter REFERENCE TO A VARIABLE OF A PIECE OFEQUIPMENT: effective instant currents in the RGU 10, as shown in the figure:

o  Click on OK.o  Now click on the logging wizard and select VALUE OF ONE OF THE REASONS

FOR THE EVENT as shown in the following figure:

Page 84: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 84/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 84 - 

o  Click on OK and select the effective current reason for the RGU:

o  Click on OK again.o  The logging of the current value has already been defined.o  The RESET for the over the device will be defined.o  In ACTIONS, add a new ACTION at the time of ACTIVATING.o  Select FORCE A VARIABLE.

o  As a variable to be Forced, select the RGU device, RESET variable, Value = 1, as shown inthe following figure:

Page 85: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 85/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 85 - 

o  Click on OK.o  The event has been completely defined. The event setting screen will be as follows:

o  ACCEPT all changes made.o  Changed the application to run mode, and open the Java Applet.o  Activate the button and check the overload device reset, also check that is a pop-up screen

appears when the event occurs.

Page 86: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 86/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 86 - 

Detail of the pop-up screen with the active event

o  When the pop-up screen appears, the active events must be clicked on and then ACKNOWLEDGE THE EVENT.

o  The pop-up window cannot be minimised before the event has been acknowledged.

o  Continuing with the Java Applet, if then Events is pressed, a history of the eventsoccurring appears.

It is also possible to use the SCADA tools to jump to the event's history or to successive events using the

following tools:

Page 87: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 87/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 87 - 

9.- DDE and XML Data Server  

DDE

DDE (Dynamic Data Exchange) is a Windows protocol between applications. It can operate in customermode (Requesting data from other applications) and/or in server mode (supplying data to other applications). ThePowerStudio program operates in server mode, i.e. once communication is established with another Windowsapplication (Excel, Paradox, Word, Programs in C, in Visual Basic, etc.) PowerStudio supplies it with the valuesread in the drivers. So, for example, voltage current, etc. may be seen in real time, etc. in Excel.

 And application will be used on an Excel sheet using the DDE protocol to visualise voltage in L1:

•  Keep Powerstudio SCADA in run mode.•  Copy the following sentence into an Excel cell:

•  =PWSTDValues|MAIN!VI1

Noticed that the Excel sheet displays the L1 voltage from the MAIN equipment. All variables from the devices may be displayed on an Excel sheet in real-time.

Page 88: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 88/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 88 - 

XMLPowerStudio provides a series of XML services to enable certain aspects of communication with other

applications.

Sometimes the integrators find that several external applications need data to be read from the sameperipheral; this poses a large problem because the equipment with RS485 Communications are only likely to bequestioned by a single master. In the event that there are more than one, there will be collisions in thecommunication and no application will correctly receive information from the analyzers.

With DDE integration it might be possible, as stated previously, that all external applications must beinstalled on the same platform, i.e. on the same personal computer. In the majority of cases, this type ofinstallation is non-viable because there is no possibility of assembling all integrated systems.

The XML communication protocol resolves this problem because it can question any application that is

on the same Local Area Network including the Internet; the only requirement is that it has an IP address to bequestioned. In this way, any electrical or physical parameter may be requested which, using a peripheral, iscollected by the Powerstudio System & Powerstudio Scada. In this way, using the XML communication protocol,many parameters can be collected from one or more Powerstudio installed on the same network includingaccessible external networks.

The sentences that must be made for the XML protocol and for the DDE server, must be correctlyformed. If not, the application will return a variable error.

In the requests in which it is necessary to express a date and time, for the service request as well as theresponse data, this will be represented in UTC (Universal Coordinated Time) as DDMMYYYYHHMMSS (twodigits for the day, two for the month, four for the year and two for the hour, minutes and seconds). It is alsopossible to represent only a date as DDMMYYYY assuming that the time will be 00:00:00 or to simply represent a

time as HHMMSS. Finally, in those cases when it is necessary to express milliseconds, these will be representedwith three digits after seconds as follows: DDMMYYYYHHMMSSUUU or HHMMSSUUU.

 /services/user/devices.xml

This returns the list of configured devices.

<devices><id> … </id>…

</devices>

Where:

•  devices : This is the main field that will be identified to XML as the response to the request for thelist of devices.

•  id :  This is the name for each one of the devices.

 /services/user/deviceInfo.xml?id=device?...

This returns information on the devices. Each one of the devices, from which information should beobtained, must be included in the request as follows:

?id=device?id=device2<devices>

<device><id> … </id><description> … </description>

Page 89: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 89/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 89 - 

<type> … </type>

<typeDescription> … </typeDescription><var> … </var>…

</device>…

</devices>  

Where:

•  devices : This is the main field that will be identified to XML as the response to the request fordevice information.

•  device : Information on each one of the devices requested.1. id : Device name2. descr ipt ion : Device description

3. t ype : Type of device (CVM144 for example)4. typeDescr ipt ion :  Description of the type of devise (CVM-144 for example)var : This is

the name for each one of the devices variables. The name will be expressed as a devicevariable (see ¡Error! No se encuentra el origen de la referencia., ¡Error! No seencuentra el origen de la referencia.)

 /services/user/varInfo.xml?var=device.variable?...?id=device?...

This returns information on the variable at the time the XML request is made. Each one of the variables,for which the value should be obtained, must be included in the request as follows:

?var=device.variable

If the user wishes to obtain information on all the variable for a device, this should be indicated as follows:

?id=device

It is also possible to request information from one or more variables and one or more devices in the samerequest.

<varInfo><var>

<id> … </id><title> … </title><hasValue> T </hasValue><hasLogger> T </hasLogger><sampleMode> … </sampleMode>

<measureUnits> … </measureUnits><unitsFactor> … </unitsFactor><decimals> … </decimals>

</var>…

<varInfo>  

Where:

-  varInfo : This is the main field that will be identified to XML as the response to the request forvariable information.

-  var : Information on each one of the variables requested:1. id : The name of the variable in device.variable format (see ¡Error! No se encuentra el

origen de la referencia., ¡Error! No se encuentra el origen de la referencia.)

2. t i t le : Brief description of the variable.3. hasValue : Indicates whether it is possible to request the instantaneous value for the (T)variable or not (F).

Page 90: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 90/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 90 - 

4. hasLogger : Indicates whether it is possible to request the history of values for the (T)variable or not (F).

5. sampleMode : Type of variable, mode used to group the values of the variable:•  none: No type•  average: Average value•  max : Maximum value•  min: Minimum value•   pfAverage: Power factor, average value•   pfMax : Power factor, maximum value•   pfMin: Power factor, minimum value•  last : Last value•  differential : Differential value between the current and the previous value•  samples: Samples. The value cannot be grouped.•  discrete: Discrete values. The value cannot be grouped.

6. measureUnits : Units of the variable:•  #NONE  It does not have units•  #V  Voltage•  #A  Current•  #VA  Apparent power•  #W  Active power•  #VARL  Inductive power•  #VARC  Capacitative power•  #PF  Power factor•  #HZ  Frequency•  #PERCENT  Percentage•  #WH  Active energy•  #VARLH  Inductive energy•  #VARCH  Capacitative energy•  #DATETIME  Date and time•  If not preceded by #, this is a user defined unit.

7. uni tsFactor : Power of 10 that indicates the value by which the variable in the file historyis multiplied

8. decimals : Decimals that have this variable.

 /services/user/values.xml?var=device.variable?...?id=device?...

This returns the instantaneous value of the variable at the time the XML request is made. Each one of thevariables, for which the value should be obtained, must be included in the request as follows:

?var=device.variable

If the user wishes to obtain the value for all the device variables, this should be indicated as follows:

?id=device

In the same request, it is also possible to request the value of one or more variables and the values of thevariables for one or more devices.

<values>

<variable><id> … </id><value> … </value>

</variable>…

</values>  

Page 91: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 91/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 91 - 

Where:

-  values : This is the main field that will be identified to XML as the response to the request forvariable values.

-  variable : List of variables:1. id : The identifier of the variable in device.variable format (see ¡Error! No se encuentra

el origen de la referencia., ¡Error! No se encuentra el origen de la referencia.)2. value : The value of the variable at the time of the request.

 /services/user/forceVariables.xml?id=device

The request can be used to send the order to force PowerStudio variables. In the request, the user mustinclude the name of the device to be forced, so authentication can be confirmed if necessary (see ¡Error! No seencuentra el origen de la referencia. ¡Error! No se encuentra el origen de la referencia.). Only variablespertaining to the device indicated in the request will be forced.

<forceVariables><forceVar>

<forceName> … </forceName><forceValue> … </forceValue>

</forceVar>…

</forceVariables>

Where:

-  forceVariables :  This is the main field that will be identified to XML as a request to forcevariables.

-  forceVar : Information on each one of the variables to be forced:1. forceName :  The name of the variable in device.variable format (see ¡Error! No se

encuentra el origen de la referencia., ¡Error! No se encuentra el origen de la

referencia.). This is only viable for variables that can be forced such as digital outputvariables for example.

2. forceValue : The value to which the variable will be forced.

 /services/user/records.xml?begin=…?end=…?var=…?period=900

This returns information registered for one or more variables between the “begin”  and “end”  dates. Eachone of the variables, for which the information should be obtained, must be included in the request as follows:

?var=device.variable

The “begin”  and “end”  format will be DDMMYYYY when only a date needs to be indicated (in this casethe time will be 00:00:00) or DDMMYYYYHHMMSS when the date and the time must be specified. “Begin”  and“end ” must both be expressed in UTC (Universal Coordinated Time).

Finally, the data grouping period can be specified for the data using the “period”  parameter. This value can beany of the following:

FILE Data will not be grouped and registries will be returned just as they were saved in the history. AUTO Automatic; grouping is done automatically depending on the “begin”  and “end”  dates specified.> 0  Value in seconds for which the data will be grouped.

Page 92: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 92/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 92 - 

If the “period” parameter does not appear in the request, it will be considered to be 0, and the data will not begrouped.

<recordGroup><period> … </period><record>

<dateTime> … </dateTime><field> … </field><fieldComplex> … </fieldComplex><fieldARM> … </fieldARM><fieldFO> … </fieldFO><fieldEVQ> … </fieldEVQ>…

</record>…

</recordGroup>

Where:

-  recordGroup : This is the main field that will be identified to XML as the response to the requestfor variable registries.

-  per iod : Registry period. This will inform on the time that has passed between registries.-  record : This will identify each one of the registries.

1. dateTime : Date and time of the sample2. f ield : Standard value registry3. f ie ldComplex : Complex value registry4. f ie ldARM : Harmonic value registry5. f ieldFO : Wave form registry6. f ieldEVQ : Registry of an EVQ event

The different type of values that can be returned for this request are provided below:-  Standard value registry (voltage, current, power, energy, etc.)

<field><id> … </id><value> … </value>

</field>

1. id :  Variable identifier (device variable)2. value:  Value

-  Complex value registry (PLT, etc.)

<fieldComplex>

<id> … </id><value> … </value><flags> … </flags>

</fieldComplex>

1. id :  Variable identifier (device variable)2. value:  Value3. f lags:   Additional information on the variable formed by joining one or more of the

following values:•  0x0000  The PLT is correct.•  0x0001  The PLT calculation was made with less samples than expected.•  0x0002  The PLT calculation was made with more samples than expected.•  0x0004  The samples used in the PLT calculation are not equally separated by

distance in the sample window.•  0x0008  Some PST used in the PLT calculation contains phase 1 events.•  0x0010  Some PST used in the PLT calculation contains phase 2 events.•  0x0020  Some PST used in the PLT calculation contains phase 3 events.

Page 93: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 93/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 93 - 

  0x0040

 Some PST used in the PLT calculation is not complete.-  Harmonic value registry

<fieldARM><id> … </id><element>

<harmonic> … </harmonic><value> … </value>

</element>…

</fieldARM>

1. id :  Variable identifier (device variable)2. element:  Information on each one of the harmonics

  harmon ic :  Number of the harmonic•  value:  Harmonic value

-  Wave form registry

<fieldFO><id> … </id><element>

<msec> … </msec><value> … </value>

</element>…

</fieldFO>

1. id :  Variable identifier (device variable)

2. element:  Information on each one of the points that make up the wave form•  msec:  millisecond•  value:  value

-  Registry of an EVQ event

<fieldEVQ><id> … </id><value> … </value><phase> … </phase><duration> … </duration><averageValue> … </averageValue><previousValue> … </previousValue><eventType> … </eventType><endForced> … </endForced><semicycleVoltage>

<date> … </date><value> … </value>

</semicycleVoltage>…

</fieldEVQ>

1. id :  Variable identifier (device variable)2. value:  Event value3. phase:  Phase when the event occurred4. durat ion : Duration of the event in milliseconds5. averageValue:  Average value6. previousValue:  Previous value7. eventType:  Type of event

•  0  Interruption•  1  Hole•  3  Power surge

Page 94: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 94/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 94 - 

8. endForced : This will mark whether the event was completed correctly (F) or whether itwas forced to end (T).

9. semicycleVol tage : Each one of the points that form the effective voltage of the semi-cycle associated with the event. This field is optional, and it is ok if it does not exist.

•  date: Date and time (DDMMYYYYHHMMSSUUU)•  value: Value

VARIABLES

To use references to the variables measured by the devices in Scada, reports, graphs and tables, thesoftware must recognize how each one of these is encoded.

Basic encoding will comprise the name of the devise and the variable code separated by a period.

name.variable

 Accordingly, the software will know the variable it is working with and the device from which it mustrequest the value for said variable.

This encoding (name-variable) can be used in the formulas, graphs and tables while reports, graphs andtables are only able to visualize the variables that have been saved in the value history files.

On occasions when the user wishes to discriminate a variable, as long as the variable can bediscriminated (energy for example), the discriminator information will be added to the basic coding.

discriminator_name@name_type_time:name.variable

Where the name of the discriminator to be used will be indicated along with the time type for which thevariable values will be discriminated.

This type of encoding with discriminators can only be used for reports, graphs and tables and only withvariables that have been saved in value history files.

For a better understanding, the variables will be shown in separate tables depending on the variable typemeasured by the devices. The columns situated to the left will provide information on the variable type, whetherthe variable is instantaneous, maximum or minimum, corresponding phase, any other information depending onthe variable and finally the code used (for example the corresponding code for instantaneous neutral-phasevoltage of phase 1 will be VI1). On the other hand, the columns located to the right of each table will correspondto devices that can measure each one of the variables, indicating if the variable will be measured by the devicewith and ‘X’ and indicating if the variable will be measured depending on the device version with an ‘O’.

Voltage

Phase voltage – neutralInstantaneous Maximums Minimums

L1 L2 L3 III L1 L2 L3 III L1 L2 L3 IIIVI1 VI2 VI3 VI VMX1 VMX2 VMX3 VMX VMN1 VMN2 VMN3 VMN

CIRWATT X X X

CVM 144 X X X X X X X X X

CVM 96 X X X X X X X X X

CVM B/BD X X X X

CVM BC X X X X X X X X X

CVM K X X X XCVM K2 X X X X X X X X X X X X

CVMK HAR X X X

CVM MINI X X X X X X X X X

CVM NRG 96 X X X X X X X X X

Page 95: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 95/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 95 - 

CVM SP X X X

MK D X XPOWERNET X X X X X X X X X

QNA O O O

Phase voltage – PhaseInstantaneous Maximums Minimums

L1 L2 L3 III L1 L2 L3 III L1 L2 L3 IIIVI12 VI23 VI31 VI123 VMX12 VMX23 VMX31 VMX123 VMN12 VMN23 VMN31 VMN123

CIRWATT X X X

CVM 144 X X X X X X X X X

CVM 96 X X X X X X X X X

CVM B/BD X X X X

CVM BC X X X X X X X X X

CVM K X X X XCVM K2 X X X X X X X X X X X X

CVMK HAR X X X

CVM MINI X X X X X X X X X

CVM NRG 96 X X X X X X X X X

MK D X X

POWERNET X X X X X X X X X

QNA O O O

Nominal voltageInstantaneous

L1 L2 L3VPNOMI1 VPNOMI2 VPNOMI3

QNA X X X

Neutral voltageInstantaneous Maximums Minimums

VNI VNMX VNMNCVM K2 X

QNA O

Voltage – absolute minimum All registries Valid registries

L1 L2 L3 L1 L2 L3V1MINT V2MINT V3MINT V1MINV V2MINV V3MINV

QNA O O O O O O

Voltage – lower percentile [5%] All registries Valid registries

L1 L2 L3 L1 L2 L3V1INFT V2INFT V3INFT V1INFV V2INFV V3INFV

QNA O O O O O O

Voltage – upper percentile [95%] All registries Valid registries

L1 L2 L3 L1 L2 L3V1SUPT V2SUPT V3SUPT V1SUPV V2SUPV V3SUPV

QNA O O O O O O

Voltage – absolute maximum All registries Valid registries

L1 L2 L3 L1 L2 L3V1MAXT V2MAXT V3MAXT V1MAXV V2MAXV V3MAXV

Page 96: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 96/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 96 - 

QNA O O O O O O

Voltage distortionInstantaneous Maximums Minimums

L1 L2 L3 L1 L2 L3 L1 L2 L3DVI1 DVI2 DVI3 DVMX1 DVMX2 DVMX3 DVMN1 DVMN2 DVMN3

CVM 144 X X X X X X X X X

CVM 96 X X X X X X X X X

CVM B/BD O O O

CVM BC X X X X X X X X X

CVM K O O O

CVM K2 X X XCVMK HAR X X X

CVM MINI X X X X X X X X X

CVM NRG 96 X X X X X X X X X

CVM SP X X X

POWERNET X X X X X X X X X

QNA X X X

Distortion in neutral voltageInstantaneous Maximums Minimums

DVNI DVNMX DVNMNCVM K2 X

Voltage distortion – upper percentile [95%] All registries Valid registries

L1 L2 L3 III L1 L2 L3 IIIDV1SUPT DV2SUPT DV3SUPT DVSUPT DV1SUPV DV2SUPV DV3SUPV DVSUPVQNA O O O O O O O O

Current

CurrentInstantaneous Maximum Minimum

L1 L2 L3 III L1 L2 L3 III L1 L2 L3 III AI1 AI2 AI3 AI AMX1 AMX2 AMX3 AMX AMN1 AMN2 AMN3 AMN

CIRWATT X X X

CVM 144 X X X X X X X X X

CVM 96 X X X X X X X X X

CVM B/BD X X X X

CVM BC X X X X X X X X XCVM K X X X X

CVM K2 X X X X X X X X X X X X

CVMK HAR X X X

CVM MINI X X X X X X X X X

CVM NRG 96 X X X X X X X X X

CVM SP X X X

MK D X X

POWERNET X X X X X X X X X X X X

QNA O O O

Neutral currentInstantaneous Maximum Minimum

 ANI ANMX ANMNCVM 144 O O O

CVM 96 O O OCVM B/BD O

CVM BC O O O

CVM K O

CVM K2 X

Page 97: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 97/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 97 - 

CVM MINI X X X

CVM NRG 96 X X XQNA O

Page 98: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 98/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 98 - 

Leak currentInstantaneous Maximum Minimum

 AELI AELMX AELMNCVM 144 O O O

Current distortionInstantaneous Maximum Minimum

L1 L2 L3 L1 L2 L3 L1 L2 L3DVI1 DVI2 DVI3 DVMX1 DVMX2 DVMX3 DVMN1 DVMN2 DVMN3

CVM 144 X X X X X X X X X

CVM 96 X X X X X X X X X

CVM B/BD O O O

CVM BC X X X X X X X X X

CVM K O O O

CVM K2 X X X

CVMK HAR X X XCVM MINI X X X X X X X X X

CVM NRG 96 X X X X X X X X X

CVM SP X X X

POWERNET X X X X X X X X X

QNA O O O

Distortion in neutral currentInstantaneous Maximum Minimum

DANI DANMX DANMNCVM K2 X

Frequency

FrequencyInstantaneous Maximum Minimum

HZI HZMX HZMNCIRWATT X

CVM 144 X X X

CVM 96 X X X

CVM B/BD X

CVM BC X X X

CVM K X

CVM K2 X X X

CVM K HAR X

CVM MINI X X X

CVM NRG 96 X X X

CVM SP X X X

MK D X X

POWERNET X X XQNA X

Frequency – absolute minimum All records Valid records

HZMINT HZMINVQNA O O

Frequency – lower percentile [5%] All records Valid records

HZINFT HZINFVQNA O O

Frequency – upper percentile [95%] All records Valid records

HZSUPT HZSUPVQNA O O

Frequency – absolute maximum

Page 99: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 99/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 99 - 

 All records Valid recordsHZMAXT HZMAXV

QNA O O

Power

 Apparent power consumedInstantaneous Maximum Minimum

L1 L2 L3 III L1 L2 L3 III L1 L2 L3 IIIVAI1 VAI2 VAI3 VAI VAMX1 VAMX2 VAMX3 VAMX VAMN1 VAMN2 VAMN3 VAMN

CIRWATT X X X X

CVM 144 X X X X X X X X X X X X

CVM 96 X X X X X X X X X X X X

CVM B/BD X X X X

CVM BC X X X X X X X X X X X X

CVM K X X X X

CVM K2 X X X X X X X X X X X X

CVM MINI X X X X X X X X X X X X

CVM NRG 96 X X X X X X X X X X X X

CVM SP X X X

POWERNET X X X

QNA O

 Apparent power generatedInstantaneous Maximum Minimum

L1 L2 L3 III L1 L2 L3 III L1 L2 L3 IIINVAI1 NVAI2 NVAI3 NVAI NVAMX1 NVAMX2 NVAMX3 NVAMX NVAMN1 NVAMN2 NVAMN3 NVAMN

CVM K2 X X X X X X X X X X X X

CVM MINI X X X X X X X X X X X XCVM NRG 96 X X X X X X X X X X X X

QNA O

 Active power consumedInstantaneous Maximum Minimum

L1 L2 L3 III L1 L2 L3 III L1 L2 L3 III API1 API2 API3 API  APMX1 APMX2 APMX3  APMX  APMN1 APMN2 APMN3  APMN

CIRWATT X X X X

CVM 144 X X X X X X X X X X X X

CVM 96 X X X X X X X X X X X X

CVM B/BD X X X X

CVM BC X X X X X X X X X X X X

CVM K X X X X

CVM K2 X X X X X X X X X X X XCVM MINI X X X X X X X X X X X X

CVM NRG 96 X X X X X X X X X X X X

CVM SP X X X

MK D X X

POWERNET X X X X X X X X X X X X

QNA O O O

 Active power generatedInstantaneous Maximum Minimum

L1 L2 L3 III L1 L2 L3 III L1 L2 L3 IIINAPI1 NAPI2 NAPI3 NAPI NAPMX1 NAPMX2 NAPMX3 NAPMX NAPMN1 NAPMN2 NAPMN3 NAPMN

CVM K2 X X X X X X X X X X X X

CVM MINI X X X X X X X X X X X X

CVM NRG 96 X X X X X X X X X X X XQNA O O O

Page 100: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 100/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 100 - 

Capacitive power consumedInstantaneous Maximum Minimum

L1 L2 L3 III L1 L2 L3 III L1 L2 L3 IIICPI1 CPI2 CPI3 CPI CPMX1 CPMX2 CPMX3 CPMX CPMN1 CPMN2 CPMN3 CPMN

CIRWATT X X X X

CVM 144 X X X X X X X X X X X X

CVM 96 X X X X X X X X X X X X

CVM B/BD X X X X

CVM BC X X X X X X X X X X X X

CVM K X X X X

CVM K2 X X X X X X X X X X X X

CVM MINI X X X X X X X X X X X X

CVM NRG 96 X X X X X X X X X X X X

CVM SP X X X

POWERNET X X X X X X X X X X X X

QNA O O O

Capacitive power generatedInstantaneous Maximum Minimum

L1 L2 L3 III L1 L2 L3 III L1 L2 L3 IIINCPI1 NCPI2 NCPI3 NCPI NCPMX1 NCPMX2 NCPMX3 NCPMX NCPMN1 NCPMN2 NCPMN3 NCPMN

CVM K2 X X X X X X X X X X X X

CVM MINI X X X X X X X X X X X X

CVM NRG 96 X X X X X X X X X X X X

QNA O O O

Inductive power consumedInstantaneous Maximum Minimum

L1 L2 L3 III L1 L2 L3 III L1 L2 L3 IIIIPI1 IPI2 IPI3 IPI IPMX1 IPMX2 IPMX3 IPMX IPMN1 IPMN2 IPMN3 IPMN

CIRWATT X X X X

CVM 144 X X X X X X X X X X X X

CVM 96 X X X X X X X X X X X X

CVM B/BD X X X X

CVM BC X X X X X X X X X X X X

CVM K X X X X

CVM K2 X X X X X X X X X X X X

CVM MINI X X X X X X X X X X X X

CVM NRG 96X X X X X X X X X X X X

CVM SP X X X

POWERNET X X X X X X X X X X X X

QNA O O O

Inductive power generatedInstantaneous Maximum Minimum

L1 L2 L3 III L1 L2 L3 III L1 L2 L3 IIINIPI1 NIPI2 NIPI3 NIPI NIPMX1 NIPMX2 NIPMX3 NIPMX NIPMN1 NIPMN2 NIPMN3 NIPMN

CVM K2 X X X X X X X X X X X X

CVM MINI X X X X X X X X X X X X

CVM NRG 96 X X X X X X X X X X X X

QNA O O O

Page 101: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 101/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 101 - 

Factor for power consumedInstantaneous Maximum Minimum

L1 L2 L3 III L1 L2 L3 III L1 L2 L3 IIIPFI1 PFI2 PFI3 PFI PFMX1 PFMX2 PFMX3 PFMX PFMN1 PFMN2 PFMN3 PFMN

CIRWATT X X X

CVM 144 X X X X X X X X X X X X

CVM 96 X X X X X X X X X X X X

CVM B/BD X X X X

CVM BC X X X X X X X X X X X X

CVM K X X X X

CVM K2 X X X X X X X X X X X X

CVM MINI X X X X X X X X X X X X

CVM NRG 96 X X X X X X X X X X X X

CVM SP X X X

POWERNET X X X X X X X X X X X X

QNA O O O

Factor for power generatedInstantaneous Maximum Minimum

L1 L2 L3 III L1 L2 L3 III L1 L2 L3 IIINPFI1 NPFI2 NPFI3 NPFI NPFMX1 NPFMX2 NPFMX3 NPFMX NPFMN1 NPFMN2 NPFMN3 NPFMN

CVM K2 X X X X X X X X X X X X

CVM MINI X X X X X X X X X X X X

CVM NRG 96 X X X X X X X X X X X X

QNA O O O

Cos φ consumedInstantaneous Maximum Minimum

L1 L2 L3 III L1 L2 L3 III L1 L2 L3 IIICOSI1 COSI2 COSI3 COSI COSMX1 COSMX2 COSMX3 COSMX COSMN1 COSMN2 COSMN3 COSMN

CVM K2 X X X X X X X X X X X X

CVM MINI X X X

CVM NRG 96 X X X

Cos φ generatedInstantaneous Maximum Minimum

L1 L2 L3 III L1 L2 L3 III L1 L2 L3 IIINCOSI1 NCOSI2 NCOSI3 NCOSI NCOSMX1 NCOSMX2 NCOSMX3 NCOSMX NCOSMN1 NCOSMN2 NCOSMN3 NCOSMN

CVM K2 X X X X X X X X X X X X

CVM MINI X X X

CVM NRG 96 X X X

Energy

 Apparent energyConsumed Generated

VAE NVAECVM K2 X X

CVM MINI X X

CVM NRG 96 X X

 Active energy consumedL1 L2 L3 III Partial Fee Contract x (x:1..3)

Page 102: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 102/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 102 - 

1 2 3 Fee y (y:1..9) Total AE1 AE2 AE3 AE PAE AET1 AET2 AET3  AECxTy AECxTOT

CIRWATT X X X X X X

CVM 144 X

CVM 96 X

CVM B/BD X X O O

CVM BC X

CVM K O O O O

CVM K2 X

CVM MINI X

CVM NRG 96 X

CVM SP X

EDMK X O

MK D X X

POWERNET X

QNA O

 Active energy generatedFee Contract x (x:1..3)

L1 L2 L3 III Partial1 2 3 Fee y (y:1..9) Total

NAE1 NAE2 NAE3 NAE NPAE NAET1 NAET2 NAET3 NAECxTy NAECxTOT

CIRWATT X X X X X X

CVM B/BD O O O O

CVM K O O O O

CVM K2 X

CVM MINI X

CVM NRG 96 X

EDMK O O

QNA O

Capacitive energy consumed

2nd quadrant (2Q)FeeContract x (x:1..3)III Partial

1 2 3L1 L2 L3 III

Fee y (y:1..9) TotalCE PCE CET1 CET2 CET3 CE2Q1 CE2Q2 CE2Q3 CE2Q CE2QCxTy CE2QCxTOT

CIRWATT X X X X X X

CVM 144 X

CVM 96 X

CVM B/BD X X O O

CVM BC X

CVM K O O O O

CVM K2 X

CVM MINI X

CVM NRG 96 X

CVM SP X

EDMK X O

POWERNET XQNA O

Capacitive energy consumed4th quadrant (4Q)

FeeContract x (x:1..3)III Partial

1 2 3L1 L2 L3 III

Fee y (y:1..9) TotalNCE PNCE NCET1 NCET2 NCET3 CE4Q1 CE4Q2 CE4Q3 CE4Q CE4QCxTy CE4QCxTOT

CIRWATT X X X X X X

CVM B/BD X X O O

CVM BC X

CVM K O O O O

CVM K2 X

CVM MINI X

CVM NRG 96 X

EDMK O O

QNA O

Inductive energy consumed1st quadrant (1Q)

FeeContract x (x:1..3)III Partial

1 2 3L1 L2 L3 III

Fee y (y:1..9) Total

Page 103: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 103/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 103 - 

IE PIE IET1 IET2 IET3 IE1Q1 IE1Q2 IE1Q3 IE1Q IE1QCxTy IE1QCxTOT

CIRWATT X X X X X XCVM 144 X

CVM 96 X

CVM B/BD X X O O

CVM BC X

CVM K O O O O

CVM K2 X

CVM MINI X

CVM NRG 96 X

CVM SP X

EDMK X O

POWERNET X

QNA O

Inductive energy generated3rd quadrant (3Q)

FeeContract x (x:1..3)III Partial

1 2 3L1 L2 L3 III

Fee y (y:1..9) TotalNIE PNIE NIET1 NIET2 NIET3 IE3Q1 IE3Q2 IE3Q3 IE3Q IE3QCxTy IE3QCxTOT

CIRWATT X X X X X X

CVM B/BD X X O O

CVM BC X

CVM K O O O O

CVM K2 X

CVM MINI X

CVM NRG 96 X

EDMK O O

QNA O

 All energy variables can be discriminated.

Maximum Demand

Maximum demand consumedInstantaneous Maximum

L1 L2 L3 III Fee y (y:1..3) L1 L2 L3 III Fee y (y:1..3)MDI1 MDI2 MDI3 MDI MDITy MDMX1 MDMX2 MDMX3 MDMX MDMXTy

CVM 144 O O O O O O O O

CVM 96 O O O O O O O O

CVM B/BD O O

CVM BC O O O O O O O OCVM K O O

CVM MINI O O O O O O O O

CVM NRG 96 O O O O O O O O

CVM SP O O

POWERNET O O O O O O O O

Maximum demand generatedInstantaneous Maximum

L1 L2 L3 III Fee y (y:1..3) L1 L2 L3 III Fee y (y:1..3)NMDI1 NMDI2 NMDI3 NMDI NMDITy NMDMX1 NMDMX2 NMDMX3 NMDMX NMDMXTy

CVM NRG 96 O O O O O O O O

Maximum apparent power demandConsumed Generated

Instantaneous  Maximum  Instantaneous  Maximum 

Page 104: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 104/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 104 - 

MDVAI MDVAMX NMDVAI NMDVAMX

CVM K2 X X X XMaximum active power demand

Consumed GeneratedInstantaneous  Maximum  Instantaneous  Maximum 

MDAPI MDAPMX NMDAPI NMDAPMXCVM K2 X X X X

Maximum current demandInstantaneous Maximum

L1 L2 L3 III L1 L2 L3 IIIMDAI1 MDAI2 MDAI3 MDAI MDAMX1 MDAMX2 MDAMX3 MDAMX

CVM K2 X X X X X X X X

 All maximum variables can be discriminated.

Harmonics

Voltage harmonicsL1 L2 L3 Neutral

x:1..15 x:16..50 x:1..15 x:16..50 x:1..15 x:16..50 x:1..15 x:16..50 ARMxV1 ARMxV2 ARMxV3 ARMxVN

CVM K2 X X X X X X X X

CVM K HAR X X X X X X

CVM MINI X X X

CVM NRG 96 X X X

QNA O O O O O O

Current harmonicsL1 L2 L3 Neutralx:1..15 x:16..31 x:32..50 x:1..15 x:16..31 x:32..50 x:1..15 x:16..31 x:32..50 x:1..15 x:16..31 x:32..50

 ARMxA1 ARMxA2 ARMxA3 ARMxANCVM 144 O O O

CVM 96 O O O O O O

CVM K2 X X X X X X X X X X X X

CVM K HAR X X X X X X X X X

CVM MINI X X X

CVM NRG 96 X X X

QNA O O O O O O O O O

Maximum voltage harmonics (3 sec.)L1 L2 L3

 ARMyMXCV1 (y:1..50) ARMyMXCV2 (y:1..50) ARMyMXCV3 (y:1..50)QNA O O O

Maximum voltage harmonics (10 min.)L1 L2 L3

 ARMyMXPV1 (y:1..50) ARMyMXPV2 (y:1..50) ARMyMXPV3 (y:1..50)QNA O O O

Pst / Plt

PstL1 L2 L3

PST1 PST2 PST3QNA O O O

Pst – upper percentile [95%] All registers Valid registers

L1 L2 L3 L1 L2 L3PST1SUPT PST2SUPT PST3SUPT PST1SUPV PST2SUPV PST3SUPV

Page 105: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 105/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 105 - 

QNA O O O O O O

Pst – Input x (x:1.0.20)L1 L2 L3

PST1DIx PST2DIx PST3DIxQNA O O O

PltL1 L2 L3

PLT1 PLT2 PLT3QNA O O O

Plt – upper percentile [95%] All registers Valid registers

L1 L2 L3 L1 L2 L3

PLT1SUPT PLT2SUPT PLT3SUPT PLT1SUPV PLT2SUPV PLT3SUPVQNA O O O O O O

Inputs and Outputs

Digital Inputsx:1..4 x:4..18 x:19..24 x:25..50

DIx

CVM 144 O

CVM R8 O O

LM 24 X X X

LM50 X X X X

TCP50 ALARM X X X X

 Analogue Inputs

Instantaneous Maximum Minimumx:1..1 x:2..3 x:4..8 x:1..1 x:2..3 x:4..8 x:1..1 x:2..3 x:4..8

 AIIx AIMXx AIMNx

CVM 144 O O O O O O

CVM R8 O O O O O O O O O

CVM MINI X X X

The analogue input in the CVM-MINI devices corresponds to the temperature variable measured by this type ofdevices.

Digital Outputs1 2 3 4 x:5..18 x:19..20

DO1 DO2 DO3 DO4 DOxCIRWATT X X X X

CVM 144 O O

CVM 96 O O

CVM BC O O

CVM R8 O O O O O

CVM MINI X X

CVM NRG96 X

CVM SP O O

EDMK O O

MK D X

QNA O O O O O O

The digital outputs can be forced to 0 (output remains open) or to 1 (output closes)

Counters

Counter

Page 106: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 106/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 106 - 

x:1..24 x:25..50

CxLM 24 X

LM50 X X

The counter value for the LM50 devices can be forced between 0 and the maximum value permitted bythe device. See the device manual for a deeper understanding of this maximum value.

 All counter variables can be discriminated.

Special Device Variables

C-14d

Digital output Current  Current

distortion  Cos φ   Active quadrant   Active alarm  Alarm  x:1..14 

 AI DAI COSI QUADRANT ALARM DO0 DOxC-14d X X X X X X X

 Active quadrant   Value

Energy consumed  0Energy consumed: Capacitive system  1Energy consumed: Inductive system  2Energy generated  4Energy generated: Capacitive system  5Energy generated: Inductive system  6

 Active alarm  Value None 0Compensation alarm (-CE)  1Surge alarm (-AE)  2Distortion alarm (-dE)  3Setup error alarm  4Expansion setter communication alarm  5Reference voltage error alarm  6

Digital alarm output   Value Not activated  0

 Activated  1

CBS-4

Differential current  Status Instantaneous  Detected  Of the Channel  Of the Protection 

Channel x (x:1.0.4  Pre-alarm relay  AELIx AELDx STx DOx DO0

CBS-4 X X X X X

Channel status  Value Not set off   0Exceeded the differential current  1Toroidal error   2

Page 107: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 107/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 107 - 

Protection status  Value Not activated  0

 Activated  1

Pre-alarm relay status  Value Not activated  0

 Activated  1

In the CBS-4 devices, the channel can be reset by forcing the RSTx variable to 0 or by remotely settingoff the channel forcing the variable to 1.

CBS-8, CDR-8

Differential current  Status Instantaneous  Detected  Of the output  Pre-alarm relay 

Channel x (x:1..8)  Pre-alarm relay  AELIx AELDx STx DOx DO0

CBS-8 X X X X XCDR-8 X X X X X

Output channel status  Value Not set off   0Exceeded the differential current  1Output set off   2Output locked  3

Pre-alarm relay status  Value Not activated  0

 Activated  1

In the CBS-8 and CDR-8 devices, channel x can be reset by forcing the state variable (STx) to 16.

It is also possible to remotely set off channel x by forcing the RFCx variable to 1 to activate the remotefire or 0 to deactivate it.

CVM-K2

The specific values for the CVM-K2 devices are shown below; the common variables such as voltage andcurrent have been included in the corresponding variable tables.

Coefficient Kd Voltage  Current Instantaneous  Maximum  Minimum  Instantaneous  Maximum Minimum 

KDVI  KDVMX KDVMN KDAI KDAMX KDAMNCVM K2 X X

Coefficient Kd Voltage  Current 

Instantaneous  Maximum  Minimum  Instantaneous  Maximum Minimum KAVI  KAVMX KAVMN KAAI KAAMX KAAMN

CVM K2 X X

DH-96

Voltage  Current   Active power  Inst.  Max.  Min.  Inst.  Max.  Min.  Inst.  Max.  Min. 

 Activeenergy 

VI  VMX VMN AI AMX AMN API APMX APMN AEDH-96 CPM X X X X X X X X X X

Page 108: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 108/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 108 - 

Measurement  Peak  Valley  Counter   Flow ME PK VL C1 F1

DH-96 AC X X XDH-96 CT X ODH-96 DC X X XDH-96 FT X X XDH-96 SG X X XDH-96 TMP X X XDH-96 WG X X X

QNA

The specific values for the QNA devices are shown below; the common variables such as voltage and

current have been included in the corresponding variable tables.Events alarm  

Short circuit Hole  Power surge L1 L2 L3 L1 L2 L3 L1 L2 L3

 ALEVEI1 ALEVEI2 ALEVEI3 ALEVES1 ALEVES2 ALEVES3 ALEVEO1 ALEVEO2 ALEVEO3QNA X X X X X X X X X

The event alarms variables will activate (1 value) when any event occurs in the QNA and will remain active for 5seconds. After 5 seconds, if no new events have occurred, the alarm will deactivate (0 value).

Voltage phasor   Voltage-current phasor  L1-L2 L1-L3 L1 L2 L3

FDV12 FDV13 FDVI1 FDVI2 FDVI3QNA O O O O O

Counter for number of 10 cycle blocks With EVQ  With voltage outside of limits 

L1 L2 L3 L1 L2 L3STCBE1 STCBE2 STCBE3 STCVB1 STCVB2 STCVB3

QNA X X X X X X

Counter integrations of 150 cycles For all the STD parameters except voltage  For voltage 

L1  L2 L3 L1 L2 L3STCIS1 STCIS2 STCIS3 STCIV1 STCIV2 STCIV3

QNA X X X X X X

Coefficient Kd  Coefficient Ka Voltage Current  Voltage  Current 

KDV  KDA KAV KAAQNA O O O O

Out of balance – upper percentile [95%]  All registries  Valid registries 

UBSUPT  UBSUPVQNA O O

Counters of Values Plt without events Total No. of

registries Registries

withoutevents  Frequency 

Frequencywithoutevents 

Plt L1 L2 L3

NREGTOT NREGEVQ CVHZ CVHZEVQ CVPLT CVPLT1EVQ CVPLT2EVQ CVPLT3EVQ

QNA O O O O O O O O

Events history

 L1 L2 L3 

HEVQ1 HEVQ2 HEVQ3QNA X X X

Page 109: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 109/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 109 - 

RGU-10 / RGU-10 RAEffective value  Status 

Leak current  Set off leak current  For pre-alarm setoff   For locking  For setting off the

coil  For the device  AELI AELD DO0 DO1 ST

RGU-10 X X X XRGU-10 RA X X X X

No. of reconnections Differential  Magnetothermic 

Partial  Total  Partial  Total RCPD  RCTD RCPM RCTM

RGU-10 RA X X X X

Output status that set off the pre-alarm  Value Not activated  0

 Activated  1

Output status for locking   Value Not locked  0Locked  1

Output status that set off the coil   Value Not set off   0Set off   1

Device status  Value Start  0Rest  1Block differential set off   2Wait for differential set off   3

Block magnetothermic set off   4Wait for magnetothermic set off   5Disconnect toroidal  6External input activated  7Remotely set off   8Test set off   9Fabrication mode  10Calibration mode  11

To reset a channel in the RGU-10 devices, the user must force the RST variable to 0.To remotely set off the channel, the user must force the RST variable to 1.

RRM-C

Counter of reconnections  No. of reconnections selected  Time between reconnections  Device status RC RN RT STRRM-C X X X X

Device status  Value Disconnected  65535Connected  0Blocked  1External set off   2Magnetothermic set off   4Set off by communications  8External and communications set off   10

For the RRM-C devices, the device status can be forced to 16 to reset it or to 17 to force an externaldevice set off.

Special Graphs and Tables Variables

Page 110: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 110/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

Circutor, S.A. – Powerstudio SCADA v2.5 Practical Tutorial – - 110 - 

The special variables for graphs and tables are used to indicate to PowerStudio that the user desires tomake a non-standard graph or table. In a non-standard graph or table, the values shown on the X-axis and Y-axis, table rows and columns, can change from one type to another, depending on the variables represented. Fora better understanding of these graphs and tables refer to the corresponding section in the Java client.

When the user wishes to make special graphs and tables such as a wave form or harmonics, thefollowing variables must be used.

Wave form Voltage  Current 

L1 L2 L3 L1 L2 L3FOV1 FOV2 FOV3 FOA1 FOA2 FOA3

QNA O O O O O O

Harmonics Voltage  Current 

L1  L2 L3 Neutral L1 L2 L3 Neutral ARMV1 ARMV2 ARMV3 ARMVN ARMA1 ARMA2 ARMA3 ARMVN

CVM 144 O O OCVM 96 O O OCVM K2 X X X X X X X XCVM K HAR X X X X X XCVM MINI X X X X X XCVM NRG 96 X X X X X XQNA O O O O O O

Maximum voltage harmonics (3 sec.) L1 L2 L3

 ARMMXCV1 ARMMXCV2 ARMMXCV3

QNA O O O

Maximum voltage harmonics (10 min.) L1 L2 L3

 ARMMXPV1 ARMMXPV2 ARMMXPV3QNA O O O

Events Duration  Effective voltage of semi-cycle 

L1 L2 L3 L1 L2 L3DEVQ1 DEVQ2 DEVQ3 VEVQ1 VEVQ2 VEVQ3

QNA X X X X X X

Status of the devices

On occasion it is necessary to know the status of a device; the user wishes to activate an event when adevice is no longer communicating for example. To know the status, use the STATUS variable.

name.STATUS

The possible values that this status variable can have are given below:

Device status  Value The device functions correctly.  1

The device is not initialized; it has not communicated with the device the first time yet.   4The communications port is incorrect or does not exist. 18Communication errors occurred with the device.  34The type of device specified is not the same as the device the system is trying to communicate with.   66The device communicates correctly, but it detects that one of the phases is poorly connected.  130

Page 111: Powerstudio Scada Ver2.5 Tutorial

8/20/2019 Powerstudio Scada Ver2.5 Tutorial

http://slidepdf.com/reader/full/powerstudio-scada-ver25-tutorial 111/111

  Web: www.circutor.com

VIAL SANT JORDI, S/N  E-mail: [email protected]

08232 VILADECAVALLS (BARCELONA) Tel: (+34) 93 745 29 00

 ESPAÑA / SPAIN  Fax: (+34) 93 745 29 14

The device version is not compatible with the software.  258


Recommended