< All TopicsList and set Normally Closed on photocells PostedNovember 4, 2021 UpdatedNovember 4, 2021 ByKasper Vestrup Search for all photocells in “Model”Set “Normally open/Normally closed” to “normally closedPrint status and name foreach (var item in Experior.Core.Assemblies.Assembly.Items.Values) { if (item is Experior.Catalog.Logistic.PhotoEye) { ((Experior.Catalog.Logistic.PhotoEye)item).plcActivation.NoNc = NormallyClosed; Log.Write(((Experior.Catalog.Logistic.PhotoEye)item).plcActivation.NoNc.ToString()); Log.Write("Photcell name = " + item.Name); } }