How to integrate an imported flow switch with a PLC system?