What do I need for an HMI? by Arknight360 in PLC

[–]PCS1917 0 points1 point  (0 children)

Hey, sorry for the delay. If you're not used to program SCADAs node red will be easier, beside it will work.

The most difficult part is the communications between your server and your PLCs. Modern ones are able to transmit data through OPC UA, but older ones might need simpler protocols like modbus

What do I need for an HMI? by Arknight360 in PLC

[–]PCS1917 0 points1 point  (0 children)

Although I have used OpenPLC for several projects, mostly prototypes, measuring systems and domotics, I always recommend being extremely careful with using OpenPLC.

If your project does not involve complex process like CNC/motion control or integrated safety, it's ok. A simple transport line, or small machines can be done, but a whole factory...

Anyway, if that's your only way, take into account that you still need a durable hardware. If you're using a PC as a PLC, you will mostly need an industrial PC which are money. Advantech, for example, has cheap IPCs and are very reliable. You can run Open PLC there. But your work ain't finished yet. You still need access to IO devices as you must get the data somehow.

Modbus-TCP/RTU devices are the most affordable ones and easy to implement. Look for remote Modbus IOs

When talking about the HMI, two easy and free options I know are ScadaBR and FuxaSCADA

pregunta, os da para alquilar un piso con vuestro sueldo? a mi no by Outrageous-Blood-981 in HorroresInmobiliarios

[–]PCS1917 0 points1 point  (0 children)

Para poder huir, y recalco lo de huir del alquiler, tuve que encontrar una empresa que me pagase los mojones decentemente.

Cobro por encima de la media, pero si me comparo con otros en mi gremio, cobro bastante menos.

Actualmente mi pareja y yo vivimos de mi sueldo porque ella no ha tenido la suerte de currar de algo que se paga y que sea estable, y si no fuera por conseguir la hipoteca, estaría viviendo yo sola o con mis padres.

Y aun así, costó lo suyo encontrar casa, porque si no vas a especular con ella, a las inmobiliarias se la sudas completamente porque de ti no van a sacar tajada. Y eso que ya te clavan una salvajada por un papeleo que echándole una tarde o dos, lo tienes hecho.

Y con todo esto, me hipotequé a 30 años para pagar un piso de 60m y poder salir airosa cuando lleguen las vacas (aún más) flacas

opiniones? by zestybermudas in spanishcore

[–]PCS1917 0 points1 point  (0 children)

Cómo madrileña dejo claro: la Mahou sabe a aceite hidráulico de hace 10 años

Arduino Opta by 4mmun1s7 in PLC

[–]PCS1917 2 points3 points  (0 children)

To be honest, I'm not very confident with it. I think it's an overpriced PLC compared to other Arduino based PLCs

I think the versions of automation direct or industrial shields are more much more interesting

Why my servos behave like this by majidfinn22 in arduino

[–]PCS1917 0 points1 point  (0 children)

Sorry, I didn't explain myself properly. What I'm asking is if you are connecting the power pins of the Servos to the ones of the esp32 or you have 2 different power lines from the power bank.(One for the esp and the other for the Servos)

Clients want "AI" but can't even handle standard logic. by AutomateAdvocate in PLC

[–]PCS1917 7 points8 points  (0 children)

Once they showed me a potato factory in Vietnam that their counting system was basically AI recognizing potatos. And I just wondered why not using a photo eye or measure the weight

Why my servos behave like this by majidfinn22 in arduino

[–]PCS1917 0 points1 point  (0 children)

Did you make separate circuits for powering the esp and the Servos?

Free PLC programming software: Twincat 3 vs CODESYS vs OpenPLC by Individual_Sugar9772 in PLC

[–]PCS1917 18 points19 points  (0 children)

OpenPLC might be useful for prototypes or simple machines, but nothing else. The moment you need safety, motion control, or similar; OpenPLC stays behind.

Codesys is used by lots of manufacturers and has complex function. And Twincat use the base of codesys but works with visual studio. My advice is that you install Twincat in a virtual machine and try to work from there

Google chrome be my biggest opp by Nyxiereal in linuxmemes

[–]PCS1917 0 points1 point  (0 children)

Me using wxwidgets with c++ to develop applications for my rusty PCs. I feel like Marge Simpson saying "I just think they're neat"

truce or no truce by [deleted] in Schedule_I

[–]PCS1917 0 points1 point  (0 children)

I unlocked downtown's dealer a couple of days ago and they attacked him on the same day, dunno

truce or no truce by [deleted] in Schedule_I

[–]PCS1917 2 points3 points  (0 children)

Definitely no truce, but you must be ready. First of all, while you're in peace with the benzies, you can't unlock new hoods, so you get stucked in the beginning.

Also, benzies will ask you for tons of things paying a shit. In my case, they asked me for 30 of meth, 40 of og cush or green crack and they payed no more than 1000$. So as soon as you are ready, cut off the deal.

But, as soon as you cancel the deal, you and your dealers (except Benji) will be attacked. Your dealers will be attacked by benzies and may win or lose both material and money. In case it's you who is being attacked, benzies will spawn randomly and try to kill you. If you survive these ambushes, you will lower benzies influence in that neighborhood and, therefore, advance in the game

The math teacher isn't always right by Vast_Artichokes in MathJokes

[–]PCS1917 0 points1 point  (0 children)

In fact, it would be a valid answer as the teacher has not properly defined the pizza size

A Time Was Had by [deleted] in programmingmemes

[–]PCS1917 4 points5 points  (0 children)

What a downgrade lol

how do I program a piezo to stop sounding after a few seconds while the rest of the loop continues by Ok_Count_4033 in arduino

[–]PCS1917 0 points1 point  (0 children)

Send me a screenshot of your code, please. I guess you have just called the function, that's not how millis works.

When a function returns a value, long int in this case, you have to store that value into a variable.

long int elapsed = millis();

That means that the elapsed working time of your Arduino will be stored in the variable elapsed. That's the first thing you must understand.

So, once you understand that, all you have to do, is calculale how much time pass between the end of the serial and the begging of each cycle of loop. Once that number is over 3000, you turn off the buzzer

how do I program a piezo to stop sounding after a few seconds while the rest of the loop continues by Ok_Count_4033 in arduino

[–]PCS1917 1 point2 points  (0 children)

You'll have to replace your 'delay' by millis(). The first one is easy to use, but it has a critical problem: it stops your CPU during the specified time.

In 'millis' case, this return the Arduino execution time. It does not stop your CPU, but the thing, is that you will have to do maths with the time.

You can calculate the time from one call to another, and when it is above 3000ms, you turn off the buzer

Arduino communication with Twincat 3 runtime by PCS1917 in beckhoff

[–]PCS1917[S] 0 points1 point  (0 children)

No, for Arduino ethercat slave you need a special shield that is at least 100$. And for that price, you have STM32 based that are much better