|
Overview
This report demonstrates the versatility of XLReporter
in discrete manufacturing where
the reporting period is not predictable and where report naming
convention needs to follow the convention used in the
manufacturing process.
The Batch Report provided with XLReporter is an example of a
discrete manufacturing report. It consists of two pages, one
displaying a profile of batch parameters and the other displaying
events. The information in the report is restricted to the
time period of the batch execution and the final report is stored
to a worksheet named after a Batch Identifier.
The example maintains all the batch reports in the same
workbook however, with minimal modification, a new workbook or
worksheet could
be created for each batch.

Batch Profile
Technology
The Batch Report uses the following technology:
Updating
Sheet Groups.
Starting reports based
on process signal e.g., batch start.
Naming
reports from SCADA tags e.g., batch no..
Collecting
batch data periodically.
Formula
(result) connections. Report
Design
The design is provided in the file BatchSample.xls. It contains
two pages namely Batch Profile and Batch Event. There
is one date connection to cell D8 which is updated at the start of
the batch. This connection is a Direct connection and
in group 1. All
the other connections are column connections that are separated
for the Profiling page or the Events apge. The Profile connections are in
group 2 and use offsets CR018, whereas the events are in group 3
and use CR019. By using different groups and offsets, each
set of connections can be updated independently of the
other.
The report is initialized at the beginning of a batch
and then updated with process data every 2 minutes to profile certain batch
parameters. In addition, events and sequence changes are
monitored and when one occurs, it is collected, converted to text, time
stamped and placed on the appropriate page of the report. All
this is managed by the scheduler. Formula
Connections
On inspection of columns AA and AB, you will note that
there is a list of all the possible events that could occur and if
so, need to be reported. Each time a batch event occurs,
XLReporter reads the numeric value in the process database for the
event code and uses the information in AA and AB to translate the
code to text for the report. This process is performed using
expression connections that contain formulae. The Column connections to
cells Q13 and R13 are expression connections of the form
=OFFSET(AA2, {ss}, 0).
This connection places the result of the Excel formula OFFSET() in the column starting at
Q13. This is a
powerful feature. It is
important to note that since the Place Formula checkbox is not
checked, we will NOT leave the formula in the cell, only the
result! In addition, the OFFSET function is not hard-coded
with parameters but is using {ss}, the current seconds stamp. We used {ss} for this
demonstration but in practice you would replace this by a tag that
holds the current event (as a value) for the report. In
other words, you would have
=OFFSET(AA2, {BatchEvent}, 0). x x x |