PLC Help

edward.ortiz

Member
Join Date
Jun 2015
Location
Houston
Posts
28
I am working on a project that is basically opening and closing 8 different valves and using a mass flow meter. Where i am having difficulty is due to how to the read information that the end user will input into an HMI. The end user will have a screen with 8 different chemicals listed. The user will have to input numbers 1-8 specifying the order that the chemicals will be introduced into a mixer. The next information is the amount of pounds for that chemical. I am trying to figure out how to get the PLC to read, for example, the first line of information and read the order of chemical and how much weight. If you have questions in order to help me please let me know. thank you
 
That plc is a little outside of my comfort zone but I know you can do this with it.

I would set this up as an array of structures. The array size would be based on the greatest number of chemical additions you need to make. The structure would have (at least) two elements:
the number of the chemical to add
the quantity to be added.

You can display the information on the HMI in two ways. The first would be to display the total contents of the array on a single screen, basically two columns and as many rows as you have array elements. The user could then access any recipe item directly.
The other method would be to display one array element at a time, the chemical number and the amount to add, and cycle through these one at a time to access them.

Keith
 
You can make an UDT of the rows with two values, like kamenges said.
And this you can put in an array in DB.

Something like this, though in the TIA portal
step7_fc_parameter_udt_05_e.gif


This then can be added into the HMI.
ie

Code:
            chemical      amount
position 1     xxx        xxx
position 2     xxx        xxx
...
position 8     xxx        xxx
for something simple like this would use 16 i/o fields
 
Last edited:

Similar Topics

I have a network with 4 PLCs PLC1 is controllogix and PLCs 2-4 are compactlogix and they all need to communicate. The current way I have this...
Replies
8
Views
262
So to start off: I have no experience with PLC's, but I'm good at figuring stuff out, but I need some help to know if my PLC is just dead in the...
Replies
2
Views
115
Hi guys, I have no experience when working with AllenBradley PLC, but I hope someone could clarify the result of multiplication shown in the...
Replies
14
Views
2,196
To quickly test a plc output which is wired to a relay do I dob a cable between the output and 24vdc+ source I.e something with 24vdc+ live such...
Replies
6
Views
693
Back
Top Bottom