PLB_ERRORLOG Keyword


PLBWIN Only

PLB_ERRORLOG={filename}

 

This keyword specifies a path and filename of a file where untrapped PL/B program errors are to be logged. I f the 'path' is NOT specified in the {filename}, the log file is located in the directory specified by the PLB_SYSTEM keyword.

Note the following:

  1. If the log file size grows to be greater than 1,000,000 bytes, the log file size is reduced and logging continues.

  2. Each log entry record has a format as follows:

  3.  

    {date} {time} {runtime} {program} {error}

    Where:

    date
    YYYY-MM-DD
    time
    hh:mm:ss
    runtime
    Runtime version as returned by CLOCK VERSION.
    program
    PLB program name if known.
    error
    Available error information generated for untrapped error.

Example of single log entry for untrapped I03 error:

 

2018-05-11 08:32:14 10.0B PLBWIN 18 Program: 'xerror.plc' Error: 'I03 00000038 2 WINERR:0x2 File: myfile.txt'

 

 

See Also: PLBWIN Keywords, Compiler and Runtime Options

 



Compiler and Runtime Options PLBWIN_ERRLOCKTIMEOUT Keyword PLB_EXTEND_OPENUSEIP Keyword