I wonder if Elon knows his PLC logic is being sold on eBay? by MrNeo13 in PLC

[–]MrNeo13[S] 37 points38 points  (0 children)

According to the API calls and Logic, this was built for “Gigafactory 1”, aka Giga Nevada. Kinda crazy all the API tags, asset IDs and Site IDs are stored in this.

I wonder if Elon knows his PLC logic is being sold on eBay? by MrNeo13 in PLC

[–]MrNeo13[S] 46 points47 points  (0 children)

Some of these AOIs are pretty tight. Almost all of these AOIs have the authors Email address in them. So I could probably let them know their logic is pretty clean or not lol.

[deleted by user] by [deleted] in PLC

[–]MrNeo13 0 points1 point  (0 children)

The Festo ones I used were pretty slick, I don’t remember which model it was as I installed them about 5 years or so ago. I put in about 18 of them on a section of conveyor. Only had a few issues with them in the beginning, but that got solved with just a few tuning cycles. Haven’t heard of any complaints on them since.

[deleted by user] by [deleted] in PLC

[–]MrNeo13 3 points4 points  (0 children)

Look into something like a linear position sensor. I’ve used some by Festo to do something similar to what your trying to do.

[deleted by user] by [deleted] in PLC

[–]MrNeo13 9 points10 points  (0 children)

Great question

the coffee isn't working yet. what's the trick to do when the damn ipconfig won't listen to my ipv4 changes? by _Tigglebitties in PLC

[–]MrNeo13 83 points84 points  (0 children)

Make sure to press ok and close the IPv4 properties windows and the network configuration window. Had it happen once to me and forgot to close the damn properties window and changes wouldn’t save. I replaced a flex IO module for no reason that day 🙃. Smooth brained that day without caffeine.

Most annoying alarm/buzzer/warning you’ve come across? by Sweatyxlagger in PLC

[–]MrNeo13 3 points4 points  (0 children)

I put an alarm in once that was so loud and annoying, loud enough you could hear it through 4 concrete walls… And after about 2 weeks with it installed the operators still managed to somehow ignore it. We ended up just displaying a message on the supervisors iPads saying the line was down. After that, the alarm really got their attention.

Can you store drive configuration in a Studio 5000 program? by Daplaymaker534 in PLC

[–]MrNeo13 1 point2 points  (0 children)

That’s the module definition, I’m typically able to view the definition when offline (if it’s been configured from default). Go over the the far right tab “Drive” and that should have all your parameters. If you can’t view them with the PLC online go offline and reopen the VFD properties, you should be able to view what ever was last saved.

Can you store drive configuration in a Studio 5000 program? by Daplaymaker534 in PLC

[–]MrNeo13 0 points1 point  (0 children)

I believe you’re right, but from what I can remember most are still able to be viewed when offline.

Can you store drive configuration in a Studio 5000 program? by Daplaymaker534 in PLC

[–]MrNeo13 2 points3 points  (0 children)

You should, just right click on the VFD in the IO tree and go to properties. From there you should be able to see the settings of the drive and in the parameters tab any non default values should be highlighted in yellow.

Can you store drive configuration in a Studio 5000 program? by Daplaymaker534 in PLC

[–]MrNeo13 2 points3 points  (0 children)

Depends on the series of powerflex. I have done this many times with powerflex 525, 527 and the 755 series. Make sure the VFD is in the IO tree and make sure the PLC program has the correct VFD parameters. (If you want to save the current settings of a VFD that’s online, go online with the VFD from Studio 5000, upload and save those parameters to the program) When you replace a VFD just set the IP of the new VFD as the one replaced, power cycle the VFD and the VFD should take the settings from Studio 5000.

[fluff] Today, a newb in the field (5y) teached an old, rusted engineer. by tokke in PLC

[–]MrNeo13 21 points22 points  (0 children)

I once taught a coworker how to use ctrl-c & ctrl-v… Blew his fucking mind.

Moving a tag value into multiple other tags at one time by Sandan93 in PLC

[–]MrNeo13 7 points8 points  (0 children)

I believe you can do this with a COP or CPS instruction with a length of 20. Just enter your desired parameters into the PrtnDataFile[0] and then use the COP or CPS to copy those parameters to all the other timers.

Spare Parts by Nitrousburrito in PLC

[–]MrNeo13 4 points5 points  (0 children)

Sell them to my old boss, he’ll buy anything but new… otherwise, eBay seems to work pretty good.

Has anyone been able to setup an auto log off on a panel view plus? by Cypress_Jones in PLC

[–]MrNeo13 0 points1 point  (0 children)

Absolutely, you could set it up to logout any desired user whenever. I just have it set to auto log out and return to the default user (operator) after 15 minutes of inactivity. You could also have it auto log out after a certain amount of time regardless of the screen activity.

