Home › Article
FIFO Function in CX-Programmer
FIFO Function in CX-Programmer
This practice is to take advantage of an example I had created to test the operation of the FIFO Function in CX-Programmer.
To use the FIFO function, we will first use the SSET function where we will define the address and number of channels for our FIFO function, this instruction will be executed with the system variable P_First_Cycle.
Once defined, we will use the PUSH function to add the values we are registering to the stack; in my example, I used the variable D100, where I was forcing different values.
And finally, we use the FIFO function where the first one in will be the first one out.


Below is a small animation where you can see the operation.

September 13, 2012