Help loading FFL from different data sources

GTUnit

Member
Join Date
Oct 2009
Location
Orange, CA
Posts
401
Hi guys. I need to figure out a way to load a FIFO from 2 different tags.

I have 2 strings that need to get loaded into a buffer. (my FIFO)
Order does not matter.
Timing does not matter.

I have 2 scanners.
Scanners dump data to PLC.
PLC creates an Ethernet message to send data outside system.


I have only 1 socket connection available to send data from both scanners.
Therefore I need to sequence both scanner STRINGS into the Msg SEND buffer. (my FIFO)


When a scanner gets new data is sets a "New_Data" bit.
Whenever a scanner gets new data I want to load it into the FIFO.

Any ideas on how to put data from 2 separate tags into 1 FIFO ?
 
Just copy the data from tag 1 into a buffer tag, then load the buffer tag into the FIFO. Then copy the data from tag 2 into the same buffer tag, and load it into the FIFO as well.
 
You can use as many FFL instructions as you want with different data sources using the same control address. Each time an FLL is executed it simply adds to/changes the control tag information. A previous employer did this to capture multiple diagnostic occurrences (some in the same scan) for later unloading by a PC. The first time I looked at it I wasn't convinced but it does work pretty slick. If you are going to try and load multiple occurrences in a singe scan you would need to explicitly unlatch the enable bit.

Keith
 

Similar Topics

Hello all. It has been a while since I have worked with FTView Studio and having trouble remembering how to open an .apa in studio. I can't...
Replies
10
Views
3,150
Hello im hoping someone can point me in the right direction. I have a SLC-500 that the program has been erased. I'm being told it will require an...
Replies
3
Views
1,537
I have a new PLC I am trying to commission. It is a Siemens 319F. I downloaded the hardware configuration but now when I try to download the...
Replies
11
Views
1,915
Hi, Dear friends. in my PILZ PLC PNOZ m1p FAULT indicator is ON, PLC not running, i downloaded demo software from PILZ website. it has one D...
Replies
2
Views
6,361
Hi all, First of all, so I keep everyone square, I'm running a CompactLogix PLC with RSLogix5000. I'm looking for some help with an application...
Replies
7
Views
2,885
Back
Top Bottom