ettikudiappan
Member
I am having trouble using the FSC instruction in RsLOgix 5000. I want to search an array in a single scan and only on a rising edge. So I have an ONS instruction followed by a FSC instruction in "ALL" mode. The first time the rung-in condition goes from false to true, the array is searced alright. I reset the inhibit bit whether a match is found or not. But when the rung goes from false to true again, the FSC instruction is not executed. I have overcome this by reseting the found bit and also setting control.pos to zero. My question is, is it right way to use the instruction? From the help files I gather that I need to reset only the inhibit bit to start another search.