Documentos de Académico
Documentos de Profesional
Documentos de Cultura
capaz de datos de tendencias a partir de numerosas fuentes de datos Rockwell así como varios 3 rd aplicaciones de otros fabricantes. La aplicación es un
cliente de tendencia a la aplicación de servidor FactoryTalk VantagePoint, y está disponible como un ejecutable “No Touch” que se pueden ejecutar desde
máquinas de escritorio de Windows, un control de .Net que pueden alojarse en las páginas web y se puede acceder a través del Portal VantagePoint o
como un control ActiveX que se puede alojar en recipientes tales como ActiveX View sE.
Si bien es técnicamente posible para acoger la tendencia VantagePoint en un control ActiveX de Internet Explorer, el rendimiento de este tipo es
mucho más lento que usando el ActiveX como se describe en este documento.
tiene que ser desplegados en el equipo de destino. Esto se logra mediante la instalación de las herramientas de cliente FactoryTalk
VantagePoint en la máquina previsto. En el caso de esta View SE es cualquier máquina cliente HMI donde va a utilizar el control ActiveX.
Para realizar el FactoryTalk VantagePoint instalación de cliente abierto a Internet Explorer y vaya a su portal de VantagePoint. Haga clic en el " Herramientas"
servidor de VantagePoint para que el Portal y otros clientes autónomos están disponibles en esta máquina. La instalación también
configura las confianzas necesarias desde el cliente al servidor VantagePoint, y configura la información de registro necesaria con
respecto a la dirección URL al servidor VantagePoint y registro de ActiveX. Por último, si la máquina ha instalado Microsoft Excel en él,
Open FactoryTalk View Studio and either create a new display or select an existing display to add the ActiveX to.
Selecting the ActiveX Control
Click on the “Objects” menu item and select “ActiveX Controls” from the drop down list.
Draw a box that represents the area that the new Trend control will be displayed in. When this is complete the “Insert an
ActiveX Control” dialog will appear.
In the dialog that is presented, select " Incuity.Ax Trend Control", click “OK.
Default Display
Clicking the “Test Display” button will show the VantagePoint trend control as seen in the image below. Note that the Model
Browser, and tool bars are not displayed by default. This allows the maximum utilization of HMI screen real estate, but it requires
that tags are added to the trend programmatically using VBA.
The properties that are available to configure through VBA are exposed in the “Property Panel” of the control as shown below.
While the various properties of the IncuityAX TrendControl are exposed in the Property
Panel, changing the values of these properties in this interface will not cause the
properties to persist when new instances of the control are opened in View clients.
Más bien la forma de cambiar las propiedades es hacer una muy simple VBA Scripting. Para hacer que la
tendencia a llegar a todas las diversas interfaces de usuario (barras de herramientas, vistas de árbol, etc.)
las tres propiedades siguientes se deben establecer en "Cierto".
• ShowNSExplorer
• Mostrar la barra de herramientas
• ShowDateTimeCtrl
Este ejemplo utiliza el VBA "Con" la función de aplicar los valores de varias propiedades de un objeto en el mismo comando. El código se
ejecuta como parte de la “Display_Load ()” evento que significa que cada vez que se carga esta pantalla este código se ejecutará
automáticamente.
La siguiente imagen muestra la tendencia de ActiveX con el navegador de modelo (vista de árbol) y la herramienta y barras de tiempo permitido.
Ahora es posible ver algunos de los modelos y de arrastre etiquetas FactoryTalk VantagePoint (u objetos que contienen) etiquetas en la tendencia, como se
muestra a continuación.
Using VantagePoint Trend / XY Plotter ActiveX Controls
The ActiveX Control is a new control provided for Trend and XY Plotter. It is intended for use by containers that cannot use a .Net control. This
extends VantagePoint to allow it to work well with legacy HMI applications and browsers that do not yet have support for .Net Windows Forms
controls. If possible, use the .Net control, because it is a much better solution.
For convenience, the ActiveX Controls are installed when you Install VantagePoint Clients.
This section provides insight into how to use the Trend and XY Plotter ActiveX Controls.
= On False = Off
BackColor OLE_COLOR The background color of the graph (like Properties | Graph |
Background Color)
CurrentTagName String The TagName of the currently active trace. In the case of XYPlotter mode, it is
the concatenation of the two TagNames (e.g. “MyEnterprise.MachineSpeed
MyEnterprise.BatchNumber”)
Definition String Sets the name of the Trend/XY Definition file to load from the Incuity model
Known Issue: When this property is read, it always returns an empty string
= Hidden
muestra Ocultos
Etiquetas Cuerda Lea: Devuelve una lista separada por comas de Elementos con la etiqueta (artículos TagPair para
XYPlotter) que están siendo mostrado una tendencia / trazado. Comentario: Especifica una lista de
Elementos con la etiqueta (artículos TagPair para XYPlotter) para ser cargado, en el mismo formato.
notas:
• En el modo de tendencia los nombres son los de Elementos con la etiqueta. En el modo XYPlotter los
nombres son los de productos que TagPair.
• Nombres de elementos que contienen cualquiera de los caracteres utilizados como delimitadores no se
pueden establecer mediante esta propiedad.
Ejemplo:
System.Sources.InSQL.INSQL80.Tags.VectorY, System.Sources.InSQL.
INSQL80.Tags.VectorX,
VectorX, System.Sources.InSQL.INSQL80.Tags. ConcValve
Períodos de tiempo Cuerda Lea: Devuelve una lista separada por comas de los períodos de tiempo en uso. Tenga en cuenta
que esta lista no es compatible con una escritura en esta propiedad. Comentario: Especifica una
definición de tendencia. Lista período de tiempo debe ser del siguiente formato: StartTime1,
Hora de inicio: Cualquier cadena que puede ser analizado por la clase DateTime, o la cadena
EndTime: Any string that can be parsed by the DateTime class, or The FQN for a
The format for Rel is sNNu() where the only permitted values are
means Minutes h
means Hours
Example:
Rel,+10m()%2006/01/25 10:00,2006/01/25
10:15%Item,MyEnterprise.MLSLast1Min
Adds 3 time periods: A “last 10 minute” timespan, an absolute span from 10:00 to
10:15 on the 26th and a TimePeriod Item named MLSLast1Min.
ActiveX Control Methods
AddTag(String tagName) void Adds the tag with the specified name. Must be a TagPair if in XYPlotter mode
See the TimePeriods property above for a description of the format to use when
start is “Rel”
• The refreshData parameter is optional. The default for the optional parameter
is to refresh data (i.e. “True”).
BeginUpdate() Void Allow clients to add more than one tag and/or time period without having
to go back to the server to refresh tag data for each individual tag or time
period added.
Example:
AxTrend1.BeginUpdate()
AxTrend1.AddTag(“MyEnterprise.Sine”)
AxTrend1.AddTag(“MyEnterprise.Ramp”)
AxTrend1.AddTimePeriod(“rel”, “+7m()”)
AxTrend1.EndUpdate()
EndUpdate(VARIANT wait) Allow clients to add more than one tag and/or time period without having
to go back to the server to refresh tag data for each individual tag or time
period added. Optional parameter, “wait”, allows clients to wait until all the
data is retrieved. Note that waiting would effectively block the application
until the data retrieval request is finished. The default for this optional
parameter is not to wait (i.e. “False”). See BeginUpdate()
TagName) For XYPlotter mode, the TagName is a concatenation of the two tags (see
CurrentTagName)
Name Description