Using a pointer or condition Don't know what to call this one.

Kipper

Member
Join Date
Sep 2014
Location
Belvidere IL
Posts
19
We have a repair hole that carriers come into. As they come in they pass a RFID reader and each carrier has a tag. The repair hole can hold 5 carriers. On my PV I show 5 displays.

If you look at my logic where there is a 0 it will write the carrier ID. How can I make it so it would only write to one location not all of the locations with zeros.

Clear as mud

Carrier repair cue.PNG Carrier repair logic.PNG
 
Hi, I'm not a hundred percent, but you may have to check the connection for the numerical displays in your HMI. Assign each display an address from your logic. I don't mean to say you don't know this, but I've made that mistake. Or use some copy instructions in logic and hold out the others in the queue until a new carrier is present. Just a thought.
 
The way I have handled this in the past is add a latch of the same bit on each of the branches in the selection logic then use normally closed contacts of that bit as conditions on each of the branches. Add a single unlatch after the selection logic. This will insure that only the first detected case will be services in each scan.

Keith
 

Similar Topics

Hello Folks! I'm still trying to get the hang of using STL and Pointers in Step 7 (V5.5). For background, I'm writing a sample application...
Replies
7
Views
3,265
Hey all, Having a little trouble figuring out a clean way to do this. What I'm trying to do is copy a serial number that is read from an RFID tag...
Replies
11
Views
4,230
Hey everybody, I've been trying to write a function in STL that takes an indexnumber and a UDT type to calculate a pointer to specific UDT in a...
Replies
12
Views
3,771
I have been building ANY pointers in the TEMP area by declaring a TEMP variable as type ANY and then MOVing the required data into the L stack...
Replies
31
Views
29,992
Hi all....... someone knows if is possible in S7, using the indirect adressing by means of a pointer L P## to read a data struct defined as...
Replies
5
Views
3,708
Back
Top Bottom