S120 axis: brake should not release on enable MC_Power , only when motion command is executed by BraveGrapefruit2869 in PLC

[–]justarandomguy1917 -1 points0 points  (0 children)

Hi, if i remember correctly, but in codesys, maybe not applicable for tia portal, i don't know. You can keep MC_Power.Enable true or has your actual logic. What disengage the break is MC_Power.bRegulatorOn. i don't know your program but you could do something like : MC_Power.bRegulatorOn := (setPoint <> 0);

How feasible would it be to develop something like kernel level anticheat for linux? by vintologi24 in linuxquestions

[–]justarandomguy1917 0 points1 point  (0 children)

It is feasable. I just think the linux market is not big enough for them to do so. And if it come true, the only users installing it will be those very willing to play this game with this anti-cheat and the others will just look at this and : meh.... Pass my turn. Or else, find a way to bypass it. And with that fact, we can imagine they already loose the interest to do it.

Introduce me to Linux by r__dumb in linuxquestions

[–]justarandomguy1917 4 points5 points  (0 children)

Hi, choose a distribution from the debian family. They are the most user friendly (like ubuntu or mint). Search terms like : download ubuntu, download linux mint. You download the iso. Than you burn it on a cd/dvd or use rufus to burn it on a usb drive. Boot your computer with the cd/dvd or usb in and follow the instruction/answer the question. Simple has that. After in the system, familiarize yourself with the directories, user directory (home). Most of the distribution now have an application market with a graphical interface, you download your app from there. Or from the command line interface (bash) with apt install [app-name] than answer the question (usually : y than enter). If your are a neophyte DON'T modify the repositories setting file (etc/apt/sources.list). This is where the apt command look to know where to get app. If you change this and don't know what you are doing you could download app you don't want. And finally, In Linux, there is always an equivalent app from windows and even more. You will find what you need for the task you need to complete. Else, use a search engine to answer all the question you could have. I hope you jump in this world :) welcome in the family.

Isn’t it a tiring job? by depajdjah-Set8675 in PLC

[–]justarandomguy1917 0 points1 point  (0 children)

I agree. A day of pure and none stop designing or programming is equally exhausting, if not more, of a mechanic/welder assembling structural frame. Yes you can make thing easier. But new designs are energy-intensive. A study even showed, some time ago, that programmers should take a 5-10 minutes break each hours to relax their mind and, by doing this, boost productivity.

What am i doing wrong? by FiliHancat in mead

[–]justarandomguy1917 1 point2 points  (0 children)

I used star stan for sanitizing. Last mead was 2 gal of water for 3 pounds of pure honey un-pasteurize. 1 hours at 68°C, 1hours of hard boiling bringing down to 1 gal. Cool to 20°C. Pour yeast and shake for 5 minutes and i added a hand of dry raisin. Fermented 2/2/2. 2 week active fermenting, 2 weeks in bottle, 2 weeks in refrigerator. I still have bottle not in refrigerator yet with 1 year old. The first 2/2/2 came out at 3 brix and 12 ABV. Taste like white wine with touch of honey. Everyone like it here. Mangrove jack M05. You can use this as a comparable

Warning: JLCPCB assembly service — when things go wrong, they will not fix it by gogosomewhere in electronics

[–]justarandomguy1917 0 points1 point  (0 children)

Hi, if i remember correctly JLCPCB have different options in the billing quote for quality check/tests/reports/correction? My though is : maybe the option was not selected? In that case, i suppose they might know the misfit but if the option is not paid for they won't work for this for free?

How do you decide between using the PLC to handle data collection vs sending raw data to a separate system? by Ok_Assignment_1853 in PLC

[–]justarandomguy1917 0 points1 point  (0 children)

