Mitsubishi — 3.14.3.10 Others

Chapter 3 Creating and Editing Screens  GETLASTERROR (Get the Last Error Value) Equation Var1 = GETLASTERROR Explanation This command is used to get last error value. If there is no error, the result of GETLASTERROR will be 0. Even if each Macro is executed simultaneously, the error messages will not affect the macro. For more details on error code information, refer to section 3.14.4 Macro Error Messages on page 3-374. Remark  Var1 can be internal memory only. Example Get the last error value and save into $0. 3-370 Revision May, 2010