error reasons are
Types.RTS_IEC_RESULT Runtime system error
Err BIT 0 : No error
successfully. Possible error
GlobalVar (Method) SetSubprogramError
Ctx SMRE.Error
relative error of the
Inout errCtx SMRE.Error