UnityPro Help Please

IKnowNotHow

Member
Join Date
Feb 2011
Location
Victoria
Posts
1
Gday guys,
I could do with a little help from some experts...

Trying to write a program to monitor what's in a number lanes.

Currently, each lane is given an ID code (by the operator), and then whatever enters that lane is tallied up in the PLC.

I wish to compare across 10 lanes, and if any have the same ID codes, I'd like the respective counts in those lanes to be added together, giving me a combined total for that ID Code while it's running (which I can then use for other purposes).
I also want the total of the 'single' lanes as well.

At different times the operator may enter a new code in any lane, or may even shuffle the order of ID codes around into different lanes, (say move whats in lane 3 to lane 7, say going from a combination of lanes 2, 3 & 9 to the combination of lanes 2, 7 & 9) so it would need to be able to grab the details for the new combination, as well as the total for the new lane id.

Ive tried to do it in structured text but haven't been able to nail it successfully.
Does anyone have any sample code on something along the same lines, or have any advice on how best to go about it?

Appreciate any help and thanks for any assistance you may be able to offer.
 

Similar Topics

is it possible to external read the Forced_value list from a PLC using UnityPRO? I need to get this data. It could be via modbus, ops... or even...
Replies
5
Views
2,444
Hi, I'm wanting to write a rung that clears a whole output card (64 bits 4 words). I can do it in structured text for each individual bit but...
Replies
0
Views
1,305
Hi All, I'm new in UnityPro. Can you all guys help me on the UnityPro Programming? I need to create a Sequential Table (Recipe type format)...
Replies
7
Views
1,823
Can someone please help me to overcome the version issue of unitypro software. I was trying to transfer the program in to PLC and it throws this...
Replies
13
Views
3,666
Hi Everyone, Is there an RTO (Retentive Timer) function in UnityPro, or do I need to create the block on my own? Any tips would be appreciated...
Replies
1
Views
1,647
Back
Top Bottom