Reading the module count of XPU1//read the ModuleCount of XPU1-Part2nModuleCount:=fbXtsTcIo(1)-.PartTcIo(2).GetModuleCount();