Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Command return codes / error messages

&pagelevel(4)&pagelevel

The SDF-P and SDF commands return a standardized command return code that is made up of three components. These components indicate how the command was executed or whether an error occurred.

The command return code consists of the following three components: Subcode1 (SC1), designating the error class; Subcode2 (SC2), which returns additional information on the error class; Maincode, which returns a seven-byte error code to which a message text is allocated.

Request subcode1

SUBCODE1( )

Returns as a result the value 0 if no error has yet occurred, or the error class of the last error to occur;
i.e. Subcode1 for the last command which was not correctly executed

Request subcode2

SUBCODE2( )

Returns additional information on the error class.
SUBCODE2( ) needs to be called only if SUBCODE1( ) returned a value that was not equal to 0

Request maincode

MAINCODE( )

Returns the 7-byte error code that exactly describes the message class and the error; the error message for this code can be requested with the MSG( ) function or the command HELP-MSG

Request error message text

MSG( )

Returns the message text that is allocated to the specified message code, in the specified language