1.Write a value in the human-computer interface
2.The human-computer interface shows this value
3.Import this value into postgresql
4.Five results are generated according to 5 custom rules and the results are sent to the PLC
1. See this answer
2. Display value of an input channel as usual
3. Try using existing DB Export module. Generate events on value change and export the events.
4. Use Automatic Control Module and request me for the new (currently not published). version. Values can be sent to PLC as Modbus commands.