jamesgsummers
Member
Hello everyone, has anyone out there ever made a FIFO using an FFL and FFU instructions on a Micro800? I have tried setting it up just as I would in Studio5000 but in CCW it doesn't seem to work the same. My purpose in this whole thing is to build an alarm queue. I started out trying to build a simple FIFO and just followed a youtube video that uses an FFL and FFU in studio5000, only I was using CCW. I had built the FIFO from the video using studio5000 previously so I know it works. So I began a troubleshooting process that ended up with a XIC on a rung with a FFL so I could toggle the enable bit and try to get this thing to do something. This is what I have at this point: a DINT as the Src tag, a single dimension array with 4 elements as the FIFO tag (typed in the block connector box as gbCurrentAlmQ[1,1]) ( I suspect the problem is here, this is only one element and I need a way to show that there are 4 but I can not figure out how to do that)(also tried replacing the [1,1] with [1..1,1..4]). With this set up if I set the FIFOCon Length to 4 and Toggle the XIC I get an error ID of 6, which the CCW instruction manual describes as the length of the FIFO tag and the FIFOCon tag do not match. If I change the FIFOCon length to 1 and toggle the XIC there is no error. Does anyone know why I can't make a FIFO that is more that 1 position?