PLC Help

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
 

Similar Topics

Hello everyone, I'm interested in understanding how PLC-based monitoring systems can help identify early warning signs of mechanical seal failure...
2
Replies
238
Views
Hi everyone, I have an old Modicon PLC program saved as an .FMD file, which was created using FasTrak PLC WorkShop for Modicon. I can open the...
1
Replies
182
Views
This is my first time seeing this kind of plc and I'm having trouble figuring out what software is used to program it. If anyone has experience...
2
Replies
315
Views
Hi, I retired last year and need something to focus on. If you have a SMALL or SIMPLE project and need someone to create a PLC program, let me...
0
Replies
218
Views
The issue Im dealing with is that I have 100K units sold, all over the world. Those units keep logs, at about 16MB per day, and ship with a 16GB...
0
Replies
265
Views
Top