Priority problem

Given I have a PV+ and compact logix controller, I need to program three agitators to start in a specific ordered determined by the operators inputs via the PV+. The operator will determine who goes first, second and third (kind of a priority). I was thinking of setting up a register for each agitator where the priority would be stored and the PLC program would act accordingly. My question is how to make sure there is only one priority one, one priority 2 and one priority 3? Once the operator picks a priority, it cannot be used elsewhere. Is there an easy way to accomplish this? o_O
 
I would set up just one register and allow the user to choose only one value. Possibly a drop down selector or multiple pushbuttons pushing different values to the same tag. There are only 6 possible combinations assuming that each agitator must receive a priority. See table below:
Agitator
Priorities
Register Value A B C
1 1 2 3
2 1 3 2
3 2 1 3
4 3 1 2
5 2 3 1
6 3 2 1

The user can only choose from one of the six options. Use EQU instructions in your PLC to set the priority values for each agitator. This guarantees that there will never be two units with the same priority level.
 
Just have some bool tags in the processor. One goes true when 'Priority 1' is assigned, one goes true when 'Priority 2' is assigned. While you don't need one for the third priority, you might want to include it anyway for consistency and in case of future expansion.

Link the 'Priority X' assigned tags to the HMI to disable the operators used to select them so you can't pick more than one.
 

Similar Topics

Hello! I need an idea on how to implement the control of two sets of inverters connected to one transformer. The first set of inverters and the...
9
Replies
875
Views
Hello everyone, I'd like to ask you if you could help me with the following issue. I have a busbar which has 4 incomers (sources) to provide...
7
Replies
1,028
Views
Hello, I'm working on writing logic for 3 tanks. Basically 2 tanks are full of water (A&B tanks) and the other is empty( Tank C). All 3 tanks have...
6
Replies
1,430
Views
I have to start out by saying I am not a PLC programmer and I have basic programming skills but mainly use software as a troubleshooting tool. I...
0
Replies
1,516
Views
hello. In Intouch, I want the color of the alarm window in the header menu to change depending on the priority value of the tag. To do this, I...
0
Replies
995
Views
Top