will return an error code. It also needs
Types.RTS_IEC_RESULT An error code
optional result error code. Common result
) 0 = no_func; 1 [...] _teach; 1 = single [...] ; 1 = teach 1; 2
-Code sentence [...] Done BOOL bError BOOL ErrorID SMC_ERROR
returns ( c_diRuneError [...] returns ( c_diRuneError , udiLength=1