Set Teleservice alarm
Component: | BS2000 |
Functional area: | Error logging |
Domain: | ERROR-LOGGING |
Privileges: | HARDWARE-MAINTENANCE |
Function
The MODIFY-HEL-TELESERVICE-ALARM command enables and disables the Teleservice alarm function. If the Teleservice alarm is on, the message “CALL TELESERVICE” is displayed on the operator terminal (console) when an error threshold is reached (see the MODIFY-HEL-CHECK command). When enabling the alarm function it is also possible to specify a period during which the message will be displayed, typically so that the alarm message will be issued during normal working hours only.
The command is rejected if HEL logging is disabled.
The SHOW-HEL-TELESERVICE-ALARM shows the current setting of the alarm function.
Format
MODIFY-HEL-TELESERVICE-ALARM |
Operands
ALARM = STD / *OFF / *ON(...)
Governs whether the alarm message will be issued when an error threshold is reached. If the alarm function is enabled (ALARM=*ON), it is possible to specify a period during which alarm messages are to be issued.
ALARM = *STD
The value defined by the system is applied: ALARM=*ON(FROM=*STD,TO=*STD)
ALARM = *OFF
Disables the alarm function. No messages are issued if error thresholds are reached
ALARM = *ON(...)
Enables the alarm function. Messages are issued when error thresholds are reached. Messages will be issued during the period indicated by the associated FROM and TO operands.
FROM = *UNCHANGED / <time> / *STD
Identifies the start of the period in which alarm messages are to be issued.
FROM = *UNCHANGED
The current setting is left unchanged.
FROM = <time>
Time at which the period begins.
FROM = *STD
The system default time is used (FROM=00:00:00).
TO = *UNCHANGED / <time> / *STD
Identifies the end of the period in which alarm messages are to be issued.
TO = *UNCHANGED
The current setting is left unchanged.
TO = <time>
Time at which the period ends.
TO = *STD
The system default time is used (TO=24:00:00).
Return codes
(SC2) | SC1 | Maincode | Meaning |
---|---|---|---|
0 | CMD0001 | Command successfully executed | |
32 | HEL0100 | Internal error | |
32 | HEL0105 | Bourse problems | |
64 | HEL0010 | Hardware error logging not active | |
64 | HEL0110 | Privilege error |
Example
/mod-hel-tele-alarm alarm=*std ————————————————————————————————————— (1)
/show-hel-tele-
alarm
% HEL0005 TELESERVICE-ALARM BY HEL IS ACTIVE. MONITORING-INTERVALL FROM 00:00:00 TO 24:00:00
/mod-hel-tel-alarm *on(from=8:15,to=16:45)
/mod-hel-tel-alarm *off ——————————————————————————————————————————— (3) ——————————————————————————— (2)
/show-hel-tele-alarm
% HEL0006 TELESERVICE-ALARM BY HEL IS DEACTIVATED.
/mod-hel-tele-alarm *on ——————————————————————————————————————————— (4)
/show-hel-tele-alarm
% HEL0005 TELESERVICE-ALARM BY HEL IS ACTIVE. MONITORING-INTERVALL FROM 08:15:00 TO 16:45:00
/show-hel-tele-alarm
% HEL0005 TELESERVICE-ALARM BY HEL IS ACTIVE. MONITORING-INTERVALL FROM 08:15:00 TO 16:45:00
/mod-hel-tele-alarm *on(from=*std) ——————————————————————————————————— (5)
/show-hel-tele-alarm
% HEL0005 TELESERVICE-ALARM BY HEL IS ACTIVE. MONITORING-INTERVALL FROM 00:00:00 TO 16:45:00
(1) | The MODIFY-HEL-TELESERVICE-ALARM command with ALARM=*STD selects the default setting of the alarm function. The SHOW-HEL-TELESERVICE-ALARM command which follows it shows how the alarm is set: The alarm function is enabled, and alarms will be issued at all times. |
(2) | Changes the period in which alarm messages are issued: messages will be displayed between 8:15 and 17:45. |
(3) | Disables the alarm function, as indicated by the SHOW-HEL-TELESERVICE-ALARM command which follows. |
(4) | MODIFY-HEL-TELESERVICE-ALARM with ALARM=*ON switches the alarm function back on, and SHOW-HEL-TELESERVICE-ALARM shows that the modified alarm period setting has been retained (see Point 2). |
(5) | MODIFY-HEL-TELESERVICE-ALARM with ALARM=*ON(FROM=*STD) sets the start of the alarm period to the system default value. The SHOW-HEL-TELESERVICE-ALARM command which follows shows the starting time is midnight. |