ALMAR Posted November 26, 2017 Report Posted November 26, 2017 Looking for FIFO (First In First Out) array program examples for Mitsubishi PLC iQ-R R04CPU using GX Works3.
kaare_t Posted November 27, 2017 Report Posted November 27, 2017 If you put the instruction on the codepage, and mark it then select F1 it will open e-manual viewer with information about the instruction... What specifically are you struggling with regarding the FIFO's in the Mitsu?
ALMAR Posted November 28, 2017 Author Report Posted November 28, 2017 I did a search in GX Works3 for Instruction Element selection FIFO and LIFO with no search results. Even call Mitsubishi Tech Support, and they were not able to find FIFO nor LIFO instructions. It does have Shift Left and Shift Rights instruction, but no FIFO nor LIFO.
kaare_t Posted November 28, 2017 Report Posted November 28, 2017 Ahh, sorry, forgot to mention that Mitsu doesn't name the instruction "FIFO", but FIF.... FIFO's: FIFW = FIFO Write FIFR = FIFO Read If you look in your manual (e-manual viewer) for the R-series, under chapter 3-7-7.5 (Data Table Operation Instructions) you'll have more instructions to play with. Like FPOP (LIFO-style reading).
WattUp Posted December 5, 2017 Report Posted December 5, 2017 I personally just use BMOV , MOV. I have seen maint techs get confused by FIFO before but setting it up with BMOV and MOV they seem to understand. BMOV D1000 D1001 K10 MOV D10 D1000
Fassil Posted February 17, 2022 Report Posted February 17, 2022 On 11/28/2017 at 1:30 PM, kaare_t said: Ahh, sorry, forgot to mention that Mitsu doesn't name the instruction "FIFO", but FIF.... FIFO's: FIFW = FIFO Write FIFR = FIFO Read If you look in your manual (e-manual viewer) for the R-series, under chapter 3-7-7.5 (Data Table Operation Instructions) you'll have more instructions to play with. Like FPOP (LIFO-style reading). I Want to add some details SFWR(FXseries)=FIFW(L-CPU) = FIFO Write SFRD(FXseries)=FIFR(L-CPU) = FIFO Read But disadvantage of this Fb is it can only store and return "16 bit data" other data type like Continuous String [50] , Real cannot be Input to this function. String of 2 Character that fits inside single "D" data register is possible (IMG JPEG - FIFO-1 and FIFO -2 ) 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now