/r/PLC

Photograph via snooOG

This sub is dedicated to discussion and questions about Programmable Logic Controllers (PLCs): "an industrial digital computer that has been ruggedized and adapted for the control of manufacturing processes, such as assembly lines, robotic devices, or any activity that requires high reliability, ease of programming, and process fault diagnosis."

Description

This sub is dedicated to discussion and questions about Programmable Logic Controllers (PLCs): "an industrial digital computer that has been ruggedized and adapted for the control of manufacturing processes, such as assembly lines, robotic devices, or any activity that requires high reliability, ease of programming, and process fault diagnosis."

On topic subjects

  • News and articles about PLCs
  • Questions about PLCs
  • Homework help; but make it clear it's homework
  • PLC internship, employment and education questions

Off topic subjects

Rules

  1. Be civil: do not insult; no all-caps, no excessive "!" and "?", please.
  2. Submissions must be on topic
  3. If asking a question, ask the actual question, fully yet concisely, right in the title
  4. No spam; no self-promotion (*); no commercial content. Any ads (offer or wanted) go to the weekly thread
  5. No shit posts (memes - pictures with superimposed text - are OK)

(*) At mods' discretion, certain self-promotion submissions from people who contribute to this sub in other ways may be allowed and tagged with the "Self-promo" flair

Complete rules:/r/plc/about/rules/

Please click "report" on spam

Related sub-reddits:

/r/processcontrol

/r/controltheory

/r/askengineers

/r/askelectronics

/r/arduino

/r/EngineeringResumes

/r/PLC

77,792 Subscribers

1

TIA Portal Variable Names Length

Been trying to find out if there is a limit on variable name length in TIA portal, using structured text. Not managed to find anything conclusive. I am also creating my own types

0 Comments
2024/04/04
17:08 UTC

4

Saying goodbye to a real one today 🫡

Served my company for 20+ and someone else before that also. Still mint

1 Comment
2024/04/04
16:49 UTC

1

Best PLC for use with Ignition

Looking for recommendations on the best PLC for use with Ignition.

We are looking at changing from our current controller as they appear to have limited experience in working with Ignition.

Some additional information: We need 8 analog inputs, 8 analog outputs, 16 DI and 16 DO. Each of our projects has several of these controllers all linked together.

We are looking for recommendations on PLC companies that have extensive experience working and integrating with Ignition.

​

3 Comments
2024/04/04
16:16 UTC

1

iFix to FTView conversion tool?

Is there a conversion tool to go from iFix to FTView? Or is building the FTView application from scratch based off the iFix the only option?

Thanks!

3 Comments
2024/04/04
15:42 UTC

1

Perplexing issue/question about 750-347 Fieldbus Coupler

I have a WAGO FieldBus Coupler (750-347) with some nodes in this order

  1. 750-602
  2. 750-1406 (16 bit Digital Input)
  3. 750-1406 (16 bit Digital Input)
  4. 750-1504 (16 bit Digital Output)
  5. 750-1504 (16 bit Digital Output)
  6. 750-600 (End Block)

I have several inputs lighting up on the first board (Subindex 1).

I'm using the command of CAN_SDO_READ(3, 0x6100, 1) to read the inputs on the board. Is there a way to actually read each input separate and check if they are off or on?

I may not be explaining this correctly so please let me know.

0 Comments
2024/04/04
15:05 UTC

1

Sysmac Studio Verson Rollabck | From v1.57 to v1.56

Has anyone tried to downgrade to a previous version? I found a noticeable glitch in the 1.57 when adding Ethercat modules. I want to roll back to 1.56. Any suggestions would be helpful. currently going through version 1 manual https://assets.omron.eu/downloads/manual/en/w504_sysmac_studio_operation_manual_en.pdf

Let me know! thank you

0 Comments
2024/04/04
14:49 UTC

1

Allen Bradley (v. 20 something) firmware change caused issues.

Hi all,

​

I appreciate you taking a look at my post. I need help remembering something from the late 2000's to 2010's. I seem to remember talk about there being issues when going from Studio 5000 firmware v. 20 something to the next one. The issues were it destabilized other programs on the computer. The solution was to make VM machines of before this firmware upgrade and ones for after the upgrade. I want to say it was v. 21 to v. 22, but I'm just guessing. Does anyone remember this or is my dementia having a good time?

​

What brought this up is I'm researching some old programs for my company. The programs are v. 24 and I instantly thought of the few conversations of the past and job sites where we had to use virtual machines for different programs. I want to be cautious if my memory is correct.

​

Thanks for your help everyone.

7 Comments
2024/04/04
14:17 UTC

1

Autofill using Siemens TIA Portal

