The error_defines
file contains the actions to be executed in the event of serious errors (e.g. robot failure):
N002: STOP N003: EXIT N004: EXIT NRDY: STOP TIME: STOP,REPEAT=YES
The archive system error code (for archive systems that are not ready for operation (NRDY
)), the appropriate action and the action operands should be specified for each error. The action operands are optional. Keywords must be used for the individual actions. The identifier A
can be placed in front of each keyword (but only if there is an automatic operator connected to the ROBAR server). The following entries are permitted as keywords:
Keyword | Meaning |
| Output to the automatic operator |
| Program termination [with output to the automatic operator ] |
| Stop archive system [with output to the automatic operator] |
Neither STOP
nor EXIT
should be used if possible, instead an appropriate action should be included in the message_xref
file (e.g. notify all BS2000 consoles by means of a message and then issue the SUSPEND-ROBOT-PROCESSING
command. Once the reason for the interruption has been removed, the RESUME-ROBOT-PROCESSING
command will be issued by means of an archive system notification).
ATOP
Output to the automatic operator
This keyword causes the archive system error code to be passed to the automatic operator. The appropriate actions (such as output to loudspeaker, or telephone dialing) for these error codes should be entered in the automatic operator menu. This keyword may be specified only if there is an automatic operator connected to the ROBAR server.
Example
N001: ATOP
EXIT
Program termination
EXIT
terminates the ROBAR system if the corresponding error occurs.
Example
N002: EXIT N003: AEXIT
STOP
Stop archive system
The effect of this keyword is to stop any further jobs being sent to the archive system in which the error occurred.
Action operands: |
|
The action operand REPEAT=YES
causes the current job (which ROBAR already considers as deleted) to be given preference when the robot status changes to ON
.
If the archive system sends an error message to ROBAR as a result of an action, the message is first displayed on the console of the appropriate BS2000 system. A check is then made as to whether it is an error message defined in error_defines
. If so, the actions defined there for the message are executed and processing of the BS2000 job is terminated.
If the error is not defined in error_defines
, the appropriate processing step in message_xref
is performed.
Example
The error_defines
file contains the following archive system error codes:
NRDY: ASTOP N002: ASTOP N003: AEXIT
In response to the BS2000 message
NKVT011 TAPE 'vvvvvv' DISMOUNTED FROM DEVICE 'mmmm'
the following ROBAR actions in the action list are to be executed:
:*:MF005: RC003,MR404,RC004,RC022,MR418;\ . . . MR668
If a negative acknowledgment with error code N002
is received from the archive system in response to the action RC003
, the following actions are executed:
The archive system return message and information on the error code are sent to the BS2000 system.
The archive system error code is sent to the automatic operator.
No further jobs are allocated to the defective robot.
The current job is not completed by ROBAR, i.e. the actions
MR404
,RC004
,RC022
andMR418
are not executed.
Structure of the entries
Comment lines always begin with /*
.
Each entry begins in column 1 of the line and has the format:
eno: keywd
where
| 4-character archive system error code, |
| Keyword + action operand. |