========================================================================= (c) Copyright ICONICS Incorporated, 1986-2002 ICONICS GraphWorX32 VERSION 7.0 October 2002 ========================================================================= TIMING CHART EXAMPLE =================== Version 7.0 Modified 10/2002 This example shows one possible way to represent a timing sequence in GraphWorX32. It uses an alias definition file "Timing.txt" to point to where this display should get the data for each of the step times, as well as the scale used in the graph. This file gets loaded and used when the screen first becomes animated by way of the VBA script routine "PreAnimateDisplay". At install, this file simply makes the MaxTime scale 200 seconds, and sets the pointer for each step's time to just a local variable. It can easily be modified to instead point to OPC Tag Names which in turn point to PLC registers (for example) containing the real timing information. If this info is not readily available in the PLC, and all you have is the raw start/stop 1/0 transitions with their time stamp, then a simple script can be created in ScriptWorX32 to calculate the difference in time stamps of the 0 to 1 transitions representing the start/stop of each step. These results can then simply be put into either a DataWorX registor, or an OPC Tag acting as a "holding place". If you really want to get fancy, you can have TrendWorX32 log these descrete events to a database, and have ScriptWorX32 get its info from the historical database. You could then modify the display to have controls which permit looking at timing charts from various historical points in time!