Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Batch Management

Configure FoxAlert to Receive Alarm Messages

  • Last UpdatedOct 30, 2024
  • 4 minute read

For detailed information on how to configure FoxAlert to receive alarm messages, see "Configuring the Alarm and Message Destination Group Device Parameter for Each Compound".

If the FoxAlert display alarm match feature is started manually, you should be aware of the trailing blanks in the LOOPID. To find the exact match for a Batch ID string, a wildcard "*" is required after the Batch ID name, or you must enter trailing blanks in the LOOPID field (32 characters maximum).

To Configure the Alm Comment Command Button

You can configure command buttons on the FoxAlert CAD user interface to start the CommentApp program. CommentApp enables you to enter a comment associated with a batch-related alarm. The comment is stored as batch data in the batch history database. It can then be retrieved and reported by the Reporting System.

To Configure in FoxAlert

  1. A configuration file <install dir>\IA_Config\
    BatchAlarmCfg.txt is provided for you to copy and paste from when you configure the FoxAlert command button. You must first open this file with a text editor such as WordPad and edit the <install dir> to point to the correct product installation path.

  2. From FoxView display, select the menu item Config > DispalarmCfg.

    The FoxAlert main dialog box appears. You can use it to configure a command button for CAD display.

  3. From the File menu, click Open.

  4. Select the alm database named foxboro and click Open.

  5. Click Save As and type the required database file name. (for example: BatchXP). This procedure retains the original databases included with the product.

  6. On the right side of the main dialog box of the configuration, select the Alarm Managers option, and then click New.

    The Alarm Manager dialog box appears.

  7. Type the following parameter values:

    • Alarm manager name: AM0000

    • Station letterbug: XXXXXX

    • Screen: Undedicated

    • Alarm Manager Property Scheme: foxDefault

  8. Click OK.

  9. On the Display and Alarm Managers dialog box, under the Select group, select the option User Interfaces.

  10. From the list of Scheme Names, under the User Interface group, select foxCAD, and under the Command group, select Edit.

    The User Interface Scheme dialog box appears for foxCAD, along with the Edit dialog box.

  11. In the Edit dialog box, select the unused button that you want to configure.

    The Pushbutton/Multi-State Button Editor dialog box appears.

  12. Click Edit.

    Note: If there are no unused buttons on the alarm manager window, first increase the number of rows and then select the button labeled Preview.

  13. In the Label field, enter Alm Comment of the PushButton State Editor dialog box.

  14. In the Button Actions box, copy and paste the button command line found in the BatchAlarmCfg.txt file, which you modified in the first step:

    run <install dir>\bin\CommentApp.exe &<AlarmType>&<Block>&<BlockDesc>&<Compound>&
    <LoopId>&<Date[%Y-%m-%d]>&<Time[%H:%M:%S]>&
    <Tenths>&<OptionText>

    Example: <install dir> = D:\IASeriesBatch

    You can leave the Mnemonic box empty.

  15. Click Add and then OK to close the Button State Editor dialog box.

  16. On the Multi-State Button Editor dialog box, leave the Access Code at zero.

  17. Click OK on the User Interface Scheme dialog box. This action closes the Pushbutton/Multi-State Button Editor dialog box.

To Configure the Seq Unsusp Button

You can configure a second command button on the FoxAlert CAD user interface display to acknowledge a SENDCONF type sequence block message. A SENDCONF type message can be selected and acknowledged by clicking this command button. The button action unsuspends the sequence block and the CP generates a return-to-normal message. After receiving the return-to-normal message, FoxAlert removes the SENDCONF message from its user interface dialog box.

To Configure the Seq Unsup Button

Use same configuration procedure described earlier for the Alm Comment button. A separate line is provided for copy and paste in the BatchAlarmCfg.txt file for this function.

  1. From the User Interface Scheme dialog box, click Preview.

    The Edit dialog box appears.

  2. Click the unused button that you want to configure.

    The Pushbutton/Multi-State Button Editor dialog box appears.

  3. Click Edit.

  4. In the Label box, type Seq Unsusp.

  5. In the Button Actions box, copy and paste the button command line from the BatchAlarmCfg.txt file that you modified in the first step:

    run <install dir>\bin\seq_unsuspend.bat <Compound> <Block>

    Example: <install dir> = D:\IASeriesBatch

    You can leave the Access Code and Mnemonic boxes empty.

  6. Click Add and OK to close the Button State Editor dialog box.

  7. Click OK on the User Interface Scheme dialog box. This action closes the Pushbutton/Multi-State Button Editor dialog box.

    To Save and Validate the Button Configuration

    1. Save the new button configuration into a file.

    2. On the DispalarmCfg dialog box, from the Display and Alarm managers file menu, click Save.

    3. Click Validate Record. Validation ensures that all the schemes are linked properly. A message confirms a successful validation.

    4. Click Create Install File to create a configuration file for Alarm Manager.

    5. Click Done.

    6. Click Exit to exit the FoxAlert Configurator DispalarmCfg.

      To Install a Configuration File into Run-Time Directory

      1. The configuration file AM0000.cfg that you just created resides in the following configuration directory:

        D:\usr\fox\customer\config\BatchXP.dir\XXXXXX\.

      2. From the run-time directory D:\usr\fox\customer\alarms\cfg\, back up the original configuration file am_def.cfg by renaming it am_def.cfg.bak.

      3. Copy the new config file from configuration directory to the run-time directory as follows:

        1. Copy from the following location:

          D:\usr\fox\customer\config\BatchXP.dir\XXXXXX\AM0000.cfg"

        2. To the following location:

          D:\usr\fox\customer\alarms\cfg\ am_def.cfg

      4. When you start FoxAlert (double-click the Process menu bar from FoxView), you see that the new configuration is enabled. However, if FoxAlert has already been launched at the time of configuration, it must be stopped and restarted to use the new configuration data.

      5. To stop FoxAlert, from a command prompt, run the following command:

        D:\> pref –<GCLBG> amcmd "quitam on; exit"

        Where:<GCLBG> = station host name.

        For more information, see Workstation Alarm Management (B0700AT).

        To Configure FoxAlert for Removal of SENDCONF Message Upon Acknowledgement of the Message (unsuspend)

        1. In D:\usr\fox\wp\data, make a copy of init.user.rel.

        2. Rename the copy init.user.

        3. Open init.user with WordPad.

        4. Search for the line that contains "#CONF_RTN=N."

        5. Remove the number symbol (#) from the line at the first character position and change =N to =Y.

        6. Save the changes and close WordPad.

        7. Reboot the workstation to enable the changes.

          TitleResults for “How to create a CRG?”Also Available in