2. 2
Using Experion Server Scripts
• Introduction
– The Experion system allows one to initiate a Server
Script based on an event. These events could be from
an alarm or a change in state of an input. Another very
useful initiator can be when a SCM step becomes active.
3. 3
Log only Server Scripts
• Scripts can be forced to go to the Journal Log
so that an Operator does not get distracted by
them coming on the Message Summary
display. These messages can then be
scheduled to be printed out or sent to a virtual
printer based on how you setup up your
report.
4. 4
Log only Server Scripts example
• The example below is a script that is used for a report in a
waste treatment operation. There are many instances
throughout the days of activities that need to be reported.
The messages all start with “wtr”; this allows one to setup
up a custom report that only prints out messages with a
certain wildcard, in this case “wtr”.
– If StrComp(EventInfo.value, "ON", vbTextCompare) = 0 Then
– Dim AlmDtls
– Set AlmDtls=Server.CreateAlarmDetails
– ' AlmDtls.Name="WasteTreatmentMsg"
– AlmDtls.Priority=hscJournal
– AlmDtls.Type="MESSAGE"
– AlmDtls.Area="Waste Trt"
– AlmDtls.Description="wtr:RE-811 FEED Phase Started"
– Server.GenerateAlarm AlmDtls
– Set AlmDtls=nothing
– End If
5. 5
Message Summary Server Scripts
• Sometimes it is essential that the Operator be
made aware of an event, in this case it is
beneficial to alert the Operator and sent the
message to the Message Summary page.
– Obviously you want to make sure that your Flex and
Consol station are properly configured to provide an
audible alarm for the message summary, otherwise
important information may not be retrieved in a
timely manner.
6. 6
Message Summary Server Scripts
– Below is an example of a script that informs the
Operator of how much of an ingredient was charged
into a reactor. This script is initiated by a SCM, and
it is a so called Common or Shared SCM, there are
multiple reactors that use this SCM ,thus the unit
specific identifiers; the “auxunit” parameter.
7. 7
Conclusion
• Server Scripts are a powerful way of storing
and conveying information to the Operator.
• A question often asked is why not just use the
build-in message block. The limitation with the
message block is that it does not allow one to
use dynamic data; a message block can only
display the text field that was programmed into
it. It would be a great enhancement if the
message block had a feature that incorporates
dynamic data, but till then, the Server Script
will fill your needs.