/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 (*); Employment 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/PLC

65,627 Subscribers

1

Micro850 as a Master using Modbus TCP IP

Hello, I'm trying to set a micro850 as a Modbus ster. So far I followed the instruction help and reference videos but it is still not working. The only thing I noticed is that I do not have the Modbus TCP Enable tick in the controller (see attached pictures)

Could this be my problem? Is this a firmware issue or a hardware issue?

6 Comments
2023/10/03
23:52 UTC

11

Datatype PSA

Congrats /PLC on finally exceeding 16 bits worth of members. Welcome to the 32 bit generation.

2 Comments
2023/10/03
23:45 UTC

2

Is PLCSim included in step basic v16?

Siemens licenses just overwhelm me. Is PLCSim included in a physical license step basic v16? I just found a v16 license for 90€ and I'm have purchased, just to play with factory i/o, to get used to Tia Portal again... but anywhere says if its included or not.

Thanks!

2 Comments
2023/10/03
21:52 UTC

2

Any of you work on something like this? Scientific instruments and such.

6 Comments
2023/10/03
20:06 UTC

65

When your project is simple but you take THE picture to impress your colleagues...

31 Comments
2023/10/03
19:57 UTC

1

Controlling a WEG driver with a Micrologix 1440

Hi, do any of you know with which rslogix 500 commands I can control a WEG CFW500 drive with a Micrologix 1440? I'm a bit lost since I've only been able to add the IP address to the channel configuration, but I don't know what are the instructions I have to use to send write to the drive.

1 Comment
2023/10/03
19:06 UTC

2

RS Logix 5 to Studio 5000 Question: Conversion Created UDT for PID loop

Afternoon y'all

