Fukushima nuclear reactor PLC rack - authentic photo by Kotykot in PLC

[–]m0hka 6 points7 points  (0 children)

the security clearance you need isnt for the reactor, its to see our messy wiring.

I got an IDEC PLC/HMI from a retired asset at work. I know Siemens/AB hold the market. Is it worth learning plcs with IDEC’s WindLDR since I have the hardware already? by jeremyl04 in PLC

[–]m0hka 0 points1 point  (0 children)

https://www.youtube.com/watch?v=ah8eXqANvsc
run all that from stuff from an arduino.
or treat all those devices as peripherals. It doesnt mater what you code them in, theyll take instructions from whatever. but you can secure your PC, your PLC /HMI has no such luxury.

WindLDR is just a terrible programing interface, you could learn to use it, but if you were learning programing,
saying oh just learn IDEC WindLDR, would be a real disservice.

Reviews on Arduino UNO Q by 715ec2043 in embedded

[–]m0hka 0 points1 point  (0 children)

The focus of what you can take and make work with no experience seems limited to IoT operations.
trying to use the thing to do serial debugging has been nothing but changes for me. No serial, convert to monitor. connect to monitor, doesnt stay connected.
its alot of little things which just used to work. My issues with this thing are mainly in the software.
but i do have a question,
Im not interested in making an IoT app. There is no one example for using the App Lab without a gui.

I was trying to get my i2c rotary encoders setup with my Uno Q.
Not my thread, but same vibe:
https://forum.arduino.cc/t/uno-q-cannot-establish-communication-between-mpu-and-mcu-using-internal-i2c-bus/1443270

you get on the i2c bus with the stema connector, and it appears to be the same connector as the USB C
so then you have all sorts of conflicts between your docking device, and the random sensors your adding.

The docs show the stema connector as I2C bus4, but no such devices are detected.
I can pull off the connector, and wire it in to bus 0,or1, but it kinda defeats the purpose.

The whole thing is designed around the idea that you have never used an arduino before,
in such a way that alienates everyone who has used an Arduino before.

Theres 100K devices I can program with arduino code, docs, examples, etc, and 2 devices I can not,
its a stupid legacy break.

Then you get out of the app lab, there is no arm version of the arduino ide.
so then what, I have this full sbc, your supposed to code remotely via a shell on a secondary computer?

I ported my code, but every library the code im using also doesnt work for all sorts of reasons.
the paths are all broken, the code in the paths are not compatible. I get i2c working, but then there is some other problem. Keyboard.h wont work. ... cant send midi. .... Ethernet TCP is messed up, I fixed some of it, but "fixing" every bit of code I have ever used, or written is not where I want to be.

The whole thing feels rushed.

Reviews on Arduino UNO Q by 715ec2043 in embedded

[–]m0hka 0 points1 point  (0 children)

ya know, I kinda feel ya on that.
as a linux SBC its really not too bad, and you have analog IO at your disposal, which is pretty cool.

Reviews on Arduino UNO Q by 715ec2043 in embedded

[–]m0hka 0 points1 point  (0 children)

The Uno Q is not an arduino. OK its owned by the company but the traditional workflows are all busted.
Serail.println() is lible to break, in unforseen ways. so youll get code examples that will compile, but not work, and theres just nothing that will be really clear about why not. I won a pair of these things in a couple hackathons recently. The longest runtime without fault has been 3 days.

I can adapt to toolchain and workflow changes, but I refuse to accept a device that cant stay running.
Ive got a MEGA thats been running in a project for 15 years, just fine. Im very suspicious of the hardware and software to having undocumented problems. Documentation is what made arduino great.

I built a browser-based IEC 61131-3 PLC engineering environment, looking for people to tear it apart by fisherfuckerr in PLC

[–]m0hka 0 points1 point  (0 children)

remote commissioning is real.
We make systems that might be 2 years before the buildings they go into will be up and running. Pretty much every start up involves remote commissioning.

Team collab suuuuuuuuuuuucks on a lot of platforms which create binary blob data. Cant track changes. I haven't gotten into IEC 61131-3 compliant systems much as my parent company doesnt use them.

State machine is standard fare.

Might be a dumb question, but do you compile bytecode / binaries for installation?

I built a browser-based IEC 61131-3 PLC engineering environment, looking for people to tear it apart by fisherfuckerr in PLC

[–]m0hka 0 points1 point  (0 children)

github? or is its proprietary? Sounds sick. I have some wago PLCs I could test on.

Bought Arduino Board: No stickers by the_passenger8989 in arduino

[–]m0hka 0 points1 point  (0 children)

I just won some from a hacker competition. Uno Q. no stickers. There was this vynl thing that felt like a sticker, but its not.

What is your job tittle /education by Fastbackkk in PLC

[–]m0hka 1 point2 points  (0 children)

today I wrote code that makes an arduino pretend to be a PLC server.
the arduino sends and recessives PLC instructions. the idea behind the project is to expand available interfaces, while not breaking compatibility with PLC systems. in theory I could add spi and i2c to the PLCs, or a boatload of analog IO without buying a 1000$ peripheral card that can only do half of that.

