FIFO and Compare Data CX Programmer

Hello

I newby from here. I have a project with PLC CP1L Omron and CX Programmer for programming

In this project. Scanner as input and plc receive data in D100
I want to store 10 data in PLC Memory then display on HMI. After that the data will move (FIFO) if there is new data input from the scanner. Then the new data from scanner is compared with the 10 data earlier. If there is the same data then PLC output is active. please help with how solve it. Thank You
 
Is the data a string or is it an integer if a string then it will take up a register for each two chars this means for a ten char string it will require 5 registers.
In this case you will need to use XFER which I think is block Transfer from D100 (5 registers) to D105 with a length of 100 (however, not sure how Omron trats strings so it may be 6 registers for a 10 digit string due to the format chrs.
This will move the registers effectively like a shift register with a shift of 5 (6) blocks.
 

Similar Topics

I'm trying to find a simpler solution to how we display tag history in our HMIs today. This isn't for trending just the last 3 results. Right now...
4
Replies
341
Views
Hello, Long time lurker, first time poster. I am working with a CompactLogix 5069, studio 5000 rev 32 and an Ignition HMI. I have 8 different...
12
Replies
1,058
Views
Hey guys, anyone have a simple Queue / FIFO Add On Instruction - I'm looking at running 2/3 hot water units at all times, then turn one off and...
1
Replies
483
Views
Hi all! Looking for some advice. I am trying to set up a reject system that will kick of products from an input signal (thickness detection). I...
3
Replies
942
Views
I have a pick and place system. Where a robot(R01) drops parts in 3 different locations .R02 picks the part from any one of the locations. I want...
9
Replies
2,057
Views
Top