Working on one of my first PLC conversions and after reading the manual I don't understand what remains for serious validation of these instructions and their parameters......it says: hey make sure we got the right tags in the converted instruction (they do) and that there aren't any other parameters missing with your shiny new PID Instruction (there aren't).

I looked through the conversion-supplied PID UDT and the original RS Logix 5 UDT and there's a lot more STUFF on the updated tag but I don't have enough experience tuning PID loops to know that any of the converted settings (which match the original instruction) are requiring pre-startup adjustment.....

Anyone got any helpful tips for a homie who has DEFINITELY already RTFM for this conversion? I really feel like i am good after making sure all the old parameters found the correct home....but I am also not gonna end up commissioning this so I want to make sure my fellow engineer will not run into horrifying issues trying to get these loops to work again.

This is one of THE last validations I need to complete before this is ready to get polished up a la Notepad++ and Find and Replace to get rid of these damn integer file references......so any help in putting this one to rest would be very appreciated.

0 Comments
2023/10/03
19:00 UTC

1

Error: Cannot create target file: Port_851.app

I am using CX8110 beckhoff plc.

When I click on activate configuration in twinCAT3 it gives me Cannot create target file: Port_851.app error.

It works perfectly when nothing is connected to PLC but when I connect sensors( pressure transducer, thermocouple) it gives the above error.

0 Comments
2023/10/03
18:55 UTC

1

IFM IO-Link to RSLogix 500

Does anyone have any experience reading values from an IFM IO-Link master on an RSLogix 500 PLC?

Any resources you could point me towards to help?

6 Comments
2023/10/03
18:24 UTC

3

what do you think of the aftermarket/chinese Siemens PLC-PC Adapter?

i'd like to avoid paying 400 USD/EUR for it when i can get a chinese one for 70.

6GK1571-0BA00-0AA0

6 Comments
2023/10/03
18:22 UTC

3

Studio5000 T01:C60 Major Fault, what's the cause?

Customer called up with a faulted processor. It's a CompactLogix L320 with v33.011 firmware.

I screenshot the fault and downloaded the program since it was missing. System was going again.

Later I connected to the system to see if everything was ok and about that time it faulted again with the same fault. Same fault and same procedure to return it to service. I'm not sure if my connecting to it caused it to fault or was coincidental since the other time it faulted I wasn't connecting to it and I assume no one else was.

I couldn't find anything that Rockwell was offering as a reason for the fault. Googling around I found people that talked about power surges and failing hardware.

Screenshot of the fault and the fault code information from Rockwell's spreadsheet in case you're interested

The Rockwell knowledgebase I found notes about the fault, but nothing that explains why it happens.

I went down the rabbit hole of looking at firmware version notes. There have been two minor firmware releases since the version this processor is running and neither call this fault out. I looked at v35 firmware notes and don't see anything there either.

Without an explanation I'd probably get another one on order to replace it and relegate the old one to a sim room.

What do you think?

8 Comments
2023/10/03
18:07 UTC

2

Having issues with accuracy of panel meter 4-20 output

I have a logging panel I built to tracking temperature and pressure in a vessel. I have a thermocouple and pressure transducer feeding into a panel meter, and the panel meter outputs a 4-20mA signal to a monitoring/logging device. The measurement on the panel meter is very solid but the reading on the logging device is jumping all over the place. The pressure side is fine, but the temperature is jumping 3-12 degrees a second while the panel meter is moving 0.2 degrees a second. The outputs are shielded and drains landed to ground. The logging device can't take thermocouple input only 4-20mA. In hindsight I should have gone straight into the logging device then output a signal to the panel meters but the customer did want a PLC or something very expensive. The device specs said it would be within 0.1% accurate for the output, which would be 1.7ish degrees which is acceptable.

The only idea I had was to reduce the scaling to try and boost the resolution but that didn't work. I need this to be as accurate as the panel meter readings are. I thought since the Type K thermocouple has a range up to 1700 but the vessel only goes to 450; if I reduced the range of scaling it would make it more accurate but it throws the reading way off. Is there any merit to this idea or am I way off? Any other suggestions?

The logging device is a ControlByWeb X-420 and the panel meter is a ProSense DPM3-A-AT-L.

13 Comments
2023/10/03
15:15 UTC

1

Switching from GEnius bus to SNPX

Howdy All,

I have a Ge Fanuc 90-30 system with a Cutler Hammer PM 3000 Power series HMI. Besides the HMI, the customer is happy with the controls side of the system, so we'd like to keep the 90-30 in place.

The HMI is basically worn out, and rather then trying to recondition the thing, I'd like to replace it with a Red Lion model (probably the CR3000).

The current PanelMate is connected through a GEnius Bus Controller.

Can I just leave the Genius Bus Controller in place, disconnect the old HMI (PanelMate), and connect the new HMI (Red Lion) via one of the 3 open serial ports (2x 15-pin RS-485 and 1x RS-232) using SNPX? (after programming, of course)

I believe the firmware in the 90-30 is new enough to support SNPX (vs just SNP), so I don't think that will be an issue, but I'm concerned that the addressing wont work via SNPX if that GEnius Bus Controller is present.

Would I have to make any changes to the PLC if I wanted to go SNPX?

This is possible, but I'd rather not make any changes if they can be avoided.

I was hoping to find a decent HMI that supported the GEnius bus, but I haven't come up with anything.

I've found a GEnius bus gateway device, but it's twice as much as the HMI! Also, it seems rather silly to throw more gear in there if SNPX will do the trick.

If anyone has experience with the GE Fanuc world (or what's left of it) let me know what you think.

Thanks

2 Comments
2023/10/03
13:50 UTC

5

Link to v2.1 of Logix CLI

A million and one people have DMed me about this and I don't really do DMs and I thought I had deleted it anyway, so I have been mostly ignoring it. Well, I just found it a few weeks ago on a laptop I haven't used in nearly 10 years and yet another person has asked for it.

I have no idea how long file.io holds files and I'm passing the torch because I don't use the CLI, don't know if it still works, nor intend to keep this file anymore:

https://file.io/KSYGaVkNy31b

EDIT: Apparently file.io is a one and done thing so: https://anonymfile.com/7oAe/logix-command-line.zip

2 Comments
2023/10/03
12:57 UTC

0

Allen Bradley lifeline 5

Will it work if you supply it with 12 Vdc ?

1 Comment
2023/10/03
12:06 UTC

2

Profibus Dummy Node

Anyone know an easy way of removing a profibus node without altering PLC? I have a machine with a profibus network but want to remove a part of it. If I were to simply remove it, the profibus network would be broken and the PLC throws errors.

Is there such a device which can sit on a profibus network that pretends to be a node?

Might be a silly question.

Longer term, we'll get the machine manufacturer in to remove the device from the Network but I'm looking for a simpler solution for now.

3 Comments
2023/10/03
10:55 UTC

2

amateur question about ifm io link master configuration

Im new to programming and configurating plc, Im new to the industry and I started working as robotics engineer in my current job but with two ongoing projects there are no robots to work on so I'm seconded to work on plcs.

Im working on ET200SP 1512SP F-1 PN CPU with few input/output (both safe and normal) modules. Everything worked fine and there are no errors after configuring it all at this point.

The next step is to add IO-Link master, I have IFM AL1102 IO-Link Master. I have added the deivce, connected it via profinet on the network and tried to assign IP Address with an error: "The IP address could not be assigned.,10/3/2023,12:24:43 PM A device with this MAC address could not be reached. Check the MAC address and the connection to the module.,10/3/2023,12:44:16 PM". I tried connecting it via switch or to the bus adapted connected to plc, tried 3 different wires (none of them were original, all three had like pin connector manually wired). Might it be a wire problem or configuration problem? Anyone have maybe a quick solution as the problem seems reasonably easy.

6 Comments
2023/10/03
10:49 UTC

4

Commercial HVAC & building automation vs industrial controls?

This post is probably more of a rant than a question, but what’s everyone’s view on HVAC and building automation type controls compared to industrial controls? I’m working on a project where I have to do interconnect electrical drawings for an over complicated HVAC system in a process plant that’s all PLC based industrial panels otherwise. The HVAC control contractors drawings are impossibly scattered and nearly impossible to follow, which has me wondering if that’s normal for the field or just a crappy contractor? I wonder because even the component suppliers seem to have intentionally obfuscated information where it’s impossible to find seemingly simple things like what voltage is on a terminal point or how much power each device consumes.

3 Comments
2023/10/03
10:46 UTC

0

A PLC with 4 digital Input, 2 analog outputs, and 1 network interface for communication

Hello!

So kind of a weird request, but does anyone know of a PLC with 4 digital Input, 2 analog outputs, and 1 network interface for communication? I need to find one for a homework assingment (simply need to write a description). There can be additional analog inputs, and digital outputs.

But what matters is that it has 4 digital Input, 2 analog outputs, and 1 network interface for communication. No more no less

I`ve googled a lot and always one specification seems to be different than the requirement. Since I`m just getting started with PLC-s I have zero knowledge.

Maybe someone here knows of some, or at least knows a manufacturer that typically makes PLC with these specifications?

Thanks:)

9 Comments
2023/10/03
10:25 UTC

6

Interested in being a control technician.

Hey all, I’m not extremely familiar with this sub so forgive me if I’m in the wrong place or asking the wrong questions. To give a summary I’m 19 and can’t quite figure out what I want to do with myself. I’ve taken an interest in this type of work since my dad is an industrial mechanic and he said that controls is the way to go if I get into this field. My only concern is pretty much schooling since I’m not great with school nor great with math specifically. If I need to do schooling which I’m sure I would what degree would I need to go for? I live in northern Michigan if that helps any. Any advice or information is greatly appreciated.

8 Comments
2023/10/03
10:14 UTC

90

Commissioning Adventures - behind door #1

43 Comments
2023/10/03
02:21 UTC

2

Considering building a clothes dryer controller out of a VFD; comments appreciated

Background: I'm an EE with a background in microcontrollers and power electronics but no specific PLC or drive programming experience.

I have a couple appliances on the edge of age-related death. The usual story, control boards have electrolytic caps, those caps don't last more than 10-15 years, and by then replacement OEM boards aren't available. So you have to replace the entire appliance. My washer just died for that cause, and the matching washer can't be far behind.

I'm thinking of building a replacement controller for the dryer. It's direct-drive, so the controls seem to just be a three-phase VFD with a heater controller and temperature feedback, more or less. So a VFD with a PLC should be sufficient, I think. Like this one:

https://www.automationdirect.com/adc/shopping/catalog/drives_-a-_soft_starters/ac_variable_frequency_drives_(vfd)/general_purpose_vfds/gs21-11p0

This should be more robust than the OEM control board, and easily replaceable if the VFD dies. I'd have to build a user interface, but that's solvable in a few different ways.

I'm also considering building a controller for my built-in wall oven/microwave combo. Replacing that will cost $3,000, but the controls should just be a few timers and relays with a temperature feedback. Surely a small PLC can do that job!

I'd appreciate any feedback or suggestions on this idea. Surely I'm not the only one to go down this road.

32 Comments
2023/10/03
00:52 UTC

0

PLC

Can somebody examine my ladder logic. go ez on me

5 Comments
2023/10/03
00:50 UTC

1

Omron communication to Lenze i550 VFD via EtherCAT

Anyone have any experience controlling Lenze i550 VFDs with an omron PLC via EtherCAT?

for some reason I am having a hard time setting it up/getting it to work.

2 Comments
2023/10/03
00:04 UTC

3

InterPLC communication

So I was made the controls tech at our mill when our lead engineer quit, because I have the most experience and I'm the only other that knew how to remote into the site. One thing I've never set up is communication between PLCs. I'm trying to get 2 systems to talk on completely separate IPs, if that makes a difference. There's a control room that I can access both controllers from by just changing the workstation IP, so I know the network is there. The reason is for an alarm system. There are sirens in one area that you can't hear unless you're nearby and vice versa. How do go about setting communication up between these? For reference, one controller IP is 192.100.100.101 and the other controller is 192.168.1.2.

16 Comments
2023/10/02
22:55 UTC

1

Need Help Reading an IO Link Device Via Message Command

Hello!

I've been trying for a while now to read a parameter from a keyence LR-ZH490CB using an Allen-Bradley 1732E-8IOLM12R/B IO-Link Master. I've been trying to follow Allen Bradleys guide on using setting up a generic MSG instruction (Here, page 59) and Keyence's IO Link instructions for the eye we are using (Here). I am trying to read Index 60 - subindex 1.

Here is the message Block. The error I am getting is invalid parameter. I have the communication path pointed to my IO Link Master Module.

Does anyone have experience doing these kind of MSG instructions and could possibly share an example? Any help is appreciated!

2 Comments
2023/10/02
21:17 UTC

2

Ge Fanuc quickpanel triggered messages not functioning

System: Ge Fanuc plc using proficy and RX3I modules on release 8.60 Quickpanel view with a 15in display and connected web view for my DCS/PLC machine

Today I made an update to a single HMI display where i added some very simple status indicators for the alarm overview page. On this same display there are some indicators which can have 4 states like high, high high, wire fault, and status OK. These are set using the triggered message groups. The new alarms are set up with just a square object that changes color based on the state of a single coil and has text that is visible based on that same coil. When I downloaded the quickpanel program all of the simple shapes work fine but anything using the triggered message objects only display the values for state 1 of that object. I tried reloading the saved version that was on before my changes and those objects still won't work.

Does anyone have experience with these and an idea of why they won't work. The TMG files are in the right folder when I looked at the compiled program, and the program is validating. I tried uploading the program to confirm and they are all there. It's almost like there's a script that should be running and it isn't going. Every other animation, trending, and data works like it should. I've been at it all day, attempted to get ahold of Emerson support which now owns this line of PLCs and have yet to receive a call back. My next step is to just use basic shapes to display this information and eliminate these groups. I found the oldest version of this program we have saved and tried loading the HMI from there and it has the same issue.

3 Comments
2023/10/02
21:05 UTC

3

Do engineers and tech need E1 electrician license?

Do automation engineers and company equipment technicians need state electrical licenses to perform work on automated manufacturing equipment such as motor replacement, troubleshooting, etc?

Edit: my company has locations in Connecticut and Arkansas USA

42 Comments
2023/10/02
20:50 UTC

6

VFD Lifespan

Hey All,

Curious about your experiences with VFD and how long they last. My sight is not too old, going on 8 years and a lot of the VFDs are original ACH550 units. The word on the street is these typically last about 8-10 years (seems to be a common electrical component lifespan), many though are in great condition and I have active spares ready to go in the 580 version. Now, in your experiences how long do your VFDs last or how often do you replace them? Seems like mine can go easily for another several years

39 Comments
2023/10/02
19:38 UTC

0

endocer question

if you think about input versus output, for an encoder, is the input a user or computer value that is then converted for the other??

3 Comments
2023/10/02
19:37 UTC

Back To Top