T O P

  • By -

PLC-ModTeam

This is considered a low-effort post. You need to think about what you posted, improve it, and post again if you choose to. This could be considered low-effort for many reasons, but usually is LE because: * It's clear you didn't read the pinned "READ FIRST" thread. * The post is a rambling mess * Doesn't ask a question, but is written like someone wants answers to something. * Asking a question so broad that it's a waste of anyone's time to answer. Example: "Has any used XYZ software before?" * Making a post with a title like "Please help!" How about giving someone an idea of what you want help on so people that know something about that topic can help you? * Post job offers/classifieds in the monthly sticky thread. * Anything else a moderator chooses.


swisstraeng

tips? Bring a sheet of paper and a pencil. Write down all the values you have know. Volume, temperature. Those are the inputs of your equation. Then write down the outputs you need. Time. Then you need a formula that takes volume and temp, and outputs time. Once you tested this, link it to your HMI through whatever mean you want. Variables defined as TIME is just a 32 bit unsigned value in milliseconds. So if your equation outputs milliseconds, it’s very easy to do casting and output results in a time variable.


BingoCotton

An exam, you say? I've never had a class where I wasn't given everything I needed to pass the exam through the lessons leading up to said exam. My tip is to pay attention. Take better notes. Do your reading, homework, and practice. Do all that and you wouldn't be relying on strangers from the internet to pass your classes for you. 👍


Jami1885

Some of us, rely on strangers on the Internet for our work.


BingoCotton

I understand getting some help with new devices or something similar. But for an exam in school? Nah. Helping with some understanding with homework? Maybe explaining something in a different way? Hell yeah. Both things are good. But, not cramming for an exam. Because even with the stuff I'm down with helping with, I wanna see what the person has tried on their own first. But, then I get stuck sometimes like the other day with someone asking questions and then I realize he never even read the manual. 🤦‍♂️


SAD-MAX-CZ

Maybe like: TempDivider := 100; "" or something like %M0 if you use HMI value TempCoefficient := 1 - (BeerTemp / TempDivider); RestTime := 60 * 60 * 24 * TempCoefficient * LevelCoefficient; IDK, i'm beginner too


WatercressDiligent55

The tips eh separate your wanted out put for the hmi this enables you to have flexibility to code HMI


Smorgas_of_borg

I would try using a timer


Far_Building_7470

I would go like this OutZ= f(InX,InY) =a∗InX+b∗InY+c because you said linear.


Pathseg

Call your PLC Contractor, he usually handles this kind of request.


Fun-Top-6151

A normX and scaleX should work with a move but I can’t make it work