/r/PLC
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."
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."
(*) 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
/r/PLC
hello guys, I need help on dataLogger, this is for my academic project, but I can't find the library we want to link it to an excel and searched in several videos and use libraries someone of you can have it and pass the file the link, I would appreciate it very much
I have been tasked with learning how to program an automated box that controls some water pumps and translation stages at my job.
The installed PAC is an OPTO22 SNAP PAC, so I've been messing around with it and the Opto22 Control Basic.
How should I go about learning how to get this thing to work?
I have a weird problem that i can't get my head around. In my system i have 3 motor drives that I'm communicating with over modbus rtu And the plc is connected to my pc using the usual Ethernet cable. The connection is fine and the drives receive the run signal correctly, but whenever i send the speed to any of them and it starts running. The connection between the plc and pc falls and I can't connect to the plc again or ping it's ip from cmd until i switch off the power to the motor drives What could be the reason for this
Hi guys. If you were an HR Manager, what skills and knowledge, including practical ones, would you require from a starting PLC programmer ?
Hi All Please advise if S2 must be earhed? i could not find this mentioned in the manual. Does it make reading more accurate? if yes why is it so? what if earthing cable is 2m long from s2 to the earthing bar -is it a problem? can it pick up some noise? and make crs readings worse?
ps. as usual there will be a small party and cakes for people sharing their knowledge or experience :)
i need support tin this code below
; --- Configure Socket 1 ---
MOV #1 W16000 ; Socket Number (1 for first socket)
MOV #10000 W16001 ; Local UDP/TCP port (10000)
; Remote IP Address: 192.168.1.100
MOV #C0 W16002 ; First byte of IP address (192)
MOV #A8 W16003 ; Second byte of IP address (168)
MOV #01 W16004 ; Third byte of IP address (1)
MOV #64 W16005 ; Fourth byte of IP address (100)
MOV #2323 W16006 ; Remote UDP/TCP port (9100)
MOV #20 W16007 ; Number of bytes to send (e.g., 20 bytes of ZPL data)
; Data to be sent starts at W16008
MOV #W16008 W16008 ; Data memory address (ZPL data starting at W16008)
MOV #500 W16009 ; Timeout time (500 * 100ms = 50 seconds)
MOV #0 W16010 ; Response code register (to store result)
; --- Example ZPL Data for Testing ---
MOV #5E58 W16008 ; ZPL part: "^X"
MOV #4120 W16009 ; ZPL part: "A"
MOV #5E46 W16010 ; ZPL part: "^F"
; Add more ZPL data as needed
Are there any special rack slotting assignment conventions us low life knuckle dragging apes need to know about? Should it be all special function modules first then I/O cards? I'm sure there isn't a "wrong" way to do it. But I'd like to know a better way. Thanks in advance
Buen dia!
El motivo de mi post es para preguntar como puedo configurar un VFD de automation direct para que al momento del arranque inicie solo en reversa si necesidad de ir directamente al VFD
Buen dia!
Hey there. Found out some weird behavior of Codesys IDE:
I've got the library, let's name it Library, with property LanguageModelAttribute(Text) := 'qualified-access-only' (is necessary to limit access of library symbols within the namespace). There are structure types ST_Struct and ST_Nested with primitive types inside. Variable of type ST_Nested is nested in ST_Struct. Also I've got project with PersistentVars list and Library in LibraryManager. There is variable stData of type Library.ST_Struct in PersistentVars list. When I've made changes (add/delete variables) in ST_Struct or ST_Nested in Library and update the project, there is no warning about initialization of PersistentVars.stData variable. I make download and my PersistentVars list just "shift on the memory" and I've got garbage in existing variables from the place where I've made changes. I expect that there should be zeroes. Everything will be fine, if I remove LanguageModelAttribute or use structures with primitive types inside
I've test it at Codesys 3.5.16 and 3.5.18, maybe in newer versions this thing is fixed. If anyone got ideas how to make it work, please help. Thanks
Hi, I've bought a ferrule crimp set recently and most of the crimps don't fit Omron, Yaskawa, Phoenix terminals / connectors. Can anyone tell me a few sizes commonly used for 24V and 230V in EU/Germany. Fork, ring, ferrule crimp recommendations would be also greatly appreciated.
I'm new to plc programming and got my hands on ladder diagram so any guide to learn stl and scl on youtube or any course
I have some 20 screens per panel and 5 such panels.Due to the Screwup by client we have to include all the screens in a single SCADA and we created all files seperately for each panel as per the previous requirement.Now I tried to copy screens after importing tags of all relevant panel controllers but the assignment to containers get lost making me reassign all the graphics elements to tags again.
Hi! I'm looking for help with IO Error issue that I have on my plc wago 750-8212. Randomly my PLC has IO Error LED indication blinking red on plc. I checked that there is error code 9 argument 5, that indicates there is some issue with task priority. Once of my tasks is set with priority == 1, that I assume may be the problem. Is there any way to check some logs what is going on exactly? The issue is very random, sometimes it can trigger multiple times per day, sometimes it works hours without any issues. It hard for me to trigger it to test, so any logs or methods how to check more details about this error would be nice. Does anyone have any tips what can I check?
PLC is not accessible via codesys 3.5 while IO Led is red, but I can ssh to it.
Has anyone used those in the past? I've worked mostly maintenance and all the alarms were usually in the FactoryTalkView alarm server, both in ME and SE. I've worked on a variety of machines but never seen it used.
Whats the use case for those, when should they be used, and when shouldn't they?
New to studio 5000, and this is my first time writing a program from scratch. I have written a few programs using 500, but it has been a few years since I have done that. I have been reading and learning a lot from other peoples posts on here, but I have seen some mixed answers. I am hoping someone can confirm if I am doing this correctly/best practices or steer me in the correct direction. I am working on mapping my I/O. and I have a few questions.
Do you normally just have a subroutine with everything mapped how I have it with the actual inputs referenced and attached to an output bit?
Do you have a seperate sub routine for inputs and outputs or use the same routine?
Regarding outputs, do you normally have a line that references the actual output on the card to the mapped output or do you also include any other bits that you want in the logic to be true/not true in order for that output to work?
Am I doing this all wrong? When I add the actual input do I change the type to "alias" and then in the "alias for" box I enter my Ejection_Stop_PB instead of creating a seperate bit for that?
Any other tips or advice would be greatly appreciated.
I feel really stupid, I'm new to this and I'm trying to learn.
I had this multi switching assignment and that I had no issues connecting and have it working without the PLC, but when it comes to translating it to a multi switching circuit with a PLC, my brain just isn't working, especially because the lightbulb is supposed to be powered with 230V.
How do i separate the 24V out from the PLC from the 230V that's supposed to go in the lamp? Am i missing something or have I misunderstood the assignment?
I'm supposed to use a lamp, 2 buttons and just wires to connect the thing and just write a XOR block to the PLC. I feel like a moron.
Hi Guys,
Can you please tell me which GSD file to use for that Profibus module, while configuring, i have issue that set_prm is faulty.
Can you please tell me which GSD file to use, maybe i am using the wrong one.
Hi all, seems like on this subreddit there are a lot of IT/OT people, hence i try my luck.. I am currently working within QA as a Sr specialist and have automated a couple of internal processes at our site and I am currently working on my Green belt cert that focuses on leveraging SAP, a QMS and GPT to create a reporting system. I was approached by our head of IT and she offered me a position in their it Department which would consist of implementing automation, IT Projects(update of MES and SAP) at site level. I am pasionate about IT and can code however this is more of what I do in my spare time and not a career per se (i do not have an undergrad in cs). I was looking to get to a quality manager position in the next 2-3 yrs, however switching departaments Will most likely impact the salary and career progression. Plus switching departaments and not having a cs/engineering (i am a pharmacist) background would set me back in the future?
Id like to hear more about IT/OT and whats your day to day life, Background and career prospects? What projects do you work on?
What did Allen Bradley mean by this? Spotted on 1747-SDN card
Hi, I am an automation tech working in automotive for about 5 years. I applied for a job in food industry, and I have an interview with the employer in few days. What technical questions should I be prepared for? How much food is different from auto industry? What machines and equipment are mostly used...
Good morning folks, so I've had to convert a old Step7 program to TIA Portal because we're switching from S7 300/400 CPUs to a S7 1500 with ET200s, I migrated the project but now I'm sitting with the issue where Data types Alarm_8p (SFB 35 in Step7) and Notify_8p (SFB 31 in Step7) are not supported by my 1500 CPU and library, what will the TIA Portal equivalent be of those 2 SFBs be that I can replace them with? Thank you in advance
Stumbled upon it accidentally
I would like to add a ultrasonic sensor to a machine which stops it when detected and then restarts it when the timer has finished. I have a simple circuit with a relay, timer and two output relays. One NC to press the stop and one NO to activate the start however when wiring it in the NC relay cuts off the ON/OFF switch. I am new to controls so any help would be greatly appreciated.
I want to start learning how do programming for the work I do. I currently do a bit of wiring for the PLC that I use. They are used in industrial machines which have some series of automations. From what I understand, it's not too complicated. The programs for now are already made. So, as far as I understand, nobody has done it from scratch. Anytime something has to be changed, somebody comes in and does the tweaks for us. But I really would like to learn how to do it by myself. The more I know, the better. To begin with, I want to understand how to get a tweak done that I want whenever that is needed. But if I can do or build out a whole PLC program from scratch, that would be great as well. Usually use Delta PLCs and pair it with HMIs, which are either Delta or similar brands like Innovance or something like that.
I have to update a system to a new subnet but I'm not 100% clear on the process for these modules. Do I manually assign the IPs with RSLinx to be two adjacent IPs and the system will just swap them? Same process as any network card? The manual wasn't by specific if it an already running system.
Also, is it an offline build? Or can it be done online?
Appreciate any experience with these.
My RS500 serial number states node locked in FTAM.
Any ideas how, or why? I can’t use the software.
I'm currently taking an automation class, and my instructor wants my lab partner and I to write an I/O report for a program we've written. We're supposed be including enough that a technician can come in and start troubleshooting before they even load the ladder into Studio 5000.
So far, we've listed all of the inputs, outputs, the counters and timers. We've done a sequence chart for each step of the program.
I don't really have a great deal of experience with I/O reports. Can anyone offer any suggestions for what else would be important/useful to include?