Académique Documents
Professionnel Documents
Culture Documents
POWERSTUDIO SCADA
Version 2.5
TUTORIAL
03_07H
CIRCUTOR S.A.
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
-2-
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
2.
3.
4.
5.
6.
7.
8.
9.
-3-
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
LM 50 TCP
o Ethernet-485 Gateway for communication with its and also with the other
equipment
o 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 the
0/1 status of the two buttons and finally shall act as an Ethernet/485 gateway so that the EDMk, CVM MINI and
RGU 10C MT equipment can be read.
Active energy / power factor meter. Consumed energy shall be read from the Powerstudio SCADA
software 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 the
meter.
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 boards
to measure consumption, voltages, power factor in each load for subsequent analysis using Powerstudio SCADA
software.
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 the
function of cutting the MT overload when there is a leakage for filling the trip conditions based on the preset trip
current and time thresholds. Using the Powerstudio SCADA software the instant current, relay status, etc. may be
monitored. It is also possible to set a cycle of two automatic reconnections thanks to the overload device. It also
can be used as a remote control to activate or deactivate a load.
-4-
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
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 50
TCP.
The signal generator can vary the parameters read by the devices.
-5-
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
o
o
On the run on screen, enter CMD and press OK (as shown in the figure).
An MS-DOS screen will appear. On this screen run IPCONFIG, and see the current IP address
data (see figure).
-6-
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
In this case, the IP address for the computer will be 172.16.11.34 with a subnet mask of
255.255.0.0. This information will be useful to define the IP address for the LM 50 TCP gateway
which must belong to the IP range compatible with the practical computer. The LM 50 TCP shall
operate as a digital and pulse input device as well as the Ethernet 485 communications gateway
with the other devices.
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 select
PROPERTIES. The following screen will appear:
Click right again on LOCAL AREA CONNECTION and select PROPERTIES. The following
screen will appear:
-7-
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Once this operation has been performed, the practical computer is configured with the
required IP range.
The network is ready to configure the visible IP address for the LM 50 TCP such as
172.16.11.100, for example.
-8-
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
The Ethernet address is shown (MAC address) with the temporary IP address for the LM 50 TCP. Once
this data has been introduced, press PROGRAM and the following screen will appear:
-9-
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
When the previous screen appears, enter the appropriate NETWORK parameters:
a.
b.
c.
d.
IP = 172.16.11.100
Subnet Mask = 255.255.0.0
Gateway = 0.0.0.0
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, the
port 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 NETWORK
setting.
Now the LM 50 TCP device has the correctly configured NETWORK port and it will be very easy to add
Powerstudio SCADA. Therefore a PING call is made to the IP Address on the LM 50 TCP to see that it exists on
the 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 shown
in 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 installed
Circutor equipment.
There are other means of setting the LM 50 TCP NETWORK port, for example via:
o
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 at
the DOS command prompt to verify that there is at least one entry in the ARP table.
- 10 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
If the local machine is the only entry, ping another IP address on your network to build a new entry in the ARP
table; the IP address must be a host other than the machine on which you are working. Once there is at least one
additional 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 will
temporarily change its IP address to the one designated in this step.
Figure 2:
telnet 191.12.3.77 1
Telnet 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/LM50TCPs
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
To call the IP from any internet navigator (e.g. iexplorer, netscape,). It need to know which IP address
has the device to communicate with it.
- 11 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Click YES and proceed to add an LM 50 TCP device which will carry out the function of input device
and connection device (communication gateway). A connection is understood to mean the path via
which devices are added to the program.
Possible connections are:
Free series ports (COM available in the PC to which RS 232 equipment has been directly
connected, or free series port + RS232/485Converter + NETWORK of EQUIPMENT)
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:
- 12 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
The name and alias of the device is defined. When installing on site, the name which will properly define
the 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 the
program.
- 13 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Select TCP2RS if the device is modbus RTU or select Converter ModbusTCP if the device is modbus
TCP.
The Modbus TCP option (Network protocol available in several pieces of Circutor equipment), is used
when communication is required from different Software or PLCs at the same time with the same piece of
equipment. 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:
- 14 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
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.
- 15 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Select MAIN as the device's name and already created database saved in the practical computer
may be used. Enter the name MAIN and click on next.
- 16 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
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, the
other 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 peripheral
number.
Enter peripheral number 3 and click on OK.
- 17 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
If everything is OK, the equipment will immediately be detected and will appear on the list of detected equipment.
Notice in the figure that validation is displayed in green, confirming that the communication is correct. If
one 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
- 18 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Select the driver parameters and the following screen will appear:
Circutor, S.A. Powerstudio SCADA v2.5 Practical Tutorial
- 19 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
In this part of the program, the recording period for the database may be selected (DATA-LOGGER), for
this equipment. The route where the database is to be stored can also be selected as well as well whether the
data is to be displayed in digital or analogue format, etc.
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 the
device.
- 20 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
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 warning
that there is a fault in the system. Later, another higher grade of alarms, successive calls which are in fact
SCADA alarms, are explained.
- 21 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
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 from
the 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 energy
meter input from the EDMk equipment. However, first the EDMk digital output is set so that it generates one port
per kWh metered.
- 22 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Two possible configurations for this device appear. Noticed that there is no option for visual alarms. The
reason for this is that the energy meter only displays accumulated consumption values for that meter. As these
are variables, accumulative values, the program cannot show alarm values...
CLICK on device parameters to access the setup parameters for the equipment. Remember
that 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 by
the EDMk.
Click on OK and the changes shall be sent to the device.
Now enter the LM 50 TCP setting.
- 23 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
The LM 50 TCP inputs are set on the screen in accordance with the connection and use to be given to
each of them. In this case, the digital output for the EDMk sends pulses to input number one, therefore input on is
defined as a Wh meter and input two and three as digital signals corresponding to the buttons on the simulator.
- 24 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Run Mode: in this mode, the application activates the Web server and allows the online operation
of each application created:
o
o
o
o
o
o
When the application moves from EDIT MODE to RUN MODE, the program compiles all of the edited
application 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 been
set. From now on it will also operate in run mode to observe the data from the equipment in real-time and the
results obtained by the application.
Activate the Web SERVER, for example for port 80 (Standard Port)
- 25 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
This option enables the display via Web or Java Applet. Also this option has the following options from
the program's preferences:
1. Activating and EDIT password. Protects the program from being edited if a previously
defined 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 program
to certain users.
6. SCADA start screen. Defines which of the SCADA screens created in application is
the start screen.
Returning to the guided tutorial, which are now go into RUN MODE.
Once the program is in run mode, note that the SETTING menu disables the editing options.
- 26 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
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
- 27 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
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 out
via XML. This console may be installed on remote computers to subsequently display Powerstudio SCADA from
any computer.
To be able to connect with Powerstudio SCADA via Java Applet Java, from a remote
computer, it is necessary to go to the General Menu and click on CONNECT. Enter the IP
address for the master computer which stores Powerstudio SCADA. Validate for Intranet or
to 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 as
monitoring is carried out in local mode (on the same computer where the communications engine is running:
Powerstudio SCADA)
Detail of the display via the Web of real-time data from an EDMk.
Circutor, S.A. Powerstudio SCADA v2.5 Practical Tutorial
- 28 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Drawing different types of graphs for the MAIN device (CVM-MINI) given that the time axis
may 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 period
is selected which is higher than the history logging period, the program averages the data
displayed.
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 ZOOM
options.
The graphs can be drawn using different variables at the same time, by selecting as many
variables required to draw the graph from the MAIN display screen.
- 29 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Also, by clicking on PROPERTIES, several graphs can be made into one graph by adding
more variables to the same graph (even though they are from other equipment). The colour
of the graphs may be changed, etc.
Now you may try out the tools on the graphs and with the properties in order to familiarise
yourself with the graph function.
- 30 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
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 the
table.
Example of the table where energy accumulated in each hour is shown. Noticed that the total of all
energy 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 Back
and Next arrows...
Other parameters may also be added for the same piece of equipment or different pieces of
equipment to the table by clicking on PROPERTIES:
- 31 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Another way of drawing a table, is by clicking directly on TABLE then selecting the device
and/or parameter which is to be shown as a table:
- 32 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
- 33 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
- 34 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
- 35 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
See in above figure the data imported from Powerstudio in Excel format.
Follow the easy steps below to cut and paste:
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:
- 36 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
- 37 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Enter the name of the screen for example START and click on OK.
The SCADA screen operating area will appear.
- 38 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Search for an image in the directory: C:\\BMP, and add the image to EQUIPMENT
EXPERT.BMP, as shown in the following figure:
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 BACKGROUND
IMAGE.
Also select, if necessary, MAINTAIN REAL SIZE. This option allows the image resolution to
be used, or if not selected, the image will match the size of the screen by expanding if
necessary.
Now you may follow these previous steps and create another new screen with the name
SCREEN 2 and associate the SCREEN 2.BMP image as the screen background.
- 39 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
When these screen 2.bmp screen background has been located on the corresponding
screen, click on
the figure:
This option is necessary said that the application matches the screen background resolution.
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 other
screens).
In order to see the screens operating in the application, and go to the RUN operating mode
and then start the application "AppletScada.jar".
- 40 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
As a default the START screen must appear and by clicking on SCREEN MENU the screen
to be displayed may be selected.
Then, the defined style is used for the SCADA action tools for both formulas or texts on the
screen.
Circutor, S.A. Powerstudio SCADA v2.5 Practical Tutorial
- 41 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
In addition to the SCADA tools, there is also a series of mathematical and time functions available, such
as:
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 date
minute() : Returns the minute of the current date
hour() : Returns the hour of the current date
day() : Returns the day of the current date
month() : Returns the month of the current date
year() : Returns the year of the current date
"Wizard" button: a tool often used while editing the application. It is used to open the equipment
variable search assistant, created formulas, arithmetical functions, logical formulas, ...
From now on, the different action calls will be used to complete the two previously created SCADA
screens. As can be seen, to facilitate the use of the program, the large majority of controls available for designing
SCADA 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.
- 42 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Text tool: this is used to add text to SCADA screens, if none is located on the background
screen.
o
o
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.
As with all action tools, it will open a tool box associated with the active control which in this
case is the Bitmap control. Click on IMAGE SEARCH
Select the LOGO_CIR.BMP image and click on OK.
The screen will be as follows:
- 43 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Date and time control: this control allows the current date and time or a freely selected date to
be displayed on the SCADA screen.
o
Select Date and time control and under the Circutor logo at it by creating a smaller rectangle
In the tools (on the right section) associated with the Date and time control, select CURRENT
DATE. So that the current date on the SCADA screen appears in run mode.
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/or
formulas created with FORMULA EDITOR on the SCADA screen. Basically, the role of the Formula
control is to display the real-time parameters of the installed equipment on SCADA screens.
- 44 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Below, we are going to edit the SCADA START screen show that its shows the following
information 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.
It will start with the LM 50 TCP. Select the Formula Control tool and generate a label on the
space reserved for Input 1. See figure:
Once the formula control box has been created, the formula control tools are located in the
space reserved for the screen background.
In the previously entered by the keyboard, the LM 50 TCP variable must be entered: display
digital meter input 1, which will be searched for by pressing the button beside the input,
shown in the above figure.
by clicking the button, the following variable search assistant will be displayed:
- 45 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
o
o
By double-clicking directly on the equipment to be selected the variables available for this
equipment will appear:
- 46 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
o
o
The meter 1 variable is selected: Energy EDMk which was defined in the first sections.
Click on OK.
Noticed that the Formula box and the label added to the SCADA screen the COMMAND
already appears to define the variable to be displayed. This command corresponds to the
Name associated to the equipment and an extension defining the variable in particular
between speech marks.
If the variable to be entered is known, it may be directly entered using the keyboard on the
formula space.
In the formula input space, the program allows simple operations to be entered
Example:
- 47 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
o
o
The value 7108, corresponds to the results of an ADD operation already carried out. The
value corresponds to the meter 1 input on the LM 50 + 80. The operations can also be
carried out in among different variables on the equipment.
If the content of the formula input is incorrect, the program will display SYNTAX ERROR.
Now, following the same steps as above, the remaining formula for the EDMk and CVM-MINI
equipment can be created.
- 48 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Formula Editor: the formula editor allows the definition of new variables to be displayed using
arithmetical calculations carried out on equipment variables and/or constants defined in the formula
editor.
Example: a formula to add to the kWh. accumulated by the EDMk and CVM-MINI will be defined to
obtain total energy which will be the installation's total consumption.
o
- 49 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Then the first energy to be added will appear in the formula editor.
- 50 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
o
o
Together with the EDMk energy demand, the + (addition) sign is added.
The variable search button must be clicked again to add the energy consumed by the MAIN
equipment (CVM-MINI).
Once the CVM MINI energy variable has been selected, the formula will be defined and
available as another variable.
- 51 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
o
o
o
o
- 52 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
- 53 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Conditioned Control: this control allows many functions to be carried out with the same control It
is mainly used to:
o
o
o
o
An image sequence is going to be made to appear (similar to a movement or flashing), conditioned by the
LM 50 TCP selector being ON (Input 3 on the LM 50 TCP). Switching time will be one second and a total of three
different images will be switched.
o
o
o
o
o
o
Select the formula editor control, add the formula with the name MOD and the formula containing
the following code:
second-trunc(second/x)*x (Where x takes the values that we need to chang, in this case x=3)
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)*3
The result of the MOD will vary between, 0, 1 and 2.
- 54 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Select the condition control, create a rectangle with the control near to the LM 50 TCP
Edit the properties of the conditioned control
Add 3 conditions, as shown in the figure and associate each condition to one of the ON, OR
and OFF (BMP) images in any order.
As can be deduced, there are multiple combinations to be carried out on a large variety of
possibilities to be used by using this technique.
- 55 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Screen control: this control allows movement between SCADA screens. It is a sensitive area:
Taking with the mouse will jump to another screen.
o
o
o
Enter SCREEN 2 and add a screen jump control to the START screen on the RETURN
image.
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 created
report. 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 is
sensitive to the mouse.
o
o
o
It will jump to each device in the Demo Kit, displaying a display control on each device.
Jump to the LM 50 TCP: Select the display control for the device and create a rectangle on
the LM 50 TCP.
In the device's jump tools, define the jump to the LM 50 TCP device as shown in the figure
below:
- 56 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
o
o
o
Graph or Table Control: this control allows a jump to be created to a predefined graph or table.
o
o
o
An example of a jump is created, to a graph where the daily consumed energy appears on
the MAIN equipment (CVM-MINI). The graph shows the data grouped by month with the daily
grouped energy.
Choose the Graph control and add a rectangle on the free area on the SCADA screen.
On the control toolbar select GROUPED BY = month, PERIOD = 24 hours, as shown in the
figure:
On the control toolbar, ADD the consumed energy variable for the MAIN equipment.
- 57 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
The area is sensitive to the mouse and opens a predefined energy graph.
Remember that you can also jump to a table with the same procedure used for the graph.
Multi-graphs of up to 10 simultaneous variables can be created.
o
o
o
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
o
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
o
o
o
Forced Variable Control: this control allows the 0 or 1 output or vice versa to be forced from the
software for devices with digital outputs. The control is an area which is sensitive to the mouse.
- 58 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
An example of forcing the variable is shown. The switch associated with the RGU 10 will be closed
and opened from two areas sensitive to the mouse.
o
o
o
o
o
o
The Force digital output application may be used for any device with these outputs.
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 a
predetermined condition has been met.
The condition that does not have to be strictly digital, it may be a maximum/minimum condition. It is a
purely graphic control.
An example of this control is shown. The Scada START screen will show the blank box for input 2 on LM
50 TCP as a red or green depending on if the input is closed or open.
- 59 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
o
o
On the fill in control properties, click on the Wizard button to add the fill in condition.
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 EQUIPMENT
The CLOSED condition will be [LM 50 TCP.DI2]==1
Associate the red colour to this condition and press NEW.
o
o
o
o
- 60 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
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 from
0% 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 the
picture. If there were different tones is necessary to increase the tolerance degree towards "100%" value to
obtain more accuracy.
- 61 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
The installation has three power transformers in the substation, has an analyser measuring electrical
consumption for each of the transformers, but does not have equipment to measure the total for the three
transformers
Virtual variables are allowed the new equipment to be defined (which does not physically exist). This will
carry 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 of
installation without having such a device. Virtual variables = TOTAL CT1 device (see previous figure). Virtual
variables can be defined as any parameter read by Circutor devices whether they are electrical parameters or
process signals.
An example of a simple virtual variable is shown using data from the MAIN equipment. The three-phase
voltage variable is defined which is the result of averaging the three single voltages.
o
- 62 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
o
o
o
Define a name for the device and a description, for example VIII.
Click OK on the following screens.
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
o
Noticed that many variables can be defined for the same Virtual device
Click on ADD and another window will open:
- 63 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
o
o
o
The virtual variable identifier used to uniquely identify each of the variables to be used in
expressions and conditions, see Section 13.2 Expressions and conditions.
Allows the value grouping criteria for the virtual variable values on graphs, tables and
reports to be selected. For example, if there is a value every 5 minutes (e.g. 10, 12 and 17) and the values are
grouped every 15 minutes, this means that 3 values are grouped into 1. The value obtained would be:
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.
- 64 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
o
o
Now be operating mode is changed to run mode and the Java Applet is started to check the
operation of the new device
- 65 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Implementation:
Once this has been done, a window appears to assign a name to the report, as previously shown
in the create screen option. The required name is assigned:
- 66 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Then the editing format of the report automatically appears. The create date tool is used if the
date 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 required
data will appear.
- 67 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
On the date menu on the right-hand side of the operating window, the type of data required may
be 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 the
reports to be created such as "period from" "until" etc.
- 68 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Once the required area has been created use the mouse to select an image and place a
previously 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 window
it 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 energy
expression 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 value
will be the price of energy so that handling this variable will be easier afterwards (If this variable
changes at any time, changing the value of the variable is changed in every area where it
appears).
- 69 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Once this variable has been defined, another variable for the cost of energy may be defined. If no
variable is to be defined, the cost can be displayed by working directly on the expression, but
always working with the previously created price variable.
The same method is used as with active energy to display power factor.
- 70 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
As many variables as necessary are created to create a phi cosine function. The following simple route is
used to reach phi cosine:
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 defining
the 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 a
variable. This variable will be called PC.
The companies that meet or a rental cost and the electricity tax must appear as part of the
taxable amount.
- 71 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
The taxable amount can be created using these costs which will be the sum of this subtotal,
electricity tax and meter rental.
Finally the total amount is displayed and the bill is simulated. In order to assimilate the bill, the
run operating mode must be used, therefore the editing mode will be changed to run mode as
shown in previous steps and the Applet has to be loaded. Jar or go directly to Internet Explorer to
display the report's values.
- 72 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
If 1 February 2007 to 1 March 2007 is to be simulated, the go to the report option must be
selected and the calendar entered to select the start date.
Once in this area, the report can be printed. In order to see if a report for any period for which data is
available can be printed, a report is generated with the period for the year before that time period and will appear
in the following way:
- 73 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
- 74 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Where winter runs from the last Sunday in October to the last Sunday in March and summer from
the 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.
- 75 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Then, created the calendar by starting with the type of time, going to type of time and they're
adding the first type of time which will be low:
- 76 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
In order to generate a type of summer day, follow the same method and obtain the following
screen:
- 77 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Finally define the calendar. Select calendar option and create a new one using the types of days
defined previously:
- 78 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
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.
As shown in the first section for reports, a report is generated in the same manner until a screen
is created which is similar to the following:
Once this point has been reached, the required variables are generated by applying the
previously created timeslots.
- 79 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Once the timeslots have been applied to the three energy boxes, the required result is obtained:
- 80 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Events are application alarms. The purpose of these events is to warn of a faulty situation in the
installation.
Events are recorded in the application and a history can be made by listing the events occurring
within 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 on
some devices.
Logically, an event is activated when its activation condition is met. This condition is completely
flexible and configurable.
The format for the activation conditions are the same as for the condition control and for the area
fill 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 that
certain alarms in the installation will only be activated if they occur within the time slots for the
event. E.g.: if electrical consumption at the header is above 100 kW during the non-industrial
activity 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, it
also activates an event which trips the overload switch. Also the earth leakage current which the RGU reads at
that time is noted.
o
o
- 81 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
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.
- 82 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
o
o
o
o
o
o
o
o
o
Click on OK.
Now click on the logging wizard and select VALUE OF ONE OF THE REASONS
FOR THE EVENT as shown in the following figure:
- 83 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Click on OK and select the effective current reason for the RGU:
o
o
o
o
o
Click on OK again.
The logging of the current value has already been defined.
The RESET for the over the device will be defined.
In ACTIONS, add a new ACTION at the time of ACTIVATING.
Select FORCE A VARIABLE.
As a variable to be Forced, select the RGU device, RESET variable, Value = 1, as shown in
the following figure:
- 84 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Click on OK.
The event has been completely defined. The event setting screen will be as follows:
o
o
o
- 85 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
When the pop-up screen appears, the active events must be clicked on and then
ACKNOWLEDGE THE EVENT.
The pop-up window cannot be minimised before the event has been acknowledged.
Continuing with the Java Applet, if then Events
occurring 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:
- 86 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
=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.
- 87 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
XML
PowerStudio 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 same
peripheral; this poses a large problem because the equipment with RS485 Communications are only likely to be
questioned by a single master. In the event that there are more than one, there will be collisions in the
communication 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 be
installed on the same platform, i.e. on the same personal computer. In the majority of cases, this type of
installation 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 be
questioned. In this way, any electrical or physical parameter may be requested which, using a peripheral, is
collected 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 including
accessible external networks.
The sentences that must be made for the XML protocol and for the DDE server, must be correctly
formed. 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 the
response data, this will be represented in UTC (Universal Coordinated Time) as DDMMYYYYHHMMSS (two
digits for the day, two for the month, four for the year and two for the hour, minutes and seconds). It is also
possible 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 represented
with 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 the
list 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 be
obtained, must be included in the request as follows:
?id=device?id=device2
<devices>
<device>
<id> </id>
<description> </description>
- 88 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
</device>
</devices>
Where:
devices: This is the main field that will be identified to XML as the response to the request for
device information.
device: Information on each one of the devices requested.
1. id: Device name
2. description: Device description
3. type: Type of device (CVM144 for example)
4. typeDescription: 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 device
variable (see Error! No se encuentra el origen de la referencia., Error! No se
encuentra 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 same
request.
<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 for
variable 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. title: Brief description of the variable.
3. hasValue: Indicates whether it is possible to request the instantaneous value for the (T)
variable or not (F).
- 89 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
/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 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 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 the
variables for one or more devices.
<values>
<variable>
<id> </id>
<value> </value>
</variable>
</values>
- 90 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Where:
-
values: This is the main field that will be identified to XML as the response to the request for
variable 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 must
include the name of the device to be forced, so authentication can be confirmed if necessary (see Error! No se
encuentra el origen de la referencia. Error! No se encuentra el origen de la referencia.). Only variables
pertaining 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 force
variables.
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 output
variables 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. Each
one 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 case
the 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 be
any 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.
- 91 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
If the period parameter does not appear in the request, it will be considered to be 0, and the data will not be
grouped.
<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 request
for variable registries.
period: 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 sample
2. field: Standard value registry
3. fieldComplex: Complex value registry
4. fieldARM: Harmonic value registry
5. fieldFO: Wave form registry
6. fieldEVQ: Registry of an EVQ event
The different type of values that can be returned for this request are provided below:
-
- 92 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
</fieldARM>
</fieldFO>
</fieldEVQ>
1.
2.
3.
4.
5.
6.
7.
- 93 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
VARIABLES
To use references to the variables measured by the devices in Scada, reports, graphs and tables, the
software 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 must
request the value for said variable.
This encoding (name-variable) can be used in the formulas, graphs and tables while reports, graphs and
tables 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 be
discriminated (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 the
variable values will be discriminated.
This type of encoding with discriminators can only be used for reports, graphs and tables and only with
variables that have been saved in value history files.
For a better understanding, the variables will be shown in separate tables depending on the variable type
measured by the devices. The columns situated to the left will provide information on the variable type, whether
the variable is instantaneous, maximum or minimum, corresponding phase, any other information depending on
the variable and finally the code used (for example the corresponding code for instantaneous neutral-phase
voltage of phase 1 will be VI1). On the other hand, the columns located to the right of each table will correspond
to devices that can measure each one of the variables, indicating if the variable will be measured by the device
with and X and indicating if the variable will be measured depending on the device version with an O.
Voltage
CIRWATT
CVM 144
CVM 96
CVM B/BD
CVM BC
CVM K
CVM K2
CVMK HAR
CVM MINI
CVM NRG 96
L1
Instantaneous
L2
L3
VI1
X
X
X
X
X
X
X
X
X
X
VI2
X
X
X
X
X
X
X
X
X
X
VI3
X
X
X
X
X
X
X
X
X
X
III
VI
Minimums
L2
L3
III
L1
VMX
VMN1
VMN2
VMN3
VMX1
VMX2
VMX3
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
III
VMN
X
X
X
- 94 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
CVM SP
MK D
POWERNET
QNA
CIRWATT
CVM 144
CVM 96
CVM B/BD
CVM BC
CVM K
CVM K2
CVMK HAR
CVM MINI
CVM NRG 96
MK D
POWERNET
QNA
X
X
X
O
X
O
X
X
X
X
O
L1
Instantaneous
L2
L3
VI12
VI23
VI31
X
X
X
X
X
X
X
X
X
X
X
X
O
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
O
X
O
X
X
III
L1
VI123
VMX12
VMX23
VMX31
X
X
X
X
Minimums
L2
L3
III
L1
VMX123
VMN12
VMN23
VMN31
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
L1
VPNOMI1
Nominal voltage
Instantaneous
L2
VPNOMI2
L3
VPNOMI3
Instantaneous
Neutral voltage
Maximums
Minimums
VNMX
VNMN
QNA
VNI
X
O
CVM K2
QNA
III
VMN123
QNA
L1
All registries
L2
L3
L1
Valid registries
L2
L3
V1MINT
O
V2MINT
O
V3MINT
O
V1MINV
O
V2MINV
O
V3MINV
O
L1
All registries
L2
L3
L1
Valid registries
L2
L3
V1INFT
O
V2INFT
O
V3INFT
O
V1INFV
O
V2INFV
O
V3INFV
O
L1
All registries
L2
L3
L1
Valid registries
L2
L3
V1SUPT
O
V2SUPT
O
V3SUPT
O
V1SUPV
O
V2SUPV
O
V3SUPV
O
L1
All registries
L2
L3
L1
Valid registries
L2
L3
V1MAXT
V2MAXT
V3MAXT
V1MAXV
V2MAXV
V3MAXV
QNA
QNA
- 95 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
QNA
L1
CVM 144
CVM 96
CVM B/BD
CVM BC
CVM K
CVM K2
CVMK HAR
CVM MINI
CVM NRG 96
CVM SP
POWERNET
QNA
Instantaneous
L2
L3
DVI2
X
X
O
X
O
X
X
X
X
DVI3
X
X
O
X
O
X
X
X
X
X
X
X
X
DVI1
X
X
O
X
O
X
X
X
X
X
X
X
L1
Voltage distortion
Maximums
L2
L3
L1
Minimums
L2
L3
DVMX1
X
X
DVMX2
X
X
DVMX3
X
X
DVMN1
X
X
DVMN2
X
X
DVMN3
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
Instantaneous
Minimums
DVNMX
DVNMN
DVNI
X
CVM K2
QNA
L1
DV1SUPT
L2
DV2SUPT
L3
DV3SUPT
III
DVSUPT
L1
DV1SUPV
Valid registries
L2
L3
DV2SUPV
DV3SUPV
O
III
DVSUPV
Current
Instantaneous
L2
L3
L1
CIRWATT
CVM 144
CVM 96
CVM B/BD
CVM BC
CVM K
CVM K2
CVMK HAR
CVM MINI
CVM NRG 96
CVM SP
MK D
POWERNET
QNA
AI1
X
X
X
X
X
X
X
X
X
X
X
X
X
O
CVM 144
CVM 96
CVM B/BD
CVM BC
CVM K
CVM K2
III
L1
AMX1
AMX2
AMX3
X
X
X
X
Minimum
L2
L3
III
L1
AMX
AMN1
AMN2
AMN3
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
AI2
X
X
X
X
X
X
X
X
X
X
AI3
X
X
X
X
X
X
X
X
X
X
AI
X
X
X
X
X
X
X
O
X
O
X
X
X
X
X
Instantaneous
ANI
O
O
O
O
O
X
Current
Maximum
L2
L3
III
AMN
Neutral current
Maximum
Minimum
ANMX
O
O
ANMN
O
O
- 96 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
CVM MINI
CVM NRG 96
QNA
X
X
O
X
X
X
X
- 97 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
CVM 144
L1
CVM 144
CVM 96
CVM B/BD
CVM BC
CVM K
CVM K2
CVMK HAR
CVM MINI
CVM NRG 96
CVM SP
POWERNET
QNA
DVI1
X
X
O
X
O
X
X
X
X
X
X
O
Instantaneous
Leak current
Maximum
Minimum
AELI
O
AELMX
O
AELMN
O
Instantaneous
L2
L3
L1
Current distortion
Maximum
L2
L3
L1
Minimum
L2
L3
DVI2
X
X
O
X
O
X
X
X
X
DVI3
X
X
O
X
O
X
X
X
X
DVMX1
X
X
DVMX2
X
X
DVMX3
X
X
DVMN1
X
X
DVMN2
X
X
DVMN3
X
X
X
X
X
X
X
X
X
O
X
X
X
X
X
X
X
O
X
X
X
X
Instantaneous
CVM K2
DANI
X
Minimum
DANMX
DANMN
Frequency
Maximum
Minimum
HZMX
HZMN
X
X
X
X
X
X
X
X
X
X
X
X
Frequency
Instantaneous
CIRWATT
CVM 144
CVM 96
CVM B/BD
CVM BC
CVM K
CVM K2
CVM K HAR
CVM MINI
CVM NRG 96
CVM SP
MK D
POWERNET
QNA
HZI
X
X
X
X
X
X
X
X
X
X
X
X
X
X
All records
Valid records
HZMINT
O
HZMINV
O
All records
Valid records
HZINFT
O
HZINFV
O
All records
Valid records
HZSUPT
O
HZSUPV
O
- 98 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Valid records
HZMAXT
O
HZMAXV
O
QNA
Power
L1
CIRWATT
CVM 144
CVM 96
CVM B/BD
CVM BC
CVM K
CVM K2
CVM MINI
CVM NRG 96
CVM SP
POWERNET
QNA
VAI1
X
X
X
X
X
X
X
X
X
X
VAI
X
X
X
X
X
X
X
X
X
Instantaneous
L2
L3
III
Minimum
L2
L3
III
VAMX1
VAMX2
VAMX3
VAMX
VAMN1
VAMN2
VAMN3
VAMN
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
L1
Minimum
L2
L3
III
NVAI2
NVAI3
NVAI
NVAMX1
NVAMX2
NVAMX3
NVAMX
NVAMN1
NVAMN2
NVAMN3
NVAMN
X
X
X
X
X
X
X
X
X
X
X
X
O
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
III
L1
Minimum
L2
L3
API1
X
X
X
X
X
X
X
X
X
X
X
X
O
L1
CVM K2
CVM MINI
CVM NRG 96
QNA
VAI3
X
X
X
X
X
X
X
X
X
L1
NVAI1
L1
CIRWATT
CVM 144
CVM 96
CVM B/BD
CVM BC
CVM K
CVM K2
CVM MINI
CVM NRG 96
CVM SP
MK D
POWERNET
QNA
VAI2
X
X
X
X
X
X
X
X
X
III
X
O
L1
CVM K2
CVM MINI
CVM NRG 96
QNA
Instantaneous
L2
L3
Instantaneous
L2
L3
III
API2
X
X
X
X
X
X
X
X
X
API3
X
X
X
X
X
X
X
X
X
API
X
X
X
X
X
X
X
X
X
X
O
X
O
Instantaneous
L2
L3
III
III
APMX1
APMX2
APMX3
APMX
APMN1
APMN2
APMN3
APMN
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
III
L1
Minimum
L2
L3
III
NAPI1
NAPI2
NAPI3
NAPI
NAPMX1
NAPMX2
NAPMX3
NAPMX
NAPMN1
NAPMN2
NAPMN3
NAPMN
X
X
X
O
X
X
X
O
X
X
X
O
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
- 99 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
L1
CIRWATT
CVM 144
CVM 96
CVM B/BD
CVM BC
CVM K
CVM K2
CVM MINI
CVM NRG 96
CVM SP
POWERNET
QNA
CPI1
X
X
X
X
X
X
X
X
X
X
X
O
L1
CVM K2
CVM MINI
CVM NRG 96
QNA
CPI2
X
X
X
X
X
X
X
X
X
CPI3
X
X
X
X
X
X
X
X
X
CPI
X
X
X
X
X
X
X
X
X
X
O
X
O
Instantaneous
L2
L3
III
L1
Minimum
L2
L3
III
CPMX1
CPMX2
CPMX3
CPMX
CPMN1
CPMN2
CPMN3
CPMN
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
L1
Minimum
L2
L3
III
NCPI2
NCPI3
NCPI
NCPMX1
NCPMX2
NCPMX3
NCPMX
NCPMN1
NCPMN2
NCPMN3
NCPMN
X
X
X
O
X
X
X
O
X
X
X
O
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
Instantaneous
L2
L3
III
L1
IPI2
X
X
X
X
X
X
X
X
X
IPI3
X
X
X
X
X
X
X
X
X
IPI
X
X
X
X
X
X
X
X
X
X
O
X
O
IPI1
X
X
X
X
X
X
X
X
X
X
X
O
L1
CVM K2
CVM MINI
CVM NRG 96
QNA
III
NCPI1
L1
CIRWATT
CVM 144
CVM 96
CVM B/BD
CVM BC
CVM K
CVM K2
CVM MINI
CVM NRG 96
CVM SP
POWERNET
QNA
Instantaneous
L2
L3
Instantaneous
L2
L3
III
Minimum
L2
L3
III
IPMX1
IPMX2
IPMX3
IPMX
IPMN1
IPMN2
IPMN3
IPMN
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
L1
Minimum
L2
L3
III
NIPI1
NIPI2
NIPI3
NIPI
NIPMX1
NIPMX2
NIPMX3
NIPMX
NIPMN1
NIPMN2
NIPMN3
NIPMN
X
X
X
O
X
X
X
O
X
X
X
O
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
- 100 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
L1
CIRWATT
CVM 144
CVM 96
CVM B/BD
CVM BC
CVM K
CVM K2
CVM MINI
CVM NRG 96
CVM SP
POWERNET
QNA
PFI1
X
X
X
X
X
X
X
X
X
X
X
O
L1
CVM K2
CVM MINI
CVM NRG 96
QNA
Minimum
L2
L3
L1
III
PFI2
X
X
X
X
X
X
X
X
X
PFI3
X
X
X
X
X
X
X
X
X
PFI
PFMX1
PFMX2
PFMX3
PFMX
PFMN1
PFMN2
PFMN3
PFMN
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
O
X
X
X
X
X
X
X
X
X
O
X
X
X
X
X
III
Instantaneous
L2
L3
Minimum
L2
L3
L1
III
NPFI2
NPFI3
NPFI
NPFMX1
NPFMX2
NPFMX3
NPFMX
NPFMN1
NPFMN2
NPFMN3
NPFMN
X
X
X
O
X
X
X
O
X
X
X
O
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
III
L1
Minimum
L2
L3
Instantaneous
L2
L3
III
L1
Cos consumed
Maximum
L2
L3
III
COSI1
COSI2
COSI3
COSI
COSMX1
COSMX2
COSMX3
COSMX
COSMN1
COSMN2
COSMN3
COSMN
X
X
X
X
X
X
X
X
X
III
L1
Minimum
L2
L3
L1
CVM K2
CVM MINI
CVM NRG 96
III
NPFI1
L1
CVM K2
CVM MINI
CVM NRG 96
Instantaneous
L2
L3
Instantaneous
L2
L3
III
L1
Cos generated
Maximum
L2
L3
III
NCOSI1
NCOSI2
NCOSI3
NCOSI
NCOSMX1
NCOSMX2
NCOSMX3
NCOSMX
NCOSMN1
NCOSMN2
NCOSMN3
NCOSMN
X
X
X
X
X
X
X
X
X
Energy
Apparent energy
CVM K2
CVM MINI
CVM NRG 96
L1
L2
L3
Consumed
Generated
VAE
X
X
X
NVAE
X
X
X
III
Partial
Contract x (x:1..3)
- 101 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
CIRWATT
CVM 144
CVM 96
CVM B/BD
CVM BC
CVM K
CVM K2
CVM MINI
CVM NRG 96
CVM SP
EDMK
MK D
POWERNET
QNA
CIRWATT
CVM B/BD
CVM K
CVM K2
CVM MINI
CVM NRG 96
EDMK
QNA
AE1
X
AE
X
X
X
X
X
O
X
X
X
X
X
X
X
O
PAE
L3
III
Partial
NAE1
X
NAE2
X
NAE3
X
NAE
X
O
O
X
X
X
O
O
NPAE
X
X
X
X
O
X
X
X
X
X
X
O
III
NCE
X
X
O
X
X
X
O
O
III
PCE
Fee y (y:1..9)
Total
AET2
AET3
AECxTy
X
AECxTOT
X
Contract x (x:1..3)
Fee y (y:1..9)
Total
NAET1
NAET2
NAET3
O
O
O
O
O
O
NAECxTy
X
NAECxTOT
X
Fee
Partial
1
AET1
O
X
L2
CE
CIRWATT
CVM B/BD
CVM BC
CVM K
CVM K2
CVM MINI
CVM NRG 96
EDMK
QNA
AE3
X
L1
III
CIRWATT
CVM 144
CVM 96
CVM B/BD
CVM BC
CVM K
CVM K2
CVM MINI
CVM NRG 96
CVM SP
EDMK
POWERNET
QNA
AE2
X
CET1
CET2
CET3
L1
L2
L3
III
CE2Q1
CE2Q2
CE2Q3
CE2Q
Contract x (x:1..3)
Fee y (y:1..9)
CE2QCxTy
X
Total
CE2QCxTOT
X
Partial
PNCE
Fee
1
NCET1
NCET2
NCET3
L1
L2
L3
III
CE4Q1
CE4Q2
CE4Q3
CE4Q
Contract x (x:1..3)
Fee y (y:1..9)
CE4QCxTy
X
Total
CE4QCxTOT
X
Fee
Partial
L1
L2
L3
III
Contract x (x:1..3)
Fee y (y:1..9)
Total
- 102 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
CIRWATT
CVM 144
CVM 96
CVM B/BD
CVM BC
CVM K
CVM K2
CVM MINI
CVM NRG 96
CVM SP
EDMK
POWERNET
QNA
PIE
X
X
X
X
O
X
X
X
X
X
X
O
IET2
IET3
IE1Q1
IE1Q2
IE1Q3
IE1Q
IE1QCxTy
X
IE1QCxTOT
X
III
PNIE
X
X
O
X
X
X
O
O
Fee
Partial
NIE
CIRWATT
CVM B/BD
CVM BC
CVM K
CVM K2
CVM MINI
CVM NRG 96
EDMK
QNA
IET1
NIET1
NIET2
NIET3
L1
L2
L3
III
IE3Q1
IE3Q2
IE3Q3
IE3Q
Contract x (x:1..3)
Fee y (y:1..9)
IE3QCxTy
X
Total
IE3QCxTOT
X
Maximum Demand
Maximum demand consumed
Instantaneous
CVM 144
CVM 96
CVM B/BD
CVM BC
CVM K
CVM MINI
CVM NRG 96
CVM SP
POWERNET
L1
MDI1
O
O
L2
MDI2
O
O
L3
MDI3
O
O
III
MDI
O
O
O
O
O
O
O
O
O
O
O
O
Maximum
Fee y (y:1..3)
MDITy
L1
L2
L3
MDMX1
MDMX2
MDMX3
O
O
O
O
O
O
III
MDMX
O
O
O
O
O
O
O
O
O
O
O
O
Fee y (y:1..3)
MDMXTy
L1
NMDI1
O
L2
NMDI2
O
L3
NMDI3
O
III
NMDI
O
Maximum
Fee y (y:1..3)
NMDITy
L1
L2
L3
III
NMDMX1
NMDMX2
NMDMX3
NMDMX
Fee y (y:1..3)
NMDMXTy
Generated
Maximum
Instantaneous
Maximum
- 103 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
CVM K2
MDVAMX
NMDVAI
NMDVAMX
X
X
Maximum active power demand
Consumed
Generated
Instantaneous
Maximum
Instantaneous
Maximum
MDAPI
MDAPMX
NMDAPI
NMDAPMX
CVM K2
CVM K2
L2
MDAI2
X
Maximum
L3
MDAI3
X
III
MDAI
X
L1
MDAMX1
X
L2
MDAMX2
X
L3
MDAMX3
X
III
MDAMX
X
Harmonics
Voltage harmonics
L1
L2
x:1..15
x:16..50
ARMxV1
x:1..15
x:16..50
ARMxV2
CVM K2
CVM K HAR
CVM MINI
CVM NRG 96
QNA
X
X
X
X
O
X
X
X
X
X
X
X
X
O
L3
x:1..15
x:16..50
ARMxV3
X
X
X
X
O
Neutral
x:1..15
x:16..50
ARMxVN
X
X
X
Current harmonics
L1
x:1..15
L2
x:16..31
x:32..50
x:1..15
ARMxA1
CVM 144
CVM 96
CVM K2
CVM K HAR
CVM MINI
CVM NRG 96
QNA
O
O
X
X
X
X
O
x:16..31
L3
x:32..50
x:1..15
ARMxA2
O
X
X
X
X
O
O
X
X
X
X
O
x:16..31
Neutral
x:32..50
x:1..15
ARMxA3
O
X
X
X
X
O
O
X
X
X
X
O
x:16..31
O
X
X
X
X
L1
ARMyMXCV1 (y:1..50)
L3
ARMyMXCV3 (y:1..50)
L1
ARMyMXPV1 (y:1..50)
L3
ARMyMXPV3 (y:1..50)
L1
PST1
Pst
L2
PST2
L3
PST3
QNA
QNA
x:32..50
ARMxAN
Pst / Plt
QNA
All registers
L2
PST2SUPT
L3
PST3SUPT
L1
PST1SUPV
Valid registers
L2
PST2SUPV
L3
PST3SUPV
- 104 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
QNA
L1
PST1DIx
L3
PST3DIx
L1
PLT1
Plt
L2
PLT2
L3
PLT3
QNA
QNA
All registers
L2
PLT2SUPT
L3
PLT3SUPT
L1
PLT1SUPV
Valid registers
L2
PLT2SUPV
L3
PLT3SUPV
QNA
x:1..4
x:19..24
x:25..50
X
X
X
X
X
DIx
CVM 144
CVM R8
LM 24
LM50
TCP50 ALARM
O
O
X
X
X
x:1..1
CVM 144
CVM R8
CVM MINI
O
O
X
O
X
X
X
Instantaneous
x:2..3
AIIx
O
O
x:4..8
x:1..1
O
O
X
Analogue Inputs
Maximum
x:2..3
AIMXx
O
O
x:4..8
x:1..1
O
O
X
Minimum
x:2..3
AIMNx
O
O
x:4..8
The analogue input in the CVM-MINI devices corresponds to the temperature variable measured by this type of
devices.
Digital Outputs
CIRWATT
CVM 144
CVM 96
CVM BC
CVM R8
CVM MINI
CVM NRG96
CVM SP
EDMK
MK D
QNA
1
DO1
X
O
O
O
O
X
X
O
O
X
O
2
DO2
X
O
O
O
O
X
3
DO3
X
4
DO4
X
x:5..18
x:19..20
DOx
O
O
O
The digital outputs can be forced to 0 (output remains open) or to 1 (output closes)
Counters
Counter
- 105 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
x:25..50
Cx
LM 24
LM50
X
X
The counter value for the LM50 devices can be forced between 0 and the maximum value permitted by
the device. See the device manual for a deeper understanding of this maximum value.
All counter variables can be discriminated.
C-14d
Current
Current
distortion
Cos
Active quadrant
Active alarm
AI
X
DAI
X
COSI
X
QUADRANT
X
ALARM
X
Active quadrant
Energy consumed
Energy consumed: Capacitive system
Energy consumed: Inductive system
Energy generated
Energy generated: Capacitive system
Energy generated: Inductive system
Value
0
1
2
4
5
6
Active alarm
None
Compensation alarm (-CE)
Surge alarm (-AE)
Distortion alarm (-dE)
Setup error alarm
Expansion setter communication alarm
Reference voltage error alarm
Value
0
1
2
3
4
5
6
Value
0
1
Alarm
DO0
X
Digital output
x:1..14
DOx
X
CBS-4
Differential current
Instantaneous
Detected
CBS-4
AELIx
X
Status
Of the Protection
Of the Channel
Channel x (x:1.0.4
AELDx
STx
X
X
Channel status
Not set off
Exceeded the differential current
Toroidal error
DOx
X
Pre-alarm relay
DO0
X
Value
0
1
2
- 106 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
Not activated
Activated
Protection status
Value
0
1
Value
0
1
In the CBS-4 devices, the channel can be reset by forcing the RSTx variable to 0 or by remotely setting
off the channel forcing the variable to 1.
CBS-8, CDR-8
Differential current
Instantaneous
Detected
AELIx
X
X
CBS-8
CDR-8
Status
Pre-alarm relay
Of the output
Channel x (x:1..8)
AELDx
STx
X
X
X
X
Pre-alarm relay
DOx
X
X
Value
0
1
2
3
Value
0
1
DO0
X
X
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 remote
fire or 0 to deactivate it.
CVM-K2
The specific values for the CVM-K2 devices are shown below; the common variables such as voltage and
current have been included in the corresponding variable tables.
Coefficient Kd
Instantaneous
KDVI
X
CVM K2
Voltage
Maximum
KDVMX
Minimum
KDVMN
Instantaneous
KDAI
X
Current
Maximum
KDAMX
Minimum
KDAMN
Current
Maximum
KAAMX
Minimum
KAAMN
Coefficient Kd
Instantaneous
KAVI
X
CVM K2
Voltage
Maximum
KAVMX
Minimum
KAVMN
Instantaneous
KAAI
X
DH-96
DH-96 CPM
Inst.
VI
X
Voltage
Max.
VMX
X
Min.
VMN
X
Inst.
AI
X
Current
Max.
AMX
X
Min.
AMN
X
Inst.
API
X
Active power
Max.
APMX
X
Min.
APMN
X
Active
energy
AE
X
- 107 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
DH-96 AC
DH-96 CT
DH-96 DC
DH-96 FT
DH-96 SG
DH-96 TMP
DH-96 WG
Measurement
ME
X
Peak
PK
X
Valley
VL
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
X
Counter
C1
Flow
F1
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.
QNA
Short circuit
L2
ALEVEI2
X
L1
ALEVEI1
X
L3
ALEVEI3
X
Events alarm
Hole
L2
ALEVES2
X
L1
ALEVES1
X
L3
ALEVES3
X
Power surge
L2
ALEVEO2
X
L1
ALEVEO1
X
L3
ALEVEO3
X
The event alarms variables will activate (1 value) when any event occurs in the QNA and will remain active for 5
seconds. After 5 seconds, if no new events have occurred, the alarm will deactivate (0 value).
Voltage phasor
L1-L2
FDV12
O
QNA
L1-L3
FDV13
O
Voltage-current phasor
L2
FDVI2
O
L1
FDVI1
O
L3
FDVI3
O
QNA
L1
STCBE1
X
L3
STCBE3
X
L1
STCVB1
X
QNA
L3
STCVB3
X
For voltage
L2
STCIV2
X
L3
STCIV3
X
Coefficient Kd
Voltage
KDV
O
QNA
Coefficient Ka
Current
KDA
O
Voltage
KAV
O
Current
KAA
O
QNA
QNA
QNA
Total No. of
registries
Registries
without
events
NREGTOT
Valid registries
UBSUPV
O
Counters of Values
Frequency
Frequency
without
events
Plt
NREGEVQ
CVHZ
CVHZEVQ
L1
HEVQ1
X
L2
L3
CVPLT
CVPLT1EVQ
CVPLT2EVQ
CVPLT3EVQ
Events history
L2
HEVQ2
X
L3
HEVQ3
X
- 108 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
RGU-10 / RGU-10 RA
Effective value
RGU-10
RGU-10 RA
Leak current
AELI
X
X
AELD
X
X
For locking
DO0
Status
For setting off the
coil
DO1
X
No. of reconnections
Differential
RGU-10 RA
Partial
RCPD
X
Magnetothermic
Total
RCTD
X
Partial
RCPM
X
Total
RCTM
X
Value
0
1
Not locked
Locked
Value
0
1
Value
0
1
Device status
Start
Rest
Block differential set off
Wait for differential set off
Block magnetothermic set off
Wait for magnetothermic set off
Disconnect toroidal
External input activated
Remotely set off
Test set off
Fabrication mode
Calibration mode
Value
0
1
2
3
4
5
6
7
8
9
10
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
RRM-C
Counter of reconnections
RC
X
Device status
Disconnected
Connected
Blocked
External set off
Magnetothermic set off
Set off by communications
External and communications set off
Device status
ST
X
Value
65535
0
1
2
4
8
10
For the RRM-C devices, the device status can be forced to 16 to reset it or to 17 to force an external
device set off.
- 109 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
The special variables for graphs and tables are used to indicate to PowerStudio that the user desires to
make a non-standard graph or table. In a non-standard graph or table, the values shown on the X-axis and Yaxis, table rows and columns, can change from one type to another, depending on the variables represented. For
a 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, the
following variables must be used.
Wave form
Voltage
L2
FOV2
O
L1
FOV1
O
QNA
L3
FOV3
O
Current
L2
FOA2
O
L1
FOA1
O
L3
FOA3
O
Harmonics
Voltage
Current
L1
ARMV1
L2
ARMV2
L3
ARMV3
Neutral
ARMVN
X
X
X
X
O
X
X
X
X
O
X
X
X
X
O
CVM 144
CVM 96
CVM K2
CVM K HAR
CVM MINI
CVM NRG 96
QNA
QNA
QNA
L1
ARMA1
O
O
X
X
X
X
O
L2
ARMA2
O
O
X
X
X
X
O
L3
ARMA3
O
O
X
X
X
X
O
Neutral
ARMVN
L1
ARMMXCV1
L3
ARMMXCV3
L1
ARMMXPV1
L3
ARMMXPV3
Events
L1
DEVQ1
X
QNA
Duration
L2
DEVQ2
X
L3
DEVQ3
X
L1
VEVQ1
X
L3
VEVQ3
X
Value
1
4
18
34
66
130
- 110 -
Web: www.circutor.com
VIAL SANT JORDI, S/N
E-mail: central@circutor.es
ESPAA / SPAIN
258
- 111 -