Reading the module count of XPU1


//read the ModuleCount of XPU1-Part2

nModuleCount:=fbXtsTcIo(1)-.PartTcIo(2).GetModuleCount();