Does anyone know if it's possible to implement an autofill option for user login in a TIA Portal project (on a HMI panel)?

If so, how exactly? 🥲

6 Comments
2024/04/04
12:50 UTC

6

Rockwell - 2 Engineers doing development on same project remotely?

Looking to see if there is a good/best way to accomplish this.

We have 2 engineers that are developing code in 2 different states (offline from PLC). Their Rockwell VMs they are currently using have emulators and it would be ideal to have all code in the same project.

I was thinking if I could leverage Asset Centre, or maybe even put up a VM in Azure that they can both VPN into. I'm sure someone has done something like this.

Any suggestions?

16 Comments
2024/04/04
12:45 UTC

1

Ignition Gold Cert test

I just submitted my second attempt at the gold test. I'm pretty confident this time, but I was confident last time too so who knows?

Maybe it's because I'm just an idiot, but I found it to be very challenging, if not frustrating, mostly because the things they ask you to do don't always have material walking you through how to do that specific thing. On the flip side its probably a good thing because all too often in our line of work, "certified" means you either passed a very easy multiple choice test or went through a "monkey see monkey do" workbook.

5 Comments
2024/04/04
12:39 UTC

0

Cognex D9000 Issues

A few years ago when the D9000 first launched, I was implementing it in a machine. I would often run into this issue where I'd build my vidi model on my PC, it runs fine in my emulator, and then when I import it onto the camera, the cell gives a bad lexical cast error. Apparently this is due to the camera not having enough memory to process the network of the model. At the time, there was no way to check or tell if this would happen when your building the model. I might have to retrain the model 3 times before it would suddenly to decide to fit within the memory limit of the camera.

Does anyone working with them right now run into this issue? This was maybe 2 years ago when I ran into this. I want to use it again but really can't afford to be chasing my tail on this again. Has cognex implemented a fix or check to let you know if it'll work or not?

0 Comments
2024/04/04
12:19 UTC

1

HMI connection

Hi to all. I've been working on my project for our company. Due to cost cutting activity we use some parts from dismantle assembly line. I found a NA5-7W001S omron hmi. Is there anyone have experience how to connect this to KV-7500 plc using ethernet ip.

Thanks

0 Comments
2024/04/04
11:02 UTC

0

Working in PLC without a degree

Hi. I am a 19 year old living in Italy and in about 2 months I am about to finish high school. High school in Italy is 5 years and different high schools have different specializations. I chose I.T so that means in these 5 years I have done a lot of programming etc. Now I don't want to continue university and I am interested in working in the PLC sector. But my question is will it be possible for me to get a job in the PLC industry? Will they pay me as much as they pay somebody who has a uni degree? Do i need some type of certifications? Or is it possible for me to eventually work in another country?

Thanks in advance.

17 Comments
2024/04/04
11:00 UTC

0

Can't connect Wincc 7.5 SP1 to PLC S7-1500

Like the title says, we have tried everything so far. Exporting from tia as SIMATIC SCADA, trying different type of connections, adding different tags, we tried updating wincc, installing simatic net, and we have even tried connecting directly to the plc to a laptop and still nothing it cant establish a connection. Can someone pls tell me what we are doing wrong

Edit: Meant wincc 7.5 SP2

2 Comments
2024/04/04
10:04 UTC

2

Modbus serial - ethernet - serial

Hi, we have a moxa mgate3270 and we would like to know how to configure it. We have an existing modbus data collector that sends data to cloud (acquisite a8810) but we want to intercept the data by converting serial to ethernet (using mgate3270) so we can connect it to our opcua and send the data forward to acquisite a8810.

1 Comment
2024/04/04
06:54 UTC

2

Basic Industrial WiFi Adapter

Hello folks! I would like to recieve you recommendation for a simple wifi adapter for industrial use. The main feature is to remove the phisical Cat.5/6 cable and put a Wifi adapter instead, nothing more. I've reached the major brands like Siemens, Phoenix Contact and a feel other but I have a feeling that representatives are trying to push into solutions that are way beyond I need. For instance, Scalance family are priced beyond Earth, complete non sense. So I thought to reach you all that have real world life experience and may understand me more than those crazy representatives. Thanks in advance.

15 Comments
2024/04/04
02:19 UTC

8

Is realpars worth paying

I am looking forward to learn plc, i want learn tia portal and hmi I’m confused do i use realpars or udemy

9 Comments
2024/04/04
02:09 UTC

26

Budget PLCs?

I'll preface this by saying I'm a microcontroller guy, I'm not super surprised by the price of PLCs but I'm also coming from the super cheap micro territory. Are there any brands/product lines that stand out as "most bang for your buck" territory for someone looking for "prosumer" Grade stuff? I've been eyeing the newer Arduino PLC stuff but not sure how it measures up to industrial grade stuff.

