MC-Basic:ERRORHISTORY$

From SoftMC-Wiki
Revision as of 11:19, 28 January 2021 by Nurit (talk | contribs) (ErrorHistory$)
Jump to: navigation, search

This query displays the log file containing the last 64 errors that occurred in the system. Each errol log includes the next fields :

Date

Time

Severity: Note, Error, Fault or Fatal Fault.

Code: The specific error ID (described in the Error Code List of the Installation Manual document).

Task: The program in which the error happened.

File: The name of the program or library, including the code/function, that returns the error.

Module: Interpreter, Language, System, Motion, etc.

Message: The short error description.

Syntax

?ErrorHistory$(<format>)

Availability

All versions

Type

<return value>: Long
<expression>: String

Range

<return value>: 0 or 1

Scope

Terminal

Limitations

Read only

Examples

?ErrorHistory$(0)

-->?errorhistory$(0)


Date Time Severity Code Task File Line/Addr. Module Message


21/01/200712:56:01 Error 3183 TPJOG.PRG TP.LIB 775 Motion "In group SCARA. Settling time expired"


See Also