CIRCUTOR, SA reserves the right to make modifications to the device or the unit specifications set out in this instruction manual without prior notice. CIRCUTOR, SA, on its web site, supplies its customers with the latest versions of the device specifications and the most updated manuals.
PowerStudio XML SERVICES 1.- XML SERVICES PowerStudio provides a range of XML services to enable, in some respects, communication with other applications. In requests where it is necessary to express a date and time, both in service request and the data from the response, these will be represented in UTC (Universal Coordinated Time) with the format DDMMYYYYHHMMSS (two digits for the day, two for the month, four for the year and two for the hour, minutes and seconds.
XML SERVICES var: Name of each of the variables of the device. The name will be expressed as device.variable (Refer to the variable appendix in the ‘Devices Manual’). 1.3. /services/user/varInfo.xml?var=device.variable?...?id=device?... Returns variable information when carrying out the XML request. Each of the variables from which a value is desired should be included in the request as: ?var=device.variable And if you want to get information from all the variables of a device this must be indicated as...
PowerStudio XML SERVICES ♦ #VA Apparent power ♦ #W Active power ♦ #VARL Inductive power ♦ #VARC Capacitive power ♦ #PF Power factor ♦ #HZ Frequency ♦ #PERCENT Percentage ♦ #WH Active energy ♦...
XML SERVICES 1.5. / services / user / forceVariables.xml? id = device With this request we may send the order to force variables to PowerStudio. The request must include the name of the device we want to force so that, if necessary, authentication can be checked (see ¡Error! No se encuentra el origen de la referencia.
Page 10
PowerStudio XML SERVICES • recordGroup: Main field which will identify the XML as a response to the variable register request. • period: Register period. Will report on time elapsed between records. • record: Will Identify each of the records: dateTime: Date and time of the sample.
Page 11
XML SERVICES Element: Registers from each of the harmonics ♦ harmonic: Harmonics number ♦ value: Harmonic value. • Waveform value record <fieldFO> <id> … </id> <element> <msec>… </ msec> <value>… </ value> </ element> … </fieldFO> id: Variable identifier (device.variable) ...
PowerStudio XML SERVICES 1.7. /services/user/events.xml?begin=…?end=…?id=… Returns the events log of one or more events between dates “begin” and “end”. Each of the events on which information is required must be included in the request as: ?id=name_event ?var = device.variable The format of ”begin” and ”end” will be DDMMYYYY when you wish only to indicate the date (in this case the hour will 00:00:00) or DDMMYYYYHHMMSS when both the date and the hour are specified.
Page 13
XML SERVICES <main> <recordGroup> <device> … </device> <record> <dateTime> … </dateTime> <field> <id> … </id> <value>… </value> </field> … </record> … </recordGroup> … </main> Where: • main: Main field that will identify the XML as a response to the request. •...
Tel.: 902 449 459 (Spain) / +34 937 452 900 (outside of Spain) email: sat@circutor.es 3.- GUARANTEE CIRCUTOR guarantees its products against any manufacturing defect for two years after the delivery of the units. CIRCUTOR will repair or replace any defective factory product returned during the guarantee period.
Need help?
Do you have a question about the EDS and is the answer not in the manual?
Questions and answers