• No results found

Modifying the Data Base On-line 1 General Information

Chapter 5 Changing an Application Program On-line

5.2 Modifying the Data Base On-line 1 General Information

The data base in the Advant Controller 400 Series consists of a number of data base elements. Each one of these is described in the Data Base Elements Advant Controller 400 Series Reference Manual.

Some examples of on-line changes:

• Change of data base parameter, e.g., the scaling of an analog signal • Change of board type

• Addition or removal of modules and signals to/from the data base.

Since you can change the data base on-line, it is important that PC programs have access to the data base for read and write operations. The accessibility of the data base parameters for read and write operations is described in the Data Base Elements Advant Controller 400 Series Reference Manual.

The possibilities for changing the data base on-line are wide ranging. Essentially, the only limitation is that data base redimensioning cannot be done on-line. A more detailed description of possible on-line changes follows.

5.2.2 Modifying an I/O Module On-line

5.2.2.1 Modifying a Data Base Parameter

Wherever applicable, the data base parameters for modules and signals are divided into three functional parts:

• Basic functions • Limit value functions • Operator station functions.

Normally, you can change the parameters for the basic and limit value functions using the MDB (Modify Data Base) command or by connection to a PC program.

The part containing the operator station parameters reflects the status of the module or the signal as presented to the process operator. Consequently, these parameters should not be changed by way of a PC program. However, NORM_TR, which controls the event handling of the signal, is an exception.

$03/&RQILJXUDWLRQ$GYDQW &RQWUROOHU6HULHV5HIHUHQFH0DQXDO 6HFWLRQ &KDQJLQJ&RQWUROOHUVDORQJ$GYDQW)LHOGEXV

5.2.2.2 Modifying an I/O Board Type

You can change process signal board type, for example AI, if the new board contains as many signals as the old one. If the change also implies a change in the number of signals, you must first delete the old board from the data base before the new board is installed. Before commencing to delete a board, see Section 5.2.2.4, Deleting I/O Modules and Signals.

NOTE

You cannot change the module type for Series 800 I/O modules (for example DI820); you have to delete the instance and create a new one with the new call name (for example DI821).

5.2.2.3 Adding I/O Modules and Signals

New modules and signals require additional space in the data base. If the dimensioning is adequate, you can create and activate the new module using the command CRDB (CReate Data Base) otherwise the create procedure fails.

5.2.2.4 Deleting I/O Modules and Signals

Before deleting DB elements from the data base, it is important that you be aware of the following.

• PC programs contain direct references to the data base. They are not automatically made aware of such deletions.

• The functions for the Advant Station 500 Series Operator Station of the Advant Controller 400 Series (performed by the option module) create direct references to terminals in the data base that are included on any display of any operator station in the system. There is no automatic check of any on-line deletion from the data base.

• Since neither the PC programs nor the Advant Station 500 Series Operator Station discover deletions from the data base, both functions continue to address nonexisting DB elements. If a new DB element is created, it may fall into the slot vacated by a deleted DB element. This may lead to inadvertent reading from, or writing to, the new DB element.

When deleting I/O modules with I/O signals, it is recommended that you follow this procedure: 1. Make sure the module and its signals are not used by any PC program or Advant

Station 500 Series Operator Station display. If it is, delete all remaining references to it. You can use the LDBD/XREF command to identify any connection between the data base and the PC programs.

2. Delete the module and its signals using the command DDB (Delete Data Base).

5.2.3 Changing Controllers along Advant Fieldbus 100

For every Advant Fieldbus 100 there is a data base element which identifies the fieldbus interface. Be aware that a change in any of these DB elements may directly affect other DB elements, e.g., DSP elements.

Fieldbus interface elements cannot be deleted; they are deactivated by setting the ACT terminal to 0.

5.2.4 Changing Controllers along MasterFieldbus

For every controller along the MasterFieldbus, there is a data base element. Be aware that a change in any of these DB elements may directly affect other PC elements, e.g., COM-MP51 elements.

5.2.5 Changing the Data Base Part of Functional Units On-line

The following data base elements are parts of functional units: • AIC, AOC, DIC, and DOC

• GENBIN, GENCON, GENNOV, GENUSD, MMCX, and SEQ

• MANSTN, VALVECON, MOTCON, PIDCON, PIDCONA, and RATIOSTN. The following changes are possible:

Create new boards and signals using the CRDB command.

Delete boards using the DDB command. Make sure that the signals removed are not referenced by any PC program or Advant Station 500 Series Operator Station (see Section 5.2.2.4, Deleting I/O Modules and Signals).

Change parameters using the MDB command or by connection to PC programs.

The possibilities available for connection of the various DB elements are described in the Data Base Elements Advant Controller 400 Series Reference Manual.

5.2.6 Changing other Data Base Elements On-line

Clock Synchronization

The parameters of the data base element CLOCK_SYNCH are all changeable on-line. DS

New DS DB elements (Data Set) require dimensioned space in the data base dimensioning and may be added. On the other hand, a DS DB element cannot be deleted on-line. You can modify existing DS DB elements, e.g, new references to DAT DB elements can be added. DS DB elements are modified as follows:

• Set ACT to false.

Make the change (MDB). • Set ACT to true.

$03/&RQILJXUDWLRQ$GYDQW &RQWUROOHU6HULHV5HIHUHQFH0DQXDO 6HFWLRQ &KDQJLQJRWKHU'DWD%DVH(OHPHQWV2QOLQH

DAT

New DAT DB elements require dimensioned space in the data base dimensioning. • Create new DAT DB elements using the CRDB command.

Modify existing DAT DB elements using the MDB command.

Remove existing DAT DB elements using the DDB command. Make sure that the elements removed are not referenced from any PC program or Advant Station 500 Series Operator Station (see Section 5.2.2.4, Deleting I/O Modules and Signals). A DAT DB element can be referenced by different sources or destinations.

– PC programs

– Advant Station 500 Series Operator Station – MasterView 320

– EXCOM.

If these references are not deleted, you may encounter symptoms as described in Section 5.2.2.4, Deleting I/O Modules and Signals.

Misc. Boards

Changes to the data base for Misc. boards affect the system status displays for the node concerned the next time they are shown by the Advant Station 500 Series Operator Station.

MasterView 320

The data base for MasterView 320, TERMPAR, TERMGEN, TERMDIS, TERMDYN, TERMREF, and TERMSTR is not intended to be changed in any way other than through the MasterView 320 dialog. For a description of an exception to this rule, see the MasterView 320 User’s Guide.

Related documents