PortmanBlue
Member
Hi, I have an application in which an operator is able to load one of four stations by pressing a load button and can cancel a load call by pressing a cancel button. Once a load button has been pressed that station's number (1, 2, 3 or 4) is loaded into a stack using the FFL instruction. Once the station is complete the station number is removed from the stack using the FFU instruction. If a station which has been loaded is cancelled before or during processing it must be removed from the stack.
My first question is, is using the FFL/FFU instructions an appropriate approach? My second question is how would I go about removing a cancelled station number from the stack when the cancelled station could be positioned anywhere within the stack?
My first question is, is using the FFL/FFU instructions an appropriate approach? My second question is how would I go about removing a cancelled station number from the stack when the cancelled station could be positioned anywhere within the stack?