IsProg();
result:
IsLicenseValid, IsUIReady, IsControllerReady, IsControllerRunning, IsProgramLoaded, IsIdle, IsEstop, IsStop, IsPause, IsCmd, IsJog