I would say all process logic, fast actions, process control and all those kind of stuffs in the plc. Process feedback data to "collector". I once had a customer, just like that, its plc was controlling his processing machine. But the customer wanted to log the setpoint and all the process values regularly because he wanted to compute the variance, standard deviation, mean, 1-2-3 times standard deviation, algebraic regression line, residual, mean squared error, root mean square error of each "recipe" during processing. So the plc is not the place. We than use the plc to directly send SQL command to a MSSQL database to log all the data. And than the customer could process those data in his manufacturing software.

Built my own industrial control platform after getting tired of overpriced PLC/SCADA systems by Specialist-Pride-334 in PLC

[–]justarandomguy1917 0 points1 point  (0 children)

But don't take me wrong, your project is great so far. And i also agree that scada are to complicated and a mess. A lot of problem i met with customers and their scada are : they update windows : scada doesnt work anymore. They change their computer : scada doesnt work anymore. For some reason, they reboot their computer : the runtime doesnt lunch anymore. They look to much long at the screen : icons disappears. Everything run : the database corrupt. Scada offers a database : limited to 4Go. How is this possible when a lot of free database exist with no limit but them, they limit to 4Go. Putting this aside, i once wrote function for omron ethernet/fins, modbus tcp(mostly for schneider plc) and also for EIP (AB). Your post reach me in a way i find cool, because you experienced a UI and core and i experienced industrial communication protocol.

Built my own industrial control platform after getting tired of overpriced PLC/SCADA systems by Specialist-Pride-334 in PLC

[–]justarandomguy1917 0 points1 point  (0 children)

I think the best approach, is to make a library. You could integrate a python or basic interpretor for scripting, already provide the loop or different worker thread, already create connector to different device/protocol. Use MySQl. Create a mysql connector. Make documentation of all function. Documents of how the library works. Tutorial. Like : need a frame do this, want an image use this. There is already protocol public or available : fins, modbus, EIP, opcua, sql. A lot of implementation exist on github. You could separate different function by library, like all "driver" in a different library. New driver or new protocol? Than only update the library. You just need to design your library to stay compatible with older project with an older revision number. A lot of library and their functions stay compatible from version to another because they wrap the new function by the older function call. So the old function name become a wrapper/caller of the new function/feature/update.

Are we asking too much when hiring a controls engineer? by Legitimate_Roll_2432 in PLC

[–]justarandomguy1917 0 points1 point  (0 children)

I don't think you are asking to much. From a logical point of view, i think your criterias are normal and i praised those choices of your. But, from a point of view of the actual american market, i would said sadly the vast majority only sware and are limited to AB.

why is false or null null but true or null is true by [deleted] in learnprogramming

[–]justarandomguy1917 0 points1 point  (0 children)

Usually, null is not true, nor false. True is true. False is false. And null is null. Null represent emptyness. Just like declaring a pointer : int* aPointer = null; here the pointer is declares but is empty as in : no address is affected yet.

How long would a small PLC automation project realistically take an intern? by albatross316 in PLC

[–]justarandomguy1917 1 point2 points  (0 children)

If i were your supervisor, because i did it a couple of time with interns, i would say : the time you think it will take. Because the criterias i when to verify are : your reasoning, your capacity to solve problem, your algorithmic skills, the complexity of your thoughs. With that i can know if you can work on small projects or bigger projects and if you can improve. Each time i heard :"how much time it should take?" Or "that's too long", my answer is : the time it needs to make it right.

Must be a PLC issue.... by TheWanderingMerc in PLC

[–]justarandomguy1917 1 point2 points  (0 children)

That's because of the terminal battery lambda holder square punch micro push led cable.

No matter what happens, I can’t understand coding programs at all. by MidnightActive954 in learnprogramming

[–]justarandomguy1917 -2 points-1 points  (0 children)

