There is output 1 or 2 of the G540 that has an open drain mosfet that would operate the SSR. if not using them.
Alternatively if using a VFD, they have outputs, in some cases open collector transistors that would also do it The pump can be turned on when the VFD registers up to speed or not at zero conditions.
Al.