Hello,
If you are interested in automation technology with PLC (programmable logic controller), here is a little document from me.
I tried to implement a PLC in Node-red.
The logic behind it is not immediately understandable at first.
But almost all automation systems around you work like this (e.g. production lines, elevators, etc.)
automation_using_node_red.pdf (1.4 MB)