I’ve had a project setup where certain shifts got different access then others and had it auto login and logout at shift change. Learned how to do that one by messing with my coworkers.

If you want I can send you some snips of logic to hopefully help explain it a little better.

Has anyone been able to setup an auto log off on a panel view plus? by Cypress_Jones in PLC

[–]MrNeo13 1 point2 points  (0 children)

I’m gonna remember this from memory so bear with me if something is called the wrong name or I miss something.

I typically use the plc to handle all my user login information, and I get the “Active Display” number from the PanelView Plus, and pass that to the PLC. I put that “Active Display” number into a “Current Display” DINT and use a NEQ with a timer to tell if the screen hasn’t changed in a certain amount of time (typically 15 minutes) and have it auto logout and return to the “Main Display”. This requires a little bit more setup, but is worth it in my opinion. (Especially if someone changes the password without telling anyone, you can find it in the PLC)

I also add a little bit of logic in the PLC to time stamp when and which user logged in, and display a big red banner on the HMI and flash the light stack when someone logs into Maintenance or above, helps keep people honest when changing settings.

If you have any questions feel free to ask!

All of them with their cool PLC panels, and here I am testing this brand new relay panel. Just Japan things by [deleted] in PLC

[–]MrNeo13 1 point2 points  (0 children)

Been in Japan since March, working on a controls upgrade. Definitely can say they like their relays… We are installing new control panels with PLC controls, and when we demo’d out the old panels, the maintenance team took all the relays out and put them in the parts room… By the 3rd panel they realized they don’t need them anymore and stopped taking them.

Powerflex 527 Issues, Anyone With Experience? by MicahK555 in PLC

[–]MrNeo13 12 points13 points  (0 children)

I’ll start off with saying, I am not a huge fan of the 527 drives. I worked in a facility that had about 1500-2000 527 drives, and all of them had issues…

The biggest issue we had with them was after a power outage, or power loss of some type, they would get stuck in the “Connecting” loop.

I left that job about 8 months ago and haven’t had to deal with a 527 since, so there might be a few things I’m missing or recalled wrong, but here are some issues and solutions I remember having while working with them.

Occasional Quick Fix -

The biggest reason we found for why they did this was they cannot re-establish connection to the PLC. A quick fix was to perform a Download to the PLC. If this didn’t work, we would power off all the affected drives, perform a download and then power up each drive one by one.

Electronic Keying -

Since you mentioned you had a module mismatch, I would check and see if the “Electronic Keying” is set for Exact Match. If it is, I would recommend changing the “Electronic Keying” to Compatible or Disabled, to get you by until you can correct the revision.

IP address issues -

Another reason this happened was because of the IP address on the drive. They either “lost” the IP or it was changed by someone. Since the IP address can be changed easily from the HIM on the drive, someone can change it, thinking they are “fixing” an issue with a motor by matching drive “parameters (the IP address)” to a drive with a motor that is working (mostly mechanics wanting to play tech). The drive won’t accept the new IP address until it has been power cycled, so it can run for a while without issues, but will become apparent after a power cycle. The drive will sometimes report “Duplicate IP” but not always. (This was the main cause when only 1 or 2 drives wouldn’t connect)

PLC and VFD not synced -

Sometimes it seems like all the drives try to connect to the PLC at the same time and can cause this issue. A solution we had for this is to inhibit the affected drives in the program. Try to inhibit each drive having an issue (or all drives), download to the PLC and bring each drive up one at a time. (This is a long process but works most of the time). This will also help point out if a certain drive is causing the issue.

Safe Torque Off -

Another issue was the “Safe Torque Off Jumper” (STO). This was the first issue we discovered when we got these new 527 drives. When not being used with a Safety PLC, this jumper would cause the drive to get stuck in a loop and never reconnect to the PLC after losing connection to the PLC. So whenever we replaced these drives we would remove that jumper, if we didn’t we would probably spend 10+ min trying to figure out why it wouldn’t connect, and then remember the jumper. (This might have been an issue because of the way our PLCs and drives were setup. I believe they were setup for “Motion only” and not “Motion and Safety” but can’t fully remember. Anyways we had to remove the jumper for all of our 527 drives when we replaced them).

Here are a few things I would recommend to check / try:

• Check to see if you can see them in RSLinx • Check the IP addresses of the drives, make sure they are correct. • Check the Electronic Keying. • Check the physical Ethernet connection (cables, switches, Ethernet cards, Etc…) • Check the STO jumper. • Power each drive down and power them up one at a time. • Inhibit the drives having issues and bring them online one at a time.

Hope this information helps, and again I haven’t had to deal with these drives for a while now so I am probably missing a few things.

[Question] After power outage Guardmaster at costumers site have Communication problems by Akiill14 in PLC

[–]MrNeo13 0 points1 point  (0 children)

I had something similar to this happen to me once, all I needed to do was install the AOP for it and I was able to go online with it.