
Section 6 Program Code Issues
Program Stop Complication
3BSE042835-600
101
Source name
The source name parameter of the AlarmCondBasic instance shall not be connected
to a parameter. By doing so, the Name parameter of the closest alarm owner will be
used as source name. It is therefore important that all objects with alarms have a
Name parameter. This Name parameter shall be assigned an unique value to have
the alarm objects to work properly.
Enable and Disable alarm from alarm list vs. Faceplate
Disable from the faceplate means disabling of XStat and XAct as well as disabling
of alarm/event. This means that the disabled alarm will be visible in the alarm list
after a Disable from faceplate or code. The standard library objects should monitor
the Alarm State and disable the alarm if the user then tries to enable the alarm from
the alarm list. It is also possible to disable an active alarm from the alarm list. Doing
so will however not influence the XStat or XAct outputs.
NLS for alarm and event
The NLS translator for alarms is discussed in sub-section
The condition name for the alarms shall be NLS-treated. This is done by assigning
an NLS-string as default value of the CondNameX parameter.
The parameter Message of AlarmCondBasic shall be connected to a string variable,
called MessageAlarmCondition. The value of MessageAlarmCondition shall
describe what has happened. If an alarm limit exceeded, the value of the limit shall
be included. The value shall be NLS handled. Example:
||SL_Greater_than_{1}_{2}\5\Degrees
which gives the following result in English “Greater than 5 Degrees”. See
Program Stop Complication
Just before the running program is stopped during a new download all the
asynchronous procedures return -15 as error code (cErrProgramStopping, the
requested operation is rejected because application program shutdown is in
progress). This is a highly probable error code, which the programmer has to take
Summary of Contents for AC 800M
Page 2: ......
Page 3: ...AC 800M Library Object Style Guide System Version 6 0...
Page 12: ...Related Documentation About This User Manual 12 3BSE042835 600...
Page 18: ...Naming Convention Section 1 Libraries 18 3BSE042835 600...
Page 108: ...SIL Mark Restrictions Section 6 Program Code Issues 108 3BSE042835 600...
Page 116: ...Standard Library Parameters Appendix A Names and Abbreviations 116 3BSE042835 600...
Page 119: ......