81 Comments
2024/04/04
00:55 UTC

2

Timers and Structured Text

Hi all,

Looking for some help with this. I need to design a program where the FanLow turns on upon startup. The FanHigh turns on when the Thermostat/Heaters are activated (Not shown, I have that part finished). When the last thermostat is turned off, FanHigh runs for 4 seconds and then switches back to FanLow.

I can't figure out a way to implement the timer where FanLow = 0 and FanHigh = 1 immediately after turning the last thermostat off. It automatically switches to FanLow. Any suggestions?

​

Apologies if this breaks any rules, just trying to get some help as a new student.

https://preview.redd.it/e9bw2p3racsc1.png?width=807&format=png&auto=webp&s=8e12ba470b03c8f48ff334697806e5fa60517789

12 Comments
2024/04/03
22:20 UTC

2

Codesys vs Productivity Suite vs CCW

Title kind of says it all.

I'm building our first, from the ground up system (well, adapting a flat bed press to PLC controls, it's nothing but a few timers, relays, and buttons, most of which is malfunctioning ATM.)

The electrician is mapping it out and thinks 30ish IO will do the trick. It's probably less, but I can always expand if needed. It's a some what modular setup.

This is supposed to set the precedence for our plant moving forward, and it's mostly up to me at the end of the day.

Of course everyone wants every bell and whistle, on top of a fairly over-arching request of no touch panel.

And of course, management wants it to be cheap and running ASAP. What's new?

Some background and the situation:

I've used CCW quite a bit, but I am in no way vendor locked and I'm equipment agnostic; as long as it has the same longevity I'm happy. I was going to go with an AB Micro 850 2080 LCe 48 AWB (the whole thing is 120v and the electrician doesn't want to go 24v, I've already barked up that tree) and throw some analog modules on the front for hydraulic pressure measuring and some other goodies.

The plant has a majority AB stuff from PLC-5 onward (lots of ancient artifacts here) but there is everything from unitronic to siemens to ge-fanuc to AB to... so on.

An integrator once quoted them for a Micrologix system, but I want to stay away from RSLogix 500 if at all possible.

Then I started to wonder about AD and their offerings. It looks like a Productivity 2000 would be much better suited for both expandability and a 120v system. I've also been curious about Codesys, and saw they offer a CPU with that capability on there.

I was given the green light to quote a few options, so I'm going to spec out both an AB and an AD system for management, but I'm pretty sure they'll go with whatever I suggest. The electrician is a little apprehensive about AD's quality, due to working with their buttons and indicators and such, but from what it looks like, their PLCs seem to be up to Micro800 standards.

I'm *relatively* sure I'm going to suggest an Automation Direct based setup, but the only thing that makes me personally hesitate is that, if I leave, and they need one of the local system integrators to come in and work on the system, AD is a lot less supported than AB here in the North East USA.

I'm a little less sure of if I want to go with Codesys or Productivity Suite. For the quoting side, that isn't too hard because this is a plant and I just have to ball park it higher than it will come in at, so that just means I will spec out the system for the 622 CPU with Codesys since that is more expensive.

I will download both Codesys and Productivity Suite and poke around.

Anyone out there have both AD Productivity Suite/Codesys experience? I hop languages all the time, so platform differences don't freak me out, it's going to be in ladder no matter what, so I'm sure I'll catch on.

On the question of AB vs AD (and I have seen the thread on this question before, it's kind of what's making me lean towards AD) anyone want to talk me out of Automation Direct?

One thing about this machine. This is a VERY hot and humid environment. Like, maybe too hot for a PLC. We are going to run it pretty far away from the press itself, and there is an air-conditioned server room they want to put it in (I do IT stuff here too, but they just made me officially controls) that is close by. So if either of those units are more sensitive to heat/humidity, that's something I should keep in mind, just in case that server room turns out to be a no go and we have to put it in a remote cabinet.

Thanks in advance for the info.

EDIT:

IIoT is a long term goal of mine here. Nothing I need this moment, but if that tips the scales a little, then maybe it's useful info.

15 Comments
2024/04/03
20:40 UTC

4

Kepware Writing to mySQL multiple times per trigger

Ok, I know this i is simple, but my allergy meds got the best of me right now.

Using kepware to read 30 tags off a ControlLogix L71 Processor. The trigger goes high in the PLC and stays high for one second when there is new data in the array.

I have a datalogger setup to read these 30 tags and write them to a table in mySQL.

​

