I also think that code does not allow a generator hookup without a grid lockout.
So that it's not possible to turn on the generator connection with the grid still on.

I'm looking into a gen/alt power hookup myself....