Appen - 2 - Datlog - Setup r2 PDF
Appen - 2 - Datlog - Setup r2 PDF
Prerequisite: Read the EnTronics OPC Data logger manual to get familiar with the program
screen components. If not already installed, follow the installation instructions.
Introduction
The OPC Data Logger is an independent program that allows the user to configure a 'datlog'
file for monitoring and data logging. The software allows continuous logging of data or can
be configured to have logging started and stopped automatically by use of a trigger channel.
The program does not require that the application be present on the PC that is logging. The
logging program does require the controller tagnames but these are made available from the
controller via an OPC information file when communications is established with the OPC
Server.
Open the OPC Data Logger Utility from the Start/Program menu.
Once created the map files are normally stored with the project or in a separate directory. The
map file extension ends in .rdl and contains no data but is a list of device names originating
from the tag database of the FT-110 or FT-125.
In the case of the FT-110 the FT OPC Server gathers the data and the FT Comm Server
establishes communications between the FT OPC Server and the FT110. Both software
packages are automatically launched when the Flexitrend OPC Server was selected.
In the case of the FT-125 the RS Linx Classic program will act as both OPC Server and the
communications link to the ControlLogix 500 System.
Once communication has been established with the server and units the Data Logger is now
ready to be configured.
Verify the OPC Server is Running
For an FT-110 verify that both the FT Comm Server and the OPC Servers have been
installed and configured properly.
For an FT-125 verify that RSLinx Classic is installed and licensed correctly, running and
that the ‘topic’ for the unit that you are trying to log from has been configured under the OPC
Server Menu.
Adding Log Items
Function Buttons
Trigger Setup Determines how data is to be collected. Options include manual data
(F4) logging and automatic data logging which allows the user to
determine a trigger point and how much data to collect before and
after the trigger has occurred.
Monitor (F5) Allows the user to simply monitor mapped channels without logging
data. Screen update rates can be adjusted to suit the user.
Pressing the Monitor button displays the data values in the Value column next to each item
in the tag list of the main logger window. Although data collection may be set for 50 ms as
indicated on the logger screen, data is updated to the screen only once every 1000 ms (1
sec). To change the screen update rate, open the data logger properties window from the
Main menu, View/Properties, and change the Monitor Update Rate to something less than
1000 ms.
The Trigger can either be a digital or analog channel and is configured in the centre of the
configuration screen. By selecting a channel from the database, the software constantly
monitors this channel for either a change of state in a digital channel or exceeding a specific
parameter of an analog channel.
When configuring a trigger channel a data storage buffer(s) must be configured. The
buffer(s) are use to hold a specific amount of data before or after the trigger point and is
defined in second, minutes or hours of data.
Low to High Log will triggered when digital channel goes from Low to High (0 to 1)
High to Low Log will triggered when digital channel goes from High to Low (1 to 0)
NOTE When logging data from Allen Bradley based FT-125 all channels will all be
recognised as analog by OPC Data Logger and the digital trigger options will not be
available. To use the trigger in this case you should select an analog condition for the digital
channel. For example to detect digital Low to High (0 to 1) use the analog test >0, to detect
High to Low (1 to 0) use the analog test <1.
When the trigger setup is complete, press the OK button to close the configuration window
and return to the logger Main window. Note that the trigger configuration information is now
included just below the trigger setup button.
Saving a configuration
Before Data Logger is used to log data it is recommended that the configuration is saved to
allow future use of the ‘Datlog Map’ file without the need to configure again. Also it is
recommended to give the Logged Data file a name that will give information relating to the
logged data.
Selecting
File/Savefrom the
main menu saves the
configuration file
containing a list of all
items to be logged but
does not contain any
data. Only one file
need be created if all
the units at a site are
the same. For different
unit types, separate
configuration files will
need to be created
since channel
assignments may
differ from unit to unit.
The table below provides more detailed information about all the components that make up
the file name.
Test1 In our example, Test1 was the name of the RTL configuration file, which
is specific to a Unit and stored with the application program.
Data Logging
before we can log data we need to determine the rate at which the
logger program will collect data. The Log Rate field of the Data
Log Information window section is changeable only when NOT
monitoring or collecting data.
If the Log Rate field is gray then turn off the monitoring or data
collection process. The Log Rate field changes to white, enter 50
into the field for a data collection rate of 50 ms.
Once enough data has been collected, dependent upon the trigger settings the Log will
either automatically stop logging or if no trigger is used then pressing the Log Data button
again stops the collection process. Once the file has been completely written to the PC the
software will automatically launch CBPlot to display the data is a graphic format.
Note that the items that were logged now appear as pen items 1, 2 and 3 and are graphically
depicted in the display portion of the screen.
Data Logging with a Trigger
The trigger is configured as previously described. Once the Log Data button is pressed the
Logging Data message appears as normal. However, the data is now being saved in a
continuous ‘latest
in, oldest out’ buffer
and will remain so
until the trigger event
occurs. When the
trigger occurs a
message ‘Triggered’
is shown on the top
right of the Trigger
Information