PLC (Programmable logic controller) or programmable controller is a digital computer used for automation of electromechanical processes, such as control of machinery on factory assembly lines, amusement rides, or light fixtures.
Questions tagged [plc]
1091 questions
-2
votes
1 answer
PLC , DIGITAL COUNTER
newbie here.
I work in a factory that produce electric cables.
I'm trying to build a web application that will handle production processes. For this i need some real time data. There are multiple types of machines , some of them are older and uses a…

BadabingBB
- 1
- 1
-2
votes
1 answer
Can I know the memory address of RS-485 in DVP-14SS2?
This is the port of DVP-14SS2 for RS-485
[1]: https://i.stack.imgur.com/yXL9u.png

Jason Lee
- 21
- 4
-2
votes
2 answers
Should a computer science student learn about Programmable Logic Controllers(PLC)?
I want to know that will it be beneficial for a computer science student to take up a course in Basics of Programmable Logic Controllers (PLC) and learn this topic?
I mean will this knowledge be useful in later stages?

Yukti Kumari
- 23
- 1
- 7
-2
votes
1 answer
Life expectancy of usb stick when datalogging
I know that on average a flashdrive has a life expectancy of roughly 100,000 write cycles. This raises a question for me
I have written a program where I write some values to a csv file on a usb stick every 6 seconds. Every day a new file is…

Kpotmake
- 1
- 3
-2
votes
2 answers
Whats the best way to send data from a (WAGO) PLC to an cloud database?
Whats the best way to send data from a (WAGO) PLC to an (DynamoDB) cloud database?
Our situation:
We have WAGO PLC's(750-880, 750-882, 750-890) installed on site and we would like to send multiple data to an cloud database, preferabel an AWS…

Niels
- 145
- 1
- 11
-2
votes
1 answer
How to simulate a micrologix allen bradley PLC?
Currently I'm working on writing data to a test machine that simulates reads from an Allen Bradley PLC in python. This machine is supposed to replicate another that we have live that simply reads the PLC tags, and I don't have any spare PLC's just…

Fastas
- 79
- 1
- 8
-2
votes
2 answers
Should HMI devices have RTOS on them?
I know that PLC devices must have RTOS such as VxWorks, but is the same true with HMI devices that connect with PLC?

datum
- 1
- 1
-2
votes
2 answers
How to access all variables in all databases from PLC (without specifying the name of database or variable)?
In the plc database i have a database named "status" which has a variable named "Temperature". Since I know the names, I access the value of this variable like this:
from opcua import Client
client = Client("url")
client.connect()
temperature =…

Qendrim Krasniqi
- 162
- 1
- 10
-2
votes
1 answer
(Twincat-structured text) Count the button pressed according to the LEDs on
i am doing a remember game similar to Simon Game with Twincat structured text. And i have a problem that how would i check the buttons are pressed same as the LED on, and count how many buttons have been pressed in case you press it wrong?
Thanks…

Hoang Ho
- 1
- 1
-2
votes
3 answers
AllenBradley Compactlogix PLC Ethernet IP & C# Communication?
I have Compact Logix Ethernet/Ip PLC. I want to make small scada/hmi on my pc with C#. I can use visual studio 2017 windows forms. I will take some data from plc to pc and I will show on c# and changed some picture image.
how can I do communication…

ahmetnoktacom
- 9
- 1
- 1
-2
votes
2 answers
I need help getting data into Microsoft Excel from an Allen-Bradley PLC automatically
I need help getting data into Microsoft Excel from an Allen-Bradley PLC automatically each time an "event" happens. For example, each time an alarm for a steam valve turns on, I need to record date, time, and duration of the problem. I can write the…
-2
votes
1 answer
how to import c code to TwinCAT
I am quite new to TwinCAT 3.I am trying to import a C code from Dymola to TwinCAT 3.I have gone through BECKHOFF manual but it didn't help much.
It would be grateful,if you could help me.

venkat reddy
- 11
- 4
-2
votes
1 answer
Ladder diagram in winSPS
I have to express an RGB led in a ladder diagram using winSPS. I have used CodeSys before but that is all my experience. Can someone help me with the schematic for it?

user3674373
- 1
- 1
-2
votes
1 answer
Writing OPC - need some advice
Im using free fatrat library to create server and i have a few question:
On server site i think that I only need to do is give parameter about server like clsid, description, version and create branches and leafs, am I wrong? I dont know either if…

detheroc
- 1
- 1
-2
votes
1 answer
Beginner Level PLC Programming / Simulation and Configuration
I am a beginner in PLC programming and just started to learn by self.
Is there any simulation software for PLC in Windows?
Do we have a PLC that works on 5 volts DC power supply?
Actually for a Industrial project I need to control the following:
1.…

Programmer
- 8,303
- 23
- 78
- 162