The first issue is the biggest. In this time frame the datalogger will write the values multiple time to the DB. I only need to write it once per trigger. I know it has to be in the settings, but I have played with several different things, with no luck so far.

7 Comments
2024/04/03
19:58 UTC

3

CompactLogix does not support Modbus TCP?

I'm assisting in the design of a project using AB controllers - Micro800s and CompactLogix. The customer demand is to use Modbus in every possible place, and only use other protocols where absolutely necessary.

As a result, we have to add a ridiculous number of goofy gateways everywhere to convert from X protocol to Modbus.
I'm looking over the network riser, and I see a device that uses Modbus TCP/IP going into a gateway.
"Huh? Why are we using a gateway if it already does Modbus?"
Oh, that's because the CompactLogix doesn't support Modbus.
"I'm sorry, wtaf did you just say? That literally doesn't make sense."
Yeah, they don't do it, so we have to use these gateways to convert to EtherNet/IP.
"So...the Micro800s do Modbus TCP, and everyone trashtalks them, but the bigger, beefier, more expensive, more 'feature-rich' CompactLogix doesn't do Modbus, the most popular industrial communication protocol...?"
Correct...

Is this accurate? Not sure if the CompactLogix legit don't do Modbus, or someone on my team is incompetent and doesn't know what they're talking about, or it actually can be done but it's so convoluted that we avoid it and just say "it can't be done"?

50 Comments
2024/04/03
19:47 UTC

82

Let's play a "oh you bought a Chinese machine to save money?" game. This is how well written the software usually is

62 Comments
2024/04/03
19:28 UTC

0

Has anyone used S7 400 plc as gateway to convert Profibus DP protocol to IEC 61850 MMS in substation application.. is there any guidelines how to achieve it? Is there any specific libraries or package need to be installed for using IEC 61850 MMS Server and profibus DP master?

We use Siemns S7 414-3 CPU along with CP 443 -1 & CP443-5..I have gone through many documents in Siemens portal still, I couldn't find a way.. please guide me if anyone have a solution

2 Comments
2024/04/03
19:12 UTC

2

Step 7 / WinCC Issue... Please help :)

​

Missing Software Package Error

So... we have a new programming laptop, and it seems like the old programs used WinCC Flexible

The new laptop has WinCC Flexible Advanced installed however I still receive this error and cannot see any HMIs on the project when opened up.

​

Installed Software

​

WinCC Error

Finally, when I try to open the HMI alone using WinCC flexible the error above appears...

What is the best way to combat this issue?

Many thanks!

8 Comments
2024/04/03
17:25 UTC

1

Blank Beckhoff HMI

Hi, I have an issue with a setup I have. I have a Beckhoff EK1100 connected via EtherCAT to a Beckhoff CP6606 screen. Everything was working fine, but suddenly the HMI just went blank with a mouse cursor on it. Rebooting shows the windows logo and all, and then the white screen again. I also noticed the EtherCAT port LED isn't flashing. Can anyone please help shed some light on the issue? Thanks.

9 Comments
2024/04/03
17:20 UTC

2

Create FTView SE user progammatically

I've acquired some RFID card/badge readers and am struggling to try to find a way to create a user (FTView or Windows linked) during runtime using Site Edition.

I wanted to have a button that runs a script that prompts for the creation of the new user or something similar to the built in buttons that the Machine Edition has natively.

That way I could give permission to selected users to create other users without depending on someone from tech area opening FTView Studio or Admin Console by hand and clicking and creating the user on demand.

I even accept solutions that may work in the background or as services or not related to the FTView Software toolbox.

Can anyone shine a bright light? Ty

Edit1: I'll try to make a POC using C#. NET to create a program capable of creating an account inside the AD and link it to a group. I did a simple test on a local station creating a local group and then linked this group to the security of the HMI Server, and whilst in runtime with the client open, I manually created a local user and bind it to the group. Later by logging on in the client the login went smooth and the user had the credential letters assigned and security accordingly. That'll be my workaround for now.

0 Comments
2024/04/03
17:15 UTC

0

Switch in HMI TIA PORTAL v16

Hi guys, Im doing some HMI in TIA PORTAL v16 but couldn't find the switch . Anyone knows what happen?

https://preview.redd.it/yn9bcmhomasc1.jpg?width=475&format=pjpg&auto=webp&s=91cc1e65dac2b133e9b4d2a3ad137be445259650

5 Comments
2024/04/03
16:44 UTC

1

USB to PanelView

At my work, we just ordered a PanelView Plus 7. Our current PLC is a MircoLogix 1500, and I have a USB to serial connector. Is there any special steps I need to take to connect them, or will they connect automatically?

4 Comments
2024/04/03
15:51 UTC

Back To Top