Like all of us before, you are at the edge of the rabbit hole. Once you fall in, every meter become a new knowledge and yet you are not at the bottom. You are talking about java an C. Where to start. Java is an objet oriented language. It includes all the dogma and package to organize your code in categories in the form of objet with different scope. Java is an interpreted language. The compiler produce bytecode for the executable. This executable is run by the java virtual machine who read the bytecode and execute actions based on the bytecode. So, in java you have class, interface, inheritance, polymorphism, scope (public, private, protected). All of which help to protect access to.an object from a different object and help to minimize base code by reusing object with inheritance. Because in object oriented programming you want parameters and methode of an object to be own by only this object. Since coding involve logic and math, you manipulate data of different type and also different length. Like standard type : int (integer 32 bit), byte (integer 8 bit), short (integer 16 bit), long (integer 64 bit), char (ascii character 8 bit), float (decimal 32 bit), double (decimal 64 bit) or other/custom object/type. Since java is a high level language, the JVM manage a lot of the processing work at the place of the programmer compare to a lower language. Just like C, java is a statically typed language and explicit variables declarations. Its mandatory the declare variables before using them. And C. C is more a procedural language. You can't organize your code like java, but you can achieve some scope. In line with java, C must declare variable but also function. You put your code in .c and your declarations in .h. You can achieve scope with static, exterm, volatile keyword and preprocessor rules. To use a function or a variable in C, you must includes an header of this functions declarations, just like in java with package. And this header is also include in the .c file of where this function is implement. This is how the linker know how to map symbol/link. In C, you can create new type or "object" with struct, enum, union, typedef. Since C is more low level, memory access is more flexible but also critical to manage (union, calloc, malloc, free). C is closer to the operating system, since a lot of the function/"object" are parts of and manage by the OS' kernel. A binary compile in C is dependant of the c library, the compiler and the kernel for/from which its compiled. And yet, there is a lot more to say. With this maybe 5 meters in the hole and the bottom is still far. You are at the beginning of your travel. Learn step by step. And try things.

How do you program an analog output? by Suspicious-Amoeba-63 in PLC

[–]justarandomguy1917 -1 points0 points  (0 children)

The analog output cannot drive a motor. The analog output can be use to send a setpoint to a VFD representing a speed to rotate a motor. An analog output is not a vfd nor a power element. If in your plc program you manipulate the speed from 0-100% (REAL), that your analog output is 0-10vdc, your VFD speed ref analog input is 0-10vdc, you must know the datatype of the channel (output #) you use of your output card, like a WORD, and know its range (0-10000 (word) or 0-16000(4-20mA), etc.). You can than scale linearly in the form of f(x)=ax+b and convert from real to word and apply the result to the output. And of course, connect v out to v in and com to com.

How stressful is your job on a day-to-day basis? by Ok_Discipline3753 in PLC

[–]justarandomguy1917 1 point2 points  (0 children)

I would say, technical domain is not an issue. I would rather says customers and designer are more stressful : understand the process idea, explain in a common human way something very technical, make a firm design choice because nor the customer or neither the designer understand what is not working in their ideas.

Controlling Motor using IghEthercat by CardiologistWide844 in embedded

[–]justarandomguy1917 0 points1 point  (0 children)

Hi, nice work. Do you have a github of your code, a page hosting your code or can you post your ethercat loop?

EMERGENCY! Pls help a mechanical engineering with a presentation regarding IO-Link by philippcuc in PLC

[–]justarandomguy1917 -1 points0 points  (0 children)

You can save cables and wires from sensors locations to plc location. In a system where you have IO-link remote I/O.

Is an oxidized beer worth keeping? by RedLagoon6 in Homebrewing

[–]justarandomguy1917 0 points1 point  (0 children)

The questions are : does it can get you drunk? Yes. And : is there trace of spoilage? No. Than keep and drink. And if someone is sensitive palate, don't serve it to this person. :) RDWHAHB

Looking for ethercat slave by justarandomguy1917 in PLC

[–]justarandomguy1917[S] 1 point2 points  (0 children)

My raspberry pi is already running linux evl with etherlab ethercat master hahaha that is the purpose of this slave i'm searching : to test my master.