matijaharcet
I am completly new to this. I'm supposed to work with PLC for a school project so chose OpenPLC to make a simulation before I make it irl. I'm supposed to use a temperature sensor which, when detects a certain temperature turns on a fan, and when it detects it higher it will turn on a LED diode. I tried myself but i'm too lost
Reply 0 0
thiagoralves
“a certain temperature sensor” is too vague. Different sensors will have completely different implementations
Reply 0 0
kortenbach
First you need to read the temperature sensor into the PLC as a number. Then you need to compare that number to a threshold value and SET the fan output. Do a second compare with another threshold to RESET the fan output. Use Chatgpt to help explain how a PLC works. This could be more fun than you think!
Reply 0 0
RobSkiOplc
with simulation it doesn't really matter what is externally connected as long you do your logic correct based on sample values and output will be active as needed, then when you do real plc with real sensor you just modify input data/ scalling etc
Reply 0 0
Reply