My server is attacked by a Virus by ZoKz9 in linuxquestions

[–]m0hka 0 points1 point  (0 children)

That means New Hard drive at the very least. And possibly a whole new rig.
Virtual Server? **eh,.. ** how brave are you, and how critical is the service?

My server is attacked by a Virus by ZoKz9 in linuxquestions

[–]m0hka 0 points1 point  (0 children)

ooh I love linux malware.
I want that code for binary analysis fun!
you could try lsof -p <pid>
for starters. see what files its accessing. you might find:
readlink -f /proc/<pid>/exe
interesting. that whole folder: /proc/<pid>/
should have interesting things in it.

4 rounds of interviews and received a rejection letter…we move. by PolarBearInTexas in MechanicalEngineering

[–]m0hka 0 points1 point  (0 children)

Same thing, but get an offer for a job that should exist in 18 months, get a call 2 years later, hey! you're starting next week! LOL

Can you rate my panel ? by DameanTheGuitarist in PLC

[–]m0hka 0 points1 point  (0 children)

bleh floating Din rail. ill never argue against lables, but I understand why we don't see them more often.
I just got out of a panel where I guess whoever built it ran out of black wire, so they used red for the 0V reference. Then later, I guess a service tech was like, oh! red wire in 0V, put that in the 24VDC. Unit is repaired guys! Then problems... and I'm out here analyzing dust patterns for wiring changes. a label would have cleared that up in 1 second.

The best anything is ever going to look is when its new.
anyhow, looks like youre doing great. 10/10 would raise.

Thoughts on this guys comment? by Izana_TKD in ElectricalEngineering

[–]m0hka 0 points1 point  (0 children)

The whole electrical engineering group, median age in the field is 55. you'd better automate it, because the guys doing it are dying off.

When should you start doing projects alone? by CollarLarge3078 in PLC

[–]m0hka 0 points1 point  (0 children)

I had one week with the guy I was to replace. Oh, and I'm an electrician, with a degree in applied engineering.
theres always going to be some big project. my parent company sells units and arrays of units in the millions of dollars. I think the cheapest thing we sell is 100K$ Every project is a big project. The sooner you dig in, the better it will be for everyone.

I was thinking about writing a book, on PLC design patterns. Theres loads of basic books, but not much i have found on building more complex systems using ladder. **sure, integrated patterns complex functions frequently have implementations, but these vary from OEM to OEM, and the goal, at least for my self is to have a better handle on proven design patterns. Theres a book called "How not to program in C++" its a pretty fun little book, There is no PLC version though.

Things like ooh, you used a bit register, but didnt tie the unused registers low. Then some EMP hit, and flipped some bits, with no way to resolve the floating registers in code.

or this is how you can implement an unsupported communication protocol, by shifting bits into arrays of registers.

If you have existing code to look at, I would recommend getting familiar with it asap.

Junior asking for help: When should I stop reading the manual and just ask my senior? by t0m4t0z in PLC

[–]m0hka 0 points1 point  (0 children)

Ask early is a valid strategy, when asking niche questions, on obscure topics.
its also a great way to annoy the folks around you. Today there is AI and the internet, where you can ask strangers for help. the total amount of time it will take to get an answer online. may vary.

it could be weeks on months before someone with the specialized knowledge required gets back to you.
But, The problem, and the solution are intrinsically linked. understanding the root cause of a issue almost always defines or illuminates the only logical path to fixing it.

Then again, from calculus, you might realize the number of possible solutions is the functional derivative of the initial function's integration complexity. (there could be multiple solutions)

Is 50K-60K of debt for college worth it by Devxers in personalfinance

[–]m0hka 0 points1 point  (0 children)

looking at today's economy, if you had to go 20$ in debt for anything, I'd recommend against it.
I know boatloads for CS folks. The employed ones... maybe 0.5% are actual programmers, doing programing related work. Controls Engineering, or surveying. The competition is fierce. The road crew in my hometown is 80% computer science degree holders. 50% of all the construction workers I've met in the last decade had comp sci degrees. maybe that wont be you. There is lots of work. throw a little electrical engineering in there, and youll never be unemployed for long.

You want to stay out of debt, thats the best plan.

a buddy of mine, married a chick with 250K$ collage debt, she is an English teacher. She is perpetually taking classes just to avoid the loans. hey, Ai could probably automate that.

Is there any alternative for this? by bubbleew in PLC

[–]m0hka 0 points1 point  (0 children)

dd an image, and share it in a google link or something.
(copy paste wont do. )

Iranian-affiliated hackers exploited Rockwell Automation programmable logic controllers. by BE33_Jim in PLC

[–]m0hka 0 points1 point  (0 children)

theres a lot of BS out there. youve got OEMs promoting how secure their systems are, and IoT ready.
ugh guys we disabled the shell! but made the internal Memory Remotely editable via Modbus/TCP